[Libreoffice-commits] core.git: qadevOOo/objdsc sc/qa

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Mar 6 02:05:00 UTC 2019


 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDataPilotFieldObj.csv |    2 --
 sc/qa/extras/scdatapilotfieldobj.cxx                                |    9 ++++++++-
 2 files changed, 8 insertions(+), 3 deletions(-)

New commits:
commit 04f4cbd0b3e949c28382359f722872d380d98900
Author:     Jens Carl <j.carl43 at gmx.de>
AuthorDate: Tue Mar 5 21:20:03 2019 +0000
Commit:     Jens Carl <j.carl43 at gmx.de>
CommitDate: Wed Mar 6 03:04:36 2019 +0100

    tdf#45904 Move XNamed Java tests to C++
    
    Move XNamed Java tests to C++ for ScDataPilotFieldObj.
    
    Change-Id: Ieecd8799f56dcfa9279d4d523d470a62d9aed203
    Reviewed-on: https://gerrit.libreoffice.org/68781
    Tested-by: Jenkins
    Reviewed-by: Jens Carl <j.carl43 at gmx.de>

diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDataPilotFieldObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDataPilotFieldObj.csv
index de2cb74f71ba..17d800db4639 100644
--- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDataPilotFieldObj.csv
+++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScDataPilotFieldObj.csv
@@ -1,5 +1,3 @@
-"ScDataPilotFieldObj";"com::sun::star::container::XNamed";"getName()"
-"ScDataPilotFieldObj";"com::sun::star::container::XNamed";"setName()"
 "ScDataPilotFieldObj";"com::sun::star::beans::XPropertySet";"getPropertySetInfo()"
 "ScDataPilotFieldObj";"com::sun::star::beans::XPropertySet";"setPropertyValue()"
 "ScDataPilotFieldObj";"com::sun::star::beans::XPropertySet";"getPropertyValue()"
diff --git a/sc/qa/extras/scdatapilotfieldobj.cxx b/sc/qa/extras/scdatapilotfieldobj.cxx
index 61a3d45c8008..46cd9a703b76 100644
--- a/sc/qa/extras/scdatapilotfieldobj.cxx
+++ b/sc/qa/extras/scdatapilotfieldobj.cxx
@@ -8,6 +8,7 @@
  */
 
 #include <test/calc_unoapi_test.hxx>
+#include <test/container/xnamed.hxx>
 #include <test/sheet/datapilotfield.hxx>
 #include <test/sheet/xdatapilotfield.hxx>
 #include <test/sheet/xdatapilotfieldgrouping.hxx>
@@ -29,7 +30,8 @@ namespace sc_apitest
 class ScDataPilotFieldObj : public CalcUnoApiTest,
                             public apitest::DataPilotField,
                             public apitest::XDataPilotField,
-                            public apitest::XDataPilotFieldGrouping
+                            public apitest::XDataPilotFieldGrouping,
+                            public apitest::XNamed
 {
 public:
     virtual void setUp() override;
@@ -55,6 +57,10 @@ public:
     // see fdo#
     //CPPUNIT_TEST(testCreateDateGroup);
 
+    // XNamed
+    CPPUNIT_TEST(testGetName);
+    CPPUNIT_TEST(testSetName);
+
     CPPUNIT_TEST_SUITE_END();
 
 private:
@@ -63,6 +69,7 @@ private:
 
 ScDataPilotFieldObj::ScDataPilotFieldObj()
     : CalcUnoApiTest("/sc/qa/extras/testdocuments")
+    , XNamed("Col1")
 {
 }
 


More information about the Libreoffice-commits mailing list