[Libreoffice-commits] core.git: qadevOOo/objdsc sc/qa
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sun Mar 10 16:17:05 UTC 2019
qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDataPilotFieldGroupObj.csv | 2 --
sc/qa/extras/scdatapilotfieldgroupobj.cxx | 7 +++++++
2 files changed, 7 insertions(+), 2 deletions(-)
New commits:
commit f59942a9c784a12fc2087b17b31a68cc0031c20c
Author: Jens Carl <j.carl43 at gmx.de>
AuthorDate: Sun Mar 10 06:26:20 2019 +0000
Commit: Jens Carl <j.carl43 at gmx.de>
CommitDate: Sun Mar 10 17:16:42 2019 +0100
tdf#45904 Move XElementAccess Java tests to C++
Move XElementAccess Java tests to C++ for ScDataPilotFieldGroupObj.
Change-Id: Ib96439216c67d66151ceb986c9b4520226437ab8
Reviewed-on: https://gerrit.libreoffice.org/68996
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43 at gmx.de>
diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDataPilotFieldGroupObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDataPilotFieldGroupObj.csv
index ffd0e8e5550c..84b7d4d3399f 100644
--- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDataPilotFieldGroupObj.csv
+++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDataPilotFieldGroupObj.csv
@@ -3,5 +3,3 @@
"ScDataPilotFieldGroupObj";"com::sun::star::container::XNameAccess";"hasByName()"
"ScDataPilotFieldGroupObj";"com::sun::star::container::XIndexAccess";"getCount()"
"ScDataPilotFieldGroupObj";"com::sun::star::container::XIndexAccess";"getByIndex()"
-"ScDataPilotFieldGroupObj";"com::sun::star::container::XElementAccess";"getElementType()"
-"ScDataPilotFieldGroupObj";"com::sun::star::container::XElementAccess";"hasElements()"
diff --git a/sc/qa/extras/scdatapilotfieldgroupobj.cxx b/sc/qa/extras/scdatapilotfieldgroupobj.cxx
index 3d0a61e72349..41e2639be372 100644
--- a/sc/qa/extras/scdatapilotfieldgroupobj.cxx
+++ b/sc/qa/extras/scdatapilotfieldgroupobj.cxx
@@ -8,6 +8,7 @@
*/
#include <test/calc_unoapi_test.hxx>
+#include <test/container/xelementaccess.hxx>
#include <test/container/xenumerationaccess.hxx>
#include <test/container/xnamed.hxx>
#include <comphelper/types.hxx>
@@ -39,6 +40,7 @@ using namespace css;
namespace sc_apitest
{
class ScDataPilotFieldGroupObj : public CalcUnoApiTest,
+ public apitest::XElementAccess,
public apitest::XEnumerationAccess,
public apitest::XNamed
{
@@ -51,6 +53,10 @@ public:
CPPUNIT_TEST_SUITE(ScDataPilotFieldGroupObj);
+ // XElementAccess
+ CPPUNIT_TEST(testGetElementType);
+ CPPUNIT_TEST(testHasElements);
+
// XEnumerationAccess
CPPUNIT_TEST(testCreateEnumeration);
@@ -67,6 +73,7 @@ private:
ScDataPilotFieldGroupObj::ScDataPilotFieldGroupObj()
: CalcUnoApiTest("/sc/qa/extras/testdocuments")
+ , XElementAccess(cppu::UnoType<container::XNamed>::get())
, XNamed("Group1")
{
}
More information about the Libreoffice-commits
mailing list