diff options
author | Jens Carl <j.carl43@gmx.de> | 2019-05-01 01:04:29 +0000 |
---|---|---|
committer | Jens Carl <j.carl43@gmx.de> | 2019-05-01 19:30:40 +0200 |
commit | 0b8ac2d3c84043789783d3b4f04639323b9d3bb9 (patch) | |
tree | e10f3f17067da23448283116d3694aa8df99a2b3 | |
parent | a876de01dedb50bbdfb38838b55cae65c07c72a1 (diff) |
Add XServiceInfo tests to ScTableColumnObj
Change-Id: Id8f78e2b114945f2c2499739711db9223828314a
Reviewed-on: https://gerrit.libreoffice.org/71609
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
-rw-r--r-- | sc/qa/extras/sctablecolumnobj.cxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sc/qa/extras/sctablecolumnobj.cxx b/sc/qa/extras/sctablecolumnobj.cxx index f64b2c0b1822..dff0384fe42a 100644 --- a/sc/qa/extras/sctablecolumnobj.cxx +++ b/sc/qa/extras/sctablecolumnobj.cxx @@ -10,6 +10,7 @@ #include <test/calc_unoapi_test.hxx> #include <test/beans/xpropertyset.hxx> #include <test/container/xnamed.hxx> +#include <test/lang/xserviceinfo.hxx> #include <test/table/tablecolumn.hxx> #include <test/table/xcellrange.hxx> @@ -32,7 +33,8 @@ class ScTableColumnObj : public CalcUnoApiTest, public apitest::TableColumn, public apitest::XCellRange, public apitest::XNamed, - public apitest::XPropertySet + public apitest::XPropertySet, + public apitest::XServiceInfo { public: ScTableColumnObj(); @@ -63,6 +65,11 @@ public: CPPUNIT_TEST(testPropertyChangeListener); CPPUNIT_TEST(testVetoableChangeListener); + // XServiceInfo + CPPUNIT_TEST(testGetImplementationName); + CPPUNIT_TEST(testGetSupportedServiceNames); + CPPUNIT_TEST(testSupportsService); + CPPUNIT_TEST_SUITE_END(); private: @@ -108,6 +115,7 @@ ScTableColumnObj::ScTableColumnObj() "ValidationXML", "WritingMode", }) + , XServiceInfo("ScTableColumnObj", "com.sun.star.table.TableColumn") { } |