diff options
author | Jens Carl <j.carl43@gmx.de> | 2017-12-08 03:36:00 +0000 |
---|---|---|
committer | Jens Carl <j.carl43@gmx.de> | 2017-12-08 06:29:45 +0100 |
commit | 7345bef0f354673e2fd3127b8fc707eae4c936ed (patch) | |
tree | 31b75de3fef9b5195998757c83f50ed65a79b696 /sc/qa | |
parent | 87d636a14be35468ecef7b6f95c6754d24bb6e94 (diff) |
tdf#45904 Move _XDataPilotField Java test to C++
Change-Id: I5ba1733a8e675048366651aa5f3affc9c249622c
Reviewed-on: https://gerrit.libreoffice.org/46066
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'sc/qa')
-rw-r--r-- | sc/qa/extras/scdatapilotfieldobj.cxx | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/sc/qa/extras/scdatapilotfieldobj.cxx b/sc/qa/extras/scdatapilotfieldobj.cxx index 903839dd55fa..6c4fce2cbbae 100644 --- a/sc/qa/extras/scdatapilotfieldobj.cxx +++ b/sc/qa/extras/scdatapilotfieldobj.cxx @@ -8,8 +8,10 @@ */ #include <test/calc_unoapi_test.hxx> -#include <test/sheet/xdatapilotfieldgrouping.hxx> + #include <test/sheet/datapilotfield.hxx> +#include <test/sheet/xdatapilotfield.hxx> +#include <test/sheet/xdatapilotfieldgrouping.hxx> #include <com/sun/star/sheet/XSpreadsheetDocument.hpp> #include <com/sun/star/sheet/XSpreadsheet.hpp> @@ -22,10 +24,11 @@ using namespace css::uno; namespace sc_apitest { -#define NUMBER_OF_TESTS 6 +#define NUMBER_OF_TESTS 7 -class ScDataPilotFieldObj : public CalcUnoApiTest, public apitest::XDataPilotFieldGrouping, - public apitest::DataPilotField +class ScDataPilotFieldObj : public CalcUnoApiTest, public apitest::DataPilotField, + public apitest::XDataPilotField, + public apitest::XDataPilotFieldGrouping { public: virtual void setUp() override; @@ -35,15 +38,24 @@ public: ScDataPilotFieldObj(); CPPUNIT_TEST_SUITE(ScDataPilotFieldObj); + + // DataPilotField CPPUNIT_TEST(testSortInfo); CPPUNIT_TEST(testLayoutInfo); CPPUNIT_TEST(testAutoShowInfo); CPPUNIT_TEST(testReference); CPPUNIT_TEST(testIsGroupField); + + // XDataPilotField + CPPUNIT_TEST(testGetItems); + + // XDataPilotFieldGrouping CPPUNIT_TEST(testCreateNameGroup); // see fdo# //CPPUNIT_TEST(testCreateDateGroup); + CPPUNIT_TEST_SUITE_END(); + private: static sal_Int32 nTest; static uno::Reference< lang::XComponent > mxComponent; |