[Libreoffice-commits] core.git: sc/qa
Jens Carl (via logerrit)
logerrit at kemper.freedesktop.org
Fri May 3 02:33:13 UTC 2019
sc/qa/extras/sccellsearchobj.cxx | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
New commits:
commit 2f9cd77c1cd480244f8c17221c2f74f3f97df57f
Author: Jens Carl <j.carl43 at gmx.de>
AuthorDate: Fri May 3 00:39:49 2019 +0000
Commit: Jens Carl <j.carl43 at gmx.de>
CommitDate: Fri May 3 04:32:12 2019 +0200
Add XServiceInfo tests to ScCellSearchObj
Change-Id: I0ce55a8a6771a0c774c0009f0001fb00cfcc23b7
Reviewed-on: https://gerrit.libreoffice.org/71714
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43 at gmx.de>
diff --git a/sc/qa/extras/sccellsearchobj.cxx b/sc/qa/extras/sccellsearchobj.cxx
index a06010ca0c32..f91046072e66 100644
--- a/sc/qa/extras/sccellsearchobj.cxx
+++ b/sc/qa/extras/sccellsearchobj.cxx
@@ -9,6 +9,7 @@
#include <test/calc_unoapi_test.hxx>
#include <test/beans/xpropertyset.hxx>
+#include <test/lang/xserviceinfo.hxx>
#include <test/util/searchdescriptor.hxx>
#include <test/util/xreplacedescriptor.hxx>
#include <test/util/xsearchdescriptor.hxx>
@@ -31,7 +32,8 @@ class ScCellSearchObj : public CalcUnoApiTest,
public apitest::SearchDescriptor,
public apitest::XPropertySet,
public apitest::XReplaceDescriptor,
- public apitest::XSearchDescriptor
+ public apitest::XSearchDescriptor,
+ public apitest::XServiceInfo
{
public:
ScCellSearchObj();
@@ -58,6 +60,11 @@ public:
// XSearchDescriptor
CPPUNIT_TEST(testGetSetSearchString);
+ // XServiceInfo
+ CPPUNIT_TEST(testGetImplementationName);
+ CPPUNIT_TEST(testGetSupportedServiceNames);
+ CPPUNIT_TEST(testSupportsService);
+
CPPUNIT_TEST_SUITE_END();
private:
@@ -66,6 +73,8 @@ private:
ScCellSearchObj::ScCellSearchObj()
: CalcUnoApiTest("/sc/qa/extras/testdocuments")
+ , XServiceInfo("ScCellSearchObj",
+ { "com.sun.star.util.ReplaceDescriptor", "com.sun.star.util.SearchDescriptor" })
{
}
More information about the Libreoffice-commits
mailing list