From a0b7cd137aac7529b328c813b011166a78074cb4 Mon Sep 17 00:00:00 2001 From: Jens Carl Date: Thu, 19 Oct 2017 08:19:39 +0000 Subject: tdf#45904: Move Java _XSheetOperation tests to C++ Change-Id: I5aaeebd074882bb05a78e6d4057162e1da61d673 Reviewed-on: https://gerrit.libreoffice.org/43539 Reviewed-by: Markus Mohrhard Tested-by: Markus Mohrhard --- sc/qa/extras/sccellcursorobj.cxx | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'sc/qa/extras/sccellcursorobj.cxx') diff --git a/sc/qa/extras/sccellcursorobj.cxx b/sc/qa/extras/sccellcursorobj.cxx index 5ccc1722320a..517d4ca41131 100644 --- a/sc/qa/extras/sccellcursorobj.cxx +++ b/sc/qa/extras/sccellcursorobj.cxx @@ -9,9 +9,10 @@ #include #include +#include +#include #include #include -#include #include #include @@ -22,11 +23,13 @@ using namespace css::uno; namespace sc_apitest { -#define NUMBER_OF_TESTS 7 +#define NUMBER_OF_TESTS 9 -class ScCellCursorObj : public CalcUnoApiTest, - public apitest::XCellSeries, public apitest::XUsedAreaCursor, - public apitest::XUniqueCellFormatRangesSupplier, public apitest::XSubTotalCalculatable +class ScCellCursorObj : public CalcUnoApiTest, public apitest::XCellSeries, + public apitest::XSheetOperation, + public apitest::XSubTotalCalculatable, + public apitest::XUsedAreaCursor, + public apitest::XUniqueCellFormatRangesSupplier { public: ScCellCursorObj(); @@ -46,13 +49,17 @@ public: CPPUNIT_TEST(testFillAuto); CPPUNIT_TEST(testFillSeries); - // XUniqueCellFormatRangesSupplier - CPPUNIT_TEST(testGetUniqueCellFormatRanges); + // XSheetOperation + CPPUNIT_TEST(testComputeFunction); + CPPUNIT_TEST(testClearContents); // XSubTotalCalculatable CPPUNIT_TEST(testCreateSubTotalDescriptor); CPPUNIT_TEST(testApplyRemoveSubTotals); + // XUniqueCellFormatRangesSupplier + CPPUNIT_TEST(testGetUniqueCellFormatRanges); + CPPUNIT_TEST_SUITE_END(); private: -- cgit