summaryrefslogtreecommitdiff
path: root/sc/qa
AgeCommit message (Collapse)Author
2013-10-18Initial attempt to speed up matrix comparison.Kohei Yoshida
And move the value compare code to somewhere public. I'll be using it from the ScMatrix internal. This change requires mdds 0.9.1 which is yet to be released. Change-Id: I942133c85b614b3404006fa38af111ace9361fd4
2013-10-18Add helper functions for unit test & add new test that currently fails.Kohei Yoshida
Change-Id: I503fc26ccc0f117c626e78a8a1dd07ff32a06432
2013-10-18Write a new test case for fetching vector ref array.Kohei Yoshida
This currently fails rightly. Change-Id: Ic4d8d3d720b2ee879f963d1871dd8779461f352f
2013-10-18fdo#70000 add support for COVARIANCE.P and COVARIANCE.S functionsWinfried Donkers
These functions have been introduced with Excel 2010, but were not supported yet in calc. COVARIANCE.P (population) replaces the COVAR function, but the COVAR function remains present (in Excel as well as in calc). COVARIANCE.S (sample) is a new function. Change-Id: If5501b4090fb716adfb3d121c7898528fd1b7ad4 Reviewed-on: https://gerrit.libreoffice.org/6135 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-10-18convert remaining String in SC to OUStringNoel Grandin
Change-Id: I3ee8c3b59bf9d6ef6516f1da64cbe5f0b35af2d0
2013-10-11Use OUString & a bit more fine-grained unit test error messages.Kohei Yoshida
Change-Id: I6d9ce2afd97d6011eaa93855c49f3d7071db0159
2013-10-08No more getIdentifier*() calls because they are not efficient.Kohei Yoshida
They shall never be used. Change-Id: I019c88b1511a67175d782777cd41e0ec0434f497
2013-10-08Rename GetCellStringPool() to GetSharedStringPool().Kohei Yoshida
Change-Id: I99d373f7887424bb103cff60d53f5cd8ce337ef7
2013-10-08Store svl::SharedString in document cell storage instead of OUString.Kohei Yoshida
With this, both ScColumn and ScMatrix store svl::SharedString as their string values, instead of OUString. Change-Id: I3faece94d98f774881fd72b3ed5f6143504cd350
2013-10-07CID#708773 silence coverity side-effect in assertCaolán McNamara
Change-Id: I7045932e57c7f4e8cdef73fc37ff8de9e7ae9c58
2013-10-07Integer type mismatchStephan Bergmann
Change-Id: Ib49f058b05bc6fdd959c979c3de3c8def739c453
2013-10-06Improve CPPUNIT_ASSERTsStephan Bergmann
Change-Id: I69599405b4fd6f3db8ec4d370fca84cd0febadb3
2013-10-04Rename StringPool to SharedStringPool because that's what it is.Kohei Yoshida
Change-Id: I2fc3ce4f0c2291d402cb470346d5561373fb51e7
2013-10-04Test comparison between simple and rich-text string values.Kohei Yoshida
Change-Id: Icdb9a81b1be80b058b71c23b3fcb58a5e8970e21
2013-10-04Add methods to turn cell strings into numeric IDs for comparison.Kohei Yoshida
Both in case sensitive and case insensitive comparisons. Change-Id: I356a655273f0f37157810c86e1cf3f87ea2afa09
2013-10-02WaE: unused variableTor Lillqvist
Change-Id: I63b2d8fe755e95578722d928d7f076d83cb7e216
2013-10-02Resolves: rhbz#1013844 fdo#47482 encrypted OOo 1.0 docs cannot be reopenedCaolán McNamara
Workaround for the encrypted OpenOffice.org 1.0 documents generated by Libreoffice <= 3.6 with the new encryption format and using SHA256, but missing a specified startkey of SHA256 Change-Id: Ib1acc4441b5adc6721cb3cde7a1191aa978e9a1b
2013-09-27fdo#69450 - IDF_ATTRIB & IDF_CONTENTS must be disjoint.Michael Meeks
Change-Id: Ib971824a7f274334012b872acec65310535ad767
2013-09-27add a unit test for fdo#66646Markus Mohrhard
Change-Id: I15bef4e0422261ec473263ac8fc239604146f864
2013-09-27add test case for fdo#69720Markus Mohrhard
Change-Id: Ib89a596f0e28cacc9ae180d23b9995e524c45b52
2013-09-27Add a new import filter test case for data table from xls.Kohei Yoshida
Data Table is in Data -> Table in Excel XP, and is under "What-if Analysis" in 2007 and newer. Change-Id: Iec1f944a8643bafb71341981bf94c6c536c63484
2013-09-26typo fixes in commentsAndras Timar
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-23fdo#69536 - Moved Averageif(s)Joel Madero
Moved averageif and averageifs to statistical category instead of mathematical Change-Id: Ibcf7f5a5e12b528c4877232e4c56d5167b1df40a Reviewed-on: https://gerrit.libreoffice.org/6010 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-09-23fdo#69685 - move count functionsJoel Madero
Moved Count functions (countif, countifs and countblank to statistical instead of mathematical group) Change-Id: If8faeabb8f43810a96d919b59116157ae107c12c Reviewed-on: https://gerrit.libreoffice.org/6022 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-09-18Disable all features that rely on orcus.Kohei Yoshida
Change-Id: I6dcf91491497cd9d3662adaeceb73b4b544a56c9
2013-09-12Change so that we won't have to include mtvelements.hxx in cellvalue.hxx.Kohei Yoshida
Because mtvelements.hxx is very slow to parse by the compiler, and cellvalue.hxx is included everywhere. Hopefully this will speed up the compilation time of sc... Change-Id: Ic9a9b8483c8325e4a91021f071f2391db8b57806
2013-09-07Fix incorrect reference update on shared formulas.Kohei Yoshida
The start position of a shared formula group is used to prevent non-top cells of the group from being updated. Updating it at the top cell may cause non-top cells to perform reference update which they never should. Change-Id: I4f067d4d717b756fc89cb823f3ce3e630dac756e
2013-09-05sc: fix exports of scqahelper libraryMichael Stahl
Change-Id: I36d853e9f98ee5ed15d086f6b0fcec5bf3f6f54b
2013-09-05add disabled test for Excel 2003 XML importMarkus Mohrhard
Change-Id: I5c6ff3a79357ce37b220bd7cad64a3783bc7dc55
2013-09-05add test case for fdo#67783Markus Mohrhard
Change-Id: I3a8f99e00e12a6120a284afabbf51e6fbb36195b
2013-09-05extract the calc data structure printers for cppunit equal macrosMarkus Mohrhard
Change-Id: I9bb1311f5c4688f66c3eb3f85da599686c95e87a
2013-09-05add test cases for new ScRangeList methodsMarkus Mohrhard
Change-Id: Ia17d1eb26ac6ebc54d085ade8edabcaff442de5c
2013-09-04calc export test on cell values, strings & formulasLaurent Godard
Change-Id: I5e55da683423a461638b2235e25d5556fd77221a Reviewed-on: https://gerrit.libreoffice.org/5698 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-08-30-Werror,-Wunused-variable 'aRS'Eike Rathke
Change-Id: I4d8f93c0def25c65bd84871d62f6838f3faa08ef
2013-08-30Related: fdo#38838 remove UniString::ToUpperAsciiCaolán McNamara
things got a little out of hand and I ended up converting quite a bit of calc to OUString Change-Id: I056326d37ffefa8c120cb2e564d166dd9f20f216
2013-08-28Rename SectionAttribute to Section.Kohei Yoshida
It fits better this way. Change-Id: I139de7858e999a6dd26633a548c47634dfad8a65
2013-08-26Add more test cases for rich text cell export to ODS.Kohei Yoshida
This currently fails due to a real bug. Change-Id: Ia8a91f0794837cae2b6c3beab656f3377f3d0f6a
2013-08-26Fix this export test. Now this test passes.Kohei Yoshida
Change-Id: Ia3d11c6fb29c7938e0d8f6e25636da5d22b4a8c8
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-20Add edit text iterator that iterates through only edit text cells.Kohei Yoshida
Change-Id: I898d7a2d3f0ea472daddb9dd32f772a5d7268773
2013-08-14Avoid wholesale rebuilding of formula groups at re-calc time.Kohei Yoshida
And do it once when importing xls, xlsx, and ods documents. Although xls(x) file formats support shared formula natively, it's still beneficial to re-group it as some old xls documents limit the length of shared formula span to only 64, or some don't use shared formulas at all even though they could. And re-grouping just once is not terribly expensive. Change-Id: Iff9c605d19baa187553ddab6af8b9fbd4c366d7d
2013-08-14Do the same when inserting columns.Kohei Yoshida
Change-Id: I387ef3c2c8345bb5be75909596f59af80b966443
2013-08-13Do the same when deleting rows.Kohei Yoshida
Change-Id: Ib1deab33a8771e196d0520bae872eb0d492c913e
2013-08-13Add test for reference update on shared formulas.Kohei Yoshida
This currently (rightfully) fails. Change-Id: I254dc7042e93b257765c8ed8cdb9904966afd77e
2013-08-12Handle shared token array correctly when adjusting formula grouping.Kohei Yoshida
Change-Id: Ib4b141f415b36565106e946ccbc47f2b9f80d89c
2013-08-12Map shared formula from xls to formula groups, and share the tokens as well.Kohei Yoshida
No more mapping to range names. Change-Id: Ic43b6ef35a91fe4d6fff748ebc22969ba4e036db
2013-08-03minor tweaks to existing unittestsLionel Elie Mamane
Change-Id: I64769fee917c5d8c6450a19ad53fdf795e280c98
2013-08-02Add a test that currently fails. We need to fix this bug.Kohei Yoshida
Conflicts: sc/qa/unit/subsequent_export-test.cxx Change-Id: Ie09c668d952a6297ffe3c75e348c2a0348176bbe
2013-08-02Ensure that we import a value of 0 correctly.Kohei Yoshida
Change-Id: I1ada3cf4a162bc4a85ce4e6d2cd0c13adf3156e6
2013-08-01fdo#67489: Add test for this.Kohei Yoshida
The master branch doesn't have this bug, but it's good to have a test case for this. Change-Id: I986d51bb78effc829f01f40b9ad63647f5341fa9