Kaydet (Commit) ada3b771 authored tarafından Jens Carl's avatar Jens Carl

Add XServiceInfo tests to ScTableRowObj

Change-Id: Ia3ad25e5e401abd3b27687a951a8c00fe710e57f
Reviewed-on: https://gerrit.libreoffice.org/70164
Tested-by: Jenkins
Reviewed-by: 's avatarJens Carl <j.carl43@gmx.de>
üst 6a7350f8
......@@ -9,6 +9,7 @@
#include <test/calc_unoapi_test.hxx>
#include <test/beans/xpropertyset.hxx>
#include <test/lang/xserviceinfo.hxx>
#include <test/table/tablerow.hxx>
#include <test/table/xcellrange.hxx>
......@@ -30,7 +31,8 @@ namespace sc_apitest
class ScTableRowObj : public CalcUnoApiTest,
public apitest::TableRow,
public apitest::XCellRange,
public apitest::XPropertySet
public apitest::XPropertySet,
public apitest::XServiceInfo
{
public:
ScTableRowObj();
......@@ -56,6 +58,11 @@ public:
CPPUNIT_TEST(testPropertyChangeListener);
CPPUNIT_TEST(testVetoableChangeListener);
// XServiceInfo
CPPUNIT_TEST(testGetImplementationName);
CPPUNIT_TEST(testGetSupportedServiceNames);
CPPUNIT_TEST(testSupportsService);
CPPUNIT_TEST_SUITE_END();
private:
......@@ -98,6 +105,7 @@ ScTableRowObj::ScTableRowObj()
"ValidationLocal",
"ValidationXML",
"WritingMode" })
, XServiceInfo("ScTableRowObj", "com.sun.star.table.TableRow")
{
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment