aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9/tests/CppTestHarness/TestReporter.h
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/ode-0.9/tests/CppTestHarness/TestReporter.h')
-rw-r--r--libraries/ode-0.9/tests/CppTestHarness/TestReporter.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/libraries/ode-0.9/tests/CppTestHarness/TestReporter.h b/libraries/ode-0.9/tests/CppTestHarness/TestReporter.h
new file mode 100644
index 0000000..352de8c
--- /dev/null
+++ b/libraries/ode-0.9/tests/CppTestHarness/TestReporter.h
@@ -0,0 +1,24 @@
1#ifndef TEST_REPORTER_H
2#define TEST_REPORTER_H
3
4#include <string>
5
6namespace CppTestHarness
7{
8
9class TestReporter
10{
11public:
12 virtual ~TestReporter();
13
14 virtual void ReportFailure(char const* file, int line, std::string failure) = 0;
15 virtual void ReportSingleResult(const std::string& testName, bool failed) = 0;
16 virtual void ReportSummary(int testCount, int failureCount) = 0;
17
18protected:
19 TestReporter();
20};
21
22}
23#endif
24