summaryrefslogtreecommitdiff
path: root/src/cppunit/TestCase.cpp
diff options
context:
space:
mode:
authorSteve M. Robbins <smr@sumost.ca>2001-06-02 21:29:52 +0000
committerSteve M. Robbins <smr@sumost.ca>2001-06-02 21:29:52 +0000
commitcdbca4119defbc5f9698906633eec05b5dc8272a (patch)
tree6f0fc91b8cb7cc7b361966ffc8ab2e401e1e4c6e /src/cppunit/TestCase.cpp
parent99f54c0f4b53debc49f2081ce01158b2ed200c30 (diff)
downloadcppunit-cdbca4119defbc5f9698906633eec05b5dc8272a.tar.gz
Change to templatized TestAssert::assertEquals() and the new CPPUNIT_ASSERT* macros
Diffstat (limited to 'src/cppunit/TestCase.cpp')
-rw-r--r--src/cppunit/TestCase.cpp3
1 files changed, 2 insertions, 1 deletions
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 <stdexcept>
#include <cmath>
+#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