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>
This commit is contained in:
parent
2ab23ac48d
commit
cf69509628
1 changed files with 1 additions and 9 deletions
|
@ -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: */
|
||||
|
|
Loading…
Reference in a new issue