On 32bit platforms tools::Long is 32bit, which is not enough
for pixel coordinates with 1m+ Calc rows+. So do not allow jumbo
sheets for such platforms.
Change-Id: I2ebd56a051470d33fca967918af3e7d2b0172dc7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130713
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
This reverts commit 6cb20e0b29, now that the test
failures have been identified as caused by -ffp-contract being enabled, and have
been addressed with 19559ebbee "Allow for a
presumably more precise result of BESSELY(80,9)",
04215f0349 "Allow for presumably more precices
results of some more Calc function calls", and
72b2561996 "For now, disable tests giving dubious
results on AArch64".
Change-Id: I78f9ddb04362d4026a272db0b8bbf4717fd75093
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126737
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Unfortunatly we cannot add --disable-scripting to
sub_conf_defaults, because Java currently has no
equivalent to the PYTHON_FOR_BUILD setting.
Change-Id: I89938a17307a363f5de808200914940503312829
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126186
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
in order to split sc_ucalc monster into smaller
modules
Now, we can change CppunitTest_sc_ucalc.mk to
use the template
- Enable testExternalRefUnresolved on Linux/Mac
- Remove testFormulaHashAndTag. it was disabled in
f4dc8a869a
< the idea behind the test can't work right now >
Change-Id: I864341442ccd321c8ef4f7147db4512bcc7a6b21
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115595
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
in order to split sc_ucalc monster into smaller
modules
While at it, fix the clang-format issues in
sc/qa/unit/ucalc_copypaste.cxx
Change-Id: Ifd3af351f4b880da29e1f48c4852ac65fcd3276e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115696
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
in order to split sc_ucalc monster into smaller
modules
While at it, remove testCopyPasteSkipEmptyConditionalFormatting
it was added already disabled in 5915d38e84
<add disabled test for conditional formatting with skip empty cells>
and it fails if it's enabled
Change-Id: I6222849b38ab288b24432dc00698d72f5bcc5c2e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115677
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
this way, Jenkins executes this module on Windows and Mac as well.
Before I submitted this test, I ran
'make clean && make CppunitTest_sc_macros_test' on a Win machine
Change-Id: If84ea0ba5f7376f9cfe62836eb469e4c9e7ea44a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109994
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
and sort the list
this way, Jenkins executes this module on Windows and Mac as well.
Before I submitted this test, I ran
'make clean && make CppunitTest_sc_uicalc' on a Win machine
Change-Id: I906255bcf82e19917036aa3e99344f9ecf2a26fe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109190
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
this way, Jenkins executes this module on Windows and Mac as well.
Before I submitted this test, I ran
'make clean && make CppunitTest_sc_uicalc' on a Win machine
Change-Id: I5bb708e3b61f16c3bd53da2222f19f2b73742819
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109106
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
and use in ScDrawLayer::RecalcPos and in ScDrawView::FitToCellSize().
Error was, that it was assumed, that SdObjCustomShape::SetSnapRect()
changes the shape so, that it fits into the passed rectangle. That is
true for other type of shapes, but not for custom shapes.
Change-Id: Ib00d52087509f459165000abf43c7f244980a01b
Reviewed-on: https://gerrit.libreoffice.org/84216
Tested-by: Jenkins
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
Move XNamed Java tests to C++ for ScStyleObj.
Change-Id: Idaff7307d15ca2665005e866dff36a033aa91354
Reviewed-on: https://gerrit.libreoffice.org/81553
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
Test if calc crashes when copying a noncoherent range to the
clipboard
Change-Id: I64d436ffb01775df9d50eb966ea2a12040482517
Reviewed-on: https://gerrit.libreoffice.org/76348
Tested-by: Jenkins
Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
Open a dialog, close it by the given button e.g. "cancel" or "close".
If the dialog has an enabled "OK" button open the dialog again
and try to close it also using the OK button.
For every dialog a complete new document is opened to ensure test-separation,
otherwise one action could hamper the next action.
For dialogs that already have other tests a "cancel/close" test was added to
the previous test. As far as possible opening new documents was avoided in those
cases. And in some cases a simple check was added to check if the "cancel" button
does not change anything.
Simmilar tests for calc have been renamed and code dublication has been
removed by moving main part of the code to a helper file
Change-Id: I01f197cae8bc6fe0345661fe042b655f16229485
Reviewed-on: https://gerrit.libreoffice.org/75124
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
Open a dialog, close it by the given button e.g. "cancel" or "close".
If the dialog has an enabled "OK" button open the dialog again
and try to close it also using the OK button.
For every dialog a complete new document is opened to ensure test-separation,
otherwise one action could hamper the next action.
E.g. ".uno:Protect" would hamper any edit action.
For dialogs that already have other tests a "cancel/close" test was added to
the previous test. As far as possible opening new documents was avoided in those
cases. And in some cases a simple check was added to check if the "cancel" button
does not change anything.
Change-Id: I727cad43603770245f27baf752a1985f9a754847
Reviewed-on: https://gerrit.libreoffice.org/74333
Tested-by: Jenkins
Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
Move XPropertSet Java tests to C++ for ScCellSearchObj.
Change-Id: I46e55794fe0b205173c3b208ba84c90d70aa2de0
Reviewed-on: https://gerrit.libreoffice.org/71608
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
mOve XCellRange Java test to C++ for ScTableColumnObj.
Change-Id: I165e5752fb679be6790c305a99f35da644e17d56
Reviewed-on: https://gerrit.libreoffice.org/70968
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
Move XPropertySet Java tests to C++ for ScTableRowObj.
Change-Id: Ib448d6440cd6a285cd55297669bb19bd8aec6b07
Reviewed-on: https://gerrit.libreoffice.org/70156
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
Correct class name to mirror the name of the object we are testing
against.
Change-Id: If26dc045f67df7725043f1b0ccd0d3c8ba73f4ed
Reviewed-on: https://gerrit.libreoffice.org/70030
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
Move XIndexAccess Java tests to C++ for ScDrawPageObj.
Change-Id: I8b0c80b9213130870ce5445bcf52705df367cb0e
Reviewed-on: https://gerrit.libreoffice.org/69864
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
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>
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>
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>
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>
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>
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>
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>