aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9/tests/CppTestHarness/TestResults.cpp
diff options
context:
space:
mode:
authordan miller2007-10-19 05:20:07 +0000
committerdan miller2007-10-19 05:20:07 +0000
commitfca74b0bf0a0833f5701e9c0de7b3bc15b2233dd (patch)
tree51bcae7a1b8381a6bf6fd8025a7de1e30fe0045d /libraries/ode-0.9/tests/CppTestHarness/TestResults.cpp
parentresubmitting ode (diff)
downloadopensim-SC_OLD-fca74b0bf0a0833f5701e9c0de7b3bc15b2233dd.zip
opensim-SC_OLD-fca74b0bf0a0833f5701e9c0de7b3bc15b2233dd.tar.gz
opensim-SC_OLD-fca74b0bf0a0833f5701e9c0de7b3bc15b2233dd.tar.bz2
opensim-SC_OLD-fca74b0bf0a0833f5701e9c0de7b3bc15b2233dd.tar.xz
dont ask
Diffstat (limited to 'libraries/ode-0.9/tests/CppTestHarness/TestResults.cpp')
-rw-r--r--libraries/ode-0.9/tests/CppTestHarness/TestResults.cpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/libraries/ode-0.9/tests/CppTestHarness/TestResults.cpp b/libraries/ode-0.9/tests/CppTestHarness/TestResults.cpp
deleted file mode 100644
index f2d2f81..0000000
--- a/libraries/ode-0.9/tests/CppTestHarness/TestResults.cpp
+++ /dev/null
@@ -1,30 +0,0 @@
1#include "TestResults.h"
2#include "TestReporter.h"
3
4namespace CppTestHarness
5{
6
7TestResults::TestResults(TestReporter& testReporter)
8 : m_failure(false)
9 , m_testReporter(testReporter)
10{
11}
12
13void TestResults::ReportFailure(char const* file, int const line, std::string const failure)
14{
15 m_failure = true;
16 m_testReporter.ReportFailure(file, line, failure);
17}
18
19void TestResults::ReportDone(const std::string& testName)
20{
21 m_testReporter.ReportSingleResult(testName, m_failure);
22}
23
24bool TestResults::Failed() const
25{
26 return m_failure;
27}
28
29}
30