summaryrefslogtreecommitdiff
path: root/sc/qa/unit
AgeCommit message (Collapse)Author
2013-01-11Let's remove this underused bAlive flag....Kohei Yoshida
It's no longer that useful in today's pivot table design. Change-Id: I665a7707126793dfde17a2221ba563d22a59aad1
2013-01-12at least use correct test data ...Eike Rathke
Change-Id: Icb5bb61108f6bb674016ce044ecbe6a366b4f9c6
2013-01-12make this compile with a not so recent code baseEike Rathke
Change-Id: I9b3f8ca9c5af326735ff9c95359e6a0917d6898b
2013-01-11Actually call testFuncIFERRORStephan Bergmann
TODO: Commented out for now the tests that currently fail. (Also improved the code by calling CPPUNIT_ASSERT_EQUAL_MESSAGE.) Change-Id: I726089ad046b97ce64fd655269b2be652e78efe9
2013-01-11fdo#56124 changes to "add functions IFERROR and IFNA"Eike Rathke
* reimplemented actual ScIfError() function for matrix cases and simpler pop/push of non-error values * various smaller adaptions, see also inline comments of https://gerrit.libreoffice.org/1522 Change-Id: I80a8235a2cbb548c0ef993862e76741af46e30d2
2013-01-11fdo#56124 add functions IFERROR and IFNA to calc as in ODFF1.2Winfried Donkers
Change-Id: I6403b51ac8c710ad3b8d2625e1482971f50e6b1d
2013-01-09re-apply calc /tmp unit test file leakage.Michael Meeks
2013-01-09Revert "fix a few /tmp file leaks"Miklos Vajna
This reverts commit 92045e69dab8be60a1c84774f04c437066c3c2bf. Broke a unit test and made all tinderboxes red. Requested-by: Stephan Bergmann <sbergman@redhat.com>
2013-01-08fix a few /tmp file leaksMichael Meeks
Thanks to Jean-Baptiste Faure for digging for these.
2013-01-08Add new ods import test for rich-text cell contents.Kohei Yoshida
Change-Id: I23eb8d53b8a2c48514900a5ab07ed7ec71d3ef99
2013-01-07Adjusted all test methods for loadDoc.Kohei Yoshida
There was already a method that did the same thing (loadDoc). Let's stick with loadDoc instead. Also took advantage of automatic literal to OUString conversion while I was at it. Change-Id: I184f6278dd4bf8e3f2f7e5eda1e5e293303df68c
2013-01-07Remove duplicated code blocks.Kohei Yoshida
Change-Id: I332a39fe86fee385bcd2cce33fe2096043111472 TODO: Do this in the other tests as well.
2013-01-07Append ODS to the test method name.Kohei Yoshida
Change-Id: I024d142b59ccceed944d641b6306f47dcf03ef9d
2013-01-07New test for pivot table with field references.Kohei Yoshida
Change-Id: I65d932d6c258b965a6084acb07298387b7274215
2013-01-05enable the unit testMarkus Mohrhard
2013-01-04add unit test for dependency tree during ods importMarkus Mohrhard
Change-Id: I92bff38304959237042b9a0078be25948d642b25
2013-01-04New ods test document to check the import of row height values.Kohei Yoshida
Test disabled as it currently fails. Change-Id: I33ea3c95357fd7fdb9deaba30372567cfb69ebd6
2013-01-02fdo#58539: Resizing matrix should also resize the flag storage too.Kohei Yoshida
Or else resizing and then putting empty elements may crash. The flag storage is used only for empty elements. Change-Id: I1ada8f795a01336af185e6180bc03247c44472ba
2013-01-02fdo#56278: Write a unit test for this.Kohei Yoshida
The reported bug description was very concise and unit-testable. We should turn it into a real test. Change-Id: I7383316e8fcf799a59b1c32a1722fd4b6b224d1c
2012-12-26fix operator lookup with clangLuboš Luňák
I'm not sure if this is clang being more strict or buggy, probably the latter. Change-Id: I900ba2cd2b1d4c23e41e4787be4263954ce8b4c0
2012-12-26add a unit test for new method in ScRangeListMarkus Mohrhard
Change-Id: Id27973cc82c71daffec62cbaccba30777c08612b
2012-12-18fix the test for cond format exportMarkus Mohrhard
Change-Id: I01e0b3e76e39bf26d2398745bf706cfa60d5621f
2012-12-15calcishmakkica: #i90269# #i95144# #i101466# implement SUMIFS, AVERAGEIFS, ↵Marina Plakalovic
COUNTIFS Merged from Apache OO with adaptions. http://svn.apache.org/viewvc?rev=1381447&view=rev Original Apache OO committer: Andrew Rist <arist@apache.org> Original Author: Marina Plakalovic <makkica@openoffice.org> Original Committer: Eike Rathke [er] <eike.rathke@oracle.com> # HG changeset patch # User Eike Rathke [er] <eike.rathke@oracle.com> # Date 1288810126 -3600 # Node ID 02cf226fcde498f6fd926d45df497e9fb412fe0f # Parent 528da6bfd0daed4355d745590d5ac3a319b08fb4 Change-Id: I08754653cd2ff20536ad3e9f260f747cb127ccdd
2012-12-15changes to "calcishmakkica: #i101466# implement AVERAGEIF"Eike Rathke
changes to commit bcf8581d3dbbfbc4d3e507371691378d8cab050a * adapted IterateParametersIf() to current ScSumIf() code * added AVERAGEIF to unit test * moved ocAverageIf to proper position in parclass.cxx Change-Id: I51c793570cea9c75faa9be13abd91e8df3b5fd5a
2012-12-14bnc#791706: Support multiple selection in page fields.Kohei Yoshida
This change allows selecting multiple items in page field popups in pivot table. Change-Id: I692e13c0815211bac6da47fefd83bba18c901c5c
2012-12-11fdo#58149: Recalculate HYPERLINK formula cells on load.Kohei Yoshida
The current implementation of HYPERLINK relies on its result being 1x2 matrix while only the first element is displayed visibly. The second element stores the URL which is only used when querying for the URL (tooltip or launch URL event). Starting with 4.0 we load cached formula results to avoid full recalculation on load. That unfortuntely ended up breaking the HYPERLINK because the result was a simple string value rather than a matrix; hence the need to recalculate it on load. But unlike volatile formula cells, cells with HYPERLINK don't need to be recalculated on every cell input change; only once when the file is loaded. P.S. This commit also reverses the logic of bNoProgressBar flag for CalcFormulaTree(), to make it easier for human brain to process what it means. Change-Id: I7a24d96d225910b88071a8fe6320f59bf7a47163
2012-12-05fdo#57497: Remove group table data when all group dimensions are gone.Kohei Yoshida
Otherwise ungrouping date grouped dimension may crash, or produce incorrect results. Change-Id: I3634e3c0bf8336fc1221f5d234cb7e01eb1f07c6
2012-12-04Fix the testPasswordExport test.Kohei Yoshida
Change-Id: I9ef9be5d31a08813db9ecfed8eeb0ba8579309e9
2012-12-04Remove duplicate code blocks.Kohei Yoshida
Change-Id: If44f44ad076313ab67968fd70f244d781356028d
2012-12-04More adjustment of file load code in the unit test.Kohei Yoshida
And remove the try catch block, which shouldn't really be necessary there. Change-Id: I91db12203332b31b208b107db810c33705a57f0b
2012-12-04Disable user interaction here too, to prevent dialog launches.Kohei Yoshida
Change-Id: I6b193ddf7e03dd6706326e9fe8a523423435812f
2012-12-04Ask the user if she wants to do full recalc on load, for ods and xlsx import.Kohei Yoshida
But allow it to be disabled for filters tests as well as external document loading. Change-Id: I5b8533532c6be8b7c2cfcbe15faf780d621aec65
2012-11-20Enforce use of accessors on gen.hxx structuresMatteo Casalin
Change-Id: Icd1b2937fdeaba6de1877258731f53ddf996002e Reviewed-on: https://gerrit.libreoffice.org/936 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-11-19database names are case insensitive, fdo#51309Mathieu D
Change-Id: Iac9ac4e48115ea09aeffa11bbd8da399266aede9
2012-11-12add test for EDB-22591Caolán McNamara
Change-Id: I58b22ab27de3069ae10f68ab0e844a439e6049ce
2012-11-10make handling of doubles in sc tests easierMarkus Mohrhard
Change-Id: Ifc8def986f7d1659d71be7b4716bd9ab5fa4647e
2012-11-09add initial xlsx cond format export testMarkus Mohrhard
Change-Id: Ie2c55af903ef0fdf21444ee1f59d25382648d9fa
2012-11-09make the eport test easier to useMarkus Mohrhard
Change-Id: I10a524c49169611e2bf2e34988667e46474e17a8
2012-11-08New unit test to ensure correct matrix creation.Kohei Yoshida
See fdo#56829 for what inspired this test case. Change-Id: Iee15d85a35ae96769d21ce7061b352860a5b587b
2012-11-08New unit test for pivot table's handling of double-precision values.Kohei Yoshida
Note: This test passes just fine on master. On the 3-6 branch the test itself also passes fine, *but* when re-creating the same scenario from the UI, it fails only with the 3.6 build. I have no idea why. This test is modeled after fdo#54898. Change-Id: I32eb9b2f2bdc12ef801daf0ccb9a3db2d5efd8d6
2012-11-03this should not have been commitedMarkus Mohrhard
Change-Id: Ida651d386379e7f43cadce3a2fe8c6d99fd41c5e
2012-11-03add an import test for the new cond formatsMarkus Mohrhard
Change-Id: I2c25604df183ce27845f9e01bb27ab92fc8ffbec
2012-11-03be more forgiving for empty cells in tests with csv filesMarkus Mohrhard
Change-Id: I69f66cc580da0aab79e7df15ad5201624ce0f9f2
2012-11-02More test cases for cell notes that currently fail.Kohei Yoshida
Change-Id: I23a5a39ab13106a27a02adbec0ff1ab64a43abef
2012-11-02Added comment for the note test code & added test for new scenario.Kohei Yoshida
The new test currently fails due to bug. Change-Id: I447f43039f32c33eb55c182515e826a8250d7525
2012-11-02A little more check won't hurt...Kohei Yoshida
Change-Id: I1cd3fb194b78eb11cb91b7779cab32a461046d9f
2012-11-01New unit test for shifting cells.Kohei Yoshida
Change-Id: Ic004490ffaf1da5cdb43f0a1336437eb312813bf
2012-11-01No more "increase / decrease of recalc level" for drawing objects.Kohei Yoshida
That scheme made it extremely hard to determine when the object's positions get recalculated. It's better to figure out when to recalc drawing objects' positions, and call SetDrawPageSize() manually at that point (and only once!) Change-Id: I05d9b693cfc9310f5472ed8287c7a2e36646f4d7
2012-11-01Unit test for cache filtering, to secure the recent bug fix I did.Kohei Yoshida
Change-Id: Ie5068b45520b6c82af41062d97ec65d006b4b3ba
2012-11-01another some more regression testsCaolán McNamara
Change-Id: Ic13269fcf55b4e51a8124da6d2de75fb5bec23e0