blob: 1c5f469e0c7bb1f3a705d204e0925c17e4e69bf3 (
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
|
#ifndef __HAYAI_TESTFACTORY
#define __HAYAI_TESTFACTORY
#include "hayai_test.hpp"
namespace hayai
{
/// Base class for test factory implementations.
class TestFactory
{
public:
/// Virtual destructor
/// Has no function in the base class.
virtual ~TestFactory()
{
}
/// Creates a test instance to run.
/// @returns a pointer to an initialized test.
virtual Test* CreateTest() = 0;
};
}
#endif
|