From 89c732913d6155db48c74dd7c2c0325468048aa5 Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Fri, 21 Oct 2022 17:12:24 +0200 Subject: test: merge CalcUnoApiTest and UnoApiTest into one Change-Id: I24ec4c2c1c6d83865ef78a6460cde68cef84fdb2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141638 Tested-by: Jenkins Reviewed-by: Xisco Fauli --- cppcanvas/qa/extras/emfplus/emfplus.cxx | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'cppcanvas') diff --git a/cppcanvas/qa/extras/emfplus/emfplus.cxx b/cppcanvas/qa/extras/emfplus/emfplus.cxx index e0d64487e105..2d96c5957fba 100644 --- a/cppcanvas/qa/extras/emfplus/emfplus.cxx +++ b/cppcanvas/qa/extras/emfplus/emfplus.cxx @@ -29,24 +29,6 @@ public: { } - virtual void setUp() override - { - UnoApiTest::setUp(); - mxDesktop.set( - frame::Desktop::create(comphelper::getComponentContext(getMultiServiceFactory()))); - SfxApplication::GetOrCreate(); - }; - - virtual void tearDown() override - { - if (mxComponent.is()) - { - closeDocument(mxComponent); - mxComponent->dispose(); - } - UnoApiTest::tearDown(); - }; - Bitmap load(const char* pName) { OUString aFileURL; @@ -69,8 +51,6 @@ public: return aResultBitmap.GetBitmap(); } - - uno::Reference mxComponent; }; CPPUNIT_TEST_FIXTURE(Test, testFdo77229) -- cgit v1.2.3