[Libreoffice-commits] core.git: sc/qa
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Dec 19 17:47:30 UTC 2018
sc/qa/extras/sctablerowsobj.cxx | 8 ++++++++
1 file changed, 8 insertions(+)
New commits:
commit e80fa40418d68a64174be2b719b1ebb3a04fc54d
Author: Jens Carl <j.carl43 at gmx.de>
AuthorDate: Wed Dec 19 08:42:44 2018 +0000
Commit: Jens Carl <j.carl43 at gmx.de>
CommitDate: Wed Dec 19 18:47:02 2018 +0100
Add XServiceInfo tests to ScTableRowsObj
Change-Id: I9ebf0c3664c56f99a4e423c409c5d1621b8ea082
Reviewed-on: https://gerrit.libreoffice.org/65402
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43 at gmx.de>
diff --git a/sc/qa/extras/sctablerowsobj.cxx b/sc/qa/extras/sctablerowsobj.cxx
index 6a49cf1a169f..ce2aadab51be 100644
--- a/sc/qa/extras/sctablerowsobj.cxx
+++ b/sc/qa/extras/sctablerowsobj.cxx
@@ -11,6 +11,7 @@
#include <test/container/xelementaccess.hxx>
#include <test/container/xenumerationaccess.hxx>
#include <test/container/xindexaccess.hxx>
+#include <test/lang/xserviceinfo.hxx>
#include <test/table/xtablerows.hxx>
#include <com/sun/star/container/XNameAccess.hpp>
@@ -36,6 +37,7 @@ class ScTableRowsObj : public CalcUnoApiTest,
public apitest::XElementAccess,
public apitest::XEnumerationAccess,
public apitest::XIndexAccess,
+ public apitest::XServiceInfo,
public apitest::XTableRows
{
public:
@@ -59,6 +61,11 @@ public:
CPPUNIT_TEST(testGetByIndex);
CPPUNIT_TEST(testGetCount);
+ // XServiceInfo
+ CPPUNIT_TEST(testGetImplementationName);
+ CPPUNIT_TEST(testGetSupportedServiceNames);
+ CPPUNIT_TEST(testSupportsService);
+
// XTableRows
CPPUNIT_TEST(testInsertByIndex);
CPPUNIT_TEST(testRemoveByIndex);
@@ -73,6 +80,7 @@ ScTableRowsObj::ScTableRowsObj()
: CalcUnoApiTest("/sc/qa/extras/testdocuments")
, XElementAccess(cppu::UnoType<table::XCellRange>::get())
, XIndexAccess(1048576)
+ , XServiceInfo("ScTableRowsObj", "com.sun.star.table.TableRows")
{
}
More information about the Libreoffice-commits
mailing list