diff options
author | Jens Carl <j.carl43@gmx.de> | 2019-03-29 22:27:56 +0000 |
---|---|---|
committer | Jens Carl <j.carl43@gmx.de> | 2019-04-01 05:58:43 +0200 |
commit | 74fce77c1f05de306037ceeeb2efa5e8cb736d3f (patch) | |
tree | c17211b8335071f99c47248a3773a58ae8c5009a | |
parent | 911237e9de3fdc39480ad299118f76f908ea2b92 (diff) |
Add XServiceInfo tests to ScViewPaneObj
Change-Id: I3764dd54f0ddb86166028a6c9c824e58ff0a88a6
Reviewed-on: https://gerrit.libreoffice.org/70029
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
-rw-r--r-- | sc/qa/extras/scviewpaneobj.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sc/qa/extras/scviewpaneobj.cxx b/sc/qa/extras/scviewpaneobj.cxx index 779b019e2506..a233cc90050b 100644 --- a/sc/qa/extras/scviewpaneobj.cxx +++ b/sc/qa/extras/scviewpaneobj.cxx @@ -8,6 +8,7 @@ */ #include <test/calc_unoapi_test.hxx> +#include <test/lang/xserviceinfo.hxx> #include <test/sheet/xcellrangereferrer.hxx> #include <test/sheet/xviewpane.hxx> #include <test/view/xcontrolaccess.hxx> @@ -38,6 +39,7 @@ class ScViewPaneObj : public CalcUnoApiTest, public apitest::XCellRangeReferrer, public apitest::XControlAccess, public apitest::XFormLayerAccess, + public apitest::XServiceInfo, public apitest::XViewPane { public: @@ -61,6 +63,11 @@ public: CPPUNIT_TEST(testIsFormDesignMode); CPPUNIT_TEST(testSetFormDesignMode); + // XServiceInfo + CPPUNIT_TEST(testGetImplementationName); + CPPUNIT_TEST(testGetSupportedServiceNames); + CPPUNIT_TEST(testSupportsService); + // XViewPane CPPUNIT_TEST(testFirstVisibleColumn); CPPUNIT_TEST(testFirstVisibleRow); @@ -74,6 +81,7 @@ private: ScViewPaneObj::ScViewPaneObj() : CalcUnoApiTest("/sc/qa/extras/testdocuments") + , XServiceInfo("ScViewPaneObj", "com.sun.star.sheet.SpreadsheetViewPane") { } |