summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorRahul Gurung <gurungrahul2@gmail.com>2018-09-07 17:15:55 +0530
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2018-09-10 01:53:20 +0200
commit8e12e517473dcdfbfd04dc5192c841aff011f609 (patch)
tree785a8a2e4c0d5873245e83f77e5e53757440588a /sc
parent2789bbfd607240f260dfb38b6e9c19c9cf49fca9 (diff)
tdf#45904 Move _XChild Java tests to C++
Change-Id: Idaf883eadb95792bdb333dea487be084b1722194 Reviewed-on: https://gerrit.libreoffice.org/60146 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/extras/scannotationobj.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/sc/qa/extras/scannotationobj.cxx b/sc/qa/extras/scannotationobj.cxx
index 7d6d10890c12..bbd0f60493fb 100644
--- a/sc/qa/extras/scannotationobj.cxx
+++ b/sc/qa/extras/scannotationobj.cxx
@@ -8,6 +8,7 @@
*/
#include <test/calc_unoapi_test.hxx>
+#include <test/container/xchild.hxx>
#include <test/sheet/xsheetannotation.hxx>
#include <test/sheet/xsheetannotationshapesupplier.hxx>
@@ -26,7 +27,9 @@ using namespace css::uno;
namespace sc_apitest {
-class ScAnnontationObj : public CalcUnoApiTest, public apitest::XSheetAnnotation, public apitest::XSheetAnnotationShapeSupplier
+class ScAnnontationObj : public CalcUnoApiTest, public apitest::XSheetAnnotation,
+ public apitest::XSheetAnnotationShapeSupplier,
+ public apitest::XChild
{
public:
ScAnnontationObj();
@@ -39,6 +42,9 @@ public:
CPPUNIT_TEST_SUITE(ScAnnontationObj);
+ // XChild
+ CPPUNIT_TEST(testGetSetParent);
+
// XSheetAnnotation
CPPUNIT_TEST(testGetPosition);
CPPUNIT_TEST(testGetAuthor);