Line | |
---|
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 | |
---|
Note: See
TracBrowser
for help on using the repository browser.