diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-10-21 17:12:24 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-10-21 21:23:37 +0200 |
commit | 89c732913d6155db48c74dd7c2c0325468048aa5 (patch) | |
tree | 5a64c95d4c4be805e4873e0d4a91f327c64ae85a /vcl | |
parent | 09dfee8a1cf7698a637f647f48750cf8d5722b7c (diff) |
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 <xiscofauli@libreoffice.org>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/qa/cppunit/gen/gen.cxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/vcl/qa/cppunit/gen/gen.cxx b/vcl/qa/cppunit/gen/gen.cxx index e313ff5d8cdf..983a77ca29fd 100644 --- a/vcl/qa/cppunit/gen/gen.cxx +++ b/vcl/qa/cppunit/gen/gen.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; @@ -60,8 +42,6 @@ public: CPPUNIT_ASSERT(xMetaFile->CreateThumbnail(aResultBitmap)); return aResultBitmap.GetBitmap(); } - - uno::Reference<lang::XComponent> mxComponent; }; CPPUNIT_TEST_FIXTURE(GenTest, testTdf121120) |