diff options
-rw-r--r-- | qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTabViewObj.csv | 2 | ||||
-rw-r--r-- | sc/qa/extras/sctabviewobj.cxx | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTabViewObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTabViewObj.csv index eee960dcfa3e..ffd0cf5a2114 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTabViewObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTabViewObj.csv @@ -1,5 +1,3 @@ -"ScTabViewObj";"com::sun::star::container::XIndexAccess";"getCount()" -"ScTabViewObj";"com::sun::star::container::XIndexAccess";"getByIndex()" "ScTabViewObj";"com::sun::star::lang::XComponent";"dispose()" "ScTabViewObj";"com::sun::star::lang::XComponent";"addEventListener()" "ScTabViewObj";"com::sun::star::lang::XComponent";"removeEventListener()" diff --git a/sc/qa/extras/sctabviewobj.cxx b/sc/qa/extras/sctabviewobj.cxx index 14b46abc725e..fef454f8899a 100644 --- a/sc/qa/extras/sctabviewobj.cxx +++ b/sc/qa/extras/sctabviewobj.cxx @@ -9,6 +9,7 @@ #include <test/calc_unoapi_test.hxx> #include <test/container/xenumerationaccess.hxx> +#include <test/container/xindexaccess.hxx> #include <test/sheet/spreadsheetviewsettings.hxx> #include <test/sheet/xactivationbroadcaster.hxx> #include <test/sheet/xcellrangereferrer.hxx> @@ -35,6 +36,7 @@ class ScTabViewObj : public CalcUnoApiTest, public apitest::XActivationBroadcaster, public apitest::XCellRangeReferrer, public apitest::XEnumerationAccess, + public apitest::XIndexAccess, public apitest::XSpreadsheetView, public apitest::XViewFreezable, public apitest::XViewSplitable @@ -63,6 +65,10 @@ public: // XEnumerationAccess CPPUNIT_TEST(testCreateEnumeration); + // XIndexAccess + CPPUNIT_TEST(testGetByIndex); + CPPUNIT_TEST(testGetCount); + // XSpreadsheetView CPPUNIT_TEST(testGetSetActiveSheet); @@ -80,6 +86,7 @@ private: ScTabViewObj::ScTabViewObj() : CalcUnoApiTest("/sc/qa/extras/testdocuments") + , XIndexAccess(1) { } |