CppUnit project page FAQ CppUnit home page

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound 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 namespace CppUnit {
00007 
00008   class Test;
00009 
00013   template<typename TestCaseType>
00014   class TestSuiteFactory : public TestFactory
00015   {
00016   public:
00017     virtual Test *makeTest()
00018     {
00019       return TestCaseType::suite();
00020     }
00021   };
00022 
00023 }  // namespace CppUnit
00024 
00025 #endif  // CPPUNIT_EXTENSIONS_TESTSUITEFACTORY_H

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