diff options
author | Jens Carl <j.carl43@gmx.de> | 2019-01-25 02:03:47 +0000 |
---|---|---|
committer | Jens Carl <j.carl43@gmx.de> | 2019-01-25 04:17:47 +0100 |
commit | 33989dcb4ac1730835ba421a4488dbafb877433a (patch) | |
tree | 4b18307def02c330f3feaca2601239707baf3746 | |
parent | tdf#45904 Move XPropertySet Java tests to C++ (diff) | |
download | core-33989dcb4ac1730835ba421a4488dbafb877433a.tar.gz core-33989dcb4ac1730835ba421a4488dbafb877433a.zip |
Add XServiceInfo tests to ScTableValidationObj
Change-Id: I51d48bc8096267a657e7ac588c79864489b5b846
Reviewed-on: https://gerrit.libreoffice.org/66891
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
-rw-r--r-- | sc/qa/extras/sctablevalidationobj.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
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") { } |