summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2017-11-03 07:15:10 +0000
committerJens Carl <j.carl43@gmx.de>2017-11-03 19:08:42 +0100
commit6f29841acb201b118bbf5815163fb50d83929e9f (patch)
tree3365dec960bdab93d186b559d997915a67af4304 /sc
parenta5c4b406a8ff80aaa2df96ce455d3b080b77a9a4 (diff)
tdf#45904 Move Java _XSheetCellRangeContainer test to C++
Change-Id: I463fc54aa4139fbc43b6124765bf18ad8c0e6ddc Reviewed-on: https://gerrit.libreoffice.org/44247 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/extras/sccellrangesobj.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/sc/qa/extras/sccellrangesobj.cxx b/sc/qa/extras/sccellrangesobj.cxx
index aaa1fa786c7d..7ebe5d876842 100644
--- a/sc/qa/extras/sccellrangesobj.cxx
+++ b/sc/qa/extras/sccellrangesobj.cxx
@@ -8,8 +8,9 @@
*/
#include <test/calc_unoapi_test.hxx>
-#include <test/sheet/xsheetoperation.hxx>
+#include <test/sheet/xsheetcellrangecontainer.hxx>
#include <test/sheet/xsheetcellranges.hxx>
+#include <test/sheet/xsheetoperation.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
@@ -26,9 +27,10 @@ using namespace css::uno;
namespace sc_apitest {
-#define NUMBER_OF_TESTS 5
+#define NUMBER_OF_TESTS 7
class ScCellRangesObj : public CalcUnoApiTest,
+ public apitest::XSheetCellRangeContainer,
public apitest::XSheetCellRanges,
public apitest::XSheetOperation
{
@@ -42,6 +44,10 @@ public:
CPPUNIT_TEST_SUITE(ScCellRangesObj);
+ // XSheetCellRangeContainer
+ CPPUNIT_TEST(testAddRemoveRangeAddress);
+ CPPUNIT_TEST(testAddRemoveRangeAddresses);
+
// XSheetCellRanges
CPPUNIT_TEST(testGetCells);
CPPUNIT_TEST(testGetRangeAddresses);