diff options
| author | Baptiste Lepilleur <gaiacrtn@free.fr> | 2001-05-18 18:32:42 +0000 |
|---|---|---|
| committer | Baptiste Lepilleur <gaiacrtn@free.fr> | 2001-05-18 18:32:42 +0000 |
| commit | 82017693c2dcaab03556154d990fe44591fb6f0a (patch) | |
| tree | 296fe4d4d48a6dbd3545f31ce9b7418c08c997d7 /include/cppunit/extensions/TestFactoryRegistry.h | |
| parent | 15bf5fbb250670464df54ef9155cc3b391118523 (diff) | |
| download | cppunit-82017693c2dcaab03556154d990fe44591fb6f0a.tar.gz | |
:registerFactory(factory) now generate a dummy name based on a serial number instead of using RTTI.
* Symbol CU_USE_TYPEINFO must be defined instead of USE_TYPEINFO to
compile RTTI.
* Added back default constructor to TestSuiteBuilder which use RTTI.
It is available only if CU_USE_TYPEINFO is defined.
* Moved TypeInfoHelper.h from src/cppunit to include/cppunit/extensions.
* Macro CU_TEST_SUITE in HelperMacros.h now use TestSuiteBuilder default
constructor if CU_USE_TYPEINFO is defined, otherwise it use the
type name given to the CU_TEST_SUITE macro.
* TestFactoryRegistry::registerFactory(factory) now generate a dummy
name based on a serial number instead of using RTTI. The macro
CU_TEST_SUITE_REGISTRATION and class AutoRegisterSuite can now
when CU_USE_TYPEINFO is not defined.
* Added a new Configuration named "Debug Without CU_USE_TYPEINFO" to
msvc6 projects. The flag CU_USE_TYPEINFO is not defined in that
configuration.
Diffstat (limited to 'include/cppunit/extensions/TestFactoryRegistry.h')
| -rw-r--r-- | include/cppunit/extensions/TestFactoryRegistry.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/cppunit/extensions/TestFactoryRegistry.h b/include/cppunit/extensions/TestFactoryRegistry.h index cc6c035..2475e57 100644 --- a/include/cppunit/extensions/TestFactoryRegistry.h +++ b/include/cppunit/extensions/TestFactoryRegistry.h @@ -56,12 +56,10 @@ namespace CppUnit { void registerFactory( const std::string &name, TestFactory *factory ); -#ifdef USE_TYPEINFO /** Registers a test factory using its class name. * \param factory Factory to register. */ void registerFactory( TestFactory *factory ); -#endif // USE_TYPEINFO private: TestFactoryRegistry( const TestFactoryRegistry © ); |
