root/library/tests/unittest-cpp/TestList.h
@
440
Revision 418, 324 bytes (checked in by vbarta, 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 | { |
11 | public: |
12 | TestList(); |
13 | void Add (Test* test); |
14 | |
15 | Test* GetHead() const; |
16 | |
17 | private: |
18 | Test* m_head; |
19 | Test* m_tail; |
20 | }; |
21 | |
22 | |
23 | class ListAdder |
24 | { |
25 | public: |
26 | ListAdder(TestList& list, Test* test); |
27 | }; |
28 | |
29 | } |
30 | |
31 | |
32 | #endif |
Note: See TracBrowser
for help on using the browser.