root/library/tests/unittest-cpp/Test.h @ 1459

Revision 706, 0.5 kB (checked in by smidl, 15 years ago)

eol-native

  • Property svn:eol-style set to native
Line 
1#ifndef UNITTEST_TEST_H
2#define UNITTEST_TEST_H
3
4#include "TestDetails.h"
5
6namespace UnitTest {
7
8class TestResults;
9class TestList;
10
11class Test {
12public:
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
25private:
26        Test ( Test const& );
27        Test& operator = ( Test const& );
28};
29
30
31}
32
33#endif
Note: See TracBrowser for help on using the browser.