diff options
author | Jens Carl <j.carl43@gmx.de> | 2019-05-01 23:08:14 +0000 |
---|---|---|
committer | Jens Carl <j.carl43@gmx.de> | 2019-05-02 02:53:26 +0200 |
commit | f07e91ac739edf846ae9dda9b2305bae6dde489e (patch) | |
tree | 3a06751570af1c2627318931228211c861220e58 /sc | |
parent | 6f763a3fcd420ddd147459db0f836ef3e05e710f (diff) |
tdf#45904 Move XReplaceDescriptor Java tests to C++
Move XReplaceDescriptor Java tests to C++ for ScCellSearchObj.
Change-Id: Ica5042ce8b5eac3663a0fb5f66ae0a2830c89d93
Reviewed-on: https://gerrit.libreoffice.org/71645
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/extras/sccellsearchobj.cxx | 5 | ||||
-rw-r--r-- | sc/qa/unoapi/sc_3.sce | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/sc/qa/extras/sccellsearchobj.cxx b/sc/qa/extras/sccellsearchobj.cxx index 7d376a5b5262..a06010ca0c32 100644 --- a/sc/qa/extras/sccellsearchobj.cxx +++ b/sc/qa/extras/sccellsearchobj.cxx @@ -10,6 +10,7 @@ #include <test/calc_unoapi_test.hxx> #include <test/beans/xpropertyset.hxx> #include <test/util/searchdescriptor.hxx> +#include <test/util/xreplacedescriptor.hxx> #include <test/util/xsearchdescriptor.hxx> #include <com/sun/star/container/XIndexAccess.hpp> @@ -29,6 +30,7 @@ namespace sc_apitest class ScCellSearchObj : public CalcUnoApiTest, public apitest::SearchDescriptor, public apitest::XPropertySet, + public apitest::XReplaceDescriptor, public apitest::XSearchDescriptor { public: @@ -50,6 +52,9 @@ public: CPPUNIT_TEST(testPropertyChangeListener); CPPUNIT_TEST(testVetoableChangeListener); + // XReplaceDescriptor + CPPUNIT_TEST(testGetSetReplaceString); + // XSearchDescriptor CPPUNIT_TEST(testGetSetSearchString); diff --git a/sc/qa/unoapi/sc_3.sce b/sc/qa/unoapi/sc_3.sce index 8c01ca8d240c..68cbaad96274 100644 --- a/sc/qa/unoapi/sc_3.sce +++ b/sc/qa/unoapi/sc_3.sce @@ -17,5 +17,4 @@ # -o sc.ScCellRangeObj -o sc.ScCellRangesObj --o sc.ScCellSearchObj -o sc.ScCellTextCursor |