Mercurial > fife-parpg
comparison ext/UnitTest++/src/TestList.h @ 37:0d325e9d5953
added unittest++ files into ext. Not hooked into build scripts yet
author | jasoka@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sat, 12 Jul 2008 12:00:57 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
36:6f1227f4932b | 37:0d325e9d5953 |
---|---|
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 const 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 |