summaryrefslogtreecommitdiff
path: root/include/cppunit/ui/text
diff options
context:
space:
mode:
Diffstat (limited to 'include/cppunit/ui/text')
-rw-r--r--include/cppunit/ui/text/TestRunner.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/cppunit/ui/text/TestRunner.h b/include/cppunit/ui/text/TestRunner.h
index 93c7352..13bb8b0 100644
--- a/include/cppunit/ui/text/TestRunner.h
+++ b/include/cppunit/ui/text/TestRunner.h
@@ -8,7 +8,8 @@
#include <vector>
#include <cppunit/TestRunner.h>
-namespace CppUnit {
+CPPUNIT_NS_BEGIN
+
class Outputter;
class Test;
@@ -62,11 +63,11 @@ namespace TextUi
*
* \see CompilerOutputter, XmlOutputter, TextOutputter.
*/
-class CPPUNIT_API TestRunner : public CppUnit::TestRunner
+class CPPUNIT_API TestRunner : public CPPUNIT_NS(TestRunner)
{
public:
// Work around VC++ bug (class has same name as parent)
- typedef CppUnit::TestRunner SuperClass;
+ typedef CPPUNIT_NS(TestRunner) SuperClass;
TestRunner( Outputter *outputter =NULL );
@@ -95,6 +96,6 @@ protected:
} // namespace TextUi
-} // namespace CppUnit
+CPPUNIT_NS_END
#endif // CPPUNIT_UI_TEXT_TESTRUNNER_H