summaryrefslogtreecommitdiff
path: root/include/cppunit/extensions/TestNamer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cppunit/extensions/TestNamer.h')
-rw-r--r--include/cppunit/extensions/TestNamer.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/include/cppunit/extensions/TestNamer.h b/include/cppunit/extensions/TestNamer.h
index 91262b9..6267604 100644
--- a/include/cppunit/extensions/TestNamer.h
+++ b/include/cppunit/extensions/TestNamer.h
@@ -28,16 +28,16 @@
*/
#if CPPUNIT_USE_TYPEINFO_NAME
# define CPPUNIT_TESTNAMER_DECL( variableName, FixtureType ) \
- CppUnit::TestNamer variableName( typeid(FixtureType) )
+ CPPUNIT_NS(TestNamer) variableName( typeid(FixtureType) )
#else
# define CPPUNIT_TESTNAMER_DECL( variableName, FixtureType ) \
- CppUnit::TestNamer variableName( std::string(#FixtureType) )
+ CPPUNIT_NS(TestNamer) variableName( std::string(#FixtureType) )
#endif
-namespace CppUnit
-{
+CPPUNIT_NS_BEGIN
+
/*! \brief Names a test or a fixture suite.
*
@@ -78,9 +78,6 @@ protected:
};
-
-} // namespace CppUnit
-
-
+CPPUNIT_NS_END
#endif // CPPUNIT_EXTENSIONS_TESTNAMER_H \ No newline at end of file