summaryrefslogtreecommitdiff
path: root/examples/cppunittest/TestCallerTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cppunittest/TestCallerTest.cpp')
-rw-r--r--examples/cppunittest/TestCallerTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/cppunittest/TestCallerTest.cpp b/examples/cppunittest/TestCallerTest.cpp
index 3568754..9512e02 100644
--- a/examples/cppunittest/TestCallerTest.cpp
+++ b/examples/cppunittest/TestCallerTest.cpp
@@ -19,11 +19,11 @@ TestCallerTest::~TestCallerTest()
CppUnit::TestSuite *
TestCallerTest::suite()
{
- CppUnit::TestSuiteBuilder<TestCallerTest> suite;
+ CppUnit::TestSuiteBuilder<TestCallerTest> suite("TestCallerTest");
- suite.addTestCaller( "testBasicConstructor", &testBasicConstructor );
- suite.addTestCaller( "testReferenceConstructor", &testReferenceConstructor );
- suite.addTestCaller( "testPointerConstructor", &testPointerConstructor );
+ suite.addTestCaller( "testBasicConstructor", &TestCallerTest::testBasicConstructor );
+ suite.addTestCaller( "testReferenceConstructor", &TestCallerTest::testReferenceConstructor );
+ suite.addTestCaller( "testPointerConstructor", &TestCallerTest::testPointerConstructor );
return suite.takeSuite();
}