Go to the documentation of this file. 1 #ifndef CPPUNIT_EXTENSIONS_TESTFIXTUREFACTORY_H
2 #define CPPUNIT_EXTENSIONS_TESTFIXTUREFACTORY_H
30 template<
class TestFixtureType>
41 return new TestFixtureType();
49 #endif // CPPUNIT_EXTENSIONS_TESTFIXTUREFACTORY_H
virtual TestFixture * makeFixture()=0
Creates a new TestFixture instance.
Abstract TestFixture factory (Implementation).
Definition: TestFixtureFactory.h:17
Wraps a test case with setUp and tearDown methods.
Definition: TestFixture.h:84
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:105
#define CPPUNIT_NS_END
Definition: Portability.h:106
virtual ~TestFixtureFactory()
Definition: TestFixtureFactory.h:22
Concret TestFixture factory (Implementation).
Definition: TestFixtureFactory.h:32
TestFixture * makeFixture()
Returns a new TestFixture instance.
Definition: TestFixtureFactory.h:39