mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-09 22:20:24 +00:00
Remove trailing whitespace
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
# include "winconfig.h"
|
||||
#else
|
||||
# include "config.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "cpptest-collectoroutput.h"
|
||||
|
||||
@@ -46,21 +46,21 @@ namespace Test
|
||||
{
|
||||
_tests.reserve(tests);
|
||||
}
|
||||
|
||||
|
||||
/// Constructs a collector object.
|
||||
///
|
||||
CollectorOutput::CollectorOutput()
|
||||
: Output(),
|
||||
_total_errors(0)
|
||||
{}
|
||||
|
||||
|
||||
void
|
||||
CollectorOutput::finished(int tests, const Time& time)
|
||||
{
|
||||
_total_tests = tests;
|
||||
_total_time = time;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
CollectorOutput::suite_start(int tests, const string& name)
|
||||
{
|
||||
@@ -70,7 +70,7 @@ namespace Test
|
||||
_cur_suite = &_suites.back();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
CollectorOutput::suite_end(int tests, const string&, const Time& time)
|
||||
{
|
||||
@@ -80,14 +80,14 @@ namespace Test
|
||||
_total_errors += _cur_suite->_errors;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
CollectorOutput::test_start(const string& name)
|
||||
{
|
||||
_cur_suite->_tests.push_back(TestInfo(name));
|
||||
_cur_test = &_cur_suite->_tests.back();
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
CollectorOutput::test_end(const string&, bool ok, const Time& time)
|
||||
{
|
||||
@@ -95,12 +95,12 @@ namespace Test
|
||||
++_cur_suite->_errors;
|
||||
_cur_test->_time = time;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
CollectorOutput::assertment(const Source& s)
|
||||
{
|
||||
_cur_test->_sources.push_back(s);
|
||||
}
|
||||
|
||||
|
||||
} // namespace Test
|
||||
|
||||
|
||||
Reference in New Issue
Block a user