unittest-cpp/UnitTest++/TestList.h
Patrick Johnmeyer 859e6250d2 Move src to UnitTest++ and move src/tests to tests.
CMakeLists was modified to support this, then include paths for the
test executable also had to be modified to include UnitTest++.
2013-02-20 00:22:14 -06:00

33 lines
384 B
C++

#ifndef UNITTEST_TESTLIST_H
#define UNITTEST_TESTLIST_H
#include "HelperMacros.h"
namespace UnitTest {
class Test;
class UNITTEST_LINKAGE TestList
{
public:
TestList();
void Add (Test* test);
Test* GetHead() const;
private:
Test* m_head;
Test* m_tail;
};
class UNITTEST_LINKAGE ListAdder
{
public:
ListAdder(TestList& list, Test* test);
};
}
#endif