summaryrefslogtreecommitdiff
path: root/sc/qa
AgeCommit message (Collapse)Author
2016-05-10sc lok: set a limit for tiled column and rowHenry Castro
In the tiled rendering case, not all column and row are rendered, so it was set a limit for tiled column and row. However, when a client request to move the cursor beyond the limit, the tiled column and row is updated and they are rendered later. Change-Id: Id0de533ebf7b3c6e0343f9dc15336150729299fa Reviewed-on: https://gerrit.libreoffice.org/24777 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2016-05-07tdf#84394: add testcase and unit testGiuseppe Bilotta
The testcase for tdf#84394 is quite interesting as it exposes a lot of issues with import/export of nested objects in Calc. Add it to the repository (I happen to be the author of the test case, so I give myself permission for it) and add a unit test to validate that the previous patch fixes at least one of the issues that plague its import in LO Calc. Change-Id: I996ea0f694d78faede77fce84838d2dd0831353e Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/24296 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-05-07nuke the old ucalc perf testingMarkus Mohrhard
We now have the real perf tests and converting this test seems quite complicated as it uses a lot of private symbols. If we really need these tests again we need to write them through some exported symbols. Change-Id: Idfb568e026d63d6784400c08a82c9a7a40039e00 Reviewed-on: https://gerrit.libreoffice.org/24711 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-05-07these static vars are cargo cult copy&pasteMarkus Mohrhard
Change-Id: Iabf02c2afc156cf30841eda48f3d67b18bb1e720 Reviewed-on: https://gerrit.libreoffice.org/24710 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-05-04tdf#97831 [part] Add Excel 2016 functions to CalcWinfried Donkers
Functions MINIFS and MAXIFS Change-Id: I4bd2e8b82f8377af81f4373d0c33ac286588b8df Reviewed-on: https://gerrit.libreoffice.org/24619 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-05-04Replace namespace ScErrorCodes with formula...Kohei Yoshida
and remove that 'using namespace' statement in the header... Change-Id: I2f994af5088ce6d1ffe92c8d36285a4f6fdd2248 Reviewed-on: https://gerrit.libreoffice.org/24628 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2016-05-03tdf#97831 [part] Add Excel 2016 functions to CalcWinfried Donkers
Functions IFS and SWITCH. Change-Id: Ic43d42a933bcac883e9aa2213dd4ddeddf45abf0 Reviewed-on: https://gerrit.libreoffice.org/24424 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-05-02unit test for tdf#99417 track formula cells for BROADCAST_BROADCASTERSEike Rathke
Change-Id: I82cd43774388a426b4c7dc536952dc3f9584cf9e
2016-05-01add test for tdf#98990Markus Mohrhard
Change-Id: I0789d250aa52994948c392c1e8f06c5546defc8f Reviewed-on: https://gerrit.libreoffice.org/24546 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-30unit test for copying names not used in formulas during sheet-copyEike Rathke
... but global or local name references copied sheet, or all local names. Change-Id: I84b22f444b72b032a339d5826989ad934cc10981
2016-04-28teach stylepolice plugin about ref-counted-pointer namingNoel Grandin
Change-Id: I6e91d22fc1826038c05ddb6fc065563c6a250752 Reviewed-on: https://gerrit.libreoffice.org/24459 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-27tdf#45904 Move java XViewPane test to c++Fabio Buso
Change-Id: I3c99fb4c611a3b45d31412731c548b59e95d7179 Reviewed-on: https://gerrit.libreoffice.org/24285 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-26tdf#97831 [part] Add Excel 2016-Office 365 functions to CalcWinfried Donkers
Functions CONCAT and TEXTJOIN. Change-Id: I38092f77df719d11f6746ac10fe14dc53b7e93e7 Reviewed-on: https://gerrit.libreoffice.org/23601 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-04-26update loplugin stylepolice to check local pointers varsNoel Grandin
are actually pointer vars. Also convert from regex to normal code, so we can enable this plugin all the time. Change-Id: Ie36a25ecba61c18f99c77c77646d6459a443cbd1 Reviewed-on: https://gerrit.libreoffice.org/24391 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-22Avoid reserved identifiersStephan Bergmann
Change-Id: I782784f34975d708fdf179d098ce6654aad7a976
2016-04-21lokit: add getPartHashHenry Castro
In the tiled rendering case, the slides, no matter if it is inserted or deleted, the part names always return sequential names i.e. Slide 1, Slide 2, ..., Slide N. However the client side needs to know what slides had been deleted or inserted, so it is necessary to send the hash codes. Change-Id: I0e9caeec660c3e42dd9f751bdce7690f9ad365a1 Reviewed-on: https://gerrit.libreoffice.org/24267 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-04-21new plugin stylepoliceNoel Grandin
check for local variables which follow our member field naming convention, which is highly confusing Change-Id: Idacedf7145d09843e96a584237b385f7662eea10
2016-04-20loplugin:salbool: Automatic rewrite of sal_False/TrueStephan Bergmann
Change-Id: I9b99327d58a63dfa5c292784cefb4894ee6d7fa8
2016-04-18tdf#90290: use custom asserter for formula checkStefan Weiberg
Change-Id: Ic31d54b2929ce731a9330dca86256ac973375dfd Reviewed-on: https://gerrit.libreoffice.org/24215 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-16fix crash in perfcheckMarkus Mohrhard
Change-Id: I8e053f5f0c6994c44485f61f5b3dc489271b8c5f
2016-04-16make the test case smaller to limit runtimeMarkus Mohrhard
Change-Id: I374f33d2001f872075d2d0be1527d19f1be1175a
2016-04-16add test case for smaller MatConcat case, related tdf#88849Markus Mohrhard
Change-Id: I8faf836e87ae371a156e07ec7a5bc274ccf32efd Reviewed-on: https://gerrit.libreoffice.org/24124 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-16add missing test fileMarkus Mohrhard
Change-Id: I92c879c4efc84115556801fc9a3095ef6b876348
2016-04-15add test for tdf#88849Markus Mohrhard
Change-Id: Id72d94799e20f0b290d5d5b05fb2b351d0750178
2016-04-15fix calc perfcheck buildMarkus Mohrhard
Change-Id: Ied1ca0c9c3e2c7cd34c4d21e27a95df21ab80bf9
2016-04-15add test for tdf#72240Markus Mohrhard
Change-Id: Ia27b84094e21758286422921e2bd017f9874dc06 Reviewed-on: https://gerrit.libreoffice.org/24104 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-15add CVE-2016-0122 testCaolán McNamara
Change-Id: I065f6d7c62ffa604fc5cc3e522c991068652c8bb
2016-04-12fix broken testMarkus Mohrhard
Change-Id: I23b594f3e12a8f935e653356d4057f2913cc725f
2016-04-09add test case for tdf#96549Markus Mohrhard
Change-Id: I2df85972b92a9caf780ccacec102e6a9cdd652a6 Reviewed-on: https://gerrit.libreoffice.org/23933 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-09add test case for tdf#98554Markus Mohrhard
Change-Id: I7437a1ed8dd915411f6014bc01d4224fe5604f1d
2016-04-08unit test for replacing fragments of shared formula groups, tdf#97897Eike Rathke
Change-Id: If17b0f812c33f338e7ff5af381c1ed17b9965eba
2016-04-07add test for tdf#99093Markus Mohrhard
Change-Id: Id47abea42867f418e80a40357baa5f6435ecbdd6
2016-04-05Resolves: #i126901# CSV import: values with + or - followed by...Damjan Jovanovic
thousand separator and 3 digits (eg. +,123) are imported as a number Do not allow numbers parsed from CVS files when "Detect special numbers" is off, to contain thousand separators before digits, even if after a +/- sign (eg. -,123 or +,789). Treat these as strings instead. Also added unit tests for this. Patch by: me (cherry picked from commit 10458a24f4e6cc311e65fb80ce576fed39937be2) Change-Id: Ic946fc6a11326861f238157ddb651bc5a5b28edd
2016-03-31unit test for copying nested names during copying sheetEike Rathke
Change-Id: Id165e7e2ce229949b919424338a4938e15aaab4d
2016-03-31tdf#79787 Normal cell borders are showing dashed/dotted reopen in MSOJuergen Funk
New Mapping from LO to MS, decription in sc/qa/unit/data/README.cellborders Add a Unit-Test for testing the mapping Change-Id: I5324bf85b6299dbc63ce3c8ef479f19b0b1b3f1f Reviewed-on: https://gerrit.libreoffice.org/22665 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-03-29Bin pointless commentTor Lillqvist
The history of the file can be browsed using the version control system. Change-Id: Ibf087fb476a91bd36d5cafe62def4120ddece1a1
2016-03-29ScOpenCLTest is not a FiltersTestTor Lillqvist
Remove unneeded derivation and thus the load() function implementation too. Change-Id: If796741198fea141c0d68505893a7f70f048d515
2016-03-29Avoid running out of memory on Windows when OpenCL is availableTor Lillqvist
Call Clear() on the ScDocShellRef (derived from tools::SvRef) members of the ScOpenCLTest object in tearDown(). Otherwise the memory used by the ScDocShellRef objects in each ScOpenCLTest object would be held until when all the ScOpenCLTest objects are destroyed in the end. (CppUnit creates all the ScOpenCLTest objects in advance, then calls the test functions on them, and then destroys them.) The issue was a side-effect of the (otherwise nice) fix for tdf#89267. Change-Id: Ie5c59f2f089386c0abc135136397e1653c975fdc
2016-03-26also test that we are not still listening to the old areaMarkus Mohrhard
Change-Id: I7ad84ec75f435e3171b064eaaf60a819b09aeb02
2016-03-26add a few unit tests for conditional format reference listeningMarkus Mohrhard
Change-Id: I0609bf9033a7a2dd40afaae9effbfa06de5e4c83
2016-03-26add a few unit tests for ScFormulaListenerMarkus Mohrhard
Change-Id: Ie6c26967167a2dffa0e2047a78eb2b44b6c502f3
2016-03-25unit test for copying sheet-local names before original positionEike Rathke
Change-Id: I3a70539480b5b1d85b717fd6638359aa9ce5075a
2016-03-24unit test for copying global names to sheet-local names, tdf#75372Eike Rathke
Change-Id: Ice179cfcbb81b6455648d67e6f8aec516f7c8576
2016-03-24tdf#98657: Fix a corner case when NaN's were added to ScFullMatrix.Jan Holesovsky
Change-Id: Id3befb82c39f9caacc908d664d42365ce6996054
2016-03-24loplugin:constantparam in scNoel Grandin
Change-Id: I8608a6cb47972e9b838cc5ea431863348758ded0
2016-03-23sc - added fixed and variable array formula range perf testsMarco Cecchetti
Change-Id: If1efa2340e4ed8acca6fde08dcd422f4bd5fd531 Reviewed-on: https://gerrit.libreoffice.org/22721 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-03-23add test for new ScMatConcat codeMarkus Mohrhard
Change-Id: I084e08575e8efd27bebdd9ae9880322913789ba4 Reviewed-on: https://gerrit.libreoffice.org/23440 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-03-23loplugin:constantparam in scNoel Grandin
Change-Id: I437367b8c6960db730a69c020ba82792a9170d01
2016-03-22tdf#84938 replace #define with scoped typed_flagsJochen Nitschke
'RangeType' becomes 'Type', goes into ScRangeData and is strongly typed now. This revealed a misuse of RangeType in vbanames.cxx where the uno equivalent was expected, but it had no impact because both values were 0. Change-Id: I0b4764d1411c709a1faa243ec70afeb160410990 Reviewed-on: https://gerrit.libreoffice.org/23415 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-21unit test for copying cells within named range, tdf#93127Eike Rathke
Change-Id: I7bf6cd1c328e1d6eda5b67f05ec4870efe001b68