1 #ifndef CPPUNIT_EXTENSIONS_TESTSUITEFACTORY_H
2 #define CPPUNIT_EXTENSIONS_TESTSUITEFACTORY_H
4 #include <cppunit/extensions/TestFactory.h>
11 /*! \brief TestFactory for TestFixture that implements a static suite() method.
12 * \see AutoRegisterSuite.
14 template<class TestCaseType>
15 class TestSuiteFactory : public TestFactory
18 virtual Test *makeTest()
20 return TestCaseType::suite();
27 #endif // CPPUNIT_EXTENSIONS_TESTSUITEFACTORY_H