diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDataPilotItemObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDataPilotItemObj.csv index 5723342b487d..ca518a782d29 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDataPilotItemObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDataPilotItemObj.csv @@ -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";"setPropertyValue()" "ScDataPilotItemObj";"com::sun::star::beans::XPropertySet";"getPropertyValue()" diff --git a/sc/qa/extras/scdatapilotitemobj.cxx b/sc/qa/extras/scdatapilotitemobj.cxx index b13c3b8b9dae..da2ccb9d0e51 100644 --- a/sc/qa/extras/scdatapilotitemobj.cxx +++ b/sc/qa/extras/scdatapilotitemobj.cxx @@ -8,6 +8,7 @@ */ #include +#include #include #include @@ -31,7 +32,9 @@ using namespace css; namespace sc_apitest { -class ScDataPilotItemObj : public CalcUnoApiTest, public apitest::DataPilotItem +class ScDataPilotItemObj : public CalcUnoApiTest, + public apitest::DataPilotItem, + public apitest::XNamed { public: virtual void setUp() override; @@ -45,6 +48,9 @@ public: // DataPilotItem CPPUNIT_TEST(testProperties); + // XNamed + CPPUNIT_TEST(testGetName); + CPPUNIT_TEST_SUITE_END(); private: @@ -54,6 +60,7 @@ private: ScDataPilotItemObj::ScDataPilotItemObj() : CalcUnoApiTest("/sc/qa/extras/testdocuments") + , XNamed("2") { }