diff options
Diffstat (limited to 'sc/qa')
-rw-r--r-- | sc/qa/extras/scdatapilotitemsobj.cxx | 8 | ||||
-rw-r--r-- | sc/qa/unoapi/sc_4.sce | 1 |
2 files changed, 8 insertions, 1 deletions
diff --git a/sc/qa/extras/scdatapilotitemsobj.cxx b/sc/qa/extras/scdatapilotitemsobj.cxx index cf0b7057e517..720a2ad9e8ec 100644 --- a/sc/qa/extras/scdatapilotitemsobj.cxx +++ b/sc/qa/extras/scdatapilotitemsobj.cxx @@ -11,6 +11,7 @@ #include <test/container/xelementaccess.hxx> #include <test/container/xenumerationaccess.hxx> #include <test/container/xindexaccess.hxx> +#include <test/container/xnameaccess.hxx> #include <test/lang/xserviceinfo.hxx> #include <com/sun/star/beans/XPropertySet.hpp> @@ -45,6 +46,7 @@ class ScDataPilotItemsObj : public CalcUnoApiTest, public apitest::XElementAccess, public apitest::XEnumerationAccess, public apitest::XIndexAccess, + public apitest::XNameAccess, public apitest::XServiceInfo { public: @@ -67,6 +69,11 @@ public: CPPUNIT_TEST(testGetByIndex); CPPUNIT_TEST(testGetCount); + // XNameAccess + CPPUNIT_TEST(testGetByName); + CPPUNIT_TEST(testGetElementNames); + CPPUNIT_TEST(testHasByName); + // XServiceInfo CPPUNIT_TEST(testGetImplementationName); CPPUNIT_TEST(testGetSupportedServiceNames); @@ -82,6 +89,7 @@ ScDataPilotItemsObj::ScDataPilotItemsObj() : CalcUnoApiTest("/sc/qa/extras/testdocuments") , XElementAccess(cppu::UnoType<beans::XPropertySet>::get()) , XIndexAccess(5) + , XNameAccess("2") , XServiceInfo("ScDataPilotItemsObj", "com.sun.star.sheet.DataPilotItems") { } diff --git a/sc/qa/unoapi/sc_4.sce b/sc/qa/unoapi/sc_4.sce index dcff7d102652..2e467f5433e9 100644 --- a/sc/qa/unoapi/sc_4.sce +++ b/sc/qa/unoapi/sc_4.sce @@ -16,7 +16,6 @@ # the License at http://www.apache.org/licenses/LICENSE-2.0 . # -o sc.ScDataPilotItemObj --o sc.ScDataPilotItemsObj -o sc.ScDatabaseRangeObj -o sc.ScDocumentConfiguration -o sc.ScDrawPageObj |