diff options
author | Jens Carl <j.carl43@gmx.de> | 2017-10-12 08:31:48 +0000 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-10-29 22:09:38 +0100 |
commit | 410515366c466c1f8b0a81d47f8263d278af3a18 (patch) | |
tree | c5697909b4e5000450c6518021dd30a116c410aa /sc/qa | |
parent | 80003831041fcd718d2dddc9b6409ff50b48facf (diff) |
tdf#45904 Move Java _XSpreadsheet tests to C++
Change-Id: Idb398c87c89aa9b5613b9952bffde5929c1bc76b
Reviewed-on: https://gerrit.libreoffice.org/43398
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc/qa')
-rw-r--r-- | sc/qa/extras/sctablesheetobj.cxx | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/sc/qa/extras/sctablesheetobj.cxx b/sc/qa/extras/sctablesheetobj.cxx index 1566dce64fc4..a509c5bd2202 100644 --- a/sc/qa/extras/sctablesheetobj.cxx +++ b/sc/qa/extras/sctablesheetobj.cxx @@ -11,9 +11,10 @@ #include <test/sheet/xcellseries.hxx> #include <test/sheet/xprintareas.hxx> #include <test/sheet/xuniquecellformatrangessupplier.hxx> +#include <test/sheet/xspreadsheet.hxx> +#include <test/sheet/xsubtotalcalculatable.hxx> #include <test/util/xreplaceable.hxx> #include <test/util/xsearchable.hxx> -#include <test/sheet/xsubtotalcalculatable.hxx> #include <com/sun/star/sheet/XSpreadsheetDocument.hpp> #include <com/sun/star/sheet/XSpreadsheet.hpp> @@ -24,12 +25,15 @@ using namespace css::uno; namespace sc_apitest { -#define NUMBER_OF_TESTS 12 +#define NUMBER_OF_TESTS 14 -class ScTableSheetObj : public CalcUnoApiTest, - public apitest::XSearchable, public apitest::XReplaceable, - public apitest::XPrintAreas, public apitest::XCellSeries, - public apitest::XUniqueCellFormatRangesSupplier, public apitest::XSubTotalCalculatable +class ScTableSheetObj : public CalcUnoApiTest, public apitest::XSearchable, + public apitest::XReplaceable, + public apitest::XPrintAreas, + public apitest::XCellSeries, + public apitest::XUniqueCellFormatRangesSupplier, + public apitest::XSpreadsheet, + public apitest::XSubTotalCalculatable { public: ScTableSheetObj(); @@ -62,6 +66,10 @@ public: // XUniqueCellFormatRangesSupplier CPPUNIT_TEST(testGetUniqueCellFormatRanges); + // XSpreadsheet + CPPUNIT_TEST(testCreateCursor); + CPPUNIT_TEST(testCreateCursorByRange); + // XSubTotalCalculatable CPPUNIT_TEST(testCreateSubTotalDescriptor); CPPUNIT_TEST(testApplyRemoveSubTotals); |