diff options
Diffstat (limited to 'libraries/ode-0.9/tests/CppTestHarness/TestLauncher.cpp')
-rw-r--r-- | libraries/ode-0.9/tests/CppTestHarness/TestLauncher.cpp | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/libraries/ode-0.9/tests/CppTestHarness/TestLauncher.cpp b/libraries/ode-0.9/tests/CppTestHarness/TestLauncher.cpp deleted file mode 100644 index 4397822..0000000 --- a/libraries/ode-0.9/tests/CppTestHarness/TestLauncher.cpp +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | #include "TestLauncher.h" | ||
2 | |||
3 | namespace CppTestHarness | ||
4 | { | ||
5 | |||
6 | namespace | ||
7 | { | ||
8 | TestLauncher* s_listHead; | ||
9 | } | ||
10 | |||
11 | TestLauncher** TestLauncher::GetHeadAddr() | ||
12 | { | ||
13 | static bool initialized = false; | ||
14 | if (!initialized) | ||
15 | { | ||
16 | s_listHead = 0; | ||
17 | initialized = true; | ||
18 | } | ||
19 | |||
20 | return &s_listHead; | ||
21 | } | ||
22 | |||
23 | TestLauncher::TestLauncher(TestLauncher** listHead) | ||
24 | : m_next(*listHead) | ||
25 | { | ||
26 | *listHead = this; | ||
27 | } | ||
28 | |||
29 | TestLauncher::~TestLauncher() | ||
30 | { | ||
31 | } | ||
32 | |||
33 | TestLauncher const* TestLauncher::GetNext() const | ||
34 | { | ||
35 | return m_next; | ||
36 | } | ||
37 | |||
38 | } | ||
39 | |||