aboutsummaryrefslogtreecommitdiffstats
path: root/tests/UnitTest++/src/TestList.h
blob: b17424b0312884bb6e9120684bdbe912924f0dd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef UNITTEST_TESTLIST_H
#define UNITTEST_TESTLIST_H


namespace UnitTest {

class Test;

class TestList
{
public:
    TestList();
    void Add (Test* test);

    Test* GetHead() const;

private:
    Test* m_head;
    Test* m_tail;
};


class ListAdder
{
public:
    ListAdder(TestList& list, Test* test);
};

}


#endif