summaryrefslogtreecommitdiff
path: root/sc/qa/unit
AgeCommit message (Collapse)AuthorFilesLines
2013-07-24fdo#67206: Don't forget to swap the broadcaster storage when swapping columns.Kohei Yoshida1-8/+44
And a new unit test case to catch this in the future. Change-Id: Ife7d0579849a769c23ace8bfd86a39892253a121 Reviewed-on: https://gerrit.libreoffice.org/5070 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-07-03temporarily disable tests known to failChristian Lohmaier1-2/+2
Change-Id: I95c3c1af64b7d8b499c085c345b26d2df7e31965 Reviewed-on: https://gerrit.libreoffice.org/4700 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-06-28we don't need this hack without inherited number formats, fdo#66076Markus Mohrhard1-1/+1
Change-Id: If315ce28a4182019002141c7330475e0843f9a40 (cherry picked from commit 3f0b5770790dfcb408d169df1265546d6e8e3ece) Reviewed-on: https://gerrit.libreoffice.org/4593 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-28unit test for commit:1680a8cd4f4393ec15c4f85cb63b6654117d56d1 (fdo#56960)Noel Power3-3/+22
expand the existing borders import check to cater for xlsx ( and testing for fine/hair border styles ) Change-Id: Ic5c3cd46e0049dbce9997f0881c4d98e0d64e00c (cherry picked from commit 69dcacedaccd1d698a54eed615ee8739747bc975) Reviewed-on: https://gerrit.libreoffice.org/4503 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-28fix hair & fine cell border export ( followon fix fdo#56960 )Noel Power1-3/+3
1) align excel binary and oox import filter border thickness values 2) use new fine-dash border style 3) detect & determine hair vrs fine borderline on export also squashed relevant part of commit ee51444ed1f7003dafc93c8181b5f8c1b0fd165b ( fix borders unit test ( test values have changed ) ) Change-Id: Ieb024bc6f4bfc87c525082c7b9a1f3c444f5c5ca (cherry picked from commit 1680a8cd4f4393ec15c4f85cb63b6654117d56d1) Reviewed-on: https://gerrit.libreoffice.org/4493 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-05-22Disable Calc perf test by default & output both pseudo-cycles and real time.Kohei Yoshida1-47/+39
Change-Id: I35120e576208640976cdda0a5628e355bbe2dc7c (cherry picked from commit 4fa7a0ce8131106a038ba441bcc230d0377690ac)
2013-05-22Use the block position of the destination, not of the source.Kohei Yoshida1-0/+1
And a test to catch this. Change-Id: Ia73be239b4be96cbe029390efbbec5f49e429652 (cherry picked from commit 6958b6a3ce9f28bed2a529939e7740452929a5b3)
2013-05-22Adjust a bit.Kohei Yoshida1-1/+1
Change-Id: I74be2d40d9eb92813836a35892f461fe27b79aeb (cherry picked from commit 563f15a609f5c637cd73d831830a68bdb61fb4d8)
2013-05-22Hopefully this will disable testPerf for Windows too... Untested.Kohei Yoshida1-1/+1
Change-Id: I6d06b8e2b3cdb22948e606a7d928c57ea9347cea (cherry picked from commit 80648e06cac011c01e624cba91ce71fdf431e78a)
2013-05-22Disable the perf test for dbgutil build.Kohei Yoshida1-0/+2
Change-Id: Ifd95ea4f88175b9010f93a4a064be5d908b2a224 (cherry picked from commit df4d6b134bfe45e380416f0d9eecb482843e8a47)
2013-05-22make calc tests use some sort of pseudo-cycle measurementMichael Meeks1-79/+71
Change-Id: I9f58a7b00a6e4441c08254ef99829fab805beef8 (cherry picked from commit 7141c7517db5bbb9814308aa4c68bc95beb4de8c)
2013-05-20Test performance of pasting of formula cells as well.Kohei Yoshida1-0/+94
Undo and redo of this are still a bit slow. Not fast enough to be reliably tested. Change-Id: I0e0b4c16e55bae60f8d7b1db71347a93eb977de8
2013-05-20Another performance scenario. Pasting of cells interspersed with empty ones.Kohei Yoshida1-0/+92
Change-Id: Ia03af65dc1daf13e1228cacc20ce931839305ab8
2013-05-20A bit cleaner way to measure time segment.Kohei Yoshida1-21/+40
Change-Id: I999baaa3acba5513a148542fa28f7ae43dd7ee4f
2013-05-20Make these stack variables & fix one memory leak with the undo object.Kohei Yoshida1-9/+6
Change-Id: I1dd2bf0fc843394502119928c921913131c86f7e
2013-05-20Add performance test for repeat-pasting cell to a large cell range.Kohei Yoshida1-0/+80
Change-Id: I98dcdb1e0a72f2c3ad6f33c7b6b7d4a4bcf89096
2013-05-20Add perf test for removal of large array of formula cells.Kohei Yoshida1-1/+26
Change-Id: I2fdf38b23e74a9f4cad7abd9a943e8817f39474c
2013-05-20Unit test for range deletion of broadcasters.Kohei Yoshida1-6/+30
Change-Id: I615c9f9e95a44149c8079754e9aa6497f34c76cf
2013-05-20First (?) performance regression unit test against clearing of a sheet.Kohei Yoshida1-0/+52
I screwed this up earlier which made this operation take almost 50 seconds to complete. It should finish in 0.00001 seconds or less. The test checks against 1 second, which should be enough of a buffer for slower machines. Change-Id: I9923033045111c75a0740b6bb30a518fe93e01d2
2013-05-10resolved fdo#35756 import more than 64k HTML table cellsEike Rathke1-7/+7
Enhanced EditEngine to be able to hold more than 64k paragraphs. Used also in RTF import Calc and Writer, so that could benefit as well. * changed all EditEngine,Outliner,... related paragraph index/count variables from sal_uInt16 to sal_Int32 * sal_Int32 instead of sal_uInt32 to match accessibility API * matched some Outliner methods' paragraph parameters from sal_uLong to sal_Int32 * containers capable to hold size_t nevertheless are limited to a maximum of sal_Int32 * changed definition of EE_PARA_NOT_FOUND and EE_PARA_ALL to SAL_MAX_INT32 + added EE_PARA_MAX_COUNT and EE_TEXTPOS_MAX_COUNT to initialize ESelection with what previously were hard coded 0xFFFF all over the place + for similar reason added EE_TEXTPOS_ALL corresponding to EE_PARA_ALL to initialize an ESelection spanning all available text like aSel(0,0,EE_PARA_ALL,EE_TEXTPOS_ALL) Change-Id: I62d1b9c399cd709a4f93dbac31b219a61c46ec00 Reviewed-on: https://gerrit.libreoffice.org/3838 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-05-09Test more broadcaster relocation scenarios.Kohei Yoshida1-4/+75
Change-Id: Ib34b86cfe6b96134dadf5f8da6dcd14ec0adb9d6
2013-05-09The same thing applies in reverse direction.Kohei Yoshida1-2/+7
Change-Id: I3f5863d79ad948461d63dbc9addc8ca01e1b275e
2013-05-09Fix another broadcaster bug and a test code to catch it.Kohei Yoshida1-0/+13
Broadcasters are now independent of cell storage. We need to move them even when the cell array is empty. Change-Id: Ib26e544ad6e3842fa722d989c994c19d7c1b3005
2013-05-09Test to ensure that removing a listening formula cell remove the broadcaster.Kohei Yoshida1-0/+8
Change-Id: Iae816c68ffed30fda0115ac0f5ac2800ceed5e58
2013-05-09More test and more fix wrt broadcaster rework.Kohei Yoshida1-13/+81
Much of the fix went into mdds actually. Change-Id: Ia27b0bde31081a5a28fb4afb80960777bd4fdd4f
2013-05-09Start writing unit test for broadcaster storage. Found & fixed one bug.Kohei Yoshida1-0/+52
Change-Id: Ibc00f3fb4eb188b036b4f3ae70e45cb9c7385fe8
2013-05-03Additional unit test for sorting.Kohei Yoshida1-14/+65
Change-Id: Ic7834a07341cee2b2fdcff3ae0707755e5500347
2013-04-30Unit test for the earlier reference toggling bug.Kohei Yoshida1-0/+27
Change-Id: If9c05add57c87f56e8514cee75b89e09c74277f5
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks6-142/+24
2013-04-13Get cppunit in sc to link with orcus-parser.Kohei Yoshida1-0/+1
Change-Id: I1f53a4f4b9beee501e29149ed88e3ce5d63d9a3c
2013-04-08fdo#62116: Be sure to convert relative URLs into absolute ones.Kohei Yoshida2-0/+10
Just to preserve the old (and correct) behavior. Change-Id: I229e0b80097f6d70ff3023072b52576815010b15
2013-04-08fdo#62116: Unit test for the fix.Kohei Yoshida2-0/+26
For now, we'll only check whether or not those field items with formats get imported at all. We should add additional checks for their formats later. Change-Id: I5a8f01a6e2594b8c97183a43fc4f3417df6fb561
2013-04-08fdo#62116: Handle field objects with formats correctly.Kohei Yoshida1-0/+0
Field objects can have formats applied to them, and when they do, they appear inside a <text:span> element. Change-Id: I7b4346389f393a4ddf708670b2c524a6594128b5
2013-04-08fdo#62116: Add failing cell content to the test file.Kohei Yoshida1-0/+0
Change-Id: I8139c5b65f5953ad62047ee87f298b68141086b1
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák4-28/+26
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-03-28Move ScFormulaCell into its own header source files: formulacell.?xx.Kohei Yoshida2-2/+2
Change-Id: I65f2cb12c06784b5bcf6c6a2fad773825b6c409c
2013-03-28More on replacing ScBaseCell.Kohei Yoshida1-10/+11
Change-Id: I2a512d0421ddac5bf92ad128ea2dde5772f854dd
2013-03-27More ScBaseCell reduction...Kohei Yoshida1-2/+4
Change-Id: I3a9f9ce79de7117e7b1410c45b217e5bfe005db7
2013-03-26add inital test case for fdo#62206Markus Mohrhard1-0/+29
Change-Id: I0a88f4cbd70f5acf84b9c1c6704ac0be92b79c5b
2013-03-25a few more cases where we should close the doc after the testMarkus Mohrhard1-0/+8
Change-Id: I46b00d62d604ecc80f079cf91671de3c07a1b589
2013-03-24close documents at the end of the testMarkus Mohrhard2-0/+15
Change-Id: Ic0b60a2420c82f431c5790483e922ed2164f09fb
2013-03-24use ASSERT_DOUBLES_EQUAL instead of CPPUNIT_ASSERT_DOUBLES_EQUAL in calcMarkus Mohrhard1-2/+2
Change-Id: I55979aec2ab0140190f58f96ed108e8dd1e3a051
2013-03-23add ODS test for above/below cond format rulesMarkus Mohrhard3-0/+34
Change-Id: I6ce6292a490ef39c111aa7f4c0a5ada0d45c16bc
2013-03-23fix spelling errorMarkus Mohrhard1-1/+1
Change-Id: I700f25f16ab77212c1f3fdc4be1eb24f4c614c30
2013-03-22Add convenience methods to set maximum text input and numeric input modes.Kohei Yoshida1-3/+1
And remove one use of ScDocument::PutCell(). Change-Id: Iaa3c115794894964cb7c9f809235cdb7669be094
2013-03-22More on reducing the ScBaseCell usage. That's it for today.Kohei Yoshida1-1/+1
Change-Id: Ie35681e62a4ebcd792fd2f4dd62b5c4b8e4db49c
2013-03-22add databar export testMarkus Mohrhard3-44/+70
Change-Id: I0770d20911307ddd9426417314bebbe569660b14
2013-03-22add export test for color scalesMarkus Mohrhard3-101/+151
Change-Id: I68ff1309c2769866c0821f7857f13103b8752cb5
2013-03-22move the include statement to the correct header fileMarkus Mohrhard2-3/+1
Change-Id: Ibed6ec565588dedb991037297c418e1a76235dbb
2013-03-22remove two unused test filesMarkus Mohrhard2-0/+0
Change-Id: If7d4167424f5a80733bed9f58e488e6a2a44d12d