From ee4adf600bdd3aa60cc0e92a39f2111be0a90bc6 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 27 May 2015 15:00:06 +0200 Subject: Added library for supporting unit tests (nw) --- 3rdparty/unittest-cpp/UnitTest++/TestList.h | 33 +++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 3rdparty/unittest-cpp/UnitTest++/TestList.h (limited to '3rdparty/unittest-cpp/UnitTest++/TestList.h') diff --git a/3rdparty/unittest-cpp/UnitTest++/TestList.h b/3rdparty/unittest-cpp/UnitTest++/TestList.h new file mode 100644 index 00000000000..a001d3f22cf --- /dev/null +++ b/3rdparty/unittest-cpp/UnitTest++/TestList.h @@ -0,0 +1,33 @@ +#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 -- cgit v1.2.3