diff options
-rw-r--r-- | qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDrawPageObj.csv | 3 | ||||
-rw-r--r-- | sc/qa/extras/scdrawpageobj.cxx | 10 |
2 files changed, 9 insertions, 4 deletions
diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDrawPageObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDrawPageObj.csv index 7273ff229a1d..c742ce529e4f 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDrawPageObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDrawPageObj.csv @@ -1,6 +1,3 @@ -"ScDrawPageObj";"com::sun::star::lang::XServiceInfo";"getImplementationName()" -"ScDrawPageObj";"com::sun::star::lang::XServiceInfo";"supportsService()" -"ScDrawPageObj";"com::sun::star::lang::XServiceInfo";"getSupportedServiceNames()" "ScDrawPageObj";"com::sun::star::drawing::XShapes";"add()" "ScDrawPageObj";"com::sun::star::drawing::XShapes";"remove()" "ScDrawPageObj";"com::sun::star::drawing::XShapeGrouper";"group()" diff --git a/sc/qa/extras/scdrawpageobj.cxx b/sc/qa/extras/scdrawpageobj.cxx index 9f8e9194598d..de8d8baa4e9c 100644 --- a/sc/qa/extras/scdrawpageobj.cxx +++ b/sc/qa/extras/scdrawpageobj.cxx @@ -11,6 +11,7 @@ #include <test/helper/shape.hxx> #include <test/container/xelementaccess.hxx> #include <test/container/xindexaccess.hxx> +#include <test/lang/xserviceinfo.hxx> #include <cppu/unotype.hxx> #include <com/sun/star/drawing/XDrawPage.hpp> @@ -30,7 +31,8 @@ namespace sc_apitest { class ScDrawPageObj : public CalcUnoApiTest, public apitest::XElementAccess, - public apitest::XIndexAccess + public apitest::XIndexAccess, + public apitest::XServiceInfo { public: ScDrawPageObj(); @@ -49,6 +51,11 @@ public: CPPUNIT_TEST(testGetByIndex); CPPUNIT_TEST(testGetCount); + // XServiceInfo + CPPUNIT_TEST(testGetImplementationName); + CPPUNIT_TEST(testGetSupportedServiceNames); + CPPUNIT_TEST(testSupportsService); + CPPUNIT_TEST_SUITE_END(); private: @@ -59,6 +66,7 @@ ScDrawPageObj::ScDrawPageObj() : CalcUnoApiTest("/sc/qa/extras/testdocuments") , XElementAccess(cppu::UnoType<drawing::XShape>::get()) , XIndexAccess(2) + , XServiceInfo("ScPageObj", "com.sun.star.sheet.SpreadsheetDrawPage") { } |