Kaydet (Commit) 04f4cbd0 authored tarafından Jens Carl's avatar Jens Carl

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: 's avatarJens Carl <j.carl43@gmx.de>
üst 84985659
"ScDataPilotFieldObj";"com::sun::star::container::XNamed";"getName()"
"ScDataPilotFieldObj";"com::sun::star::container::XNamed";"setName()"
"ScDataPilotFieldObj";"com::sun::star::beans::XPropertySet";"getPropertySetInfo()"
"ScDataPilotFieldObj";"com::sun::star::beans::XPropertySet";"setPropertyValue()"
"ScDataPilotFieldObj";"com::sun::star::beans::XPropertySet";"getPropertyValue()"
......
......@@ -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")
{
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment