summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorPaul Trojahn <paul.trojahn@gmail.com>2017-05-27 22:38:15 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-06-08 02:45:54 +0200
commitf1454b474d9248d7ef2cb84f396a974184e5167e (patch)
treec9424982921a5b64b0f0dc5a449dd01f949f7118 /sc
parenta87b001abdfb21a88ed3919003831909fb2ad8eb (diff)
tdf#45904 Move java XCellSeries test to c++
Change-Id: Iedc1023b67138727061c2da13bebdb75af370ec6 Reviewed-on: https://gerrit.libreoffice.org/38105 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/extras/sctablesheetobj.cxx6
-rw-r--r--sc/qa/extras/testdocuments/ScTableSheetObj.odsbin8021 -> 8640 bytes
2 files changed, 5 insertions, 1 deletions
diff --git a/sc/qa/extras/sctablesheetobj.cxx b/sc/qa/extras/sctablesheetobj.cxx
index f154240d7ee6..d5bcde236bf5 100644
--- a/sc/qa/extras/sctablesheetobj.cxx
+++ b/sc/qa/extras/sctablesheetobj.cxx
@@ -11,6 +11,7 @@
#include <test/util/xreplaceable.hxx>
#include <test/util/xsearchable.hxx>
#include <test/sheet/xprintareas.hxx>
+#include <test/sheet/xcellseries.hxx>
#include <com/sun/star/sheet/XSpreadsheetDocument.hpp>
#include <com/sun/star/sheet/XSpreadsheet.hpp>
@@ -21,7 +22,7 @@ using namespace css::uno;
namespace sc_apitest
{
-class ScTableSheetObj : public CalcUnoApiTest, public apitest::XSearchable, public apitest::XReplaceable, public apitest::XPrintAreas
+class ScTableSheetObj : public CalcUnoApiTest, public apitest::XSearchable, public apitest::XReplaceable, public apitest::XPrintAreas, public apitest::XCellSeries
{
public:
ScTableSheetObj();
@@ -39,6 +40,9 @@ public:
// XPrintAreas
CPPUNIT_TEST(testSetAndGetPrintTitleColumns);
CPPUNIT_TEST(testSetAndGetPrintTitleRows);
+ // XCellSeries
+ CPPUNIT_TEST(testFillAuto);
+ CPPUNIT_TEST(testFillSeries);
CPPUNIT_TEST_SUITE_END();
private:
diff --git a/sc/qa/extras/testdocuments/ScTableSheetObj.ods b/sc/qa/extras/testdocuments/ScTableSheetObj.ods
index 86d027c437f8..a18b1e7d5a2e 100644
--- a/sc/qa/extras/testdocuments/ScTableSheetObj.ods
+++ b/sc/qa/extras/testdocuments/ScTableSheetObj.ods
Binary files differ