qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAnnotationShapeObj.csv |    5 
-----
 sc/qa/extras/scannotationshapeobj.cxx                                |   10 
+++++++++-
 2 files changed, 9 insertions(+), 6 deletions(-)

New commits:
commit 7fe58f64cd8b58918cae92aed536d266f63b4c71
Author:     Jens Carl <j.car...@gmx.de>
AuthorDate: Mon Oct 21 21:39:30 2019 -0700
Commit:     Jens Carl <j.car...@gmx.de>
CommitDate: Wed Oct 23 03:36:53 2019 +0200

    tdf#45904 Move XTextRange Java test to C++
    
    Move XTextRange Java test to C++ for ScAnnotationShapeObj.
    
    Change-Id: If280b4e621fedd1023457ff626c6db8ef9a9f7ad
    Reviewed-on: https://gerrit.libreoffice.org/81295
    Tested-by: Jenkins
    Reviewed-by: Jens Carl <j.car...@gmx.de>

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 fa1477b94f04..16d4d6f432d7 100644
--- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAnnotationShapeObj.csv
+++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAnnotationShapeObj.csv
@@ -152,11 +152,6 @@
 
"ScAnnotationShapeObj";"com::sun::star::drawing::ShadowProperties";"ShadowTransparence"
 
"ScAnnotationShapeObj";"com::sun::star::drawing::ShadowProperties";"ShadowXDistance"
 
"ScAnnotationShapeObj";"com::sun::star::drawing::ShadowProperties";"ShadowYDistance"
-"ScAnnotationShapeObj";"com::sun::star::text::XTextRange";"getText()"
-"ScAnnotationShapeObj";"com::sun::star::text::XTextRange";"getStart()"
-"ScAnnotationShapeObj";"com::sun::star::text::XTextRange";"getEnd()"
-"ScAnnotationShapeObj";"com::sun::star::text::XTextRange";"getString()"
-"ScAnnotationShapeObj";"com::sun::star::text::XTextRange";"setString()"
 
"ScAnnotationShapeObj";"com::sun::star::style::CharacterProperties";"CharFontName"
 
"ScAnnotationShapeObj";"com::sun::star::style::CharacterProperties";"CharFontStyleName"
 
"ScAnnotationShapeObj";"com::sun::star::style::CharacterProperties";"CharFontFamily"
diff --git a/sc/qa/extras/scannotationshapeobj.cxx 
b/sc/qa/extras/scannotationshapeobj.cxx
index 567a7a904d3e..5a7a7258e04a 100644
--- a/sc/qa/extras/scannotationshapeobj.cxx
+++ b/sc/qa/extras/scannotationshapeobj.cxx
@@ -14,6 +14,7 @@
 #include <test/drawing/xshapedescriptor.hxx>
 #include <test/text/xsimpletext.hxx>
 #include <test/text/xtext.hxx>
+#include <test/text/xtextrange.hxx>
 
 #include <com/sun/star/container/XIndexAccess.hpp>
 #include <com/sun/star/drawing/XShape.hpp>
@@ -42,7 +43,8 @@ class ScAnnotationShapeObj : public CalcUnoApiTest,
                              public apitest::XShape,
                              public apitest::XShapeDescriptor,
                              public apitest::XSimpleText,
-                             public apitest::XText
+                             public apitest::XText,
+                             public apitest::XTextRange
 {
 public:
     ScAnnotationShapeObj();
@@ -76,6 +78,12 @@ public:
     // XText
     CPPUNIT_TEST(testInsertRemoveTextContent);
 
+    // XTextRange
+    CPPUNIT_TEST(testGetEnd);
+    CPPUNIT_TEST(testGetSetString);
+    CPPUNIT_TEST(testGetStart);
+    CPPUNIT_TEST(testGetText);
+
     CPPUNIT_TEST_SUITE_END();
 
 private:
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to