[Libreoffice-commits] core.git: qadevOOo/objdsc sc/qa
Jens Carl (via logerrit)
logerrit at kemper.freedesktop.org
Tue Apr 2 01:09:59 UTC 2019
qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAutoFormatObj.csv | 2 --
sc/qa/extras/scautoformatobj.cxx | 9 ++++++++-
2 files changed, 8 insertions(+), 3 deletions(-)
New commits:
commit 8f29f31b41136acbea8ca21525f9623948a1a4b8
Author: Jens Carl <j.carl43 at gmx.de>
AuthorDate: Tue Apr 2 00:12:28 2019 +0000
Commit: Jens Carl <j.carl43 at gmx.de>
CommitDate: Tue Apr 2 03:09:35 2019 +0200
tdf#45904 Move XNamed Java tests to C++
Move XNamed Java tests to C++ for ScAutoFormatObj.
Change-Id: I9ef1ec50c7decbc610a60cdc487b11cad2791b1b
Reviewed-on: https://gerrit.libreoffice.org/70096
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43 at gmx.de>
diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAutoFormatObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAutoFormatObj.csv
index ac08c66f293c..96344c70f53d 100644
--- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAutoFormatObj.csv
+++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAutoFormatObj.csv
@@ -1,5 +1,3 @@
-"ScAutoFormatObj";"com::sun::star::container::XNamed";"getName()"
-"ScAutoFormatObj";"com::sun::star::container::XNamed";"setName()"
"ScAutoFormatObj";"com::sun::star::beans::XPropertySet";"getPropertySetInfo()"
"ScAutoFormatObj";"com::sun::star::beans::XPropertySet";"setPropertyValue()"
"ScAutoFormatObj";"com::sun::star::beans::XPropertySet";"getPropertyValue()"
diff --git a/sc/qa/extras/scautoformatobj.cxx b/sc/qa/extras/scautoformatobj.cxx
index 1f64c0b9c295..525160e86ffc 100644
--- a/sc/qa/extras/scautoformatobj.cxx
+++ b/sc/qa/extras/scautoformatobj.cxx
@@ -11,6 +11,7 @@
#include <test/container/xelementaccess.hxx>
#include <test/container/xenumerationaccess.hxx>
#include <test/container/xindexaccess.hxx>
+#include <test/container/xnamed.hxx>
#include <test/sheet/tableautoformat.hxx>
#include <cppu/unotype.hxx>
@@ -31,7 +32,8 @@ class ScAutoFormatObj : public CalcUnoApiTest,
public apitest::TableAutoFormat,
public apitest::XElementAccess,
public apitest::XEnumerationAccess,
- public apitest::XIndexAccess
+ public apitest::XIndexAccess,
+ public apitest::XNamed
{
public:
ScAutoFormatObj();
@@ -56,6 +58,10 @@ public:
CPPUNIT_TEST(testGetByIndex);
CPPUNIT_TEST(testGetCount);
+ // XNamed
+ CPPUNIT_TEST(testGetName);
+ CPPUNIT_TEST(testSetName);
+
CPPUNIT_TEST_SUITE_END();
private:
@@ -66,6 +72,7 @@ ScAutoFormatObj::ScAutoFormatObj()
: CalcUnoApiTest("/sc/qa/extras/testdocuments")
, XElementAccess(cppu::UnoType<beans::XPropertySet>::get())
, XIndexAccess(16)
+ , XNamed("Default")
{
}
More information about the Libreoffice-commits
mailing list