diff options
author | Jens Carl <j.carl43@gmx.de> | 2019-04-16 19:21:58 +0000 |
---|---|---|
committer | Jens Carl <j.carl43@gmx.de> | 2019-04-17 01:11:58 +0200 |
commit | 5696272f9055b9b15c94d70a0dea7cee299c23ed (patch) | |
tree | d09a7c7bd51fe56819b98025f1d3bd9ec077b5f9 /sc | |
parent | cc191e4f5da18c3b223316f39aac23003ca54671 (diff) |
tdf#45904 Move XTextField Java tests to C++
Move XTextField Java tests to C++ for ScEditFieldObj_Header (formerly
ScHeaderFieldObj).
Change-Id: I36b723945d9306720846b4a4e2d3eaddb1a1c063
Reviewed-on: https://gerrit.libreoffice.org/70841
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/extras/sceditfieldobj-header.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sc/qa/extras/sceditfieldobj-header.cxx b/sc/qa/extras/sceditfieldobj-header.cxx index a38b3a122ebb..f8d1e5d5a0d4 100644 --- a/sc/qa/extras/sceditfieldobj-header.cxx +++ b/sc/qa/extras/sceditfieldobj-header.cxx @@ -11,6 +11,7 @@ #include <test/beans/xpropertyset.hxx> #include <test/text/textcontent.hxx> #include <test/text/xtextcontent.hxx> +#include <test/text/xtextfield.hxx> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/container/XNameAccess.hpp> @@ -38,7 +39,8 @@ namespace sc_apitest class ScEditFieldObj_Header : public CalcUnoApiTest, public apitest::TextContent, public apitest::XPropertySet, - public apitest::XTextContent + public apitest::XTextContent, + public apitest::XTextField { public: ScEditFieldObj_Header(); @@ -66,6 +68,9 @@ public: CPPUNIT_TEST(testGetAnchor); CPPUNIT_TEST(testAttach); + // XTextField + CPPUNIT_TEST(testGetPresentationEmptyString); + CPPUNIT_TEST_SUITE_END(); private: |