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 /sc/qa/extras/scautoformatsobj.cxx | |
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 'sc/qa/extras/scautoformatsobj.cxx')
-rw-r--r-- | sc/qa/extras/scautoformatsobj.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/qa/extras/scautoformatsobj.cxx b/sc/qa/extras/scautoformatsobj.cxx index 14192c89e509..90da32ea3400 100644 --- a/sc/qa/extras/scautoformatsobj.cxx +++ b/sc/qa/extras/scautoformatsobj.cxx @@ -7,7 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <test/calc_unoapi_test.hxx> +#include <test/unoapi_test.hxx> #include <test/container/xelementaccess.hxx> #include <test/container/xenumerationaccess.hxx> #include <test/container/xindexaccess.hxx> @@ -30,7 +30,7 @@ using namespace css; namespace sc_apitest { -class ScAutoFormatsObj : public CalcUnoApiTest, +class ScAutoFormatsObj : public UnoApiTest, public apitest::XElementAccess, public apitest::XEnumerationAccess, public apitest::XIndexAccess, @@ -82,7 +82,7 @@ public: }; ScAutoFormatsObj::ScAutoFormatsObj() - : CalcUnoApiTest("/sc/qa/extras/testdocuments") + : UnoApiTest("/sc/qa/extras/testdocuments") , XElementAccess(cppu::UnoType<container::XNamed>::get()) , XIndexAccess(2) , XNameAccess("Default") @@ -115,7 +115,7 @@ uno::Reference<uno::XInterface> ScAutoFormatsObj::init() void ScAutoFormatsObj::setUp() { - CalcUnoApiTest::setUp(); + UnoApiTest::setUp(); // create calc document mxComponent = loadFromDesktop("private:factory/scalc"); } |