summaryrefslogtreecommitdiffstats
path: root/sc/qa
Commit message (Collapse)AuthorAgeFilesLines
* fdo#86572: Write test for this.Kohei Yoshida2014-12-112-0/+38
| | | | Change-Id: I00c3eaac473f0464e923e785cc50ad6769c78d41
* unit test for matrix comparison error propagation, fdo#87237Eike Rathke2014-12-112-0/+24
| | | | Change-Id: Id02f169b111945673a16d0c852940c805aa89319
* java: reduce visibility of fields and methodsNoel Grandin2014-12-111-4/+4
| | | | | | | | | found by PMD Change-Id: Id6737916b68ccbdbdeec5d314747a38410923ac6 Reviewed-on: https://gerrit.libreoffice.org/13409 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* be a bit more relaxed about that conditionMarkus Mohrhard2014-12-101-1/+1
| | | | Change-Id: I794042c78723a0d40de8054084b27805cba6cfee
* java: remove some comment noiseNoel Grandin2014-12-102-2/+2
| | | | | | | Change-Id: I4d15a0e606f468346bc5d2f43af2e14bcc758e13 Reviewed-on: https://gerrit.libreoffice.org/13405 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* fdo#82312 - Excel chart has a wrong sizeNoel Grandin2014-12-092-0/+20
| | | | | | | | | | bug introduced in commit 0c7f35277575fee8594737f5b2842dfac2c6d04f "remove SvStream::operator>> methods" Change-Id: I72a1c05b3a4a3f3a250055775eb2d35b3114406d Reviewed-on: https://gerrit.libreoffice.org/13151 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* Convert some test cases to using insertRangeData().Kohei Yoshida2014-12-081-33/+84
| | | | | | | To make sure they use range-based area listeners (when applicable) and make sure that they still pass. Change-Id: I75b73b6feb34057268277212733476ddede2b757
* coverity#1257114 Result is not floating-pointCaolán McNamara2014-12-081-1/+1
| | | | Change-Id: I420fa77d52ca72a4c4609b4610572b8735911b4b
* Test also Calc export / import of images with special IDZolnai Tamás2014-12-082-0/+74
| | | | Change-Id: I6c47c4b78a1dcd76287cdca16265d3170d2794f5
* add test for fdo#85304Markus Mohrhard2014-12-082-0/+22
| | | | Change-Id: I35692a4a4ccfd1aa5938078bdf32a3eaff082453
* Test for linked graphic export / import of CalcZolnai Tamás2014-12-073-0/+42
| | | | | | | To avoid regression fixed by: 02b17c1bbdd19a978b9de646c0dacdad179c60de Change-Id: Iaf2dea0cf221cb0e53debe4c1c611aab86dc29ff
* add test case for fdo#86754Markus Mohrhard2014-12-072-0/+32
| | | | Change-Id: I0f57c1124e62d8946b68c614e3ff09d26b569e77
* add test for fdo#85856Markus Mohrhard2014-12-072-0/+39
| | | | Change-Id: I4b3f8a0a0ebd089862ccffc452a2852b5868a51d
* Fix incorrect adjustment of range references during sort.Kohei Yoshida2014-12-053-18/+8
| | | | | | | | | | ... as a result of the introduction of range-based area listeners. With this change, the insertRangeData() function for ucalc no longer needs the additional bGroupListening flag. All tests pass with group listening enabled at all times. Change-Id: I9b9fb9443c727ff62badbd60ec9cd94094eb5a45
* unit test for sort with broadcasters, fdo#86762Eike Rathke2014-12-022-0/+217
| | | | Change-Id: Id1040f95a94d1637cafd06cbe0072b5a5a5cb8e0
* Add test to make sure sheet names with '&' get imported correctly.Kohei Yoshida2014-12-012-0/+18
| | | | Change-Id: Iea7bb77cdbd5f3ba3b658c373b7d4156b2ca6337
* add test case for fdo#86518Markus Mohrhard2014-12-011-0/+14
| | | | Change-Id: I297ba5fe7d218ef3bfce6c95c54f446038b7fdca
* add test case for fdo#86253Markus Mohrhard2014-11-302-0/+44
| | | | Change-Id: I943351a9050f78ea3495807570c51e0c7782ead3
* Work in progress: Move Calc-independend OpenCL configuration out of scTor Lillqvist2014-11-271-1/+1
| | | | | | | | | | Intermediate commit. More changes will follow: The device selection logic needs to be moved, too. (And cleaned up.) Instead of the separate formulacalculationoptions dialog we should simply have a normal options page for those OpenCL-related settings that will remain purely Calc-specific, like the formula opcode subsetting. Change-Id: Id60d95e80d377cbbf5780beb473b221bce06b5e5
* fdo#86615: Write test for this.Kohei Yoshida2014-11-252-0/+32
| | | | Change-Id: I75412790e0afc1dbe3255254ff13fd41c5e9934b
* Adjust ref undo to ensure group area listeners are used.Kohei Yoshida2014-11-252-2/+124
| | | | | | | When undoing row deletion (and possibly other similar undo's). And write test for it. Change-Id: I04b4fd9932f4236f124dcd25967355c6055dec33
* java: final fields that can be staticNoel Grandin2014-11-252-2/+2
| | | | | | | | | found by PMD Change-Id: I2b48f35d252d6e914c2a18a2c175b075a9d3ac0f Reviewed-on: https://gerrit.libreoffice.org/13099 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* check internal and external sheet references in both modesEike Rathke2014-11-251-9/+38
| | | | | | | Actually fdo#77018 is not "fixed", but is a case for UpdateReferenceOnSort=true now. Change-Id: Ibc92c0a95749089c79787e38898bfe77fe30fb0f
* check that the fdo#79441 case works in both update references modesEike Rathke2014-11-252-1/+13
| | | | Change-Id: I4aa997847661021af27f27e8763a89a61f185f1f
* check that sort with absolute references works in both modesEike Rathke2014-11-211-7/+20
| | | | Change-Id: I7de490377fbceb17e7d678590c46d24674bd8024
* Extend the test to cover insertion / deletion of rows.Kohei Yoshida2014-11-181-0/+39
| | | | Change-Id: I9c5f46af446f8384265d91ce5dfe269e7a090d09
* New test for testing group area listener behaviors during formula pasting.Kohei Yoshida2014-11-182-0/+69
| | | | Change-Id: Ie0c4e39e30a33ec5390c03221950d1cd01549c15
* java: make fields final where possibleNoel Grandin2014-11-185-13/+13
| | | | | | found by PMD Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec
* fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava2014-11-141-1/+1
| | | | | | | Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* calc performance testLaurent Godard2014-11-132-0/+255
| | | | | | | | | | | | | | - a plain perfcheck test example on big file - searches - named ranges - sheets - big file is approx. - 100 sheets - 60k values in a sheets - 5k named ranges - 2k formulas (calling named ranges) Change-Id: I61970f3387d400ed6737a369ead6daf896afacdc
* Fix common typos. No automatic tools. Handmade…Andrea Gelmini2014-11-124-9/+9
| | | | | | | Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* java: convert fields to local variables where possibleNoel Grandin2014-11-121-2/+1
| | | | | | | | | found by PMD Change-Id: I05b45382b8fb1b734657ce9421a20e6ef6fbe542 Reviewed-on: https://gerrit.libreoffice.org/12376 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Revert "Disable problematic sorting test that depends on the old default."Jan Holesovsky2014-11-101-5/+0
| | | | | | Not necessary after 447d523fa7c6c82476f9ee48e4b9c82cfad05c50. This reverts commit 7f86fc0b9835be4d2c3e98271b32454f8df427ec.
* Disable problematic sorting test that depends on the old default.Michael Meeks2014-11-101-0/+5
| | | | Change-Id: Ie05ff3f1ba5e42cc2ec54f23f0b6376a81221592
* fdo#85584: Adapt the unit test to the new default.Jan Holesovsky2014-11-101-0/+21
| | | | Change-Id: I7c4935040ba16378023695c74bf2a5cd75fe8a77
* Fix build.Jan Holesovsky2014-11-101-3/+2
| | | | Change-Id: I91599766e607b26d2c71006c9543a2bd952e228a
* Use SAL_N_ELEMENTSZolnai Tamás2014-11-071-1/+1
| | | | Change-Id: I3d26823a93fd0925ef5e71affd941cd51219ab9e
* Build fix: back to C++98Zolnai Tamás2014-11-071-2/+2
| | | | Change-Id: I5aa74c17f3274a130f76a25fc7bbb184b3f5c69b
* Make these tests weaker to fix build.Zolnai Tamás2014-11-071-3/+2
| | | | | | Image loss indicator is the "empty" URL. Change-Id: I0f8b037dc23bae3d7342d73cfafa4ecc55090ab6
* Make SdrGrafObj swapping methods private.Zolnai Tamás2014-11-072-15/+27
| | | | | | | | Plus remove some useless call of them. Change the tests accordingly. Change-Id: I47a50b5734d799ac02ee7221c95f82415afb9497
* Test for swapped out image loss during Calc exportZolnai Tamás2014-11-072-0/+72
| | | | | | | | | | | | Related to the bug fdo#52226. The problem was that the images were somehow swapped out but were not swapped in during export. Test the main Calc formats: ODS, XLS, XLSX, HTML. Conflicts: sc/qa/unit/subsequent_export-test.cxx Change-Id: I4835ff2960fbd11cc9750ed3da20df26cd6cbaba
* Add also parameters for the opcode subset to enableOpenCL()Tor Lillqvist2014-11-061-1/+1
| | | | | | | In CppunitTest_sc_opencl_test we want to explicitly disable subsetting and use OpenCL maximally, to match how it used to work. Change-Id: Ie900adb5fa58b7cd1111169e44efd70d8cac5256
* Removed duplicated includesAndrea Gelmini2014-10-312-2/+0
| | | | | | | Change-Id: I5362d997bfa086c9fb1726efcb15132a966684f6 Reviewed-on: https://gerrit.libreoffice.org/12160 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* fdo#85215: Write test for this.Kohei Yoshida2014-10-271-1/+33
| | | | Change-Id: I789da5d81e6211ed8f5fae1e293833bde5ce375b
* fdo#85282: Write test for this.Kohei Yoshida2014-10-272-0/+230
| | | | Change-Id: I2a0567c2872b503ceb3740127b6b58b1d1789690
* fdo#85215: Write test for this.Kohei Yoshida2014-10-262-0/+110
| | | | Change-Id: Ibe959201541ce6ad84540eba93ac9235dca91f40
* bnc#893791 XLS export: external sheet references on Linux/OSXAndras Timar2014-10-252-0/+22
| | | | | | | | | | | | | The commit solves two problems. 1. Make sure we save absolute paths on Linux/OSX 2. Make sure we don't save invalid XLS (VirtualPath longer than 255 chars) The first problem has always been there, so after a few load/save cycles an XLS with reference to other XLS on a Unix-like file system became invalid, and only LibreOffice could open it, Excel could not. These broken XLS files can be repaired by saving after this patch, however, the original reference will remain broken. Change-Id: I8f575acb1d560d539c1da61a1afdaac3f0c13977
* Remove ScToken from the formula::FormulaToken hierarchyStephan Bergmann2014-10-232-5/+5
| | | | | | | | ...to keep UBSan from complaining about illegal downcasts from FormulaToken to ScToken (which were practically harmless, given that ScToken did not add any data members). Change-Id: I8fdc026eec363442cc4b720b71d65c972b4a4446
* Make ScToken::GetSingleRef etc. return * instead of &Stephan Bergmann2014-10-232-5/+5
| | | | | | ...so that default implementations can return nullptr without further ado Change-Id: Idc8778fe868efa00b1de597a54aa07a2e6fa3bc0
* sc: remove duplicate test methods from ScTableSheetsObjMichael Stahl2014-10-211-3/+1
| | | | Change-Id: I4b0798a08f650660d1b5daaa41c7ee3618fbab3a