1#ifndef CPPUNIT_EXTENSIONS_TESTFACTORY_H
2#define CPPUNIT_EXTENSIONS_TESTFACTORY_H
3
4#include <cppunit/Portability.h>
5
6namespace CppUnit {
7
8class Test;
9
10/*! \brief Abstract Test factory.
11 */
12class CPPUNIT_API TestFactory
13{
14public:
15  virtual ~TestFactory() {}
16
17  /*! Makes a new test.
18   * \return A new Test.
19   */
20  virtual Test* makeTest() = 0;
21};
22
23}  // namespace CppUnit
24
25#endif  // CPPUNIT_EXTENSIONS_TESTFACTORY_H
26