Commit graph

348 commits

Author SHA1 Message Date
Markus Mohrhard
0cb0952a50 little cleanup in ucalc 2011-11-19 02:52:38 +01:00
Markus Mohrhard
ed398366d5 remove libsqlite from macosx library path again and disable testPassword there 2011-11-19 02:52:38 +01:00
Markus Mohrhard
b352f5357c macros_test does not need to inherit from Filters-Test 2011-11-18 22:48:20 +01:00
Markus Mohrhard
a66be63469 refactor the new bugFile tests 2011-11-18 22:34:12 +01:00
Markus Mohrhard
21c437d17b allow testing of bugfiles in sc's filters-test 2011-11-18 22:34:12 +01:00
Markus Mohrhard
450c49d93f add sqlite path to library path and enable testPassword
plus gb_Helper_extend_ld_path normalization by sbergman@redhat.com
2011-11-15 09:04:37 +01:00
Markus Mohrhard
ba49ae1bdb clean up macros_test 2011-11-14 23:50:55 +01:00
Markus Mohrhard
275110a095 don't use XUnoTunnel directly, use SfxObjectShell::GetShellFromComponent 2011-11-14 23:50:55 +01:00
Markus Mohrhard
98f138c7ca we no longer need to open unit test files READWRITE in sc 2011-11-14 23:50:55 +01:00
Kohei Yoshida
51494ab729 Likewise, adjusted the test cases for MATCH to handle mixed comparisons. 2011-11-14 12:07:48 -05:00
Kohei Yoshida
2f61bdff44 Modified VLOOKUP test case to account for mixed comparisons.
When the lookup value is of type Text, and the last match is of type
Number, it should return #N/A according to the ODFF spec.
2011-11-14 11:58:35 -05:00
Stephan Bergmann
19b8dd5ded No need for test/user-template/user/registry. 2011-11-11 13:47:27 +01:00
Kohei Yoshida
e67181c0f1 Re-enabled textural in-exact comparison in unit test for MATCH.
It was the code that checks for the VBA mode that was throwing the
exception.
2011-11-10 15:26:10 -05:00
Kohei Yoshida
0f6bb1763f Added text values to the mix.
Textural evaluations throw an UNO exception, however.  I need to look
into this.
2011-11-09 17:36:09 -05:00
Kohei Yoshida
ecea4e54e1 Added new unit test for MATCH function.
Only ascending and descending in-exact matches for now.
2011-11-09 17:36:08 -05:00
Kohei Yoshida
4c53798989 Devided built-in cell function tests into separate functions. 2011-11-09 17:36:08 -05:00
Kohei Yoshida
5d1a991692 Test case for VLOOKUP (in-exact lookup on sorted range). 2011-11-08 17:16:59 -05:00
Kohei Yoshida
b45ef26980 Added test for COUNTIF. 2011-11-08 17:16:59 -05:00
Kohei Yoshida
6303b977ed Put each function test in a separate scope, just to be consistent... 2011-11-08 17:16:59 -05:00
Caolán McNamara
e6c7a339c4 exclude windows for now as well 2011-11-08 13:16:44 +00:00
Kohei Yoshida
5897d4a60f Encapsulated empty and non-empty filter criteria.
Because those two conditions were not very obvious.
2011-11-07 22:56:53 -05:00
Markus Mohrhard
0405deaf2d we only have one sheet in the new PostIt test 2011-11-08 04:51:43 +01:00
Kohei Yoshida
a3ddd330bd Test for filtering empty and non-empty cells. 2011-11-07 21:34:03 -05:00
Kohei Yoshida
cbe46bbe3e Simplified the filter test a bit, and clear the filter afterward. 2011-11-07 21:34:03 -05:00
Kohei Yoshida
8808d77f19 Changed data storage structure in ScQueryEntry.
This required a whole bunch of chnages all over the place.
2011-11-07 21:33:02 -05:00
Michael Meeks
0c3f7e161f calc: initial cut at post-it unit test 2011-11-07 17:25:03 +00:00
Markus Mohrhard
cc59e69c6f String->OUString in ScDocument and follow up 2011-11-07 03:46:21 +01:00
Kohei Yoshida
3df7746a66 Moved ScQueryEntry into its own file set.
Because I'll be modifying this struct in the next few days...
2011-11-05 00:56:38 -04:00
Markus Mohrhard
651aa258c9 remove some unneeded dependencies
they are no longer used because we separated macros_test and
filters-test
2011-11-04 04:08:49 +01:00
Markus Mohrhard
989ee5998b add test cases for "Informations" functions to functions.ods 2011-11-04 04:08:48 +01:00
Markus Mohrhard
9249958a58 initial work for a password test
still needs work in:
- RdbTarget_sc_filters_test -- missing component files to NSS (need to be
conditional on nss)
- nssinitializer.cxx:306 -- new environment variable BRAND_PROGRAM_DIR for
$(BRAND_BASE_DIR)/program that is overriden in the unit test to
solver/(platform)/lib
- make the testPassword in filters-test.cxx conditional on NSS
- LD_LIBRARY_PATH needs an additional entry for
  solver/(platform)/lib/sqlite

