summaryrefslogtreecommitdiff
path: root/sc/qa/extras/scchartobj.cxx
diff options
context:
space:
mode:
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);