CppUnit project page | FAQ | CppUnit home page |
00001 #ifndef CPPUNIT_EXTENSIONS_TESTSUITEFACTORY_H 00002 #define CPPUNIT_EXTENSIONS_TESTSUITEFACTORY_H 00003 00004 #include <cppunit/extensions/TestFactory.h> 00005 00006 namespace CppUnit { 00007 00008 class Test; 00009 00010 template<typename TestCaseType> 00011 class TestSuiteFactory : public TestFactory 00012 { 00013 public: 00014 virtual Test *makeTest() 00015 { 00016 return TestCaseType::suite(); 00017 } 00018 }; 00019 00020 } // namespace CppUnit 00021 00022 #endif // CPPUNIT_EXTENSIONS_TESTSUITEFACTORY_H
|
hosts this site. |
Send comments to: CppUnit Developers |