CppUnit project page FAQ CppUnit home page

Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

TestSuiteFactory.h

Go to the documentation of this file.
00001 #ifndef CPPUNIT_EXTENSIONS_TESTSUITEFACTORY_H
00002 #define CPPUNIT_EXTENSIONS_TESTSUITEFACTORY_H
00003 
00004 #include <cppunit/extensions/TestFactory.h>
00005 
00006 CPPUNIT_NS_BEGIN
00007 
00008 
00009   class Test;
00010 
00014   template<class TestCaseType>
00015   class TestSuiteFactory : public TestFactory
00016   {
00017   public:
00018     virtual Test *makeTest()
00019     {
00020       return TestCaseType::suite();
00021     }
00022   };
00023 
00024 
00025 CPPUNIT_NS_END
00026 
00027 #endif  // CPPUNIT_EXTENSIONS_TESTSUITEFACTORY_H

SourceForge Logo hosts this site. Send comments to:
CppUnit Developers