summaryrefslogtreecommitdiff
path: root/libs/ode-0.16.1/tests/UnitTest++/src/TestList.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ode-0.16.1/tests/UnitTest++/src/TestList.h')
-rw-r--r--libs/ode-0.16.1/tests/UnitTest++/src/TestList.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/libs/ode-0.16.1/tests/UnitTest++/src/TestList.h b/libs/ode-0.16.1/tests/UnitTest++/src/TestList.h
new file mode 100644
index 0000000..14b978a
--- /dev/null
+++ b/libs/ode-0.16.1/tests/UnitTest++/src/TestList.h
@@ -0,0 +1,32 @@
+#ifndef UNITTEST_TESTLIST_H
+#define UNITTEST_TESTLIST_H
+
+
+namespace UnitTest {
+
+class Test;
+
+class TestList
+{
+public:
+ TestList();
+ void Add (Test* test);
+
+ const Test* GetHead() const;
+
+private:
+ Test* m_head;
+ Test* m_tail;
+};
+
+
+class ListAdder
+{
+public:
+ ListAdder(TestList& list, Test* test);
+};
+
+}
+
+
+#endif