aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9/tests/CppTestHarness/TestReporter.h
diff options
context:
space:
mode:
authordan miller2007-10-19 05:24:38 +0000
committerdan miller2007-10-19 05:24:38 +0000
commitf205de7847da7ae1c10212d82e7042d0100b4ce0 (patch)
tree9acc9608a6880502aaeda43af52c33e278e95b9c /libraries/ode-0.9/tests/CppTestHarness/TestReporter.h
parenttrying to fix my screwup part deux (diff)
downloadopensim-SC_OLD-f205de7847da7ae1c10212d82e7042d0100b4ce0.zip
opensim-SC_OLD-f205de7847da7ae1c10212d82e7042d0100b4ce0.tar.gz
opensim-SC_OLD-f205de7847da7ae1c10212d82e7042d0100b4ce0.tar.bz2
opensim-SC_OLD-f205de7847da7ae1c10212d82e7042d0100b4ce0.tar.xz
from the start... checking in ode-0.9
Diffstat (limited to '')
-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