summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2019-04-02 22:01:59 +0000
committerJens Carl <j.carl43@gmx.de>2019-04-03 03:48:09 +0200
commitada3b7712a90900bf36235168ce4cfa77dfdc642 (patch)
treea773a18e67dff5d14578b4baab2904cdbb25f97a /sc
parent6a7350f856e50ce3d091bda9f4f00219b5521333 (diff)
Add XServiceInfo tests to ScTableRowObj
Change-Id: Ia3ad25e5e401abd3b27687a951a8c00fe710e57f Reviewed-on: https://gerrit.libreoffice.org/70164 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/extras/sctablerowobj.cxx10
1 files changed, 9 insertions, 1 deletions
diff --git a/sc/qa/extras/sctablerowobj.cxx b/sc/qa/extras/sctablerowobj.cxx
index 45a974a3207e..ddda25834d6b 100644
--- a/sc/qa/extras/sctablerowobj.cxx
+++ b/sc/qa/extras/sctablerowobj.cxx
@@ -9,6 +9,7 @@
#include <test/calc_unoapi_test.hxx>
#include <test/beans/xpropertyset.hxx>
+#include <test/lang/xserviceinfo.hxx>
#include <test/table/tablerow.hxx>
#include <test/table/xcellrange.hxx>
@@ -30,7 +31,8 @@ namespace sc_apitest
class ScTableRowObj : public CalcUnoApiTest,
public apitest::TableRow,
public apitest::XCellRange,
- public apitest::XPropertySet
+ public apitest::XPropertySet,
+ public apitest::XServiceInfo
{
public:
ScTableRowObj();
@@ -56,6 +58,11 @@ public:
CPPUNIT_TEST(testPropertyChangeListener);
CPPUNIT_TEST(testVetoableChangeListener);
+ // XServiceInfo
+ CPPUNIT_TEST(testGetImplementationName);
+ CPPUNIT_TEST(testGetSupportedServiceNames);
+ CPPUNIT_TEST(testSupportsService);
+
CPPUNIT_TEST_SUITE_END();
private:
@@ -98,6 +105,7 @@ ScTableRowObj::ScTableRowObj()
"ValidationLocal",
"ValidationXML",
"WritingMode" })
+ , XServiceInfo("ScTableRowObj", "com.sun.star.table.TableRow")
{
}