diff options
author | dan miller | 2007-10-19 05:20:48 +0000 |
---|---|---|
committer | dan miller | 2007-10-19 05:20:48 +0000 |
commit | d48ea5bb797037069d641da41da0f195f0124491 (patch) | |
tree | 40ff433d94859d629aac933d5ec73b382f62ba1a /libraries/ode-0.9/tests/CppTestHarness/TestRunner.h | |
parent | dont ask (diff) | |
download | opensim-SC_OLD-d48ea5bb797037069d641da41da0f195f0124491.zip opensim-SC_OLD-d48ea5bb797037069d641da41da0f195f0124491.tar.gz opensim-SC_OLD-d48ea5bb797037069d641da41da0f195f0124491.tar.bz2 opensim-SC_OLD-d48ea5bb797037069d641da41da0f195f0124491.tar.xz |
one more for the gipper
Diffstat (limited to 'libraries/ode-0.9/tests/CppTestHarness/TestRunner.h')
-rw-r--r-- | libraries/ode-0.9/tests/CppTestHarness/TestRunner.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/libraries/ode-0.9/tests/CppTestHarness/TestRunner.h b/libraries/ode-0.9/tests/CppTestHarness/TestRunner.h new file mode 100644 index 0000000..e5dedb1 --- /dev/null +++ b/libraries/ode-0.9/tests/CppTestHarness/TestRunner.h | |||
@@ -0,0 +1,33 @@ | |||
1 | #ifndef TEST_RUNNER_H | ||
2 | #define TEST_RUNNER_H | ||
3 | |||
4 | #include "PrintfTestReporter.h" | ||
5 | |||
6 | namespace CppTestHarness | ||
7 | { | ||
8 | class TestLauncher; | ||
9 | class TestReporter; | ||
10 | |||
11 | class TestRunner | ||
12 | { | ||
13 | public: | ||
14 | TestRunner(); | ||
15 | ~TestRunner(); | ||
16 | |||
17 | void SetTestReporter(TestReporter* testReporter); | ||
18 | void SetTestLauncherListHead(TestLauncher** listHead); | ||
19 | |||
20 | int RunAllTests(); | ||
21 | int FailureCount() const; | ||
22 | |||
23 | private: | ||
24 | TestLauncher** m_testLauncherListHead; | ||
25 | |||
26 | TestReporter* m_testReporter; | ||
27 | PrintfTestReporter m_defaultTestReporter; | ||
28 | }; | ||
29 | |||
30 | } | ||
31 | |||
32 | #endif | ||
33 | |||