summaryrefslogtreecommitdiff
path: root/sc/qa
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2019-06-19 05:18:55 +0000
committerJens Carl <j.carl43@gmx.de>2019-06-19 08:10:10 +0200
commit0e73f9eb415793c1c7503021c40fd746b2ef7ba2 (patch)
treeb6198804828e72c1605187bde5bbe2ca237d23b3 /sc/qa
parent7e500a001493e09480e5382337c7e8c7de168dba (diff)
tdf#45904 Move XShape Java tests to C++
Move XShape Java tests to C++ for ScShapeObj. Change-Id: I349c4abb09c3e9e43285b63ee5f19f55d967b38f Reviewed-on: https://gerrit.libreoffice.org/74331 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'sc/qa')
-rw-r--r--sc/qa/extras/scshapeobj.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/qa/extras/scshapeobj.cxx b/sc/qa/extras/scshapeobj.cxx
index 723d71a3f1c4..ef8761a657d9 100644
--- a/sc/qa/extras/scshapeobj.cxx
+++ b/sc/qa/extras/scshapeobj.cxx
@@ -9,6 +9,7 @@
#include <test/calc_unoapi_test.hxx>
#include <test/drawing/xgluepointssupplier.hxx>
+#include <test/drawing/xshape.hxx>
#include <test/drawing/xshapedescriptor.hxx>
#include <test/lang/xcomponent.hxx>
#include <test/sheet/shape.hxx>
@@ -35,6 +36,7 @@ class ScShapeObj : public CalcUnoApiTest,
public apitest::Shape,
public apitest::XComponent,
public apitest::XGluePointsSupplier,
+ public apitest::XShape,
public apitest::XShapeDescriptor
{
public:
@@ -60,6 +62,10 @@ public:
// XGluePointsSupplier
CPPUNIT_TEST(testGetGluePoints);
+ // XShape
+ CPPUNIT_TEST(testGetSetPosition);
+ CPPUNIT_TEST(testGetSetSize);
+
// XShapeDescriptor
CPPUNIT_TEST(testGetShapeType);