summaryrefslogtreecommitdiff
path: root/examples/cppunittest/OrthodoxTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cppunittest/OrthodoxTest.cpp')
-rw-r--r--examples/cppunittest/OrthodoxTest.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/cppunittest/OrthodoxTest.cpp b/examples/cppunittest/OrthodoxTest.cpp
index b20fbe3..0da7180 100644
--- a/examples/cppunittest/OrthodoxTest.cpp
+++ b/examples/cppunittest/OrthodoxTest.cpp
@@ -20,7 +20,7 @@ void
OrthodoxTest::setUp()
{
m_testListener = new MockTestListener( "mock-listener" );
- m_result = new CppUnit::TestResult();
+ m_result = new CPPUNIT_NS::TestResult();
m_result->addListener( m_testListener );
}
@@ -36,7 +36,7 @@ OrthodoxTest::tearDown()
void
OrthodoxTest::testValue()
{
- CppUnit::Orthodox<Value> test;
+ CPPUNIT_NS::Orthodox<Value> test;
m_testListener->setExpectNoFailure();
test.run( m_result );
m_testListener->verify();
@@ -46,7 +46,7 @@ OrthodoxTest::testValue()
void
OrthodoxTest::testValueBadConstructor()
{
- CppUnit::Orthodox<ValueBadConstructor> test;
+ CPPUNIT_NS::Orthodox<ValueBadConstructor> test;
m_testListener->setExpectFailure();
test.run( m_result );
m_testListener->verify();
@@ -56,7 +56,7 @@ OrthodoxTest::testValueBadConstructor()
void
OrthodoxTest::testValueBadInvert()
{
- CppUnit::Orthodox<ValueBadInvert> test;
+ CPPUNIT_NS::Orthodox<ValueBadInvert> test;
m_testListener->setExpectFailure();
test.run( m_result );
m_testListener->verify();
@@ -66,7 +66,7 @@ OrthodoxTest::testValueBadInvert()
void
OrthodoxTest::testValueBadEqual()
{
- CppUnit::Orthodox<ValueBadEqual> test;
+ CPPUNIT_NS::Orthodox<ValueBadEqual> test;
m_testListener->setExpectFailure();
test.run( m_result );
m_testListener->verify();
@@ -76,7 +76,7 @@ OrthodoxTest::testValueBadEqual()
void
OrthodoxTest::testValueBadNotEqual()
{
- CppUnit::Orthodox<ValueBadNotEqual> test;
+ CPPUNIT_NS::Orthodox<ValueBadNotEqual> test;
m_testListener->setExpectFailure();
test.run( m_result );
m_testListener->verify();
@@ -86,7 +86,7 @@ OrthodoxTest::testValueBadNotEqual()
void
OrthodoxTest::testValueBadCall()
{
- CppUnit::Orthodox<ValueBadCall> test;
+ CPPUNIT_NS::Orthodox<ValueBadCall> test;
m_testListener->setExpectFailure();
test.run( m_result );
m_testListener->verify();
@@ -96,7 +96,7 @@ OrthodoxTest::testValueBadCall()
void
OrthodoxTest::testValueBadAssignment()
{
- CppUnit::Orthodox<ValueBadAssignment> test;
+ CPPUNIT_NS::Orthodox<ValueBadAssignment> test;
m_testListener->setExpectFailure();
test.run( m_result );
m_testListener->verify();