summaryrefslogtreecommitdiff
path: root/sc/qa/extras/scannotationshapeobj.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa/extras/scannotationshapeobj.cxx')
-rw-r--r--sc/qa/extras/scannotationshapeobj.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/sc/qa/extras/scannotationshapeobj.cxx b/sc/qa/extras/scannotationshapeobj.cxx
index 48f97b1be887..f8e0fa0d93d9 100644
--- a/sc/qa/extras/scannotationshapeobj.cxx
+++ b/sc/qa/extras/scannotationshapeobj.cxx
@@ -11,6 +11,7 @@
#include <test/drawing/captionshape.hxx>
#include <test/drawing/xshape.hxx>
#include <test/drawing/xshapedescriptor.hxx>
+#include <test/text/xsimpletext.hxx>
#include <test/text/xtext.hxx>
#include <com/sun/star/container/XIndexAccess.hpp>
@@ -38,6 +39,7 @@ class ScAnnotationShapeObj : public CalcUnoApiTest,
public apitest::CaptionShape,
public apitest::XShape,
public apitest::XShapeDescriptor,
+ public apitest::XSimpleText,
public apitest::XText
{
public:
@@ -60,6 +62,12 @@ public:
// XShapeDescriptor
CPPUNIT_TEST(testGetShapeType);
+ // XSimpleText
+ CPPUNIT_TEST(testCreateTextCursor);
+ CPPUNIT_TEST(testCreateTextCursorByRange);
+ CPPUNIT_TEST(testInsertControlCharacter);
+ CPPUNIT_TEST(testInsertString);
+
// XText
CPPUNIT_TEST(testInsertRemoveTextContent);