diff options
author | Jens Carl <j.carl43@gmx.de> | 2019-06-22 13:34:05 -0700 |
---|---|---|
committer | Jens Carl <j.carl43@gmx.de> | 2019-06-23 02:30:34 +0200 |
commit | 8567d3d2567e83d1a8769651295384cfe5d68ce1 (patch) | |
tree | df493e7951a98aaf0b3d96dac267f9ddd8a3b14a /sc | |
parent | c0d1bdbb8a9aca2ef2e475268a953da995567700 (diff) |
tdf#45904 Move XIndexAccess Java tests to C++
Move XIndexAccess Java tests to C++ for ScTabViewObj.
Change-Id: Ic3364f405e4e4c42443a7f439a257ed6328f32a8
Reviewed-on: https://gerrit.libreoffice.org/74586
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/extras/sctabviewobj.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
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) { } |