OpenSimMirror/libraries/ode-0.9/tests/CppTestHarness/TestRunner.h

34 lines
500 B
C
Raw Normal View History

2007-10-19 05:24:38 +00:00
#ifndef TEST_RUNNER_H
#define TEST_RUNNER_H
#include "PrintfTestReporter.h"
namespace CppTestHarness
{
class TestLauncher;
class TestReporter;
class TestRunner
{
public:
TestRunner();
~TestRunner();
void SetTestReporter(TestReporter* testReporter);
void SetTestLauncherListHead(TestLauncher** listHead);
int RunAllTests();
int FailureCount() const;
private:
TestLauncher** m_testLauncherListHead;
TestReporter* m_testReporter;
PrintfTestReporter m_defaultTestReporter;
};
}
#endif