[Libreoffice-commits] core.git: qadevOOo/objdsc sc/qa

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Dec 19 08:20:52 UTC 2018


 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableRowsObj.csv |    1 -
 sc/qa/extras/sctablerowsobj.cxx                                |    5 +++++
 2 files changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 5d57ddc1853d5cf9f5af9ad73f3ec465aad6b4a6
Author:     Jens Carl <j.carl43 at gmx.de>
AuthorDate: Tue Dec 18 20:08:42 2018 +0000
Commit:     Jens Carl <j.carl43 at gmx.de>
CommitDate: Wed Dec 19 09:20:30 2018 +0100

    tdf#45904 Move XEnumerationAccess Java test to C++
    
    Move XEnumerationAccess Java test to C++ for ScTableRowsObj.
    
    Change-Id: Ic2d37c7b918faff3af7a682f72a1f2b04857c5d7
    Reviewed-on: https://gerrit.libreoffice.org/65373
    Tested-by: Jenkins
    Reviewed-by: Jens Carl <j.carl43 at gmx.de>

diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableRowsObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableRowsObj.csv
index ac73e230df9c..5933ff4c8533 100644
--- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableRowsObj.csv
+++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTableRowsObj.csv
@@ -1,3 +1,2 @@
 "ScTableRowsObj";"com::sun::star::table::XTableRows";"insertByIndex()"
 "ScTableRowsObj";"com::sun::star::table::XTableRows";"removeByIndex()"
-"ScTableRowsObj";"com::sun::star::container::XEnumerationAccess";"createEnumeration()"
diff --git a/sc/qa/extras/sctablerowsobj.cxx b/sc/qa/extras/sctablerowsobj.cxx
index 6814900063ab..76c86da52e9b 100644
--- a/sc/qa/extras/sctablerowsobj.cxx
+++ b/sc/qa/extras/sctablerowsobj.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 <com/sun/star/container/XNameAccess.hpp>
@@ -32,6 +33,7 @@ namespace sc_apitest
 {
 class ScTableRowsObj : public CalcUnoApiTest,
                        public apitest::XElementAccess,
+                       public apitest::XEnumerationAccess,
                        public apitest::XIndexAccess
 {
 public:
@@ -47,6 +49,9 @@ public:
     CPPUNIT_TEST(testGetElementType);
     CPPUNIT_TEST(testHasElements);
 
+    // XEnumerationAccess
+    CPPUNIT_TEST(testCreateEnumeration);
+
     // XIndexAccess
     CPPUNIT_TEST(testGetByIndex);
     CPPUNIT_TEST(testGetCount);


More information about the Libreoffice-commits mailing list