CppUnit project page | FAQ | CppUnit home page

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# 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

| hosts this site. |  | Send comments to: CppUnit Developers