1 #ifndef CPPUNIT_TESTCALLER_H    // -*- C++ -*- 
    2 #define CPPUNIT_TESTCALLER_H 
    8 #if CPPUNIT_USE_TYPEINFO_NAME 
   23   NoExceptionExpected();
 
   31 template<
class ExceptionType>
 
   32 struct ExpectedExceptionTraits
 
   34   static void expectedException()
 
   36 #if CPPUNIT_USE_TYPEINFO_NAME 
   38                          "expected exception not thrown",
 
   39                          "Expected exception type: " + 
 
   40                            TypeInfoHelper::getClassName( 
typeid( ExceptionType ) ) ) );
 
   42     throw Exception( 
"expected exception not thrown" );
 
   54 struct ExpectedExceptionTraits<NoExceptionExpected>
 
   56   static void expectedException()
 
  103 template <
class Fixture>
 
  187         return "TestCaller " + 
getName(); 
 
  204 #endif // CPPUNIT_TESTCALLER_H