mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 07:18:37 +00:00
Remove trailing whitespace
This commit is contained in:
@@ -55,52 +55,52 @@ namespace Test
|
||||
virtual void test_end(const std::string& name, bool ok,
|
||||
const Time& time);
|
||||
virtual void assertment(const Source& s);
|
||||
|
||||
|
||||
protected:
|
||||
struct OutputSuiteInfo;
|
||||
struct OutputTestInfo;
|
||||
struct OutputErrorTestInfo;
|
||||
|
||||
|
||||
typedef std::list<Source> Sources;
|
||||
|
||||
|
||||
struct TestInfo
|
||||
{
|
||||
std::string _name;
|
||||
Time _time;
|
||||
|
||||
|
||||
bool _success : 1;
|
||||
Sources _sources;
|
||||
|
||||
|
||||
explicit TestInfo(const std::string name);
|
||||
};
|
||||
|
||||
|
||||
typedef std::vector<TestInfo> Tests;
|
||||
|
||||
|
||||
struct SuiteInfo
|
||||
{
|
||||
std::string _name;
|
||||
int _errors;
|
||||
Tests _tests;
|
||||
Time _time;
|
||||
|
||||
|
||||
SuiteInfo(const std::string& name, int tests);
|
||||
};
|
||||
|
||||
|
||||
typedef std::list<SuiteInfo> Suites;
|
||||
|
||||
|
||||
Suites _suites;
|
||||
int _total_errors;
|
||||
int _total_tests;
|
||||
Time _total_time;
|
||||
|
||||
|
||||
CollectorOutput();
|
||||
|
||||
|
||||
private:
|
||||
SuiteInfo* _cur_suite;
|
||||
TestInfo* _cur_test;
|
||||
};
|
||||
|
||||
|
||||
} // namespace Test
|
||||
|
||||
|
||||
#endif // #ifndef CPPTEST_COLLECTOROUTPUT_H
|
||||
|
||||
|
||||
Reference in New Issue
Block a user