From d48ea5bb797037069d641da41da0f195f0124491 Mon Sep 17 00:00:00 2001 From: dan miller Date: Fri, 19 Oct 2007 05:20:48 +0000 Subject: one more for the gipper --- libraries/ode-0.9/tests/CppTestHarness/Test.h | 40 +++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 libraries/ode-0.9/tests/CppTestHarness/Test.h (limited to 'libraries/ode-0.9/tests/CppTestHarness/Test.h') diff --git a/libraries/ode-0.9/tests/CppTestHarness/Test.h b/libraries/ode-0.9/tests/CppTestHarness/Test.h new file mode 100644 index 0000000..bd35935 --- /dev/null +++ b/libraries/ode-0.9/tests/CppTestHarness/Test.h @@ -0,0 +1,40 @@ +#ifndef TEST_H +#define TEST_H + +#include + +namespace CppTestHarness +{ +class TestResults; + +class Test +{ +public: + virtual ~Test(); + void Run(TestResults& testResults); + + static Test* GetListHead(); + +protected: + Test(std::string testName = std::string(), + std::string filename = std::string(), + int lineNumber = 0); + +private: + virtual void RunImpl(TestResults& testResults_) = 0; + + std::string const m_testName; + std::string const m_filename; + int const m_lineNumber; + + Test* m_listNext; + + // revoked + Test(Test const&); + Test& operator =(Test const&); +}; + +} + +#endif + -- cgit v1.1