diff options
| author | Baptiste Lepilleur <gaiacrtn@free.fr> | 2002-07-10 17:50:02 +0000 |
|---|---|---|
| committer | Baptiste Lepilleur <gaiacrtn@free.fr> | 2002-07-10 17:50:02 +0000 |
| commit | 85aa074c02154107459755b2a3ddbc0b5767558a (patch) | |
| tree | f48da462642cd10a74cc836a241b4b8fede53319 /include/cppunit/TestCaller.h | |
| parent | ad45759ab7a47c7a7932f7e6be66f3ea106b643b (diff) | |
| download | cppunit-85aa074c02154107459755b2a3ddbc0b5767558a.tar.gz | |
Include/cppunit/extensions/AutoRegisterSuite.
include/cppunit/extensions/AutoRegisterSuite.h:
* include/cppunit/extensions/Orthodox.h:
* include/cppunit/extensions/TestSuiteBuilder.h:
* include/cppunit/extensions/TestSuiteFactory.h:
* include/cppunit/TestCaller.h:
* examples/hierarchy/BoardGameTest.h:
* examples/hierarchy/ChessTest.h: replaced usage of 'typename' in template
declaration with 'class'.
* include/cppunit/ui/text/TestRunner.h:
* src/cppunit/TextTestRunner.cpp: updated to use the generic TestRunner.
Removed methods runTestByName() and runTest(). Inherits
CppUnit::TestRunner.
* include/cppunit/extensions/TestSuiteBuilder.h: removed templatized method
addTestCallerForException(). It is no longer used since release 1.9.8.
* examples/cppunittest/MockTestCase.h
* examples/cppunittest/MockTestCase.cpp: removed the usage of 'mutable'
keyword.
Diffstat (limited to 'include/cppunit/TestCaller.h')
| -rw-r--r-- | include/cppunit/TestCaller.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/cppunit/TestCaller.h b/include/cppunit/TestCaller.h index 3b10985..481aec6 100644 --- a/include/cppunit/TestCaller.h +++ b/include/cppunit/TestCaller.h @@ -27,7 +27,7 @@ private: * * This class is an implementation detail. You should never use this class directly. */ -template<typename ExceptionType> +template<class ExceptionType> struct ExpectedExceptionTraits { static void expectedException() @@ -98,8 +98,8 @@ struct ExpectedExceptionTraits<NoExceptionExpected> * \see TestCase */ -template <typename Fixture, - typename ExpectedException = NoExceptionExpected> +template <class Fixture, + class ExpectedException = NoExceptionExpected> class TestCaller : public TestCase { typedef void (Fixture::*TestMethod)(); |
