summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2019-10-20 01:47:24 -0700
committerJens Carl <j.carl43@gmx.de>2019-10-21 01:34:05 +0200
commit3874ac30beeb65a7048ff31bf052ecc87c185b69 (patch)
tree3a3ea5c97ddff2dcdd0f9ade694c237d480273b3
parentfec35bf15da6f226ee90bc19e538ee36cc47a172 (diff)
tdf#45904 Move XGluePointsSupplier Java test to C++
Move XGluePointsSupplier Java test to C++ for ScAnnotationShapeObj. Change-Id: I573f28f1b1bdf8e8fa41ef14cfd3d8ea4deaf751 Reviewed-on: https://gerrit.libreoffice.org/81150 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
-rw-r--r--qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAnnotationShapeObj.csv1
-rw-r--r--sc/qa/extras/scannotationshapeobj.cxx5
2 files changed, 5 insertions, 1 deletions
diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAnnotationShapeObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAnnotationShapeObj.csv
index c83b8f6f107f..fa1477b94f04 100644
--- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAnnotationShapeObj.csv
+++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAnnotationShapeObj.csv
@@ -125,7 +125,6 @@
"ScAnnotationShapeObj";"com::sun::star::drawing::TextProperties";"TextAnimationStartInside"
"ScAnnotationShapeObj";"com::sun::star::drawing::TextProperties";"TextAnimationStopInside"
"ScAnnotationShapeObj";"com::sun::star::drawing::TextProperties";"TextWritingMode"
-"ScAnnotationShapeObj";"com::sun::star::drawing::XGluePointsSupplier#optional";"getGluePoints()"
"ScAnnotationShapeObj";"com::sun::star::drawing::FillProperties";"FillStyle"
"ScAnnotationShapeObj";"com::sun::star::drawing::FillProperties";"FillColor"
"ScAnnotationShapeObj";"com::sun::star::drawing::FillProperties";"FillTransparence"
diff --git a/sc/qa/extras/scannotationshapeobj.cxx b/sc/qa/extras/scannotationshapeobj.cxx
index f8e0fa0d93d9..567a7a904d3e 100644
--- a/sc/qa/extras/scannotationshapeobj.cxx
+++ b/sc/qa/extras/scannotationshapeobj.cxx
@@ -9,6 +9,7 @@
#include <test/calc_unoapi_test.hxx>
#include <test/drawing/captionshape.hxx>
+#include <test/drawing/xgluepointssupplier.hxx>
#include <test/drawing/xshape.hxx>
#include <test/drawing/xshapedescriptor.hxx>
#include <test/text/xsimpletext.hxx>
@@ -37,6 +38,7 @@ namespace sc_apitest
{
class ScAnnotationShapeObj : public CalcUnoApiTest,
public apitest::CaptionShape,
+ public apitest::XGluePointsSupplier,
public apitest::XShape,
public apitest::XShapeDescriptor,
public apitest::XSimpleText,
@@ -55,6 +57,9 @@ public:
// CaptionShape
CPPUNIT_TEST(testCaptionShapeProperties);
+ // XGluePointsSupplier
+ CPPUNIT_TEST(testGetGluePoints);
+
// XShape
CPPUNIT_TEST(testGetSetSize);
CPPUNIT_TEST(testGetSetPosition);