Revision 477, 0.5 kB
(checked in by mido, 15 years ago)
|
panove, vite, jak jsem peclivej na upravu kodu.. snad se vam bude libit:) konfigurace je v souboru /system/astylerc
|
Line | |
---|
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 | |
---|
11 | class Test { |
---|
12 | public: |
---|
13 | explicit Test ( char const* testName, char const* suiteName = "DefaultSuite", char const* filename = "", int lineNumber = 0 ); |
---|
14 | virtual ~Test(); |
---|
15 | void Run(); |
---|
16 | |
---|
17 | TestDetails const m_details; |
---|
18 | Test* next; |
---|
19 | mutable bool m_timeConstraintExempt; |
---|
20 | |
---|
21 | static TestList& GetTestList(); |
---|
22 | |
---|
23 | virtual void RunImpl() const; |
---|
24 | |
---|
25 | private: |
---|
26 | Test ( Test const& ); |
---|
27 | Test& operator = ( Test const& ); |
---|
28 | }; |
---|
29 | |
---|
30 | |
---|
31 | } |
---|
32 | |
---|
33 | #endif |
---|