summaryrefslogtreecommitdiff
path: root/sc/qa/extras/sccellsearchobj.cxx
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2019-05-01 03:55:35 +0000
committerJens Carl <j.carl43@gmx.de>2019-05-02 01:19:34 +0200
commit976bb31199baf8ded562323e35626c61ef5bffbe (patch)
tree5897cf4e2577a1502cd2d118f293b1a0321547f9 /sc/qa/extras/sccellsearchobj.cxx
parent2aed7abb64ded178850f1ecaff98986357086b68 (diff)
tdf#45904 Move XSearchDescriptor Java tests to C++
Move XSearchDescriptor Java tests to C++ for ScCellSearchObj. Change-Id: I1ae50bb586fd742b7cc19f71bcae018ca42139e6 Reviewed-on: https://gerrit.libreoffice.org/71643 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'sc/qa/extras/sccellsearchobj.cxx')
-rw-r--r--sc/qa/extras/sccellsearchobj.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/sc/qa/extras/sccellsearchobj.cxx b/sc/qa/extras/sccellsearchobj.cxx
index 21ece504221b..0dfb94a8c245 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/util/xsearchdescriptor.hxx>
#include <com/sun/star/container/XIndexAccess.hpp>
#include <com/sun/star/lang/XComponent.hpp>
@@ -24,7 +25,9 @@ using namespace css;
namespace sc_apitest
{
-class ScCellSearchObj : public CalcUnoApiTest, public apitest::XPropertySet
+class ScCellSearchObj : public CalcUnoApiTest,
+ public apitest::XPropertySet,
+ public apitest::XSearchDescriptor
{
public:
ScCellSearchObj();
@@ -42,6 +45,9 @@ public:
CPPUNIT_TEST(testPropertyChangeListener);
CPPUNIT_TEST(testVetoableChangeListener);
+ // XSearchDescriptor
+ CPPUNIT_TEST(testGetSetSearchString);
+
CPPUNIT_TEST_SUITE_END();
private: