diff options
author | Khaled Hosny <khaled@libreoffice.org> | 2023-06-19 12:46:12 +0300 |
---|---|---|
committer | خالد حسني <khaled@libreoffice.org> | 2023-06-19 20:45:42 +0200 |
commit | cf6950962832f3d7acf30eaed81c5b660c9c6135 (patch) | |
tree | 445da1749a749d6bf66cc8bc9e2e440b8106e390 /cppcanvas | |
parent | 2ab23ac48d5ebbfb87177bcee4acceecd88ce69e (diff) |
CppunitTest_cppcanvas_test: use CPPUNIT_TEST_FIXTURE()
Change-Id: I736e67530643a0949e3078a873ba3105f359ed1d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153261
Tested-by: Jenkins
Reviewed-by: خالد حسني <khaled@libreoffice.org>
Diffstat (limited to 'cppcanvas')
-rw-r--r-- | cppcanvas/qa/unit/test.cxx | 10 |
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: */ |