November 2004
Intermediate to advanced
212 pages
5h 2m
English
TestSuiteFactory
The template class
TestSuiteFactory
(see Figure C-33)
implements the TestFactory method
makeTest( ) for a TestFixture
having a static suite( ) method.
TestSuiteFactory is used by the class
AutoRegisterSuite.
TestSuiteFactory belongs to the namespace
CppUnit. It is declared and implemented in the
file extensions/TestSuiteFactory.h.
![]() |
template<typename TestCaseType> class TestSuiteFactory : public TestFactory
None.
virtual Test *makeTest( )
Calls the method TestCaseType::suite( ) to return
a TestSuite.
None.
None.
Read now
Unlock full access