sc/qa/extras/sctablerowobj.cxx |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

New commits:
commit ada3b7712a90900bf36235168ce4cfa77dfdc642
Author:     Jens Carl <j.car...@gmx.de>
AuthorDate: Tue Apr 2 22:01:59 2019 +0000
Commit:     Jens Carl <j.car...@gmx.de>
CommitDate: Wed Apr 3 03:48:09 2019 +0200

    Add XServiceInfo tests to ScTableRowObj
    
    Change-Id: Ia3ad25e5e401abd3b27687a951a8c00fe710e57f
    Reviewed-on: https://gerrit.libreoffice.org/70164
    Tested-by: Jenkins
    Reviewed-by: Jens Carl <j.car...@gmx.de>

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")
 {
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to