summaryrefslogtreecommitdiff
path: root/sc/qa/extras/sccellcursorobj.cxx
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2017-08-23 07:35:01 +0000
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-08-23 23:41:40 +0200
commit4818ee60172b2c7d5d04e57499e345e1cfd7b430 (patch)
tree71dc5ea4660bed77085e787be171c6c058ab2457 /sc/qa/extras/sccellcursorobj.cxx
parent40fdfea0ae994569fb0919c974fc2356dd4bb5c4 (diff)
tdf#45904 Move Java _XUniqueCellFormatRangesSupplier test to C++
Change-Id: I66c62f1676515437197d1875600407408040ca74 Reviewed-on: https://gerrit.libreoffice.org/41445 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc/qa/extras/sccellcursorobj.cxx')
-rw-r--r--sc/qa/extras/sccellcursorobj.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/sc/qa/extras/sccellcursorobj.cxx b/sc/qa/extras/sccellcursorobj.cxx
index eefdcb98bd6d..674c9eff0b98 100644
--- a/sc/qa/extras/sccellcursorobj.cxx
+++ b/sc/qa/extras/sccellcursorobj.cxx
@@ -10,6 +10,7 @@
#include <test/calc_unoapi_test.hxx>
#include <test/sheet/xcellseries.hxx>
#include <test/sheet/xusedareacursor.hxx>
+#include <test/sheet/xuniquecellformatrangessupplier.hxx>
#include <com/sun/star/sheet/XSpreadsheetDocument.hpp>
#include <com/sun/star/sheet/XSpreadsheet.hpp>
@@ -20,9 +21,9 @@ using namespace css::uno;
namespace sc_apitest {
-#define NUMBER_OF_TESTS 4
+#define NUMBER_OF_TESTS 5
-class ScCellCursorObj : public CalcUnoApiTest, private apitest::XCellSeries, public apitest::XUsedAreaCursor
+class ScCellCursorObj : public CalcUnoApiTest, private apitest::XCellSeries, public apitest::XUsedAreaCursor, public apitest::XUniqueCellFormatRangesSupplier
{
public:
ScCellCursorObj();
@@ -42,6 +43,9 @@ public:
CPPUNIT_TEST(testFillAuto);
CPPUNIT_TEST(testFillSeries);
+ // XUniqueCellFormatRangesSupplier
+ CPPUNIT_TEST(testGetUniqueCellFormatRanges);
+
CPPUNIT_TEST_SUITE_END();
private: