summaryrefslogtreecommitdiff
path: root/sc/qa/extras/scchartobj.cxx
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2019-01-24 08:17:56 +0000
committerJens Carl <j.carl43@gmx.de>2019-01-24 18:42:23 +0100
commit9a2954f566b88c06c9e3aa34e1fa7e23200182ee (patch)
tree6c8b49612ab34328b5b05150d0567d61a1fb2acf /sc/qa/extras/scchartobj.cxx
parent03c62c4db748ea214fd7bcef07052d90acc865ea (diff)
tdf#45904 Move XEmbeddedObjectSupplier Java test to C++
Move XEmbeddedObjectSupplier Java test to C++ for ScChartObj. Change-Id: I125951e490719de225f1ac48d10b857c457fa529 Reviewed-on: https://gerrit.libreoffice.org/66839 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'sc/qa/extras/scchartobj.cxx')
-rw-r--r--sc/qa/extras/scchartobj.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/sc/qa/extras/scchartobj.cxx b/sc/qa/extras/scchartobj.cxx
index c6ead1372d67..b4925ac43219 100644
--- a/sc/qa/extras/scchartobj.cxx
+++ b/sc/qa/extras/scchartobj.cxx
@@ -9,6 +9,7 @@
#include <test/calc_unoapi_test.hxx>
#include <test/container/xnamed.hxx>
+#include <test/document/xembeddedobjectsupplier.hxx>
#include <com/sun/star/awt/Rectangle.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
@@ -33,7 +34,9 @@ using namespace css;
namespace sc_apitest
{
-class ScChartObj : public CalcUnoApiTest, public apitest::XNamed
+class ScChartObj : public CalcUnoApiTest,
+ public apitest::XEmbeddedObjectSupplier,
+ public apitest::XNamed
{
public:
ScChartObj();
@@ -44,6 +47,9 @@ public:
CPPUNIT_TEST_SUITE(ScChartObj);
+ // XEmbeddedObjectSupplier
+ CPPUNIT_TEST(testGetEmbeddedObject);
+
// XNamed
CPPUNIT_TEST(testGetName);
CPPUNIT_TEST(testSetNameThrowsException);