summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2018-02-01 22:36:08 +0000
committerJens Carl <j.carl43@gmx.de>2018-02-02 18:19:56 +0100
commit22f6e25987744da57644be95f59b45c1ff51a5d2 (patch)
tree1dd5d2f54dd115fa5f6199ee5d859811116290e6 /sc
parent7eb24dc16b68fa1bf89a903e431ba15646fbbfdf (diff)
tdf#45904 Move _SheetCellRange Java tests to C++
Change-Id: Ia4ebe9d0418e33d245437a49c7ce9551b4a06e82 Reviewed-on: https://gerrit.libreoffice.org/49124 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/extras/sccellcursorobj.cxx7
-rw-r--r--sc/qa/extras/sccellrangeobj.cxx5
-rw-r--r--sc/qa/extras/sctablesheetobj.cxx5
3 files changed, 16 insertions, 1 deletions
diff --git a/sc/qa/extras/sccellcursorobj.cxx b/sc/qa/extras/sccellcursorobj.cxx
index 344be839f720..b4ea737616c7 100644
--- a/sc/qa/extras/sccellcursorobj.cxx
+++ b/sc/qa/extras/sccellcursorobj.cxx
@@ -8,6 +8,7 @@
*/
#include <test/calc_unoapi_test.hxx>
+#include <test/sheet/sheetcellrange.hxx>
#include <test/sheet/xcellformatrangessupplier.hxx>
#include <test/sheet/xcellrangeaddressable.hxx>
#include <test/sheet/xcellseries.hxx>
@@ -29,7 +30,8 @@ using namespace css::uno;
namespace sc_apitest {
-class ScCellCursorObj : public CalcUnoApiTest, public apitest::XCellFormatRangesSupplier,
+class ScCellCursorObj : public CalcUnoApiTest, public apitest::SheetCellRange,
+ public apitest::XCellFormatRangesSupplier,
public apitest::XCellRangeAddressable,
public apitest::XCellSeries,
public apitest::XMultipleOperation,
@@ -51,6 +53,9 @@ public:
CPPUNIT_TEST_SUITE(ScCellCursorObj);
+ // SheetCellRange
+ CPPUNIT_TEST(testSheetCellRangeProperties);
+
// XUsedAreaCursor
CPPUNIT_TEST(testGotoStartOfUsedArea);
CPPUNIT_TEST(testGotoEndOfUsedArea);
diff --git a/sc/qa/extras/sccellrangeobj.cxx b/sc/qa/extras/sccellrangeobj.cxx
index 8c9b9423696b..1fd0b4ada63f 100644
--- a/sc/qa/extras/sccellrangeobj.cxx
+++ b/sc/qa/extras/sccellrangeobj.cxx
@@ -9,6 +9,7 @@
#include <test/calc_unoapi_test.hxx>
#include <test/sheet/cellproperties.hxx>
+#include <test/sheet/sheetcellrange.hxx>
#include <test/sheet/xcellformatrangessupplier.hxx>
#include <test/sheet/xcellrangeaddressable.hxx>
#include <test/sheet/xcellrangedata.hxx>
@@ -47,6 +48,7 @@ using namespace css::uno;
namespace sc_apitest {
class ScCellRangeObj : public CalcUnoApiTest, public apitest::CellProperties,
+ public apitest::SheetCellRange,
public apitest::XCellFormatRangesSupplier,
public apitest::XCellRangeAddressable,
public apitest::XCellRangeData,
@@ -78,6 +80,9 @@ public:
CPPUNIT_TEST(testVertJustify);
CPPUNIT_TEST(testRotateReference);
+ // SheetCellRange
+ CPPUNIT_TEST(testSheetCellRangeProperties);
+
// XCellFormatRangesSupplier
CPPUNIT_TEST(testGetCellFormatRanges);
diff --git a/sc/qa/extras/sctablesheetobj.cxx b/sc/qa/extras/sctablesheetobj.cxx
index 30a2d365dedb..4a10553ea774 100644
--- a/sc/qa/extras/sctablesheetobj.cxx
+++ b/sc/qa/extras/sctablesheetobj.cxx
@@ -9,6 +9,7 @@
#include <test/calc_unoapi_test.hxx>
#include <test/sheet/scenario.hxx>
+#include <test/sheet/sheetcellrange.hxx>
#include <test/sheet/xcellformatrangessupplier.hxx>
#include <test/sheet/xcellrangeaddressable.hxx>
#include <test/sheet/xcellseries.hxx>
@@ -43,6 +44,7 @@ namespace sc_apitest
{
class ScTableSheetObj : public CalcUnoApiTest, public apitest::Scenario,
+ public apitest::SheetCellRange,
public apitest::XCellFormatRangesSupplier,
public apitest::XCellRangeAddressable,
public apitest::XCellSeries,
@@ -82,6 +84,9 @@ public:
// Scenario
CPPUNIT_TEST(testScenarioProperties);
+ // SheetCellRange
+ CPPUNIT_TEST(testSheetCellRangeProperties);
+
// XCellFormatRangesSupplier
CPPUNIT_TEST(testGetCellFormatRanges);