From 8e12e517473dcdfbfd04dc5192c841aff011f609 Mon Sep 17 00:00:00 2001 From: Rahul Gurung Date: Fri, 7 Sep 2018 17:15:55 +0530 Subject: 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 --- sc/qa/extras/scannotationobj.cxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sc') 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 +#include #include #include @@ -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); -- cgit