path: root/sc/qa/unit
AgeCommit message (Collapse)AuthorFilesLines
2013-03-22add import test for color scalesMarkus Mohrhard3-0/+110
Change-Id: Ie85f8efd520aaf4e10b560c637a74fbd9e25530b
2013-03-22update the test filesMarkus Mohrhard2-0/+0
Change-Id: I0285e9d6739e7f2a9882fd19f03524482128e2d2
2013-03-22add import test for data barsMarkus Mohrhard3-0/+80
Change-Id: Ida98e51a7f9970c7d4c845f5a6ac1566cbed9e3a
2013-03-22let us use ScBootstrapFixture::loadDoc hereMarkus Mohrhard1-24/+2
Change-Id: Ia5d29da921e53b8443541e5f69e2bbc7fd99edfa
2013-03-22make method name consistentMarkus Mohrhard1-3/+3
Change-Id: I5fd08be86c68b788510d04ff6df6c3938c43e625
2013-03-22remove disabled testsMarkus Mohrhard1-103/+0
Change-Id: I56490efc131cb25baa279b6f8204cf8f5d3af8c4
2013-03-20Remove redundant "const" to silence bogus MSVC warningsStephan Bergmann1-1/+1
Change-Id: Ice6615b4b0c9367efc278c3b399f6c35ede6fcd7
2013-03-20'size_t' is not the same as 'unsigned long'Tor Lillqvist1-4/+4
So using %lu to printf 'size_t' is not 100% portable either. At least in 64-bit Windows code 'size_t' is 64 bits but 'unsigned long' is 32 bits. Let's just use 'unsigned' for the loop indexes here (and %u as the format). After all, they are single-digit numbers. Alternatively, could just use C++ stream output for this purely informative printout. Change-Id: I604e1c6c6a910c86b5f1408bee1d9c2c7a8b76ff
2013-03-19-Werror=format, "fix %d expects argument of type int"Julien Nabet1-1/+1
Change-Id: I654d035bc79ba157c6fdd01edf7930ef05f7b970
2013-03-19calm debug, and disable unless SC_FORMULAGROUP=1Michael Meeks1-0/+3
Change-Id: I091d43dfa33f440edd50a1c937ef6e6f1930be4e
2013-03-19use cell hashing algorithm for computing groups.Michael Meeks1-9/+16
Update unit tests, dumb-down hashing to compare more for similiarity rather than identicality - we want to use this down columns. Change-Id: Icea731daeb301e1febb2df48b6b46c9faba74e9d
2013-03-19Unit test for formula token array vectorization state.Kohei Yoshida1-0/+34
Change-Id: I91dce36e56d86899ba506beb29df6188f10966c0
2013-03-19Reduce dependency on document.hxx. Prefer forward declaration.Kohei Yoshida1-1/+0
Change-Id: I9b0c86735284ec435cceb3acd9bad97a6e523a74
2013-03-19Add accessor to ScDocument for formula cell's vectorization state.Kohei Yoshida1-6/+6
Change-Id: I3c781764c6375dadb173bc5ab3cfb79857e2aeca
2013-03-19Fix build breakage.Kohei Yoshida1-3/+3
Change-Id: I94b9d17a045a9c17d9e97aa582d7572e0a21809b
2013-03-19add initial formula group unit tests.Michael Meeks1-0/+58
Change-Id: Id4dd3cc0d3d8a4db641e316d2eda44a5b94105c7
2013-03-19Embed reference tokens in the generated hash values.Kohei Yoshida1-41/+41
Also make the test code a bit easier to extend. Change-Id: Ib4e381cc139231884999c9d0dc9f51201e11f807
2013-03-19Fix minor stuff in the test code...Kohei Yoshida1-2/+3
Change-Id: I6c1ebf29d357c1a575a8b7d5421043ddec44f0af
2013-03-19Implement (partially?) and test formula token array hash function.Kohei Yoshida1-0/+52
For now, we don't factor in any differences in reference tokens in the generated hash values. Change-Id: Ie9836228eaad9c74edd884c3e8c4b273979760fd
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold3-11/+11
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: Reviewed-by: Thomas Arnhold <> Tested-by: Thomas Arnhold <>
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold4-43/+40
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: Reviewed-by: Thomas Arnhold <> Tested-by: Thomas Arnhold <>
2013-03-19that should not have been in the patchMarkus Mohrhard1-1/+1
2013-03-19let us keep the gnumeric value handling in xmloffMarkus Mohrhard1-1/+1
Change-Id: I51c7ca53ec8b023dc06b43ec9cb1052d135d14d5
2013-03-15Unit test to catch the out-of-sync text width bug I just fixed today.Kohei Yoshida1-0/+16
Change-Id: I82d4199d7f8b7ba2dadb734a808dac53e845538f
2013-03-14Remove ambiguity for the windows build.Kohei Yoshida1-1/+2
Change-Id: I9b94281f7acd2223686508baa219b87c13838d5c
2013-03-14Unit test for the new column-based text width storage, via new iterator.Kohei Yoshida1-0/+79
Change-Id: Ibf1e254e34df98ad5c46a46252168787b07d161c
2013-03-06fdo#60148 Clean up warnings from the Clang compiler pluginnccuong3-5/+0
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671 loplugin: clean warnings: unused variables, incorrect indentation and log area. Reviewed-on: Reviewed-by: Eike Rathke <> Tested-by: Eike Rathke <>
2013-03-02Typo fix: informations -> information and a few other adjacent typos.Gregg King1-2/+2
FDO:60724 Change-Id: I73ad9f1c37cbbcf28d996ed73c75cf09553e499b Reviewed-on: Reviewed-by: Eike Rathke <> Tested-by: Eike Rathke <>
2013-02-27tolerence -> toleranceMiklos Vajna1-1/+1
Change-Id: Ibf2c03eb8f55c26060b83cda8c29376c110cf822
2013-02-27stop tinderbox whingingNoel Power1-3/+4
Change-Id: Idcf6bc8efa1598b97b7e3ad5c73e485d982b4096
2013-02-27enable disabled test for rotated anchored shape,Noel Power1-4/+9
the test ( regarding hidden shape ) is renabled, note there is still an issue with this, the width of the shape is reduced ( there is still some bug here ) but the main problem ( where the the shape was partially shown on import ) is still there. Now it is worth noting there is an existing problem where even before the patches to rotate the anchor were in place that a totally hidden shape ( even unrotate ) can have its dimensions 'changed' ( just try with a shape that has edges away for col/row borders, you will notice when the rows that the shape is contained in are shown that the width height of the shape can be changed ) Change-Id: I1f87d69fb1729fd5726529f6527f28feaa333c86
2013-02-26WaE: int/SCROW format mismatchTor Lillqvist1-2/+2
Change-Id: If33637df7f175f3f4248093034849177da681117
2013-02-26blind Android printf int/long waeNoel Power1-4/+4
Change-Id: I81a6767e8144336ed72f195cebb3764b4b741a32
2013-02-26add some shape anchor related tests ( for rotated shapes )Noel Power6-1/+201
Change-Id: I6363c408c1205c99cd11cada3877a3006022d06b
2013-02-23Fix typo begining/beginning.Julien Nabet1-1/+1
Change-Id: I9fff386181a2be0bc83787c8b5aec9c1cb4db9c3
2013-02-23Fix typos retreive/retrieve furture/futureJulien Nabet1-2/+2
Change-Id: I639c2970b2a88ca3d5aa1dcd2ad4ec047b4a369c
2013-02-12Some cppcheck cleaningJulien Nabet1-3/+2
Change-Id: I8609949377181f8edb30ac07b2791cfcd079fc7d
2013-02-12Renamed hard-to-remember 8-char headers in editeng.Kohei Yoshida1-1/+1
Change-Id: If255802082890e1b1b4c5197a791fa79a011773e
2013-02-11Add new filter test for raw cell value import from ods.Kohei Yoshida2-0/+18
If import of raw cell values doesn't work, all bets are off. Let's make sure it does. We'll add more test cases to this file as the need arises. Change-Id: I1469c285e6e87056406415bd8c767890c153b2b5
2013-02-11add unittest for fdo#59240Korrawit Pruegsanusak3-0/+8
Change-Id: Ic287228f578c9ecb0f69a47380c890e337203b31 Reviewed-on: Reviewed-by: Tor Lillqvist <> Tested-by: Tor Lillqvist <>
2013-02-10sc_subsequent_filters-test: add bug numberKorrawit Pruegsanusak1-1/+1
from 84ae3c9853b7b90d7b859fd562dabc7b31e8deb8 Change-Id: I1768bfb7a68affe423485eff77b6005abde2e2a7 Reviewed-on: Reviewed-by: Thomas Arnhold <> Tested-by: Thomas Arnhold <>
2013-02-08fdo#60322 add calc function SKEWP as in ODFF v1.2Winfried Donkers1-0/+1
Change-Id: I4851df1473fc7788af1ac642bb0fb527ec872821 Reviewed-on: Reviewed-by: Eike Rathke <> Tested-by: Eike Rathke <>
2013-02-07blind wae fix for MacOSXNoel Power1-1/+1
Change-Id: I2086b724a6787838b9dd61c78d6943a1efa27a19
2013-02-07another row height ( related to optimalheight and deleting content ) fdo#59193Noel Power2-4/+55
A cell when modified ( e.g. content deleted ) should have its row height recalculated when the optimalheight attribute for that row is set. Also tweaked the test framework to allow read/write files to be loaded, this allows functions that modify the document content to actually work as intended Change-Id: Ia929a194a96f5c8b870f9a49d1e27d0c34ba9c91
2013-02-05UniString to OUString in ScRefFinder, and a bunch more cleanups.Kohei Yoshida1-5/+5
Some extra code to ensure that OUString's copy method gets correct sub-string lengths. Unlike UniString, OUString's version is more strict. Change-Id: I7daabf2ad587ff44fd6d8c66a02dbecfe519295b
2013-02-05fdo#39135: Add unit test for this.Kohei Yoshida1-0/+35
Change-Id: Id857bfdfd7a2e9024eabdc2b63c02d3d61e7e4f6
2013-02-04moved the export row check to qahelper, made it useful for import/exportNoel Power5-39/+104
Moved old row test from export to qahelper in order that it can be shared with the import only tests, also added some new test documents and test data for some additional row height checking Change-Id: I023844b8dba8935d4bcdaac7fd16496e99251d78
2013-02-04eliminate duplicated implementations (load, loadDoc etc. ) in unit testsNoel Power5-683/+500
additionally rtl::OUString(Buffer) => OUString(Buffer) changes Change-Id: Ibf93e8a3ed435fda42836c214b7faac6b3dda71e
2013-02-02fdo#57180 return #VALUE! error if a number couls not be parsedEike Rathke1-1/+1
Change-Id: I25ed88b30329b92f80efd329243f85b271d972a7
2013-02-02fdo#57180 add calc function NUMBERVALUE as defined in ODFF1.2Winfried Donkers1-0/+56
Conflicts: sc/source/filter/excel/xlformula.cxx sc/source/filter/oox/formulabase.cxx Change-Id: I6ee01764ae9fc27854fd3bd8a630b9d3560192e5 Reviewed-on: Reviewed-by: Eike Rathke <> Tested-by: Eike Rathke <>