summaryrefslogtreecommitdiff
path: root/cppcanvas
diff options
context:
space:
mode:
Diffstat (limited to 'cppcanvas')
-rw-r--r--cppcanvas/qa/unit/test.cxx10
1 files changed, 1 insertions, 9 deletions
diff --git a/cppcanvas/qa/unit/test.cxx b/cppcanvas/qa/unit/test.cxx
index e399e96eb0a8..ff3fc215f224 100644
--- a/cppcanvas/qa/unit/test.cxx
+++ b/cppcanvas/qa/unit/test.cxx
@@ -24,15 +24,9 @@ class CanvasTest : public test::BootstrapFixture
{
public:
CanvasTest() : BootstrapFixture(true, false) {}
-
- void testComposite();
-
- CPPUNIT_TEST_SUITE(CanvasTest);
- CPPUNIT_TEST(testComposite);
- CPPUNIT_TEST_SUITE_END();
};
-void CanvasTest::testComposite()
+CPPUNIT_TEST_FIXTURE(CanvasTest, testComposite)
{
#ifdef LINUX
ScopedVclPtrInstance<WorkWindow> pWin( nullptr, WB_STDWORK );
@@ -78,8 +72,6 @@ void CanvasTest::testComposite()
#endif
}
-CPPUNIT_TEST_SUITE_REGISTRATION(CanvasTest);
-
CPPUNIT_PLUGIN_IMPLEMENT();
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */