diff options
author | Bastiaan Bakker <bastiaan.bakker@lifeline.nl> | 2001-05-05 22:34:50 +0000 |
---|---|---|
committer | Bastiaan Bakker <bastiaan.bakker@lifeline.nl> | 2001-05-05 22:34:50 +0000 |
commit | b657aa515178205772ab2e95f365bd5a77364610 (patch) | |
tree | 680d530a1a4c6bbd3dcfa1a867ff608ed1175fa1 /include/cppunit/extensions/HelperMacros.h | |
parent | a2509e56dd1e457e88d32410d7524a1363f59e96 (diff) | |
download | cppunit-b657aa515178205772ab2e95f365bd5a77364610.tar.gz |
Merge of CppUnitW 1.2 phase 2.
Diffstat (limited to 'include/cppunit/extensions/HelperMacros.h')
-rw-r--r-- | include/cppunit/extensions/HelperMacros.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/cppunit/extensions/HelperMacros.h b/include/cppunit/extensions/HelperMacros.h index 7c725c5..e1a4b72 100644 --- a/include/cppunit/extensions/HelperMacros.h +++ b/include/cppunit/extensions/HelperMacros.h @@ -74,7 +74,6 @@ private: \ typedef ATestCaseType __ThisTestCaseType; \ public: \ - typedef CppUnit::AutoRegisterSuite<__ThisTestCaseType> AutoRegisterSuite; \ static CppUnit::Test *suite() \ { \ __ThisTestCaseType *test =NULL; \ @@ -157,7 +156,7 @@ * \see CU_TEST_SUITE, CppUnit::AutoRegisterSuite. */ #define CU_TEST_SUITE_REGISTRATION( ATestCaseType ) \ - static ATestCaseType::AutoRegisterSuite \ + static CppUnit::AutoRegisterSuite< ATestCaseType > \ CU_MAKE_UNIQUE_NAME(__autoRegisterSuite ) |