summaryrefslogtreecommitdiff
path: root/include/cppunit/extensions/HelperMacros.h
diff options
context:
space:
mode:
authorBastiaan Bakker <bastiaan.bakker@lifeline.nl>2001-05-05 22:34:50 +0000
committerBastiaan Bakker <bastiaan.bakker@lifeline.nl>2001-05-05 22:34:50 +0000
commitb657aa515178205772ab2e95f365bd5a77364610 (patch)
tree680d530a1a4c6bbd3dcfa1a867ff608ed1175fa1 /include/cppunit/extensions/HelperMacros.h
parenta2509e56dd1e457e88d32410d7524a1363f59e96 (diff)
downloadcppunit-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.h3
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 )