[Libreoffice-commits] core.git: qadevOOo/objdsc sc/qa
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Dec 5 22:14:30 UTC 2018
qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellFormatsObj.csv | 1 -
sc/qa/extras/sccellformatsobj.cxx | 8 +++++++-
2 files changed, 7 insertions(+), 2 deletions(-)
New commits:
commit 849944f62cecd75103d85ae59d79d98bf273c6e4
Author: Jens Carl <j.carl43 at gmx.de>
AuthorDate: Wed Dec 5 19:40:28 2018 +0000
Commit: Jens Carl <j.carl43 at gmx.de>
CommitDate: Wed Dec 5 23:14:06 2018 +0100
tdf#45904 Move XEnumerationAccess Java test to C++
Move XEnumerationAccess Java test to C++ for ScCellFormatsObj.
Change-Id: I68b9e0308b1959b848e8a53b143c6a6a49589bb7
Reviewed-on: https://gerrit.libreoffice.org/64647
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43 at gmx.de>
diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellFormatsObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellFormatsObj.csv
index 08c7325ce95d..d9fa9324ba53 100644
--- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellFormatsObj.csv
+++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScCellFormatsObj.csv
@@ -1,3 +1,2 @@
"ScCellFormatsObj";"com::sun::star::container::XIndexAccess";"getCount()"
"ScCellFormatsObj";"com::sun::star::container::XIndexAccess";"getByIndex()"
-"ScCellFormatsObj";"com::sun::star::container::XEnumerationAccess";"createEnumeration()"
diff --git a/sc/qa/extras/sccellformatsobj.cxx b/sc/qa/extras/sccellformatsobj.cxx
index 0a79374f9f42..e4d407002d4d 100644
--- a/sc/qa/extras/sccellformatsobj.cxx
+++ b/sc/qa/extras/sccellformatsobj.cxx
@@ -9,6 +9,7 @@
#include <test/calc_unoapi_test.hxx>
#include <test/container/xelementaccess.hxx>
+#include <test/container/xenumerationaccess.hxx>
#include <com/sun/star/container/XIndexAccess.hpp>
#include <com/sun/star/lang/XComponent.hpp>
@@ -28,7 +29,9 @@ using namespace css::uno;
namespace sc_apitest
{
-class ScCellFormatsObj : public CalcUnoApiTest, public apitest::XElementAccess
+class ScCellFormatsObj : public CalcUnoApiTest,
+ public apitest::XElementAccess,
+ public apitest::XEnumerationAccess
{
public:
ScCellFormatsObj();
@@ -43,6 +46,9 @@ public:
CPPUNIT_TEST(testGetElementType);
CPPUNIT_TEST(testHasElements);
+ // XEnumerationAccess
+ CPPUNIT_TEST(testCreateEnumeration);
+
CPPUNIT_TEST_SUITE_END();
private:
More information about the Libreoffice-commits
mailing list