summaryrefslogtreecommitdiff
path: root/examples/cppunittest/ExceptionTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cppunittest/ExceptionTest.cpp')
-rw-r--r--examples/cppunittest/ExceptionTest.cpp11
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 )
{