diff options
| author | Steve M. Robbins <smr@sumost.ca> | 2001-06-02 21:29:52 +0000 |
|---|---|---|
| committer | Steve M. Robbins <smr@sumost.ca> | 2001-06-02 21:29:52 +0000 |
| commit | cdbca4119defbc5f9698906633eec05b5dc8272a (patch) | |
| tree | 6f0fc91b8cb7cc7b361966ffc8ab2e401e1e4c6e /src/cppunit/TestCase.cpp | |
| parent | 99f54c0f4b53debc49f2081ce01158b2ed200c30 (diff) | |
| download | cppunit-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.cpp | 3 |
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 |
