diff options
author | Jens Carl <j.carl43@gmx.de> | 2017-08-05 04:31:57 +0000 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-08-07 00:46:24 +0200 |
commit | 44077dc6104e5eab40414889e7be776767709984 (patch) | |
tree | d91df4e9e9c55b740f4572cad377110741423a61 /sc | |
parent | f79258444185f3d6939facb3cab071ad92d873e4 (diff) |
tdf#45904 Move Java _XSpreadsheets tests to C++
Change-Id: If311e2c8ca89528760b14d977bca76e14164e6e3
Reviewed-on: https://gerrit.libreoffice.org/40783
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/extras/sctablesheetsobj.cxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sc/qa/extras/sctablesheetsobj.cxx b/sc/qa/extras/sctablesheetsobj.cxx index a67bf2dda1ba..8bc3010c06af 100644 --- a/sc/qa/extras/sctablesheetsobj.cxx +++ b/sc/qa/extras/sctablesheetsobj.cxx @@ -8,6 +8,7 @@ */ #include <test/calc_unoapi_test.hxx> +#include <test/sheet/xspreadsheets.hxx> #include <test/sheet/xspreadsheets2.hxx> #include <test/container/xnamecontainer.hxx> @@ -19,9 +20,9 @@ using namespace css::uno; namespace sc_apitest { -#define NUMBER_OF_TESTS 11 +#define NUMBER_OF_TESTS 15 -class ScTableSheetsObj : public CalcUnoApiTest, public ::apitest::XSpreadsheets2, public apitest::XNameContainer +class ScTableSheetsObj : public CalcUnoApiTest, public ::apitest::XSpreadsheets, public ::apitest::XSpreadsheets2, public apitest::XNameContainer { public: ScTableSheetsObj(); @@ -30,6 +31,12 @@ public: virtual void tearDown() override; CPPUNIT_TEST_SUITE(ScTableSheetsObj); + // XSpreadsheets + CPPUNIT_TEST(testInsertNewByName); + CPPUNIT_TEST(testInsertNewByNameBadName); + CPPUNIT_TEST(testCopyByName); + CPPUNIT_TEST(testMoveByName); + // XSpreadsheets2 CPPUNIT_TEST(testImportedSheetNameAndIndex); CPPUNIT_TEST(testImportString); CPPUNIT_TEST(testImportValue); |