sc/qa/extras/scddelinksobj.cxx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
New commits: commit b8e450a54936560cdac00ab4c70ef80c20cfaf99 Author: Jens Carl <j.car...@gmx.de> AuthorDate: Thu Jan 17 23:03:19 2019 +0000 Commit: Jens Carl <j.car...@gmx.de> CommitDate: Fri Jan 18 02:11:36 2019 +0100 Add XServiceInfo tests to ScDDELinksObj Change-Id: Iacd44465e4b4b3a1a6657abcf274ffe7f8eb808b Reviewed-on: https://gerrit.libreoffice.org/66560 Tested-by: Jenkins Reviewed-by: Jens Carl <j.car...@gmx.de> 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") { } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits