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

Add XServiceInfo tests to ScTableConditionalFormat

Change-Id: Icc57e3d06c13b444bbbd2936112daafbe410c34b
Reviewed-on: https://gerrit.libreoffice.org/66489
Tested-by: Jenkins
Reviewed-by: 's avatarJens Carl <j.carl43@gmx.de>
üst 4edf62eb
......@@ -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 <test/sheet/xsheetconditionalentries.hxx>
#include <com/sun/star/beans/PropertyValue.hpp>
......@@ -45,6 +46,7 @@ class ScTableConditionalFormat : public CalcUnoApiTest,
public apitest::XEnumerationAccess,
public apitest::XIndexAccess,
public apitest::XNameAccess,
public apitest::XServiceInfo,
public apitest::XSheetConditionalEntries
{
public:
......@@ -73,6 +75,11 @@ public:
CPPUNIT_TEST(testGetElementNames);
CPPUNIT_TEST(testHasByName);
// XServiceInfo
CPPUNIT_TEST(testGetImplementationName);
CPPUNIT_TEST(testGetSupportedServiceNames);
CPPUNIT_TEST(testSupportsService);
// XSheetConditionalEntries
CPPUNIT_TEST(testAddNew);
CPPUNIT_TEST(testClear);
......@@ -89,6 +96,7 @@ ScTableConditionalFormat::ScTableConditionalFormat()
, XElementAccess(cppu::UnoType<sheet::XSheetConditionalEntry>::get())
, XIndexAccess(2)
, XNameAccess("Entry1")
, XServiceInfo("ScTableConditionalFormat", "com.sun.star.sheet.TableConditionalFormat")
{
}
......
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