TestFactoryRegistry
TestFactoryRegistry::getRegistry().registerFactory( factory );
TestFactoryRegistry::getRegistry( name ).registerFactory( factory );
static TestFactoryRegistry &getRegistry( const std::string &name );
TestFactoryRegistry( const TestFactoryRegistry © );
void operator =( const TestFactoryRegistry © );
class CPPUNIT_API TestFactoryRegistry : public TestFactory
TestFactoryRegistry( std::string name = "All Tests" );
virtual ~TestFactoryRegistry();
static TestFactoryRegistry &getRegistry();
CppUnit::TestFactoryRegistry ®istry =
CppUnit::TestFactoryRegistry::getRegistry(testSuiteName);
TestFactoryRegistry::TestFactoryRegistry( string name ) :
TestFactoryRegistry::~TestFactoryRegistry()
TestFactoryRegistry &
TestFactoryRegistry::getRegistry()
TestFactoryRegistry &
TestFactoryRegistry::getRegistry( const string &name )
TestFactoryRegistry::registerFactory( const string &name,
TestFactoryRegistry::registerFactory( TestFactory *factory )
TestFactoryRegistry::makeTest()
TestFactoryRegistry::addTestToSuite( TestSuite *suite )
TestFactoryRegistry &getRegistry( string name );
typedef map<string, TestFactoryRegistry *> Registries;
TestFactoryRegistry *registry = (it++)->second;
TestFactoryRegistry &
TestFactoryRegistry *factory = new TestFactoryRegistry( name );
CppUnit::TestFactoryRegistry*