[Libreoffice-commits] core.git: qadevOOo/objdsc sc/qa
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sat Feb 2 01:39:55 UTC 2019
qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDataPilotFieldsObj.csv | 2 --
sc/qa/extras/scdatapilotfieldsobj.cxx | 10 +++++++++-
2 files changed, 9 insertions(+), 3 deletions(-)
New commits:
commit 070967b25978c388e33860d69a8bf56b46b18f13
Author: Jens Carl <j.carl43 at gmx.de>
AuthorDate: Fri Feb 1 23:57:24 2019 +0000
Commit: Jens Carl <j.carl43 at gmx.de>
CommitDate: Sat Feb 2 02:39:23 2019 +0100
tdf#45904 Move XIndexAccess Java tests to C++
Move XIndexAccess Java tests to C++ for ScDataPilotFieldsObj.
Change-Id: I277192a4e43a7ec45d27d93d32cad6b59534be46
Reviewed-on: https://gerrit.libreoffice.org/67267
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43 at gmx.de>
diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDataPilotFieldsObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDataPilotFieldsObj.csv
index 8b5162f84c3b..4af41c784e15 100644
--- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDataPilotFieldsObj.csv
+++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDataPilotFieldsObj.csv
@@ -1,5 +1,3 @@
-"ScDataPilotFieldsObj";"com::sun::star::container::XIndexAccess";"getCount()"
-"ScDataPilotFieldsObj";"com::sun::star::container::XIndexAccess";"getByIndex()"
"ScDataPilotFieldsObj";"com::sun::star::container::XElementAccess";"getElementType()"
"ScDataPilotFieldsObj";"com::sun::star::container::XElementAccess";"hasElements()"
"ScDataPilotFieldsObj";"com::sun::star::container::XEnumerationAccess";"createEnumeration()"
diff --git a/sc/qa/extras/scdatapilotfieldsobj.cxx b/sc/qa/extras/scdatapilotfieldsobj.cxx
index 363724380b56..20b2c5359d6c 100644
--- a/sc/qa/extras/scdatapilotfieldsobj.cxx
+++ b/sc/qa/extras/scdatapilotfieldsobj.cxx
@@ -8,6 +8,7 @@
*/
#include <test/calc_unoapi_test.hxx>
+#include <test/container/xindexaccess.hxx>
#include <test/container/xnameaccess.hxx>
#include <com/sun/star/container/XIndexAccess.hpp>
@@ -26,7 +27,9 @@
using namespace css;
namespace sc_apitest
{
-class ScDataPilotFieldsObj : public CalcUnoApiTest, public apitest::XNameAccess
+class ScDataPilotFieldsObj : public CalcUnoApiTest,
+ public apitest::XIndexAccess,
+ public apitest::XNameAccess
{
public:
ScDataPilotFieldsObj();
@@ -36,6 +39,10 @@ public:
CPPUNIT_TEST_SUITE(ScDataPilotFieldsObj);
+ // XIndexAccess
+ CPPUNIT_TEST(testGetByIndex);
+ CPPUNIT_TEST(testGetCount);
+
// XNameAccess
CPPUNIT_TEST(testGetByName);
CPPUNIT_TEST(testGetElementNames);
@@ -49,6 +56,7 @@ private:
ScDataPilotFieldsObj::ScDataPilotFieldsObj()
: CalcUnoApiTest("/sc/qa/extras/testdocuments")
+ , XIndexAccess(6)
, XNameAccess("")
{
}
More information about the Libreoffice-commits
mailing list