aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9/tests/CppTestHarness/TestResults.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/TestResults.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 'libraries/ode-0.9/tests/CppTestHarness/TestResults.h')
-rw-r--r--libraries/ode-0.9/tests/CppTestHarness/TestResults.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/libraries/ode-0.9/tests/CppTestHarness/TestResults.h b/libraries/ode-0.9/tests/CppTestHarness/TestResults.h
new file mode 100644
index 0000000..7f8ec2a
--- /dev/null
+++ b/libraries/ode-0.9/tests/CppTestHarness/TestResults.h
@@ -0,0 +1,33 @@
1#ifndef TEST_RESULTS_H
2#define TEST_RESULTS_H
3
4#include <string>
5
6namespace CppTestHarness
7{
8
9class TestReporter;
10
11class TestResults
12{
13public:
14 explicit TestResults(TestReporter& reporter);
15
16 void ReportFailure(char const* file, int line, std::string failure);
17 void ReportDone(const std::string& testName);
18
19 bool Failed() const;
20
21private:
22 bool m_failure;
23 TestReporter& m_testReporter;
24
25 // revoked
26 TestResults(TestResults const&);
27 TestResults& operator =(TestResults const&);
28};
29
30}
31
32#endif
33