Commit Graph

427 Commits

Author SHA1 Message Date
151d7a6223 Write test for importing and exporting of pivot table with 2 data fields.
This is for xlsx format.

Change-Id: I8ef2ae41cc88eeeab610e1a89726c62acb9e2fcb
2014-08-29 18:24:32 -04:00
e9cb48ff65 Write export unit test for pivot table import / export with xlsx.
Change-Id: Idc4e9e9aafd3fe0a01758fe988ffacd76cb15784
2014-08-29 14:48:02 -04:00
e99535df4d remove executable bits
Change-Id: Iec785ae538de81325812b1e6fe33115789b39770
2014-08-17 05:50:13 +02:00
0e633c51d8 add test for fdo#82128
Change-Id: I3dd0005f00c4a861103ffd1a0422b9fc9397f6fb
2014-08-16 00:14:26 +02:00
1d67f3661c unit test for sort with sheet references and external references, fdo#77018
Change-Id: I4b60fe3f3594fbe13ae25ac29c8701d80870595e
2014-08-15 16:56:55 +02:00
7256a10fb6 Write test for importing images from xls.
Change-Id: I84a996d20ed7ce5f9ffa48644616e59186458243
2014-08-12 15:43:36 -04:00
ef933f0244 add calc dbase import test
Change-Id: I6dd23b5dfab096f67a189ce2747b211b2a3044e9
2014-08-09 13:35:48 +01:00
76d66256bb add test for fdo#79305
Change-Id: I498f272e9da8c5f988e0bf734ffcc1c04b528210
2014-07-19 13:32:01 +02:00
4edbaa38af bnc#885548: Add test for import / export of revisions for xlsx.
It's the same test as with the xls variant.

Change-Id: Ice3d3c34213cc521e2782ef0f98d28d135c72fbe
2014-07-18 13:13:19 -04:00
b63b6c63fd Write test for change track round-tripping for xls file format.
Change-Id: I127879c4f1b6d3605ff800c3f3aa3929a098fead
2014-07-14 16:11:52 -04:00
08e3e6c223 fdo#73148 add options to Calc function AGGREGATE
matrix-ranges not supported

Change-Id: I902c78da6d9c7a4a5f8c5e4a7e1678b69d49a6fe
Reviewed-on: https://gerrit.libreoffice.org/9449
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2014-07-08 10:23:03 +00:00
671566d061 bnc#882595: Write test for this. Disabled due to VBA not working in cppunit.
Change-Id: Ie70232e56235fcf5a313aadffa269ef843bdee18
2014-06-25 16:40:42 -04:00
01dd299bde fdo#71076: Write test for this.
This was actually just one element of all that contributed to this bug.
Unfortunately it's a bit hard to test the others.

Change-Id: I7a0d88c0b829e7b7859aecfc20df87f6837ecb4a
2014-06-20 09:58:44 -04:00
14e2186544 fdo#78471: Write test for import of shared formulas from BIFF5.
Change-Id: I77fee109adf1c0decc6eb96cf2292f89fde1aceb
2014-05-13 14:04:20 -04:00
adb497a0d2 add tests for date time functions
Change-Id: I875f6faca6c6361c581ca751be8d89ab7392c938
2014-05-12 05:50:38 +02:00
740dac4d58 fdo#77990: Write test for this, using the 2nd test document submitted.
Change-Id: I70d71bb21ff43aeb49339ff1f1d9e73c923e0201
2014-05-06 18:50:09 -04:00
3cca2dca62 add test for fdo#75168
Change-Id: Iffb07d98333667837a7a2bba00e2d667d49bb709
2014-05-01 02:31:57 +02:00
1f70bfcd41 fdo#76611: Write test for this.
Change-Id: Ib2852ccf8c19f9ed0fc5edda0b197d9801affae6
2014-04-25 23:43:02 -04:00
09bf5e8093 fdo#76607: Writer unit test for this.
Change-Id: Ia69283a9998c233784c0da0f7a65f58a6c102596
2014-04-23 21:08:26 -04:00
c79a5f87b1 remove executable bit
Change-Id: I91f6e861f6d0dbea1b57ac73857e0c706b27f681
2014-04-17 15:11:14 +02:00
2da75ceaca fdo#76294: Write import test for this.
Change-Id: I4d2f98117b783e801916f99fd99e69d43e161e2d
2014-04-14 17:00:40 -04:00
b0a6b16495 add .xlsx unit test for enhanced protection
Change-Id: I8a6c6295998c6545318f6b490d1f617d6178013b
2014-04-08 21:15:42 +02:00
6d658afd40 add non-editable test for descriptor
Change-Id: I0a40e9e26e09e970023a749b7fd0a67ac29d1bc1
2014-04-08 21:15:41 +02:00
dce1a07be4 add tests for database functions
Change-Id: I65f8087772318eb14adc0eb65ab896e57677cbe3
2014-04-04 23:09:39 +02:00
8ed4cc6430 improve text function tests
Change-Id: Ia84fc5fa460dd27955dfc843d29b213b3b40ea46
2014-04-04 23:09:38 +02:00
50820ace55 updated test document for new Excel functions, fdo#70798
https://bugs.freedesktop.org/attachment.cgi?id=96899

Two function calls currently fail where implementation needs to be
fixed:
- row 45, function name=[ NETWORKDAYS.INTL ], result=18, expected=19
- row 79, function name=[ WORKDAY.INTL ], result=41755 , expected=41754

