CppUnit - The Unit Testing Library

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
6 CPPUNIT_NS_BEGIN
7
8
9class Test;
10
13 class CPPUNIT_API TestFactory
14{
15public:
16 virtual ~TestFactory() {}
17
21 virtual Test* makeTest() = 0;
22};
23
24
25 CPPUNIT_NS_END
26
27#endif // CPPUNIT_EXTENSIONS_TESTFACTORY_H
CPPUNIT_API
#define CPPUNIT_API
Definition CppUnitApi.h:27
Portability.h
CPPUNIT_NS_END
#define CPPUNIT_NS_END
Definition Portability.h:106
CPPUNIT_NS_BEGIN
#define CPPUNIT_NS_BEGIN
Definition Portability.h:105
TestFactory
Abstract Test factory.
Definition TestFactory.h:14
TestFactory::makeTest
virtual Test * makeTest()=0
TestFactory::~TestFactory
virtual ~TestFactory()
Definition TestFactory.h:16
Test
Base class for all test objects.
Definition Test.h:26

| Send comments to: CppUnit Developers