Commit graph

335 commits

Author SHA1 Message Date
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
Markus Mohrhard
cda653d7d9 extract helper methods for debuging calc tests 2011-10-20 21:26:15 +02:00
Markus Mohrhard
16cf673187 improve unit test for UpdateReference
check InsertTabs/InsertTab/DeleteTabs too
2011-10-20 19:19:07 +02:00
Markus Mohrhard
9132e6ffa7 separate normal calc filter tests and macro tests
this should make it easier to deal with the increased complexity in the
unit tests for vba and star basic
we should not mess with the normal calc tests while working on advanced
vba and basic tests
2011-10-19 15:23:18 +02:00
Markus Mohrhard
9706288e95 add output for language settings to log file
some windows builds crash in this test, maybe they get a false language
setting from somewhere
2011-10-19 02:10:36 +02:00
Markus Mohrhard
c35fb339f5 add unit test for fdo#41868
test should be extended as soon as possible
tests a central point of our formula compiler/reference handling
2011-10-19 01:25:49 +02:00
Caolán McNamara
87c2fd70ae Fix E_ACCESS failure under windows on attempt to remove temp qa data file
The reference counting of ScDocShell is very confused. It starts off with ref
count of 1, assigning it to a ScDocShellRef gives it a refcount of 2, so
clearing it or its dtor gives a refcount of 1 again, so it doesn't auto-delete,
and so doesn't close its stream, so the attempt to remove its stream gives
E_ACCESS under windows.
2011-10-18 13:58:56 +01:00
Markus Mohrhard
4e38096b88 copy/paste error, it should test the xls file too 2011-10-17 22:14:03 +02:00
Stefan Weigel
92bbd8dcff add initial test for matrix functions 2011-10-17 22:08:48 +02:00
Markus Mohrhard
d7aae30d6b make the mathematical functions test simpler 2011-10-17 16:11:55 +02:00
Caolán McNamara
db5a5ffa82 split bootstrapfixture and move test-filters class for sot test
sot is below vcl, but is a filters test, we can split bootstrapfixture
into a vcl needing bit and and non-vcl bit and filters test api
can be standalone and combined with whichever bit in order to form
pre and post vcl filters test
2011-10-15 12:18:44 +01:00
Markus Mohrhard
bb549e2d50 add unit test cases for mathematical functions 2011-10-09 00:04:30 +02:00
Markus Mohrhard
c85b929b53 extend test for spreadsheet functions 2011-10-09 00:04:30 +02:00
Markus Mohrhard
72d87e2b5f improve error messages for sc's filters-test 2011-10-08 02:19:00 +02:00