Change-Id: Ibb58dfa2f8687c7daa2cb7409803cd14b015dc98
2014-04-04 15:26:27 +02:00
e27cc864be added unit test for .xls BIFF enhanced protection
Change-Id: I8f218f8f8ce12525b4c9995567d2864baa610c0b
2014-03-25 20:43:07 +01:00
ca25cdcb39 fdo#76140: Reimplement XIRR OpenCL test.
1) Use ods format and store the expected formula results as numeric cells,
   to avoid having to load the same file twice (which is slower).

2) Use rtl::math::approxEqual to evaluate two numbers that may be subject
   to numerical instability especially when the expected values are very
   small.

Change-Id: Ie08e91f797065f4593f996df3541da84019cc53c
2014-03-17 18:41:58 -04:00
90af4f50e8 fdo#58307: Write export test for this to ensure it won't go away...
Change-Id: I01ebdfab7d6098402e2911713b0eb51e2003047c
2014-03-13 22:49:20 -04:00
a145e8859c fdo#76032: Write test for this.
Change-Id: Iec8d32a4e53d2d5d3cdc9767c2ede7654fe2bdd6
2014-03-13 18:39:22 -04:00
c59b3d6c5c fdo#74747: Write test for this first.
Change-Id: Ia528904405cbb698b9cf08d4a8531c60780e0d9e
2014-03-10 17:28:53 -04:00
0abe86ca86 round to multiple of absolute significance, fdo#71720 follow-up
The new functions FLOOR.PRECISE, CEILING.PRECISE and ISO.CEILING always
round to a multiple of the absolute value of the significance given,
returning the mathematical floor/ceiling in all cases.

Also changed the test doc to use some meaningful values for these
functions.

Change-Id: Id5a26092838765143e2d308afa49e7119107dac5
2014-03-10 20:56:02 +01:00
5f5cce2ca3 fdo#75950: Add test for this.
Change-Id: I92253daf4793b50eb2928a1e368fa6231d2f285a
2014-03-10 14:24:51 -04:00
93e4276add fdo#75960: Write unit test for this.
The window failed to launch ultimately due to failure of GetHeaderDim()
call.

Change-Id: I80c99a9ab1f33b4acee5324f417b7a3a26a91a22
2014-03-09 18:44:07 -04:00
3cea6bb577 More consistent number format inheritence policy.
The new policy is to always inherit number format of a formula cell
from its reference unless the cell already has an explicit number format
set.

Also to avoid recalculating formula cells on load just because they have
the 'General' number format.  This leads to excessive re-calculation of
formula cells upon load even when the cells already have results cached.

Change-Id: I28128d3fef296e09e62bea72e8aab75de9876239
2014-03-08 18:09:51 -05:00
5d2e7cbf64 This test file had wrong cached formula result stored.
It didn't get flagged before because we would always recalc all formula cells
with 'General' number format on load...

Change-Id: I36e71534b65f3f088415cd518af04696892f76dd
2014-03-08 18:09:50 -05:00
35f3928599 add import test for financial functions
Change-Id: Idda4de746db0c959ad31a6937a4aee877417e436
2014-03-05 08:21:57 +01:00
1c3c83e6a3 add import test for strict OOXML import in calc
Change-Id: I4dc0fb84cc9e2601e7ae8b82a467787388ac4d99
2014-03-03 10:56:28 +01:00
5bba4c56d2 fdo#72041: Add import test to catch an issue with external ref cache.
Change-Id: I648d2d04c86d61b1cbe291e7aa79bf9219833328
2014-02-25 20:55:17 -05:00
3cf0847e75 fdo#75304: Add test for external reference cache import from XLSX.
Change-Id: I93c4398b5673e1edaacfe4b68015000dfd224612
2014-02-24 16:05:02 -05:00
23d9591c6e fdo#74345: Minimalistic test to reproduce this.
Change-Id: Ibaa25f974ff98a8a601acbab25041b16d3b8dee2
2014-02-21 17:55:47 -05:00
f45ce98958 fdo#74512: Add export test for this.
Change-Id: I7582ff84c3a31f294f241ca642915361509768a1
2014-02-15 10:14:11 -05:00
b51acfb4c0 fdo#74014: Another attempt to reproduce this bug in test.
But still not reproducible in test. Only in the UI. This is maddening.
I give up for now.

Change-Id: I88e6f4ed19856cf81abdf188dc22a5012e8c4a28
2014-02-11 15:12:21 -05:00
7d71fd489c fdo#74521: Write unit test for this first.
Change-Id: I1815464e25703f1b0181211ac74341edb41793be
2014-02-08 11:40:59 -05:00
36e7fca5fa fdo#74535: Write unit test for importing hyperlinks from xlsx.
Change-Id: I64e053106cee396a09f2a4915c19fcb1d69e5e82
2014-02-07 14:46:21 -05:00
642d0c9abc fdo#74553: Write unit test for this.
Change-Id: Ie33047dff35c7aa31aaed9ec6c8e1fe5f8f5b9d7
2014-02-06 18:10:01 -05:00
668fefcea0 Create shared-formula directories and store test files there.
We'll lilkely be adding lots of test files for Excel's shared formula
import.

Change-Id: Ic328423e4f39b811944a330a1966d5bd887ff70c
2014-02-06 15:21:28 -05:00
31973b54ef fdo#74325: Write unit test for cell note export to ods.
Change-Id: Ic145781a6c2d7fefb4e80b3a84735e0fb505b0e7
2014-02-02 13:28:27 -05:00
83f69e697a fdo#69244: Write unit test for this.
Change-Id: I5bfc8ad1566dbfc2813aadc8f08ba1eccca608ca
2014-01-27 19:11:55 -05:00
82599357ae Add vertical lines for testing.
Change-Id: I93d3613547b74a37cebbb6e791e0d23ea405401b
2014-01-20 14:37:02 -05:00