diff options
Diffstat (limited to 'libraries/ode-0.9/tests/CppTestHarness/PrintfTestReporter.h')
-rw-r--r-- | libraries/ode-0.9/tests/CppTestHarness/PrintfTestReporter.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libraries/ode-0.9/tests/CppTestHarness/PrintfTestReporter.h b/libraries/ode-0.9/tests/CppTestHarness/PrintfTestReporter.h new file mode 100644 index 0000000..8d4372a --- /dev/null +++ b/libraries/ode-0.9/tests/CppTestHarness/PrintfTestReporter.h | |||
@@ -0,0 +1,20 @@ | |||
1 | #ifndef PRINTF_TEST_REPORTER | ||
2 | #define PRINTF_TEST_REPORTER | ||
3 | |||
4 | #include "TestReporter.h" | ||
5 | |||
6 | namespace CppTestHarness | ||
7 | { | ||
8 | |||
9 | class PrintfTestReporter : public TestReporter | ||
10 | { | ||
11 | private: | ||
12 | virtual void ReportFailure(char const* file, int line, std::string failure); | ||
13 | virtual void ReportSingleResult(const std::string& testName, bool failed); | ||
14 | virtual void ReportSummary(int testCount, int failureCount); | ||
15 | }; | ||
16 | |||
17 | } | ||
18 | |||
19 | #endif | ||
20 | |||