From cdbca4119defbc5f9698906633eec05b5dc8272a Mon Sep 17 00:00:00 2001 From: "Steve M. Robbins" Date: Sat, 2 Jun 2001 21:29:52 +0000 Subject: Change to templatized TestAssert::assertEquals() and the new CPPUNIT_ASSERT* macros --- src/cppunit/TestCase.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/cppunit/TestCase.cpp') diff --git a/src/cppunit/TestCase.cpp b/src/cppunit/TestCase.cpp index d48531c..66a2462 100644 --- a/src/cppunit/TestCase.cpp +++ b/src/cppunit/TestCase.cpp @@ -2,6 +2,7 @@ #include #include +#include "cppunit/config.h" #include "cppunit/TestCase.h" #include "cppunit/Exception.h" #include "cppunit/TestResult.h" @@ -115,7 +116,7 @@ std::string { std::string className; -#ifdef CPPUNIT_USE_TYPEINFO +#if CPPUNIT_USE_TYPEINFO const std::type_info& thisClass = typeid (*this); className = thisClass.name(); #else -- cgit v1.2.1