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

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

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