tdf#45904 Move XEnumerationAccess Java test to C++
Move XEnumerationAccess Java test to C++ for ScUniqueCellFormatsObj.
Change-Id: Ia49fce123577a62e1ad60ef0dab4ac61148a1551
Reviewed-on: https://gerrit.libreoffice.org/64665
Tested-by: Jenkins
Reviewed-by: Jens Carl <[email protected]>
diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScUniqueCellFormatsObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScUniqueCellFormatsObj.csv
index 03cdf46..548af7f 100644
--- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScUniqueCellFormatsObj.csv
+++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScUniqueCellFormatsObj.csv
@@ -1,3 +1,2 @@
"ScUniqueCellFormatsObj";"com::sun::star::container::XIndexAccess";"getCount()"
"ScUniqueCellFormatsObj";"com::sun::star::container::XIndexAccess";"getByIndex()"
"ScUniqueCellFormatsObj";"com::sun::star::container::XEnumerationAccess";"createEnumeration()"
diff --git a/sc/qa/extras/scuniquecellformatsobj.cxx b/sc/qa/extras/scuniquecellformatsobj.cxx
index 9cd1959..58c9b96 100644
--- a/sc/qa/extras/scuniquecellformatsobj.cxx
+++ b/sc/qa/extras/scuniquecellformatsobj.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 ScUniqueCellFormatsObj : public CalcUnoApiTest, public apitest::XElementAccess
class ScUniqueCellFormatsObj : public CalcUnoApiTest,
public apitest::XElementAccess,
public apitest::XEnumerationAccess
{
public:
ScUniqueCellFormatsObj();
@@ -43,6 +46,9 @@ public:
CPPUNIT_TEST(testGetElementType);
CPPUNIT_TEST(testHasElements);
// XEnumerationAccess
CPPUNIT_TEST(testCreateEnumeration);
CPPUNIT_TEST_SUITE_END();
private: