29 #ifndef CPPTEST_COLLECTOROUTPUT_H 30 #define CPPTEST_COLLECTOROUTPUT_H 51 virtual void suite_start(
int tests,
const std::string& name);
52 virtual void suite_end(
int tests,
const std::string& name,
54 virtual void test_start(
const std::string& name);
55 virtual void test_end(
const std::string& name,
bool ok,
60 struct OutputSuiteInfo;
61 struct OutputTestInfo;
62 struct OutputErrorTestInfo;
64 typedef std::list<Source> Sources;
74 explicit TestInfo(
const std::string name);
77 typedef std::vector<TestInfo> Tests;
86 SuiteInfo(
const std::string& name,
int tests);
89 typedef std::list<SuiteInfo> Suites;
99 SuiteInfo* _cur_suite;
105 #endif // #ifndef CPPTEST_COLLECTOROUTPUT_H Time representation.
Definition: cpptest-time.h:43
CollectorOutput()
Definition: collectoroutput.cpp:52
Assertment source information.
Definition: cpptest-source.h:42
virtual void test_start(const std::string &name)
Definition: collectoroutput.cpp:85
virtual void assertment(const Source &s)
Definition: collectoroutput.cpp:100
virtual void test_end(const std::string &name, bool ok, const Time &time)
Definition: collectoroutput.cpp:92
virtual void suite_end(int tests, const std::string &name, const Time &time)
Definition: collectoroutput.cpp:75
Definition: collectoroutput.cpp:37
virtual void suite_start(int tests, const std::string &name)
Definition: collectoroutput.cpp:65
Collector output.
Definition: cpptest-collectoroutput.h:47
Test suite output handler.
Definition: cpptest-output.h:55
virtual void finished(int tests, const Time &time)
Definition: collectoroutput.cpp:58