Commit graph

262 commits

Author SHA1 Message Date
Caolán McNamara
7c5a11df60 normalize Red Hat, Inc. 2011-12-06 21:40:20 +00:00
Markus Mohrhard
5881881e59 make sw's macros_test use the new base class 2011-11-29 10:44:45 +01:00
Norbert Thiebaud
dff7e08711 remove include of pch header from sw 2011-11-27 13:25:10 -06:00
Markus Mohrhard
fe8c3c69fd we don't need to inherit from FiltersTest here 2011-11-15 03:35:08 +01:00
Markus Mohrhard
b197bac71a test file needs to be in doc and not in xls 2011-11-15 00:29:50 +01:00
Markus Mohrhard
cb7c50c1a0 move macros_test to sw
the macros_test does not execute a useful macro at the moment
2011-11-14 23:50:56 +01:00
Bjoern Michaelsen
fe7026d72b fdo#40819, i#116193: disable WW8 roundtrip as it breaks on big bookmark counts 2011-11-14 23:03:23 +01:00
Markus Mohrhard
f596995c14 SfxObjectShell takes ownership of SfxMedium and SfxFilter 2011-11-11 04:37:53 +01:00
Markus Mohrhard
2cfe0c6a30 we should close the unit test documents in sw 2011-11-11 03:05:52 +01:00
Bjoern Michaelsen
650592cf01 fdo#40819 lp#868229: reenable CheckBookmarks subsequenttest
* MsWord Hash changed from DEV300m41 => behaviour change, possible regression?
2011-11-10 12:02:08 +01:00
Caolán McNamara
af55fea94e utf-16, not utf-8 2011-11-03 12:18:18 +00:00
Caolán McNamara
01501ea9ef add missing tests 2011-11-03 12:18:17 +00:00
Caolán McNamara
12db5315fc Follow UAX-29 and present user-perceived character counts
Not a count of code-units, nor a count of code-points, but try and follow
http://unicode.org/reports/tr29/ and present the grapheme count.

Add a few representative tests to try and avoid gotchas.
2011-11-03 12:18:17 +00: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
Tor Lillqvist
e2f3e17c9a WaE: unreachable code 2011-10-07 15:56:08 +03: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
Bjoern Michaelsen
e652cc30e0 fdo#35660: reenable sw.DocumentSettings::com::sun::text::PrintSettings yet again as it seems to work now 2011-10-05 14:12:54 +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
Michael Meeks
2f3d664419 more unit test cut/paste redux 2011-09-28 15:32:14 +01:00
Michael Meeks
37fd0d9884 sw: switch filters-test to the new shared unit test code 2011-09-28 15:09:49 +01:00
Stephan Bergmann
6671fa81db Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *(). 2011-09-27 20:22:03 +02:00
Caolán McNamara
0345310ec2 disambiguate ctor 2011-09-26 10:18:39 +01:00
Caolán McNamara
871426533f just silence the auto_ptr deprecations in isolation 2011-09-22 15:01:05 +01:00
Caolán McNamara
8578e3c80d Related: fdo#40599 add a initial basic test for deleting graphics 2011-09-14 15:31:07 +01:00
Stephan Bergmann
e849071acc fdo#33960#, fdo#35690#: Disabled failing checkCrossReferences tests for now. 2011-09-13 09:36:08 +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
Caolán McNamara
ebe0549d26 Add cppunit test for SwScanner that would have caught fdo#40449
Move SwScanner so it can be tested easily and add a unit test that would have
detected fdo#40449 in advance
2011-09-09 09:23:09 +01:00
Arnaud Versini
b9ee881986 Remove unecessary parameter to IDocumentStatistics::UpdateDocStat 2011-08-23 16:25:52 +01:00
Caolán McNamara
7483d11c3a add a regression test to confirm SwDocStat works the way I think 2011-08-23 15:23:21 +01:00
Miklos Vajna
13c00ce322 Enable the writerfilter-based RTF import in non-experimental mode
Disable the unit tests in sw, as that would duplicate the unit test in
writerfilter now.

Do not remove the old filter yet, so this commit can be reverted later
if needed.
2011-08-18 12:11:03 +02:00
Norbert Thiebaud
974cb75ee3 [PATCH] do not use clone in path for test in sw 2011-08-06 13:07:57 -05:00
Bjoern Michaelsen
b913e33b2f Merge branch 'master' into feature/gnumake4 2011-07-24 19:23:00 +02:00
Michael Meeks
72f1b4fe4f unit test should write to content nodes, finally creates a document 2011-07-22 21:58:16 +01:00
Michael Meeks
ad0540a717 first cut at an automated / random document / redlining test 2011-07-22 20:29:02 +01:00
Bjoern Michaelsen
834e0a5470 resyncing to master 2011-07-21 19:01:55 +02:00
Caolán McNamara
531743675c merge PAP and CHP length and offset clipping 2011-07-18 12:22:55 +01:00
Caolán McNamara
00741c9434 check that seeks succeed, sanity check count of styles against recorded length 2011-07-11 09:06:54 +01:00
Caolán McNamara
ee5af92054 add another regression test 2011-07-06 09:35:10 +01:00
Caolán McNamara
903109758d fix link 2011-07-05 16:26:07 +01:00
Caolán McNamara
a464c50e30 testLoad unused 2011-07-05 15:30:10 +01:00
Caolán McNamara
a9463a6e9f Related: #i86988# make abo levels safer 2011-07-04 10:37:54 +01:00
Caolán McNamara
c65f89a05f add another regression test here, an expected fail 2011-07-03 12:29:08 +01:00
Caolán McNamara
ca7877fa0d fix this 2011-06-24 13:38:11 +01:00
Caolán McNamara
7ebcee4667 WaE: I hate that these are platform-specific typedefs 2011-06-24 13:22:16 +01:00
Caolán McNamara
2969ee5304 add timing information 2011-06-24 12:47:57 +01:00
Caolán McNamara
2bd815e45d confirm passes on windows 2011-06-22 13:09:38 +01:00
Caolán McNamara
e05b316b39 add indeterminate dir for xml tests 2011-06-22 11:15:25 +01:00
Caolán McNamara
ec9df99a22 add extra test dir for rtf 2011-06-20 16:27:16 +01:00
Caolán McNamara
82a49079c6 ignore dot files, and print info about indeterminate loads 2011-06-20 11:11:45 +01:00