diff options
author | Baptiste Lepilleur <gaiacrtn@free.fr> | 2002-06-13 17:17:42 +0000 |
---|---|---|
committer | Baptiste Lepilleur <gaiacrtn@free.fr> | 2002-06-13 17:17:42 +0000 |
commit | 7f0766499db248afe9985a5700c22f9a8ce7ce6c (patch) | |
tree | ba70577fe0ed4343b5127d1e8848cbe0ccebf4fe /examples/cppunittest/ExceptionTest.cpp | |
parent | abd178318ae3cdb6cc0a700e77414a33ef9297ca (diff) | |
download | cppunit-7f0766499db248afe9985a5700c22f9a8ce7ce6c.tar.gz |
Include/cppunit/NotEqualException.
include/cppunit/NotEqualException.h:
* src/cppunit/NotEqualException.cpp: removed.
* include/cppunit/Exception.h:
* src/cppunit/Exception.cpp: removed 'type' related stuffs.
* include/cppunit/TextTestResult.h:
* src/cppunit/TextTestResult.cpp: delegate printing to TextOutputter.
* examples/simple/ExampleTestCase.h:
* examples/simple/ExampleTestCase.cpp: reindented.
* src/qttestrunner/build:
* src/qttestrunner/qttestrunner.pro:
* src/qttestrunner/TestBrowserDlgImpl.h:
* src/qttestrunner/TestRunnerModel.h: applied Thomas Neidhart's patch,
'Some minor fixes to compile QTTestrunner under Linux.'.
Diffstat (limited to 'examples/cppunittest/ExceptionTest.cpp')
-rw-r--r-- | examples/cppunittest/ExceptionTest.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/examples/cppunittest/ExceptionTest.cpp b/examples/cppunittest/ExceptionTest.cpp index e166130..c3d1876 100644 --- a/examples/cppunittest/ExceptionTest.cpp +++ b/examples/cppunittest/ExceptionTest.cpp @@ -1,7 +1,6 @@ #include "CoreSuite.h" #include "ExceptionTest.h" #include <cppunit/Exception.h> -#include <cppunit/NotEqualException.h> #include <memory> @@ -86,16 +85,6 @@ ExceptionTest::testClone() void -ExceptionTest::testIsInstanceOf() -{ - CppUnit::SourceLine sourceLine( "fileName.cpp", 123 ); - CppUnit::Exception e( CppUnit::Message("message"), sourceLine ); - CPPUNIT_ASSERT( e.isInstanceOf( CppUnit::Exception::type() ) ); - CPPUNIT_ASSERT( !e.isInstanceOf( CppUnit::NotEqualException::type() ) ); -} - - -void ExceptionTest::checkIsSame( CppUnit::Exception &e, CppUnit::Exception &other ) { |