diff options
| author | Bastiaan Bakker <bastiaan.bakker@lifeline.nl> | 2001-05-06 17:19:04 +0000 |
|---|---|---|
| committer | Bastiaan Bakker <bastiaan.bakker@lifeline.nl> | 2001-05-06 17:19:04 +0000 |
| commit | f3bd175af8c96708a3a629118fc59749444bb753 (patch) | |
| tree | 58e90f62df12bfbe88b6bc8013b2a6d035a607bc /src/cppunit/TestFactoryRegistry.cpp | |
| parent | c29893f76ae8c37e14eb99f25d517535c1d37b42 (diff) | |
| download | cppunit-f3bd175af8c96708a3a629118fc59749444bb753.tar.gz | |
Renamed AbstractTestFactory to TestFactory.
Diffstat (limited to 'src/cppunit/TestFactoryRegistry.cpp')
| -rw-r--r-- | src/cppunit/TestFactoryRegistry.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cppunit/TestFactoryRegistry.cpp b/src/cppunit/TestFactoryRegistry.cpp index f73c177..3db7032 100644 --- a/src/cppunit/TestFactoryRegistry.cpp +++ b/src/cppunit/TestFactoryRegistry.cpp @@ -22,7 +22,7 @@ TestFactoryRegistry::~TestFactoryRegistry() { for ( Factories::iterator it = m_factories.begin(); it != m_factories.end(); ++it ) { - AbstractTestFactory *factory = it->second; + TestFactory *factory = it->second; delete factory; } } @@ -60,7 +60,7 @@ TestFactoryRegistry::getRegistry( const std::string &name ) void TestFactoryRegistry::registerFactory( const std::string &name, - AbstractTestFactory *factory ) + TestFactory *factory ) { m_factories[name] = factory; } @@ -68,7 +68,7 @@ TestFactoryRegistry::registerFactory( const std::string &name, #ifdef USE_TYPEINFO void -TestFactoryRegistry::registerFactory( AbstractTestFactory *factory ) +TestFactoryRegistry::registerFactory( TestFactory *factory ) { std::string name = TypeInfoHelper::getClassName( typeid( *factory ) ); registerFactory( name, factory ); @@ -91,7 +91,7 @@ TestFactoryRegistry::addTestToSuite( TestSuite *suite ) it != m_factories.end(); ++it ) { - AbstractTestFactory *factory = (*it).second; + TestFactory *factory = (*it).second; suite->addTest( factory->makeTest() ); } } |