password.ods has password test and has been created Nov, 3rd 2011 with a
master build and should be ODF1.2 conform
2011-11-03 22:06:30 +01:00
Markus Mohrhard
97b5ed250d remove all debug output from filters-test that was for the xls bug 2011-11-03 17:28:19 +01:00
Markus Mohrhard
84ae3c9853 add test cases for fdo#40967 2011-11-02 00:50:54 +01:00
Markus Mohrhard
0eae161aa3 add tests related to fdo#41807 2011-11-01 23:09:17 +01:00
Kohei Yoshida
2f46c82072 New unit test to test AND and OR evaluations of matrix objects.
This is in response to fdo#40967.
2011-11-01 17:02:09 -04:00
Kohei Yoshida
61f74ecffe Unit test for testing cell functions referencing external ranges. 2011-11-01 12:49:25 -04:00
Kohei Yoshida
06899e6b77 Re-enabling the macros test.
It was due to those pesky .~lock* files preventing the test files from
being loaded.  Maybe this is also what's breaking the mac os build!?
2011-11-01 11:02:45 -04:00
Kohei Yoshida
ca54c0361b Sorry, these tests fail for me on Linux. :-( 2011-10-28 21:24:21 -04:00
Noel Power
2a91e5bf2b re-enable vba.xls, tweak TestAddress.xls (move tests back to normal module) 2011-10-28 13:01:46 +01:00
Markus Mohrhard
a9730ec265 we can now enable the range name test for xlsx too 2011-10-28 00:00:34 +02:00
Noel Power
d3c18a6436 attempt to disable macro_test tests for macosx 2011-10-27 16:47:19 +01:00
Noel Power
8e68391fc9 more tweaks to unittests, also move registrymodifications.xcu
registrymodifications.xcu has been moved to the solver ( unittest/user/data )
new OOO_CONFIG_REGISTRY_EXTRA_DIR env var will be used to specify the directory 'data' will be contained in so we can override various config items.
2011-10-26 19:10:14 +01:00
Noel Power
87d8dc5a02 more support for basic/vba unit tests
add moggis work and some tweaks from me too
2011-10-25 19:26:55 +01:00
Markus Mohrhard
c631b30c6b clean up macros-test 2011-10-24 23:19:05 +02:00
Kohei Yoshida
e817dcce77 New unit test case for unwanted date detection on pivot table labels. 2011-10-24 16:22:45 -04:00
Michael Stahl
1a76bb7161 macros-test.cxx: fix syntax error 2011-10-24 21:24:44 +02:00
Michael Stahl
aa146f46d2 macros-test.cxx: unused variable pDoc 2011-10-24 17:48:06 +02:00
Noel Power
82fb60bc56 make vba.xls return 'OK' on success, adjust macros-test.cxx to test for 'OK' 2011-10-24 15:07:53 +01:00
Noel Power
daca9c81e4 more substantial vba test ( testing various range addression ) 2011-10-24 15:07:52 +01:00
Markus Mohrhard
d9604fa1b4 add more debug output to see why windows has problems with sc's filters-test 2011-10-20 21:26:16 +02:00