aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9\/tests/CppTestHarness/TestReporter.h
diff options
context:
space:
mode:
authordan miller2007-10-19 04:28:53 +0000
committerdan miller2007-10-19 04:28:53 +0000
commit0fc46fc9590912bf6925c899edd02d7a2cdf5f79 (patch)
tree51bcae7a1b8381a6bf6fd8025a7de1e30fe0045d /libraries/ode-0.9\/tests/CppTestHarness/TestReporter.h
parentsmall bit of refactoring (diff)
downloadopensim-SC-0fc46fc9590912bf6925c899edd02d7a2cdf5f79.zip
opensim-SC-0fc46fc9590912bf6925c899edd02d7a2cdf5f79.tar.gz
opensim-SC-0fc46fc9590912bf6925c899edd02d7a2cdf5f79.tar.bz2
opensim-SC-0fc46fc9590912bf6925c899edd02d7a2cdf5f79.tar.xz
adding ode source to /libraries
Diffstat (limited to 'libraries/ode-0.9\/tests/CppTestHarness/TestReporter.h')
-rwxr-xr-xlibraries/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 100755
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