Commit graph

284 commits

Author SHA1 Message Date
Markus Mohrhard
5931c50a44 improve error message for missing csv files 2011-10-06 07:26:46 +02:00
Markus Mohrhard
273799b9c3 and forgot again to add a file 2011-10-06 07:08:00 +02:00
Markus Mohrhard
504634ef39 add unit test for fdo#41381 2011-10-06 06:52:43 +02:00
Markus Mohrhard
3086838ebf enable the star basic test to see if it causes troubles anywhere 2011-10-05 21:42:35 +02:00
Markus Mohrhard
fef8e18f89 add initial work for vba tests in calc( work in progress)
this does not work yet, it still does not load the vba code correctly
and therefore can't find the vba library
2011-10-05 21:40:24 +02:00
Markus Mohrhard
ac3f311320 add Star Basic unit test to calc
test is still disabled by default,
it works but does nothing useful yet
2011-10-05 19:29:33 +02:00
Michael Meeks
8a0d0457a7 test fix: use setUp and tearDown not constructors to init LibreOffice
It turns out the constructors are all run back-to-back one per filter,
and we need to init and de-init in a sensible order to make multiple
tests that otherwise share the ContentBroker work properly.
2011-10-05 16:02:28 +01:00
Markus Mohrhard
5b9801b50e SCCOl is 16 bit too 2011-10-04 20:38:45 +02:00
Markus Mohrhard
e9e67382f6 mac tinderbox can't deal with rtl::OStringBuffer::append(sal_Int16) 2011-10-04 20:18:40 +02:00
Markus Mohrhard
976f08098e improve error message for csv_handler 2011-10-04 19:49:32 +02:00
Caolán McNamara
e898bcc1c2 silence tedious malware checkers, arcfour, key 0x435645 2011-09-30 17:02:37 +01:00
Caolán McNamara
4a5745503c merge filters-test code 2011-09-30 12:39:35 +01:00
Markus Mohrhard
eea06c00ab enable the registration for vba unit test again 2011-09-30 00:43:50 +02:00
Markus Mohrhard
1fc21ed077 disable it again, it seems that it tries to access the user installation
it seems it only produces an error in a non sourced environment
2011-09-29 20:43:53 +02:00
Markus Mohrhard
3581e9df56 init the unit test for vba unit tests correctly 2011-09-29 18:35:16 +02:00
Caolán McNamara
2774cab826 add modelines 2011-09-29 09:33:46 +01:00
Michael Meeks
2f3d664419 more unit test cut/paste redux 2011-09-28 15:32:14 +01:00
Michael Meeks
4b7cc85c4e sc: switch filters-test to the new shared unit test code 2011-09-28 15:09:48 +01:00
Michael Meeks
0e3361c0ae assert on the console in a helpful way as/when we get a message dialog 2011-09-27 14:44:20 +01:00
Fridrich Štrba
71b8638b5a fix array initialization and thus windows build 2011-09-21 20:40:40 +02:00
Caolán McNamara
94f6a72f7a Revert "remove newly unused methods", used again
This reverts commit 9693764946ac3f27a0170d7556ee62276d7c3dcb.
2011-09-21 09:47:39 +01:00
Caolán McNamara
41ad3fcdba callcatcher: remove newly unused methods 2011-09-21 09:47:38 +01:00
Kohei Yoshida
b749e21fef Unit test for copying range names.
This test would've detected my earlier mistake with the index-lookup
perf enhancement.
2011-09-20 13:08:44 -04:00
Kohei Yoshida
7171daea4b Unit test for refreshing while source data contains empty field name. 2011-09-19 22:44:01 -04:00
Kohei Yoshida
311dbc3b4c Use the method to insert source data. 2011-09-19 22:44:01 -04:00
Kohei Yoshida
cd1c0800bf Extracted method for inserting source data for pivot table testing. 2011-09-19 22:44:01 -04:00
Markus Mohrhard
7a7f10e8ed forgot another csv file 2011-09-15 05:38:17 +02:00
Markus Mohrhard
4fe079747a add formats test for xls and xlsx 2011-09-15 05:19:41 +02:00
Markus Mohrhard
2b75f5908b improve calc's format unit test
bug in 'formats.ods'Sheet1.B5 with number format import
2011-09-15 05:19:41 +02:00
Kohei Yoshida
27dcdb1716 New unit test case for testing SHEETS function result. 2011-09-14 12:38:01 -04:00
Markus Mohrhard
84db141177 forgot the csv file for number formats 2011-09-14 04:06:28 +02:00
Markus Mohrhard
61732a8d8a add unit test for formated cells 2011-09-14 03:59:54 +02:00
Markus Mohrhard
b6d3f5c2c1 ScCompiler::IsDBRange compares upper case strings 2011-09-14 03:59:53 +02:00
Markus Mohrhard
ba361f9baa add database unit test 2011-09-14 03:59:53 +02:00
Kohei Yoshida
e61010d242 Let's keep our file naming scheme consistent. 2011-09-13 00:28:16 -04:00
Kohei Yoshida
239ad92c27 We normally use an 'f' prefix for double.
I'm not a big fan of Hungarian notation, but since we use it, let's
be consistent.
2011-09-12 23:59:46 -04:00
Kohei Yoshida
a60b10593d No need to use += to initialize m_aFileRoot. 2011-09-12 23:55:06 -04:00
Kohei Yoshida
8d74cabd80 Let's do hard re-calc only when necessary.
Since doing a hard re-calc can be slow, let's not do this for all
loading test cases, but only when we are testing formula interpretations.
2011-09-12 23:44:59 -04:00
Kohei Yoshida
0544af5f11 Let's put using namespace declarations at the top. 2011-09-12 23:36:53 -04:00
Kohei Yoshida
e15718c41d It's appropriate to name this class singular.
Since each instance refers to a single file format, while its array
instance holds multiple instances of this structure.
2011-09-12 23:34:27 -04:00
Kohei Yoshida
5440aa1e37 Let's not indent in namespace scopes. 2011-09-12 23:33:31 -04:00
Kohei Yoshida
efebf5181c These don't have to be member functions. 2011-09-12 23:30:51 -04:00
Markus Mohrhard
52f56d2401 force always a full recalculation for ods, xls and xlsx in unit test
we can't assume that always all formulas are recalculated, we might used
cached results
2011-09-13 03:29:36 +02:00
Markus Mohrhard
e7cd70302c make it possible to est formula string in csv files 2011-09-13 03:29:36 +02:00
Markus Mohrhard
0bc368babc add files for bugFix tests and restructure filters-test a bit 2011-09-13 02:17:19 +02:00
Stephan Bergmann
d996328cd5 sb140: #i113503# mixing system CppUnit and OOo STLport does not work, backed out a6913c9677c2
For LibO, that just means replacing sal/cppunit.h with sal/precppunit.hxx.
2011-09-12 22:47:50 +02:00
Kohei Yoshida
7e76086272 ScPateUndo cleaned up. 2011-09-12 13:22:04 -04:00
Markus Mohrhard
67d6de5c27 second try to prevent warning 2011-09-09 13:46:35 +02:00
Markus Mohrhard
5b54933202 forgot to add the file for the unit test 2011-09-09 05:22:21 +02:00
Markus Mohrhard
5bd732bf8f prevent warning 2011-09-09 05:18:18 +02:00