summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2019-03-12 23:48:22 +0000
committerJens Carl <j.carl43@gmx.de>2019-03-13 06:40:35 +0100
commit78971bf2793e8f79b54e220305fe7d44760385bf (patch)
treefe9f8e19a774272d7d8c6491d58953c40f69021d /sc
parent847dfdecb5fc5e86364563315a4488616e491c4c (diff)
tdf#45904 Move XEnumerationAccess Java test to C++
Move XEnumerationAccess Java test to C++ for ScTableColumnsObj. Change-Id: Icb2b61a323e69bfc5d7cef1f574bac79eaa2b220 Reviewed-on: https://gerrit.libreoffice.org/69147 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/extras/sctablecolumnsobj.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/qa/extras/sctablecolumnsobj.cxx b/sc/qa/extras/sctablecolumnsobj.cxx
index aa361640e45d..92b7e790f087 100644
--- a/sc/qa/extras/sctablecolumnsobj.cxx
+++ b/sc/qa/extras/sctablecolumnsobj.cxx
@@ -9,6 +9,7 @@
#include <test/calc_unoapi_test.hxx>
#include <test/container/xelementaccess.hxx>
+#include <test/container/xenumerationaccess.hxx>
#include <test/container/xindexaccess.hxx>
#include <test/container/xnameaccess.hxx>
#include <cppu/unotype.hxx>
@@ -31,6 +32,7 @@ namespace sc_apitest
{
class ScTableColumnsObj : public CalcUnoApiTest,
public apitest::XElementAccess,
+ public apitest::XEnumerationAccess,
public apitest::XIndexAccess,
public apitest::XNameAccess
{
@@ -47,6 +49,9 @@ public:
CPPUNIT_TEST(testGetElementType);
CPPUNIT_TEST(testHasElements);
+ // XEnumerationAccess
+ CPPUNIT_TEST(testCreateEnumeration);
+
// XIndexAccess
CPPUNIT_TEST(testGetByIndex);
CPPUNIT_TEST(testGetCount);