Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/ode/ode-0.9/tests/CppTestHarness/Test.h @ 266

Last change on this file since 266 was 216, checked in by mathiask, 18 years ago

[Physik] add ode-0.9

File size: 584 bytes
RevLine 
[216]1#ifndef TEST_H
2#define TEST_H
3
4#include <string>
5
6namespace CppTestHarness
7{
8class TestResults;
9
10class Test
11{
12public:
13        virtual ~Test();
14        void Run(TestResults& testResults);
15
16        static Test* GetListHead();
17
18protected:
19        Test(std::string testName = std::string(), 
20             std::string filename = std::string(), 
21             int lineNumber = 0);
22
23private:
24        virtual void RunImpl(TestResults& testResults_) = 0;
25
26        std::string const m_testName;
27        std::string const m_filename;
28        int const m_lineNumber;
29
30        Test* m_listNext;
31
32        // revoked
33        Test(Test const&);
34        Test& operator =(Test const&);
35};
36
37}
38
39#endif
40
Note: See TracBrowser for help on using the repository browser.