diff options
author | dan miller | 2007-10-19 04:28:53 +0000 |
---|---|---|
committer | dan miller | 2007-10-19 04:28:53 +0000 |
commit | 0fc46fc9590912bf6925c899edd02d7a2cdf5f79 (patch) | |
tree | 51bcae7a1b8381a6bf6fd8025a7de1e30fe0045d /libraries/ode-0.9\/tests/CppTestHarness/PrintfTestReporter.h | |
parent | small bit of refactoring (diff) | |
download | opensim-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/PrintfTestReporter.h')
-rwxr-xr-x | 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 100755 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 | |||