aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9/tests/CppTestHarness/HTMLTestReporter.h
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/HTMLTestReporter.h
parentresubmitting ode (diff)
downloadopensim-SC-fca74b0bf0a0833f5701e9c0de7b3bc15b2233dd.zip
opensim-SC-fca74b0bf0a0833f5701e9c0de7b3bc15b2233dd.tar.gz
opensim-SC-fca74b0bf0a0833f5701e9c0de7b3bc15b2233dd.tar.bz2
opensim-SC-fca74b0bf0a0833f5701e9c0de7b3bc15b2233dd.tar.xz
dont ask
Diffstat (limited to 'libraries/ode-0.9/tests/CppTestHarness/HTMLTestReporter.h')
-rw-r--r--libraries/ode-0.9/tests/CppTestHarness/HTMLTestReporter.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/libraries/ode-0.9/tests/CppTestHarness/HTMLTestReporter.h b/libraries/ode-0.9/tests/CppTestHarness/HTMLTestReporter.h
deleted file mode 100644
index 3a23039..0000000
--- a/libraries/ode-0.9/tests/CppTestHarness/HTMLTestReporter.h
+++ /dev/null
@@ -1,36 +0,0 @@
1#ifndef HTML_TEST_REPORTER
2#define HTML_TEST_REPORTER
3
4#include "TestReporter.h"
5#include <vector>
6
7namespace CppTestHarness
8{
9
10class HTMLTestReporter : public TestReporter
11{
12public:
13 virtual void ReportFailure(char const* file, int line, std::string failure);
14 virtual void ReportSingleResult(const std::string& testName, bool failed);
15 virtual void ReportSummary(int testCount, int failureCount);
16
17private:
18 typedef std::vector<std::string> MessageList;
19
20 struct ResultRecord
21 {
22 std::string testName;
23 bool failed;
24 MessageList failureMessages;
25 };
26
27 MessageList m_failureMessages;
28
29 typedef std::vector<ResultRecord> ResultList;
30 ResultList m_results;
31};
32
33}
34
35#endif //HTML_TEST_REPORTER
36