diff options
author | dan miller | 2007-10-19 05:24:38 +0000 |
---|---|---|
committer | dan miller | 2007-10-19 05:24:38 +0000 |
commit | f205de7847da7ae1c10212d82e7042d0100b4ce0 (patch) | |
tree | 9acc9608a6880502aaeda43af52c33e278e95b9c /libraries/ode-0.9/tests/CppTestHarness/TestReporter.h | |
parent | trying to fix my screwup part deux (diff) | |
download | opensim-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.h | 24 |
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 | |||
6 | namespace CppTestHarness | ||
7 | { | ||
8 | |||
9 | class TestReporter | ||
10 | { | ||
11 | public: | ||
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 | |||
18 | protected: | ||
19 | TestReporter(); | ||
20 | }; | ||
21 | |||
22 | } | ||
23 | #endif | ||
24 | |||