summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2019-04-01 06:28:54 +0000
committerJens Carl <j.carl43@gmx.de>2019-04-01 16:41:48 +0200
commit554bae3e550fb3c64473851bf9a24cb4a2eabdd8 (patch)
treef64a20e1571c86a1cdea3c322ebdd35fe7601a24 /sc
parentd9b746c6393a7c39591ad2334fd6313a988050e6 (diff)
tdf#45904 Move XPropertySet Java tests to C++
Move XPropertySet Java tests to C++ for ScSubTotalDescriptorBase. Change-Id: I7fbfd244a9777b256098a1a7b8d3b2577cb71ebe Reviewed-on: https://gerrit.libreoffice.org/70041 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/extras/scsubtotaldescriptorbase.cxx9
-rw-r--r--sc/qa/unoapi/sc_7.sce1
2 files changed, 9 insertions, 1 deletions
diff --git a/sc/qa/extras/scsubtotaldescriptorbase.cxx b/sc/qa/extras/scsubtotaldescriptorbase.cxx
index 54176abd6ea1..96c6170a8cf1 100644
--- a/sc/qa/extras/scsubtotaldescriptorbase.cxx
+++ b/sc/qa/extras/scsubtotaldescriptorbase.cxx
@@ -8,6 +8,7 @@
*/
#include <test/calc_unoapi_test.hxx>
+#include <test/beans/xpropertyset.hxx>
#include <test/container/xelementaccess.hxx>
#include <test/container/xenumerationaccess.hxx>
#include <test/container/xindexaccess.hxx>
@@ -39,6 +40,7 @@ class ScSubTotalDescriptorBase : public CalcUnoApiTest,
public apitest::XElementAccess,
public apitest::XEnumerationAccess,
public apitest::XIndexAccess,
+ public apitest::XPropertySet,
public apitest::XSubTotalDescriptor
{
public:
@@ -64,6 +66,13 @@ public:
CPPUNIT_TEST(testGetByIndex);
CPPUNIT_TEST(testGetCount);
+ // XPropertySet
+ CPPUNIT_TEST(testGetPropertySetInfo);
+ CPPUNIT_TEST(testGetPropertyValue);
+ CPPUNIT_TEST(testSetPropertyValue);
+ CPPUNIT_TEST(testPropertyChangeListener);
+ CPPUNIT_TEST(testVetoableChangeListener);
+
// XSubTotalDescriptor
CPPUNIT_TEST(testAddNew);
CPPUNIT_TEST(testClear);
diff --git a/sc/qa/unoapi/sc_7.sce b/sc/qa/unoapi/sc_7.sce
index 0744d8c3075f..82b38d8c8d0f 100644
--- a/sc/qa/unoapi/sc_7.sce
+++ b/sc/qa/unoapi/sc_7.sce
@@ -16,7 +16,6 @@
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
# -o sc.ScStyleObj
--o sc.ScSubTotalDescriptorBase
# # i84656 -o sc.ScTabViewObj
# -o sc.ScTableColumnObj
# -o sc.ScTableRowObj