root/library/tests/unittest-cpp/TestList.h
@
867
Revision 706, 311 bytes (checked in by smidl, 15 years ago) | |
---|---|
|
Line | |
---|---|
1 | #ifndef UNITTEST_TESTLIST_H |
2 | #define UNITTEST_TESTLIST_H |
3 | |
4 | |
5 | namespace UnitTest { |
6 | |
7 | class Test; |
8 | |
9 | class TestList { |
10 | public: |
11 | TestList(); |
12 | void Add ( Test* test ); |
13 | |
14 | Test* GetHead() const; |
15 | |
16 | private: |
17 | Test* m_head; |
18 | Test* m_tail; |
19 | }; |
20 | |
21 | |
22 | class ListAdder { |
23 | public: |
24 | ListAdder ( TestList& list, Test* test ); |
25 | }; |
26 | |
27 | } |
28 | |
29 | |
30 | #endif |
Note: See TracBrowser
for help on using the browser.