[Libreoffice-commits] core.git: sc/qa
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Jan 25 03:18:20 UTC 2019
sc/qa/extras/sctablevalidationobj.cxx | 8 ++++++++
1 file changed, 8 insertions(+)
New commits:
commit 33989dcb4ac1730835ba421a4488dbafb877433a
Author: Jens Carl <j.carl43 at gmx.de>
AuthorDate: Fri Jan 25 02:03:47 2019 +0000
Commit: Jens Carl <j.carl43 at gmx.de>
CommitDate: Fri Jan 25 04:17:47 2019 +0100
Add XServiceInfo tests to ScTableValidationObj
Change-Id: I51d48bc8096267a657e7ac588c79864489b5b846
Reviewed-on: https://gerrit.libreoffice.org/66891
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43 at gmx.de>
diff --git a/sc/qa/extras/sctablevalidationobj.cxx b/sc/qa/extras/sctablevalidationobj.cxx
index 542e5b2fa7d6..8ba211c43cc6 100644
--- a/sc/qa/extras/sctablevalidationobj.cxx
+++ b/sc/qa/extras/sctablevalidationobj.cxx
@@ -9,6 +9,7 @@
#include <test/calc_unoapi_test.hxx>
#include <test/beans/xpropertyset.hxx>
+#include <test/lang/xserviceinfo.hxx>
#include <test/sheet/tablevalidation.hxx>
#include <test/sheet/xsheetcondition.hxx>
@@ -33,6 +34,7 @@ namespace sc_apitest
class ScTableValidationObj : public CalcUnoApiTest,
public apitest::TableValidation,
public apitest::XPropertySet,
+ public apitest::XServiceInfo,
public apitest::XSheetCondition
{
public:
@@ -54,6 +56,11 @@ public:
CPPUNIT_TEST(testPropertyChangeListner);
CPPUNIT_TEST(testVetoableChangeListner);
+ // XServiceInfo
+ CPPUNIT_TEST(testGetImplementationName);
+ CPPUNIT_TEST(testGetSupportedServiceNames);
+ CPPUNIT_TEST(testSupportsService);
+
// XSheetCondition
CPPUNIT_TEST(testGetSetFormula1);
CPPUNIT_TEST(testGetSetFormula2);
@@ -69,6 +76,7 @@ private:
ScTableValidationObj::ScTableValidationObj()
: CalcUnoApiTest("/sc/qa/extras/testdocuments")
, XPropertySet({ "Type", "ErrorAlertStyle" })
+ , XServiceInfo("ScTableValidationObj", "com.sun.star.sheet.TableValidation")
{
}
More information about the Libreoffice-commits
mailing list