diff options
author | Jens Carl <j.carl43@gmx.de> | 2019-09-14 17:37:01 -0700 |
---|---|---|
committer | Jens Carl <j.carl43@gmx.de> | 2019-09-15 04:49:05 +0200 |
commit | bda1d88f2bfa21202725ab9c567b3cccba3c1f0b (patch) | |
tree | 672538e50668e4ac4ebd38250ebede5bd697812c /sc/qa | |
parent | 096b91ee15e2686d4eb7118fdb9688ba9dbc44b2 (diff) |
tdf#45904 Move XShapeDescriptor Java test to C++
Move XShapeDescriptor Java test to C++ for ScAnnotationShapeObj.
Change-Id: I21c51f6d557e877fed6319ed83f7951bdcb3f800
Reviewed-on: https://gerrit.libreoffice.org/78924
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'sc/qa')
-rw-r--r-- | sc/qa/extras/scannotationshapeobj.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/qa/extras/scannotationshapeobj.cxx b/sc/qa/extras/scannotationshapeobj.cxx index 5cf3fc927464..48f97b1be887 100644 --- a/sc/qa/extras/scannotationshapeobj.cxx +++ b/sc/qa/extras/scannotationshapeobj.cxx @@ -10,6 +10,7 @@ #include <test/calc_unoapi_test.hxx> #include <test/drawing/captionshape.hxx> #include <test/drawing/xshape.hxx> +#include <test/drawing/xshapedescriptor.hxx> #include <test/text/xtext.hxx> #include <com/sun/star/container/XIndexAccess.hpp> @@ -36,6 +37,7 @@ namespace sc_apitest class ScAnnotationShapeObj : public CalcUnoApiTest, public apitest::CaptionShape, public apitest::XShape, + public apitest::XShapeDescriptor, public apitest::XText { public: @@ -55,6 +57,9 @@ public: CPPUNIT_TEST(testGetSetSize); CPPUNIT_TEST(testGetSetPosition); + // XShapeDescriptor + CPPUNIT_TEST(testGetShapeType); + // XText CPPUNIT_TEST(testInsertRemoveTextContent); @@ -69,6 +74,7 @@ uno::Reference<text::XTextContent> ScAnnotationShapeObj::m_xField; ScAnnotationShapeObj::ScAnnotationShapeObj() : CalcUnoApiTest("sc/qa/extras/testdocuments") + , XShapeDescriptor("com.sun.star.drawing.CaptionShape") { } |