summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2019-03-10 02:23:56 +0000
committerJens Carl <j.carl43@gmx.de>2019-03-10 07:14:51 +0100
commit57ca3b3b2b4f40b1792ea7be7d0543f3036926ef (patch)
tree538ebbc69309b7e61ead47698e65c4984bb135dc /sc
parentb0a1e1c8191123aa7644cdb28f7f6a07dc2a61f7 (diff)
tdf#45904 Move XTableCharts Java tests to C++
Move XTableCharts Java tests to C++ for ScChartsObj. Change-Id: Ibd08cc60d38d8ca01af9168d862a9f391c48e90a Reviewed-on: https://gerrit.libreoffice.org/68992 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/extras/scchartsobj.cxx7
-rw-r--r--sc/qa/unoapi/sc_3.sce1
2 files changed, 6 insertions, 2 deletions
diff --git a/sc/qa/extras/scchartsobj.cxx b/sc/qa/extras/scchartsobj.cxx
index 19a6cde75d58..93177946adbb 100644
--- a/sc/qa/extras/scchartsobj.cxx
+++ b/sc/qa/extras/scchartsobj.cxx
@@ -13,6 +13,7 @@
#include <test/container/xindexaccess.hxx>
#include <test/container/xnameaccess.hxx>
#include <test/lang/xserviceinfo.hxx>
+#include <test/table/xtablecharts.hxx>
#include <cppu/unotype.hxx>
#include <com/sun/star/awt/Rectangle.hpp>
@@ -42,7 +43,8 @@ class ScChartsObj : public CalcUnoApiTest,
public apitest::XElementAccess,
public apitest::XIndexAccess,
public apitest::XNameAccess,
- public apitest::XServiceInfo
+ public apitest::XServiceInfo,
+ public apitest::XTableCharts
{
public:
ScChartsObj();
@@ -74,6 +76,9 @@ public:
CPPUNIT_TEST(testGetSupportedServiceNames);
CPPUNIT_TEST(testSupportsService);
+ // XTableCharts
+ CPPUNIT_TEST(testAddNewRemoveByName);
+
CPPUNIT_TEST_SUITE_END();
private:
diff --git a/sc/qa/unoapi/sc_3.sce b/sc/qa/unoapi/sc_3.sce
index c1cf5040a4b9..8c01ca8d240c 100644
--- a/sc/qa/unoapi/sc_3.sce
+++ b/sc/qa/unoapi/sc_3.sce
@@ -19,4 +19,3 @@
-o sc.ScCellRangesObj
-o sc.ScCellSearchObj
-o sc.ScCellTextCursor
--o sc.ScChartsObj