summaryrefslogtreecommitdiff
path: root/src/cppunit/TestCase.cpp
diff options
context:
space:
mode:
authorSteve M. Robbins <smr@sumost.ca>2001-07-06 00:31:25 +0000
committerSteve M. Robbins <smr@sumost.ca>2001-07-06 00:31:25 +0000
commita90452b2ef0c9366118ae1be78d798a0198ae363 (patch)
tree7ad83daa72ff5a84609528e57bdc50b86c28309f /src/cppunit/TestCase.cpp
parent83766a55021bea4fa506ece7ad0be11c6dcff6f8 (diff)
downloadcppunit-a90452b2ef0c9366118ae1be78d798a0198ae363.tar.gz
Change from CPPUNIT_USE_TYPEINFO to CPPUNIT_USE_TYPEINFO_NAME
Diffstat (limited to 'src/cppunit/TestCase.cpp')
-rw-r--r--src/cppunit/TestCase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cppunit/TestCase.cpp b/src/cppunit/TestCase.cpp
index 7c7c8ae..f330044 100644
--- a/src/cppunit/TestCase.cpp
+++ b/src/cppunit/TestCase.cpp
@@ -122,12 +122,12 @@ std::string
{
std::string className;
-#if CPPUNIT_USE_TYPEINFO
+#if CPPUNIT_USE_TYPEINFO_NAME
const std::type_info& thisClass = typeid (*this);
className = thisClass.name();
#else
className = "TestCase";
-#endif // CPPUNIT_USE_TYPEINFO
+#endif
return className + "." + getName ();
}