1 #ifndef CPPUNIT_EXTENSIONS_TESTFIXTUREFACTORY_H
2 #define CPPUNIT_EXTENSIONS_TESTFIXTUREFACTORY_H
28 template<
class TestFixtureType>
39 return new TestFixtureType();
47 #endif // CPPUNIT_EXTENSIONS_TESTFIXTUREFACTORY_H
Wraps a test case with setUp and tearDown methods.A TestFixture is used to provide a common environme...
Definition: TestFixture.h:83
TestFixture * makeFixture()
Returns a new TestFixture instance.
Definition: TestFixtureFactory.h:37
Abstract TestFixture factory (Implementation).
Definition: TestFixtureFactory.h:16
#define CPPUNIT_NS_END
Definition: Portability.h:120
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:119
Concret TestFixture factory (Implementation).
Definition: TestFixtureFactory.h:29
virtual TestFixture * makeFixture()=0
Creates a new TestFixture instance.