diff options
author | Jens Carl <j.carl43@gmx.de> | 2019-01-17 23:03:19 +0000 |
---|---|---|
committer | Jens Carl <j.carl43@gmx.de> | 2019-01-18 02:11:36 +0100 |
commit | b8e450a54936560cdac00ab4c70ef80c20cfaf99 (patch) | |
tree | 109c79fb048e7733354bb40f6a5c7a43226ef12b /sc/qa/extras/scddelinksobj.cxx | |
parent | cda562cedef53a6e54be2d9512a1347776046dfe (diff) |
Add XServiceInfo tests to ScDDELinksObj
Change-Id: Iacd44465e4b4b3a1a6657abcf274ffe7f8eb808b
Reviewed-on: https://gerrit.libreoffice.org/66560
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'sc/qa/extras/scddelinksobj.cxx')
-rw-r--r-- | sc/qa/extras/scddelinksobj.cxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sc/qa/extras/scddelinksobj.cxx b/sc/qa/extras/scddelinksobj.cxx index 667c1b180243..721478ba839d 100644 --- a/sc/qa/extras/scddelinksobj.cxx +++ b/sc/qa/extras/scddelinksobj.cxx @@ -12,6 +12,7 @@ #include <test/container/xenumerationaccess.hxx> #include <test/container/xindexaccess.hxx> #include <test/container/xnameaccess.hxx> +#include <test/lang/xserviceinfo.hxx> #include <cppu/unotype.hxx> #include <rtl/ustring.hxx> @@ -40,7 +41,8 @@ class ScDDELinksObj : public CalcUnoApiTest, public apitest::XElementAccess, public apitest::XEnumerationAccess, public apitest::XIndexAccess, - public apitest::XNameAccess + public apitest::XNameAccess, + public apitest::XServiceInfo { public: ScDDELinksObj(); @@ -67,6 +69,11 @@ public: CPPUNIT_TEST(testGetElementNames); CPPUNIT_TEST(testHasByName); + // XServiceInfo + CPPUNIT_TEST(testGetImplementationName); + CPPUNIT_TEST(testGetSupportedServiceNames); + CPPUNIT_TEST(testSupportsService); + CPPUNIT_TEST_SUITE_END(); private: @@ -80,6 +87,7 @@ ScDDELinksObj::ScDDELinksObj() , XNameAccess("soffice|" + m_directories.getURLFromSrc("/sc/qa/unoapi/testdocuments/ScDDELinksObj.ods") + "!Sheet1.A1") + , XServiceInfo("ScDDELinksObj", "com.sun.star.sheet.DDELinks") { } |