tdf#45904 Move XNamed Java tests to C++
Move XNamed Java tests to C++ for ScDataPilotItemObj. Change-Id: I2fcffbd7e7329357ac30fa14716bf2bcf49c5666 Reviewed-on: https://gerrit.libreoffice.org/68891 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
This commit is contained in:
parent
91cdf22b88
commit
4a7771ffa8
@ -1,5 +1,3 @@
|
|||||||
"ScDataPilotItemObj";"com::sun::star::container::XNamed";"getName()"
|
|
||||||
"ScDataPilotItemObj";"com::sun::star::container::XNamed";"setName()"
|
|
||||||
"ScDataPilotItemObj";"com::sun::star::beans::XPropertySet";"getPropertySetInfo()"
|
"ScDataPilotItemObj";"com::sun::star::beans::XPropertySet";"getPropertySetInfo()"
|
||||||
"ScDataPilotItemObj";"com::sun::star::beans::XPropertySet";"setPropertyValue()"
|
"ScDataPilotItemObj";"com::sun::star::beans::XPropertySet";"setPropertyValue()"
|
||||||
"ScDataPilotItemObj";"com::sun::star::beans::XPropertySet";"getPropertyValue()"
|
"ScDataPilotItemObj";"com::sun::star::beans::XPropertySet";"getPropertyValue()"
|
||||||
|
|
@ -8,6 +8,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <test/calc_unoapi_test.hxx>
|
#include <test/calc_unoapi_test.hxx>
|
||||||
|
#include <test/container/xnamed.hxx>
|
||||||
#include <test/sheet/datapilotitem.hxx>
|
#include <test/sheet/datapilotitem.hxx>
|
||||||
#include <rtl/string.hxx>
|
#include <rtl/string.hxx>
|
||||||
|
|
||||||
@ -31,7 +32,9 @@ using namespace css;
|
|||||||
|
|
||||||
namespace sc_apitest
|
namespace sc_apitest
|
||||||
{
|
{
|
||||||
class ScDataPilotItemObj : public CalcUnoApiTest, public apitest::DataPilotItem
|
class ScDataPilotItemObj : public CalcUnoApiTest,
|
||||||
|
public apitest::DataPilotItem,
|
||||||
|
public apitest::XNamed
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual void setUp() override;
|
virtual void setUp() override;
|
||||||
@ -45,6 +48,9 @@ public:
|
|||||||
// DataPilotItem
|
// DataPilotItem
|
||||||
CPPUNIT_TEST(testProperties);
|
CPPUNIT_TEST(testProperties);
|
||||||
|
|
||||||
|
// XNamed
|
||||||
|
CPPUNIT_TEST(testGetName);
|
||||||
|
|
||||||
CPPUNIT_TEST_SUITE_END();
|
CPPUNIT_TEST_SUITE_END();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
@ -54,6 +60,7 @@ private:
|
|||||||
|
|
||||||
ScDataPilotItemObj::ScDataPilotItemObj()
|
ScDataPilotItemObj::ScDataPilotItemObj()
|
||||||
: CalcUnoApiTest("/sc/qa/extras/testdocuments")
|
: CalcUnoApiTest("/sc/qa/extras/testdocuments")
|
||||||
|
, XNamed("2")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user