summaryrefslogtreecommitdiff
path: root/sc/qa/unit/subsequent_filters-test.cxx
AgeCommit message (Collapse)AuthorFilesLines
2014-01-29fdo#73487, fdo#73886: Overhaul cell borders to make them look sane.Kohei Yoshida1-2/+2
Change-Id: Ie563f272b60ec8b6b8a4ff0df7256902997610c1 Reviewed-on: https://gerrit.libreoffice.org/7597 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-01-07fdo#72645: Case-insensitive string comparison in GETPIVOTDATA.Kohei Yoshida1-0/+19
(cherry picked from commit 17b00767948f7add229ec589c06cd8c898032ffa) Conflicts: sc/qa/unit/subsequent_filters-test.cxx Change-Id: Ibdb2b7ab2bae03875a3462816e860f58d9076457
2013-11-22more tests for new Excel 2010 functions, fdo#70798Eike Rathke1-13/+94
Change-Id: If996e57a616adfb21f09463ac305e64c4e2fa4cc (cherry picked from commit 52999789258aa7cfde8d01ff7e8a03a0f53278db)
2013-11-14added import test for CONFIDENCE.NORM and CONFIDENCE.T, fdo#71350Eike Rathke1-1/+4
Change-Id: Id564e201fab17cccaa6b3e9c4353f9f7719345f9
2013-11-14typoEike Rathke1-6/+6
Change-Id: I407cf45bde2733e9a242cfb1cea9825488cbf828
2013-11-11CHISQ.DIST now supported in the core.Kohei Yoshida1-1/+2
Change-Id: I125bd593bf05db644443738ca7b1482cd6b6ce87
2013-11-11Add test for importing some of those functions new in Excel 2010.Kohei Yoshida1-0/+23
Change-Id: Ic3577b3ef0edcfa417ae0065499171bf770c2a32
2013-11-04Two new test cases for importing data tables from XLSX.Kohei Yoshida1-0/+87
Change-Id: I87da806612ae50fe1d64b851c5180ff1792752cb
2013-11-04Create data-table directory and move the test file into it.Kohei Yoshida1-4/+4
Change-Id: I1007525a7d2e1135f0388975f9cb7b0cef9b3142
2013-11-04Renamed test file.Kohei Yoshida1-1/+1
Change-Id: I912778f2eedb162f2a04c0a7bc8a5220ea0fca2c
2013-11-02add test case for fdo#70315Markus Mohrhard1-0/+24
Change-Id: Ia442916ae29b8531ba2ef67eb4809267aca775b4
2013-10-28add test for fdo#70275Markus Mohrhard1-3/+0
Change-Id: Ibdbb4880878f6bb40344e1c274c586cd587cf924
2013-10-28add ODS export test for formattingsMarkus Mohrhard1-123/+3
Change-Id: I62ede554994c4448c6dff8f1a9e2ecb3075fdb46
2013-10-28add test for LEFT and MID where string is shorter than requestedMarkus Mohrhard1-0/+6
Change-Id: I0946e92af47aec6277938f6f91beb7a405005496
2013-10-18convert remaining String in SC to OUStringNoel Grandin1-2/+2
Change-Id: I3ee8c3b59bf9d6ef6516f1da64cbe5f0b35af2d0
2013-10-11Use OUString & a bit more fine-grained unit test error messages.Kohei Yoshida1-13/+24
Change-Id: I6d9ce2afd97d6011eaa93855c49f3d7071db0159
2013-10-07Integer type mismatchStephan Bergmann1-1/+1
Change-Id: Ib49f058b05bc6fdd959c979c3de3c8def739c453
2013-10-06Improve CPPUNIT_ASSERTsStephan Bergmann1-43/+76
Change-Id: I69599405b4fd6f3db8ec4d370fca84cd0febadb3
2013-10-02Resolves: rhbz#1013844 fdo#47482 encrypted OOo 1.0 docs cannot be reopenedCaolán McNamara1-0/+10
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-27Add a new import filter test case for data table from xls.Kohei Yoshida1-0/+53
Data Table is in Data -> Table in Excel XP, and is under "What-if Analysis" in 2007 and newer. Change-Id: Iec1f944a8643bafb71341981bf94c6c536c63484
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák1-1/+1
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-02Ensure that we import a value of 0 correctly.Kohei Yoshida1-0/+7
Change-Id: I1ada3cf4a162bc4a85ce4e6d2cd0c13adf3156e6
2013-07-30Add test for exporting of chart to xls format.Kohei Yoshida1-44/+6
Change-Id: I49adfcabec4b8bafa8f1b25e7771acca9ccf0ead
2013-07-25resolved fdo#67249 use ScFieldEditEngine to resolve field contentEike Rathke1-0/+9
ScEditUtil::GetString() iterated over the paragraphs of an EditTextObject where GetText() does not resolve field content but returns the embedded field markers. To resolve field content an ScFieldEditEngine is needed. This makes it necessary to pass an ScDocument* to obtain the ScFieldEditEngine from, or for cases where there is no ScDocument in the context use a static ScFieldEditEngine which unfortunately is not capable of resolving document specific fields of course, such as DOCINFO_TITLE and TABLE. Also added unit test. Change-Id: Ife3c23b2fec2514b32303239d276c49869786eb5
2013-07-23unit test for <text:s> in <text:p> and <text:span>, fdo#67094Eike Rathke1-8/+49
Change-Id: I033668dcdcdcc1a5710f2ddacadf9a1a5344638e
2013-07-09Avoid declaring ScDocShell(Ref) in header.Kohei Yoshida1-0/+1
To see if this will fix the linker error with MSVC. Change-Id: I9e20c48d8b4062a6b6ee1376f161b91730393252
2013-07-09Hide this global aFileFormats. This doesn't work well with MSVC.Kohei Yoshida1-14/+14
Change-Id: I449902e0516dd9782c6e95c407cbb898dc843ced
2013-07-09Add this.Kohei Yoshida1-0/+1
Change-Id: I0bab750be43813b2f88065c2fa4df5fc7f41f56f
2013-07-09Add this.Kohei Yoshida1-0/+1
Change-Id: I722520821835be962e108d941c75effc0bfe5ac2
2013-07-09More fix for link error on windows.Kohei Yoshida1-0/+1
Change-Id: I4c419e87c3b3da1d28ff1e6aa2877c74cdbd1437
2013-07-08Create a new library to store shared qa code for sc.Kohei Yoshida1-1/+0
Change-Id: I38aa1461d05e3dee096e69b7cd95e2ddfccc9594
2013-07-03fix the inherited number format removal codeMarkus Mohrhard1-1/+1
Change-Id: Ieb17d6f8505d7a5934b9542d407be8902b4be427
2013-07-01Test loading of xls and xlsx with shared formulas.Kohei Yoshida1-37/+0
To make sure I won't break this. And I moved the xlsx version of the test from the slow check to the normal test, which gets run for the normal build target. Change-Id: Id65f79796b11c0ab039842f1c1c158e9af310757
2013-06-29remove OUString wrap for string literalsThomas Arnhold1-1/+1
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-25unit test for commit:1680a8cd4f4393ec15c4f85cb63b6654117d56d1 (fdo#56960)Noel Power1-3/+22
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 Yoshida1-3/+3
Change-Id: Ib7585036116e8d370d6a689e4d9adae209024e6b
2013-06-24fix borders unit test ( test values have changed )Noel Power1-3/+3
Change-Id: I1205eddf83781bef655abe4a1293c691bc5f1c41
2013-06-03add test case for outline import from ODSMarkus Mohrhard1-0/+56
Change-Id: I60f92dd13282281d77571e41707d68ae55722d9b
2013-06-03fix the test caseMarkus Mohrhard1-2/+2
Change-Id: I0d9babd043d5b9c4c198380b93e29ec3a42b3121
2013-06-03add test case for fdo#62938Markus Mohrhard1-0/+16
Change-Id: Ib15ff9d40b01dee2102ec6137d8b6394f7957ab8
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-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks1-24/+4
2013-04-08fdo#62116: Be sure to convert relative URLs into absolute ones.Kohei Yoshida1-0/+10
Just to preserve the old (and correct) behavior. Change-Id: I229e0b80097f6d70ff3023072b52576815010b15
2013-04-08fdo#62116: Unit test for the fix.Kohei Yoshida1-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-03-28Move ScFormulaCell into its own header source files: formulacell.?xx.Kohei Yoshida1-1/+1
Change-Id: I65f2cb12c06784b5bcf6c6a2fad773825b6c409c
2013-03-25a few more cases where we should close the doc after the testMarkus Mohrhard1-0/+8
Change-Id: I46b00d62d604ecc80f079cf91671de3c07a1b589
2013-03-23add ODS test for above/below cond format rulesMarkus Mohrhard1-0/+18
Change-Id: I6ce6292a490ef39c111aa7f4c0a5ada0d45c16bc
2013-03-22add databar export testMarkus Mohrhard1-44/+0
Change-Id: I0770d20911307ddd9426417314bebbe569660b14
2013-03-22add export test for color scalesMarkus Mohrhard1-101/+1
Change-Id: I68ff1309c2769866c0821f7857f13103b8752cb5
2013-03-22add import test for color scalesMarkus Mohrhard1-0/+110
Change-Id: Ie85f8efd520aaf4e10b560c637a74fbd9e25530b