aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9/tests/CppTestHarness/TestLauncher.h
blob: fe60363f7787c9f603c116f73edf9866e94db4cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef TEST_LAUNCHER_H
#define TEST_LAUNCHER_H

namespace CppTestHarness
{
class TestResults;
class TestRegistry;

class TestLauncher
{
public:
	virtual void Launch(TestResults& results_) const = 0;

	static TestLauncher** GetHeadAddr();
	TestLauncher const* GetNext() const;

protected:
	TestLauncher(TestLauncher** listHead);
	virtual ~TestLauncher();

private:
	TestLauncher const* m_next;

	// revoked
	TestLauncher();
	TestLauncher(TestLauncher const&);
	TestLauncher& operator =(TestLauncher const&);
};
}

#endif