CppUnit project page FAQ

TestFactory.h
Go to the documentation of this file.
1 #ifndef CPPUNIT_EXTENSIONS_TESTFACTORY_H
2 #define CPPUNIT_EXTENSIONS_TESTFACTORY_H
3 
4 #include <cppunit/Portability.h>
5 
7 
8 
9 class Test;
10 
14 {
15 public:
16  virtual ~TestFactory() {}
17 
21  virtual Test* makeTest() = 0;
22 };
23 
24 
26 
27 #endif // CPPUNIT_EXTENSIONS_TESTFACTORY_H
#define CPPUNIT_API
Definition: CppUnitApi.h:27
#define CPPUNIT_NS_END
Definition: Portability.h:106
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:105
Abstract Test factory.
Definition: TestFactory.h:14
virtual Test * makeTest()=0
virtual ~TestFactory()
Definition: TestFactory.h:16
Base class for all test objects.
Definition: Test.h:26

Send comments to:
CppUnit Developers