Kaydet (Commit) 3e2368cc authored tarafından Jens Carl's avatar Jens Carl

tdf#45904 Move XEnumerationAccess Java test to C++

Move XEnumerationAccess Java test to C++ for ScHeaderFieldsObj.

Change-Id: Ibead91f6c4369bb75e218eadb99776b0d1fb7cf4
Reviewed-on: https://gerrit.libreoffice.org/64799
Tested-by: Jenkins
Reviewed-by: 's avatarJens Carl <j.carl43@gmx.de>
üst 2d6e0bdd
"ScHeaderFieldsObj";"com::sun::star::container::XElementAccess";"getElementType()" "ScHeaderFieldsObj";"com::sun::star::container::XElementAccess";"getElementType()"
"ScHeaderFieldsObj";"com::sun::star::container::XElementAccess";"hasElements()" "ScHeaderFieldsObj";"com::sun::star::container::XElementAccess";"hasElements()"
"ScHeaderFieldsObj";"com::sun::star::container::XEnumerationAccess";"createEnumeration()"
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
*/ */
#include <test/calc_unoapi_test.hxx> #include <test/calc_unoapi_test.hxx>
#include <test/container/xenumerationaccess.hxx>
#include <test/util/xrefreshable.hxx> #include <test/util/xrefreshable.hxx>
#include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/beans/XPropertySet.hpp>
...@@ -33,7 +34,9 @@ using namespace css::uno; ...@@ -33,7 +34,9 @@ using namespace css::uno;
namespace sc_apitest namespace sc_apitest
{ {
class ScCellFieldsObj : public CalcUnoApiTest, public apitest::XRefreshable class ScCellFieldsObj : public CalcUnoApiTest,
public apitest::XEnumerationAccess,
public apitest::XRefreshable
{ {
public: public:
ScCellFieldsObj(); ScCellFieldsObj();
...@@ -44,6 +47,9 @@ public: ...@@ -44,6 +47,9 @@ public:
CPPUNIT_TEST_SUITE(ScCellFieldsObj); CPPUNIT_TEST_SUITE(ScCellFieldsObj);
// XEnumerationAccess
CPPUNIT_TEST(testCreateEnumeration);
// XRefreshable // XRefreshable
CPPUNIT_TEST(testRefreshListener); CPPUNIT_TEST(testRefreshListener);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment