Revision 706, 0.5 kB
(checked in by smidl, 15 years ago)
|
eol-native
|
-
Property svn:eol-style set to
native
|
Rev | Line | |
---|
[418] | 1 | #ifndef UNITTEST_TEST_H |
---|
| 2 | #define UNITTEST_TEST_H |
---|
| 3 | |
---|
| 4 | #include "TestDetails.h" |
---|
| 5 | |
---|
| 6 | namespace UnitTest { |
---|
| 7 | |
---|
| 8 | class TestResults; |
---|
| 9 | class TestList; |
---|
| 10 | |
---|
[477] | 11 | class Test { |
---|
[418] | 12 | public: |
---|
[477] | 13 | explicit Test ( char const* testName, char const* suiteName = "DefaultSuite", char const* filename = "", int lineNumber = 0 ); |
---|
| 14 | virtual ~Test(); |
---|
| 15 | void Run(); |
---|
[418] | 16 | |
---|
[477] | 17 | TestDetails const m_details; |
---|
| 18 | Test* next; |
---|
| 19 | mutable bool m_timeConstraintExempt; |
---|
[418] | 20 | |
---|
[477] | 21 | static TestList& GetTestList(); |
---|
[418] | 22 | |
---|
[477] | 23 | virtual void RunImpl() const; |
---|
[418] | 24 | |
---|
| 25 | private: |
---|
[477] | 26 | Test ( Test const& ); |
---|
| 27 | Test& operator = ( Test const& ); |
---|
[418] | 28 | }; |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | } |
---|
| 32 | |
---|
| 33 | #endif |
---|