PageRenderTime 12ms CodeModel.GetById 11ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/extlibs/UnitTest++/source/TestList.h

https://bitbucket.org/hugoruscitti/pilascpp
C++ Header | 32 lines | 21 code | 11 blank | 0 comment | 0 complexity | 1c47e1663ef08f158b6b7d091234ee9d MD5 | raw file
 1#ifndef UNITTEST_TESTLIST_H
 2#define UNITTEST_TESTLIST_H
 3
 4
 5namespace UnitTest {
 6
 7class Test;
 8
 9class TestList
10{
11public:
12    TestList();
13    void Add (Test* test);
14
15    Test* GetHead() const;
16
17private:
18    Test* m_head;
19    Test* m_tail;
20};
21
22
23class ListAdder
24{
25public:
26    ListAdder(TestList& list, Test* test);
27};
28
29}
30
31
32#endif