source:
code/branches/ode/ode-0.9/tests/CppTestHarness/TypedTestLauncher.h
@
216
Last change on this file since 216 was 216, checked in by mathiask, 17 years ago | |
---|---|
File size: 388 bytes |
Rev | Line | |
---|---|---|
[216] | 1 | #ifndef TYPED_TEST_CREATOR_H |
2 | #define TYPED_TEST_CREATOR_H | |
3 | ||
4 | #include "TestLauncher.h" | |
5 | ||
6 | namespace CppTestHarness | |
7 | { | |
8 | ||
9 | template< typename TestClass > | |
10 | class TypedTestLauncher : public TestLauncher | |
11 | { | |
12 | public: | |
13 | TypedTestLauncher(TestLauncher** listHead) | |
14 | : TestLauncher(listHead) | |
15 | { | |
16 | } | |
17 | ||
18 | virtual void Launch(TestResults& testResults_) const | |
19 | { | |
20 | TestClass().Run(testResults_); | |
21 | } | |
22 | }; | |
23 | ||
24 | } | |
25 | ||
26 | #endif | |
27 |
Note: See TracBrowser
for help on using the repository browser.