November 2004
Intermediate to advanced
212 pages
5h 2m
English
TestFactory
The abstract class
TestFactory
(see Figure C-20)
defines the interface for a factory that produces
Test objects.
TestFactory belongs to the namespace
CppUnit. It is declared in
extensions/TestFactory.h. It is abstract and has
no implementation.
![]() |
class TestFactory
virtual ~TestFactory( )
A destructor.
virtual Test* makeTest( ) = 0
A pure, virtual method to create a Test.
None.
None.
Read now
Unlock full access