diff options
author | Jens Carl <j.carl43@gmx.de> | 2019-03-05 21:20:03 +0000 |
---|---|---|
committer | Jens Carl <j.carl43@gmx.de> | 2019-03-06 03:04:36 +0100 |
commit | 04f4cbd0b3e949c28382359f722872d380d98900 (patch) | |
tree | 5153fad36786e51303039ef30a18c7d1d82bde50 /sc | |
parent | 849856596cdc2342fb1672ca313915362eddb589 (diff) |
tdf#45904 Move XNamed Java tests to C++
Move XNamed Java tests to C++ for ScDataPilotFieldObj.
Change-Id: Ieecd8799f56dcfa9279d4d523d470a62d9aed203
Reviewed-on: https://gerrit.libreoffice.org/68781
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/extras/scdatapilotfieldobj.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sc/qa/extras/scdatapilotfieldobj.cxx b/sc/qa/extras/scdatapilotfieldobj.cxx index 61a3d45c8008..46cd9a703b76 100644 --- a/sc/qa/extras/scdatapilotfieldobj.cxx +++ b/sc/qa/extras/scdatapilotfieldobj.cxx @@ -8,6 +8,7 @@ */ #include <test/calc_unoapi_test.hxx> +#include <test/container/xnamed.hxx> #include <test/sheet/datapilotfield.hxx> #include <test/sheet/xdatapilotfield.hxx> #include <test/sheet/xdatapilotfieldgrouping.hxx> @@ -29,7 +30,8 @@ namespace sc_apitest class ScDataPilotFieldObj : public CalcUnoApiTest, public apitest::DataPilotField, public apitest::XDataPilotField, - public apitest::XDataPilotFieldGrouping + public apitest::XDataPilotFieldGrouping, + public apitest::XNamed { public: virtual void setUp() override; @@ -55,6 +57,10 @@ public: // see fdo# //CPPUNIT_TEST(testCreateDateGroup); + // XNamed + CPPUNIT_TEST(testGetName); + CPPUNIT_TEST(testSetName); + CPPUNIT_TEST_SUITE_END(); private: @@ -63,6 +69,7 @@ private: ScDataPilotFieldObj::ScDataPilotFieldObj() : CalcUnoApiTest("/sc/qa/extras/testdocuments") + , XNamed("Col1") { } |