mirror of
https://github.com/holub/mame
synced 2025-05-01 12:16:56 +03:00
34 lines
384 B
C++
34 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
|