Wolfgang Pechlaner
b82c4fc48f
add some more functions test to sc's filters-test
2011-12-07 20:23:15 +01:00
Kohei Yoshida
c8552bc97b
fdo#43534: Partially support external refs in CELL function.
...
For now, only COL and ROW are supported. More on the way. Note that
we can't support all the information types that we do for internal
references.
2011-12-07 13:34:53 -05:00
Caolán McNamara
7c5a11df60
normalize Red Hat, Inc.
2011-12-06 21:40:20 +00:00
Stephan Bergmann
f547b2c478
Moved modifications.xcu to test, used from multiple modules.
2011-12-06 20:28:56 +01:00
Wolfgang Pechlaner
e091888bad
add tests for new bitshift functions to sc
2011-12-05 23:08:26 +01:00
Markus Mohrhard
377bc06165
add test for removing sheets to testPostIt
...
fixes also the problem that one sheet has not been deleted
2011-12-03 20:15:01 +01:00
Markus Mohrhard
f131ccd53b
some String->rtl::OUString cleanup in ucalc
2011-12-03 20:15:01 +01:00
Markus Mohrhard
c55e0745d4
clean up filters-test after split
2011-12-01 23:14:45 +01:00
Markus Mohrhard
4e23a821d3
split sc's filters-test into in-build and subsequent tests
...
only testContent and the ods range name test remain in-build, everything
else is now a subsequenttest
if needed the subsequent_filters-test can be moved to an in-build test
in Module_sc.mk
2011-11-30 23:48:45 +01:00
Markus Mohrhard
bc84d4782c
move sc's macros test into sc/qa/extras
2011-11-30 23:48:14 +01:00
Kohei Yoshida
1dcb62fe48
fdo#43304: Allow empty field labels in pivot tables.
...
Empty field labels are replaced with the column name.
2011-11-28 17:32:47 -05:00
Eike Rathke
b1f5616276
added CSC,SEC,CSCH,SECH to testFunctionLists
2011-11-28 15:25:35 +01:00
Markus Mohrhard
6c8f7589de
create a base class for macros_test
...
For tests that need file import you can now choose between FiltersTest
or MacrosTest as base class.
FiltersTest imports through SfxObjectShell and does not have any ui
MacrosTest imports through Desktop::LoadComponentFromURL and initializes
the ui, therefore it needs to run headless
2011-11-27 08:22:39 +01:00
François Tigeot
eda3e5dcb6
Disable password test on DragonFly
2011-11-25 09:42:09 +01:00
Kohei Yoshida
92e03b8288
Cleaned up the ScTable declaration a bit.
...
* make it officially non-copyable. It was never copied anyway.
* retire std::auto_ptr which is deprecated. Let's use boost::scoped_ptr.
* some unused typedef's.
2011-11-23 23:34:18 -05:00
Markus Mohrhard
9e8ae1d560
remove ScRangeName::findByName
...
this method was mmisused and is the source for some "bugs"
we don't allow case sensitive storage of range names and therefore it
does not amke sense to search by case sensitive names, use
ScRangeName::findByUpperName instead
Especially the uno implementation did behave wrongly and allowed to
create two names that were identicall for the model
2011-11-23 06:25:36 +01:00
Kohei Yoshida
a725d287a2
Unit test for cell function T with external references.
2011-11-22 22:32:05 -05:00
Kohei Yoshida
264e503468
fdo#43154: Fixed incorrectly query validation.
...
It was due to a simple mis-placement of an operator. No idea how
the compiler may have parsed that statement...
2011-11-22 14:58:53 -05:00
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