summaryrefslogtreecommitdiff
path: root/sc/qa
AgeCommit message (Collapse)Author
2013-06-29remove OUString wrap for string literalsThomas Arnhold
For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-27Specify type for cppunit macros.Kohei Yoshida
Change-Id: Ia639be24af7dd480fbe45530673ff01b700de324
2013-06-27No need to increment formula row positions in InsertRow().Kohei Yoshida
UpdateReference() which gets called before InsertRow() moves the formula positions. Change-Id: I6d00607a1a1b4463f69bb58610f6ba41871e4475
2013-06-27More on shared formula cell handling.Kohei Yoshida
Change-Id: Ifb0feff8c7016e3cadfa219ea6421852112ca189
2013-06-27Initial version of dynamic grouping of formula cells.Kohei Yoshida
And tests to go along with it. Change-Id: Idf5ff3b819aa557a1ae31dfb4d0b2c3a8216ed75
2013-06-25The horizontal cell iterator was *still* broken. Let's fix it again.Kohei Yoshida
And add a test for it. Change-Id: If76a67e02ac6ad5199d664850bd8591bd3032f32
2013-06-25unit test for commit:1680a8cd4f4393ec15c4f85cb63b6654117d56d1 (fdo#56960)Noel Power
expand the existing borders import check to cater for xlsx ( and testing for fine/hair border styles ) Change-Id: Ic5c3cd46e0049dbce9997f0881c4d98e0d64e00c
2013-06-24Temporarily disable failing tests. Will look into it later.Kohei Yoshida
Change-Id: Ib7585036116e8d370d6a689e4d9adae209024e6b
2013-06-24Fix a bug in "find all" search, and a test to catch it in the future.Kohei Yoshida
Change-Id: I296d2dff65da55cc86e10a78eb9c768a924fcddd
2013-06-24Turns out ScHorizontalIterator was still broken. Fix it for real.Kohei Yoshida
And a unit test to accompany the fix. Change-Id: I41e9451049d3c6ab7b3fd7904bcef3675979884c
2013-06-24Make sure to set the cloned formula cells dirty during undo / redo.Kohei Yoshida
This fixes the last failed unit test from ucalc. Change-Id: I37a79e444084397629cac77e2137377cd555a89c
2013-06-24Fix a bug in the find area position code for the upward direction.Kohei Yoshida
And a test to catch it. Change-Id: I7582b5bca5309f247b44e8cbaa29feda838e6d99
2013-06-24Switch to using multi_type_vector for cell storage.Kohei Yoshida
The old style cell storage is no more. Currently the code is buildable, but crashes during unit test. Change-Id: Ie688e22e95c7fb02b9e97b23df0fc1883a97945f
2013-06-24Turn on the perf test again. Will turn it off before merging.Kohei Yoshida
Change-Id: If93a2b7830a15a85b7c89daee462378cc244c690
2013-06-24fix borders unit test ( test values have changed )Noel Power
Change-Id: I1205eddf83781bef655abe4a1293c691bc5f1c41
2013-06-23fix the test caseMarkus Mohrhard
The old content did not make any sense. Change-Id: I1a593f88f1628db0c9b60d399909820d4dd2b3db
2013-06-16add initial version of WEBSERVICE functionMarkus Mohrhard
Change-Id: I8a835278c0d1b8f3a463aa5765b145410605aba4
2013-06-16use ASSERT_EQUAL to get better diagnostic messageMarkus Mohrhard
Change-Id: I51d92e6d7a012bb9daf5eba5f982fa4bffbba28e
2013-06-16inital work on FILTERXML functionMarkus Mohrhard
Change-Id: Ifb884a52b275df818812f8be6cd7650dcb97849d
2013-06-11Resolves: #i121120 Support RightB(), LeftB(), LenB() and MidB()Wang Lei
Patch by: Zhang Lu Review by: Wang Lei (cherry picked from commit 424079cb8348d77e40f7d3291578bdffbe662f34) Conflicts: formula/inc/formula/compiler.hrc formula/inc/formula/opcode.hxx oox/source/xls/formulabase.cxx sc/inc/helpids.h sc/util/hidother.src sc/util/makefile.mk Change-Id: Ia04aa69aa2764842507b36ba7cc8c99e99a314e9
2013-06-07add missing PageSetup.PageSize apiNoel Power
Change-Id: If52fb46f61962827acc08025617d9d61a6ab6d40
2013-06-03add test case for outline import from ODSMarkus Mohrhard
Change-Id: I60f92dd13282281d77571e41707d68ae55722d9b
2013-06-03Adjust the unit test cases to the final implementation.Kohei Yoshida
We only support grouping of formula cells in the column direction, and skipping is not supported. Let's reflect the test cases for that. Change-Id: I0229b90b7d9a2eea29d6eb2ec2b91e63d760a352
2013-06-03fix the test caseMarkus Mohrhard
Change-Id: I0d9babd043d5b9c4c198380b93e29ec3a42b3121
2013-06-03add test case for fdo#62938Markus Mohrhard
Change-Id: Ib15ff9d40b01dee2102ec6137d8b6394f7957ab8
2013-06-02use the correct order of arguments for expected and actual in calc testsMarkus Mohrhard
Change-Id: I40fc9b46d35e7046ef51c6ea92f9a1595f6d74a1
2013-06-02let us use clean test environmentsMarkus Mohrhard
The additional typing and the duplicated code benefit cleaner test execution. Test failures might be hidden by a dirty test environment or random test failures might be produced by it. Change-Id: I97283009b65facbaad82e41ae6f1258430684438
2013-06-02CPPUNIT_ASSERT_EQUAL gives a more helpful error messageMarkus Mohrhard
Change-Id: Ic7bc7d0298e6983e377b55f0362f34983de3df7a
2013-05-29add some tests for worksheet_change ( when excited by various range changes )Noel Power
Change-Id: I0399a9557170de7d45f0fffbcb2c00a8f084010b
2013-05-27add initial test case for DIF importMarkus Mohrhard
Change-Id: I52634a8d31f580ac5565d615c872a575c6dc81c0
2013-05-22Disable Calc perf test by default & output both pseudo-cycles and real time.Kohei Yoshida
Change-Id: I35120e576208640976cdda0a5628e355bbe2dc7c
2013-05-22Use the block position of the destination, not of the source.Kohei Yoshida
And a test to catch this. Change-Id: Ia73be239b4be96cbe029390efbbec5f49e429652
2013-05-21Adjust a bit.Kohei Yoshida
Change-Id: I74be2d40d9eb92813836a35892f461fe27b79aeb
2013-05-21Hopefully this will disable testPerf for Windows too... Untested.Kohei Yoshida
Change-Id: I6d06b8e2b3cdb22948e606a7d928c57ea9347cea
2013-05-21Disable the perf test for dbgutil build.Kohei Yoshida
Change-Id: Ifd95ea4f88175b9010f93a4a064be5d908b2a224
2013-05-21make calc tests use some sort of pseudo-cycle measurementMichael Meeks
Change-Id: I9f58a7b00a6e4441c08254ef99829fab805beef8
2013-05-20Test performance of pasting of formula cells as well.Kohei Yoshida
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 Yoshida
Change-Id: Ia03af65dc1daf13e1228cacc20ce931839305ab8
2013-05-20A bit cleaner way to measure time segment.Kohei Yoshida
Change-Id: I999baaa3acba5513a148542fa28f7ae43dd7ee4f
2013-05-20Make these stack variables & fix one memory leak with the undo object.Kohei Yoshida
Change-Id: I1dd2bf0fc843394502119928c921913131c86f7e
2013-05-20Add performance test for repeat-pasting cell to a large cell range.Kohei Yoshida
Change-Id: I98dcdb1e0a72f2c3ad6f33c7b6b7d4a4bcf89096
2013-05-20Add perf test for removal of large array of formula cells.Kohei Yoshida
Change-Id: I2fdf38b23e74a9f4cad7abd9a943e8817f39474c
2013-05-20Unit test for range deletion of broadcasters.Kohei Yoshida
Change-Id: I615c9f9e95a44149c8079754e9aa6497f34c76cf
2013-05-20First (?) performance regression unit test against clearing of a sheet.Kohei Yoshida
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-15make some vba Name object attributes read/write and add test documentNoel Power
Change-Id: Ibd12835cc5368080a302b3b8d7c6f52ccc434e3c
2013-05-13fix Workbooks.xls unit test ( was failing on windows )Noel Power
Change-Id: Id1e3a761765c1e860f611f40a78a6c24fa17d055
2013-05-10resolved fdo#35756 import more than 64k HTML table cellsEike Rathke
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-10temporarily disable unit test that fails on windowsNoel Power
Change-Id: Id3cc26b6fbb1ec0ddacf7228e1c147085db415e1
2013-05-09Test more broadcaster relocation scenarios.Kohei Yoshida
Change-Id: Ib34b86cfe6b96134dadf5f8da6dcd14ec0adb9d6
2013-05-09The same thing applies in reverse direction.Kohei Yoshida
Change-Id: I3f5863d79ad948461d63dbc9addc8ca01e1b275e