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

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
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.