summaryrefslogtreecommitdiff
path: root/qadevOOo
AgeCommit message (Collapse)Author
2019-03-17tdf#45904 Move XNameContainer Java tests to C++Jens Carl
Move XNameContainer Java tests to C++ for ScAutoFormatsObj. Change-Id: I5b5a25a1774e5fbd212c6c7edf65a1464eb0356c Reviewed-on: https://gerrit.libreoffice.org/69347 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-16tdf#45904 Move XNameReplace Java test to C++Jens Carl
Move XNameReplace Java test to C++ for ScAutoFormatsObj. Change-Id: Iadde8031d9efbec12de76f889175029be448df13 Reviewed-on: https://gerrit.libreoffice.org/69342 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-16tdf#45904 Move XNameAccess Java tests to C++Jens Carl
Move XNameAccess Java tests to C++ for ScAutoFormatsObj. Change-Id: If0ce836f2d0628fa3e4a19f6a1789b74018e0229 Reviewed-on: https://gerrit.libreoffice.org/69329 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-15tdf#45904 Move XTableColumns Java tests to C++Jens Carl
Move XTableColumns Java tests to C++ for ScTableColumnsObj. Change-Id: Iead7ca3d7c07820086f75d86833b7bfc97978751 Reviewed-on: https://gerrit.libreoffice.org/69286 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-13tdf#123293 Add testSamuel Mehrbrodt
Test for commit 0a5ca5768f56db481dd3b947b3dddaab7ed96450 Change-Id: I53b72c385d9ef4d51cefa687f07a75c9520d3e71 Reviewed-on: https://gerrit.libreoffice.org/69165 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-03-13tdf#45904 Move XEnumerationAccess Java test to C++Jens Carl
Move XEnumerationAccess Java test to C++ for ScTableColumnsObj. Change-Id: Icb2b61a323e69bfc5d7cef1f574bac79eaa2b220 Reviewed-on: https://gerrit.libreoffice.org/69147 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-13tdf#45904 Move XElementAccess Java tests to C++Jens Carl
Move XElementAccess Java tests to C++ for ScTableColumnsObj. Change-Id: Id7128fbf5fe885045173d62eb954959e1f8aca44 Reviewed-on: https://gerrit.libreoffice.org/69146 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-13tdf#45904 Move XIndexAccess Java tests to C++Jens Carl
Move XIndexAccess Java tests to C++ for ScTableColumnsObj. Change-Id: Id5b6296e405c108129df0bce4ed4204ede320f3c Reviewed-on: https://gerrit.libreoffice.org/69144 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-13tdf#45904 Move XNameAccess Java test to C++Jens Carl
Move XNameAccess Java test to C++ for ScTableColumnsObj. Change-Id: I3c9acde1b9e390c6a088bde567996728db855c2e Reviewed-on: https://gerrit.libreoffice.org/69143 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-13tdf#45904 Move XNameReplace Java tests to C++Jens Carl
Move XNameReplace Java tests to C++ for ScStyleFamilyObj. Fixes i#23594 by creating a new "com.sun.star.style.CellStyle" rather then using an existing one. Change-Id: Ie42e627020aff475173af5bc014bc28d7a11ec56 Reviewed-on: https://gerrit.libreoffice.org/69140 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-11tdf#45904 Move XNameContainer Java tests to C++Jens Carl
Move XNameContainer Java tests to C++ for ScStyleFamilyObj. Change-Id: I8ff465262258ef5277d470369cc05f48bba25ce4 Reviewed-on: https://gerrit.libreoffice.org/69029 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-11tdf#45904 Move XIndexAccess Java tests to C++Jens Carl
Move XIndexAccess Java tests to C++ for ScStyleFamilyObj. modified: sc/qa/extras/scstylefamilyobj.cxx Change-Id: I1ee22139effe5f3931fb40b46b9c5c5701fa415d Reviewed-on: https://gerrit.libreoffice.org/69020 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-11tdf#45905 Move XElementAccess Java tests to C++Jens Carl
Move XElementAccess Java tests to C++ for ScStyleFamilyObj. Change-Id: Iead77390b6b9f8f9fffd4a0a17ba786478637df9 Reviewed-on: https://gerrit.libreoffice.org/69019 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-11tdf#45904 Move XNameAccess Java tests to C++Jens Carl
Move XNameAccess Java tests to C++ for ScStyleFamilyObj. Change-Id: Ib1e0481b4ea6fe63cb073948a444ddcc7f2eaa65 Reviewed-on: https://gerrit.libreoffice.org/69018 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-10tdf#45904 Move XNameAccess Java tests to C++Jens Carl
Move XNameAccess Java tests to C++ for ScDataPilotFieldGroupObj and fixes i#46730. Change-Id: I4374774d52c93f381ccf9e71f735b0dab33bc2a4 Reviewed-on: https://gerrit.libreoffice.org/68999 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-10tdf#45904 Move XIndexAccess Java tests to C++Jens Carl
Move XIndexAccess Java tests to C++ for ScDataPilotFieldGroupObj. Change-Id: I8908ede3a83ed9427ea364705020314f42a4fba0 Reviewed-on: https://gerrit.libreoffice.org/68997 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-10tdf#45904 Move XElementAccess Java tests to C++Jens Carl
Move XElementAccess Java tests to C++ for ScDataPilotFieldGroupObj. Change-Id: Ib96439216c67d66151ceb986c9b4520226437ab8 Reviewed-on: https://gerrit.libreoffice.org/68996 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-10tdf#45904 Move XNamed Java tests to C++Jens Carl
Move XNamed Java tests to C++ for ScDataPilotFieldGroupObj. Change-Id: I93be09ab557ac221c146be0a4bb0290688fac4fe Reviewed-on: https://gerrit.libreoffice.org/68995 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-10tdf#45904 Move XEnumerationAccess Java test to C++Jens Carl
Move XEnumerationAccess Java test to C++ for ScDataPilotFieldGroupObj. Change-Id: I2ff5807dcf10c4a72074d528dd3275786e8ed80d Reviewed-on: https://gerrit.libreoffice.org/68994 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-10tdf#45904 Move XTableCharts Java tests to C++Jens Carl
Move XTableCharts Java tests to C++ for ScChartsObj. Change-Id: Ibd08cc60d38d8ca01af9168d862a9f391c48e90a Reviewed-on: https://gerrit.libreoffice.org/68992 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-10tdf#45904 Move XNameAccess Java tests to C++Jens Carl
Move XNameAccess Java tests to C++ for ScChartsObj. modified: sc/qa/extras/scchartsobj.cxx Change-Id: I0599bebf163b122ce315b843337adee08abf2ae3 Reviewed-on: https://gerrit.libreoffice.org/68990 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-10tdf#45904 Move XIndexAccess Java tests to C++Jens Carl
Move XIndexAccess Java tests to C++ for ScChartsObj. Change-Id: I1a6babb59e6feb2ed825f9ca698a8852f8bce6bb Reviewed-on: https://gerrit.libreoffice.org/68989 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-10tdf#45905 Move XElementAccess Java tests to C++Jens Carl
Move XElementAccess Java tests to C++ for ScChartsObj. modified: sc/qa/extras/scchartsobj.cxx Change-Id: I8577af7eb9d29d3877e5d515bad121d3fd844716 Reviewed-on: https://gerrit.libreoffice.org/68954 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-10tdf#45904 Move XEnumerationAccess Java test to C++Jens Carl
Move XEnumerationAccess Java test to C++ for ScChartsObj. Change-Id: Ia9afb9fcaa5b81b140f47f309166f09af779ca52 Reviewed-on: https://gerrit.libreoffice.org/68953 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-09tdf#45904 Move XRefreshable Java tests to C++Jens Carl
Move XRefreshable Java tests to C++ for ScAreaLinkObj. To make this test work, had to provide parameter aSourceArea (in this case file sc/qa/extras/testdocuments/scarealinkobj.ods). All the other depended tests of ScAreaLinkObj had to adjusted to the new test environment. Also fixes i84711, because the XRefreshable test runs independent from the other tests, as mentioned in the bug description. Change-Id: I8847813431e2fdd60ed95be0f7d115bcaeafe500 Reviewed-on: https://gerrit.libreoffice.org/68949 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-08tdf#45904 Move XPropertySet Java tests to C++Jens Carl
Move XPropertySet Java tests to C++ for ScAreaLinkObj. Change-Id: I4b0ef0870d2ac3aac474df2e8c7114470e0128e8 Reviewed-on: https://gerrit.libreoffice.org/68948 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-08tdf#45904 Move XNamed Java tests to C++Jens Carl
Move XNamed Java tests to C++ for ScDataPilotItemObj. Change-Id: I2fcffbd7e7329357ac30fa14716bf2bcf49c5666 Reviewed-on: https://gerrit.libreoffice.org/68891 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-06tdf#45904 Move XPropertySet Java tests to C++Jens Carl
Move XPropertySet Java tests to C++ for ScDataPilotFieldObj. Change-Id: I9fa5d153cced1aae8892d2422025dfcdcda73c69 Reviewed-on: https://gerrit.libreoffice.org/68782 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-06tdf#45904 Move XNamed Java tests to C++Jens Carl
Move XNamed Java tests to C++ for ScDataPilotFieldObj. Change-Id: Ieecd8799f56dcfa9279d4d523d470a62d9aed203 Reviewed-on: https://gerrit.libreoffice.org/68781 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-03tdf#45904 Move XTextRange Java tests to C++Jens Carl
Move XTextRange Java tests to C++ for ScAnnotationObj (also fixes i109517). Change-Id: Id7e45d9f1159b45fb267cb28dc875b62eae12e24 Reviewed-on: https://gerrit.libreoffice.org/68634 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-03tdf#45904 Move XSimpleText Java tests to C++Jens Carl
Move XSimpleText Java tests to C++ for ScAnnotationObj (this also fixes i109517). Change-Id: Ieed0c94ed7a426c921c099a1edb520cbfd830656 Reviewed-on: https://gerrit.libreoffice.org/68632 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-02tdf#45904 Move XNameAccess Java tests to C++Jens Carl
Move XNameAccess Java tests to C++ for ScDataPilotItemsObj. Change-Id: Id8e83bb68408600f471148df7527467a371590fb Reviewed-on: https://gerrit.libreoffice.org/68611 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-02tdf#45904 Move XIndexAccess Java tests to C++Jens Carl
Move XIndexAccess Java tests to C++ for ScDataPilotItemsObj. Change-Id: I66888c4515e84cf0e8f051378616c0ecbf60c0e8 Reviewed-on: https://gerrit.libreoffice.org/68610 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-02tdf#45904 Move XEnumerationAccess Java test to C++Jens Carl
Move XEnumerationAccess Java test to C++ for ScDataPilotItemsObj. Change-Id: I6123692aee130f4c5bf326676ace2a6e7ac09405 Reviewed-on: https://gerrit.libreoffice.org/68609 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-02tdf#45904 Move XElementAccess Java tests to C++Jens Carl
Move XElementAccess Java tests to C++ for ScDataPilotItemsObj. Change-Id: Ideb56b3f24d9b6045f68d7e5e84ee9858b6df7bf Reviewed-on: https://gerrit.libreoffice.org/68608 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-03-01tdf#45904 Move XNamed Java tests to C++Jens Carl
Move XNamed Java tests to C++ for ScDataPilotFieldGroupItemObj. Change-Id: I1070f99e2e1655f72c1a6ffaf3f61618b083140e Reviewed-on: https://gerrit.libreoffice.org/68525 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-02-12tdf#45904 Move XEnumerationAccess Java tests to C++Jens Carl
Move XEnumerationAccess Java tests to C++ for ScDataPilotFieldGroupsObj. Change-Id: I329dc17a22ae2821be09b044d24983f2c62516bf Reviewed-on: https://gerrit.libreoffice.org/67706 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-02-12tdf#45904 Move XElementAccess Java tests to C++Jens Carl
Move XElementAccess Java tests to C++ for ScDataPilotFieldGroupsObj. Change-Id: Ib43c37dd78fa6b4da87a8c0ccd987bf4ee6879de Reviewed-on: https://gerrit.libreoffice.org/67705 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-02-12tdf#45904 Move XIndexAccess Java tests to C++Jens Carl
Move XIndexAccess Java tests to C++ for ScDataPilotFieldGroupsObj. Change-Id: I8bd601c2bb8f2c6fa8fe197f31f8df5878aa6b71 Reviewed-on: https://gerrit.libreoffice.org/67704 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-02-12tdf#45904 Move XNameAccess Java tests to C++Jens Carl
Move XNameAccess Java tests to C++ for ScDataPilotFieldGroupsObj. Change-Id: Ifa926bd64ac7fc7cd7df080e400ab36e084f1708 Reviewed-on: https://gerrit.libreoffice.org/67703 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-02-07[API CHANGE] Synchronize supported Writer document zoom rangesStephan Bergmann
On the one hand, SvxZoomSliderItem/SvxZoomSliderControl as used by SwView's SID_ATTR_ZOOMSLIDER support a range from MINZOOM (20) to MAXZOOM (600) (defined in sw/inc/view.hxx). Setting a zoom value outside that range for one causes the DBG_ASSERT "Looks like the zoom slider item is corrupted" in SvxZoomSliderControl::StateChanged (svx/source/stbctrls/zoomsliderctrl.cxx) to fire, and for another (when setting a too small value) tries to assign a negative value (which wraps around, and gets flagged by Clang's -fsanitize=implicit-signed-integer-truncation) to sal_uInt16 nCurrentZoom at nCurrentZoom = nCurrentZoom - mxImpl->mnMinZoom; in SvxZoomSliderControl::Zoom2Offset (svx/source/stbctrls/zoomsliderctrl.cxx). On the other hand, SwXViewSettings' support of css.text.ViewSettings' ZoomValue property allowed values in the range from 5 to 1000 (cf. SwXViewSettings::_setSingleValue in sw/source/uibase/uno/unomod.cxx), and some JunitTests actually set such values (10, 15) below the MINZOOM value of 20. The incompatible 5--1000 range was there ever since 7b0b5cdfeed656b279bc32cd929630d5fc25878b "initial import", but looks rather random, so change it to match the 20--600 range instead. (And lets flag this as an [API CHANGE], to be on the safe side.) One of the JunitTests files that needed to be adapted, qadevOOo/tests/java/mod/_sw/SwAccessibleEndnoteView.java, oddly mentioned a zoom value of 130% in a comment while using the value 15 in the actual code. (And did so ever since the test code's introduction in 26ebdfc472be16f0eb4110aab0335666d2ba5e62 "NEW: initial version".) Changing the code to 130 would cause JunitTest_sw_unoapi_1 to fail in strange ways, with disposed UNO objects, while changing the code (and comment) to 21 appears to work. Go figure. Change-Id: Id944ffdce501448312e008436e7038bf2aec63ac Reviewed-on: https://gerrit.libreoffice.org/67427 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-02-02tdf#45904 Move XEnumerationAccess Java test to C++Jens Carl
Move XEnumerationAccess Java test to C++ for ScDataPilotFieldsObj. Change-Id: I4b8bf204ccf4229ee5c57c03caef9fa5459e28a8 Reviewed-on: https://gerrit.libreoffice.org/67269 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-02-02tdf#45904 Move XElementAccess Java tests for C++Jens Carl
Move XElementAccess Java tests for C++ for ScDataPilotFieldsObj. Change-Id: Iac23860a9194f45be6cda8f4546605ae69729693 Reviewed-on: https://gerrit.libreoffice.org/67268 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-02-02tdf#45904 Move XIndexAccess Java tests to C++Jens Carl
Move XIndexAccess Java tests to C++ for ScDataPilotFieldsObj. Change-Id: I277192a4e43a7ec45d27d93d32cad6b59534be46 Reviewed-on: https://gerrit.libreoffice.org/67267 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-02-02tdf#45904 Move XNameAccess Java tests to C++Jens Carl
Move XNameAccess Java tests to C++ for ScDataPilotFieldsObj. Change-Id: I29625dcf6aa97e2781752c27e3eedba3ca479501 Reviewed-on: https://gerrit.libreoffice.org/67266 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-01-30tdf#45904 Move XPropertySet Java tests to C++Jens Carl
Move XPropertySet Java tests to C++ for ScSpreadsheetSettingsObj. Change-Id: I59da149983ee3b897c1cdeaf5f40962b917c91ba Reviewed-on: https://gerrit.libreoffice.org/67101 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-01-29tdf#45904 Move XPropertySet Java tests to C++Jens Carl
Move XPropertySet Java tests to C++ for ScFilterDescriptorBase. Change-Id: I86a16f3c53a5aacea0ce88a54ec8b340d13dff4f Reviewed-on: https://gerrit.libreoffice.org/67038 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-01-29tdf#45904 Move XSimpleText Java tests to C++Ajay Mahato
Change-Id: I6232615f15b52a1f004a13ed97fc0b8002a22269 Reviewed-on: https://gerrit.libreoffice.org/66694 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-01-26tdf#45904 Move XNameAccess Java tests to C++Jens Carl
Move XNameAccess Java tests to C++ for ScNamedRangesObj. Change-Id: Id6eea13bb00e291fdaf1c03b77630bb672938767 Reviewed-on: https://gerrit.libreoffice.org/66950 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-01-26tdf#45904 Move XElementAccess Java tests to C++Jens Carl
Move XElementAccess Java tests to C++ for ScNamedRangesObj. modified: sc/qa/extras/scnamedrangesobj.cxx Change-Id: I1274e23acbd125dd784ae7591bfab8d3d146d2e2 Reviewed-on: https://gerrit.libreoffice.org/66949 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>