11 Commits

Author SHA1 Message Date
Caolán McNamara
b1964a24a6 ReportDefinition is the one that is failing for me under Linux too
Change-Id: I00480813d8c3703039a55a7a706937d33e8e8463
2014-06-24 16:05:50 +01:00
Stephan Bergmann
0b5568b9dd Fix CppunitTest_services on Windows
...by blacklisting the problematic service

Change-Id: I524a7c7af2cb374911db7b204021c3d2bcd1fdd6
2014-06-12 12:29:24 +02:00
Stephan Bergmann
c4444ea0c4 Avoid Solar Mutex deadlocks when disposing services
...as test code using gb_CppunitTest_use_vcl is implicitly run with Solar Mutex locked

Change-Id: I480b4bcce7c6a94922019679099b0883b3ee1030
2014-06-12 12:29:23 +02:00
Markus Mohrhard
336364b46d Revert "Revert "Make sure to dispose services supporting the XComponent protocol""
This reverts commit 044be7107a97169e80360c79a9d07bec263ac818.

It only works sometimes. Still a deadlock based on a race condition.
2014-06-09 04:55:22 +02:00
Markus Mohrhard
044be7107a Revert "Make sure to dispose services supporting the XComponent protocol"
This reverts commit 4cacc6080e61374fd573fffb3bc2a54968c1b61a.
2014-06-07 04:34:10 +02:00
Stephan Bergmann
4cacc6080e Make sure to dispose services supporting the XComponent protocol
...to e.g. avoid leftover temp files from instantiating
com.sun.star.comp.report.OReportDefinition.  But dispose all instances only at
the very end, to avoid disposing some single-instance services too early.

Change-Id: I71fc50e80f4b5d1a1ca16e392725903b079ce2d1
2014-05-15 12:23:39 +02:00
Noel Grandin
78b9537b6a various: sal_Bool->bool
Change-Id: I30fa5227f30373f95060148f269450d2945c1bb9
2014-05-08 11:48:14 +02:00
Chris Sherlock
c05ef7eeb1 Make service unit test easier to debug
It's sort of hard to break into this function with gdb. Seperating it out
makes it a lot easier to work out where things are breaking.

Change-Id: If99effd44fe677452ac3c1012b99da7da80c720e
Reviewed-on: https://gerrit.libreoffice.org/8844
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-04-04 08:53:05 -05:00
Jan Holesovsky
d8db8edded Add more logging so that we have the info even in case of weird crashes.
Change-Id: I5888fb3e1ffa1bfdf9b91c06087ef5b7ccbb82ec
2014-01-14 09:58:16 +01:00
Stephan Bergmann
014fbd610e Improve CppunitTest_services
Change-Id: I4b22ce7e5fa91d5008f72e1f351d25063065ba43
2013-12-19 22:46:34 +01:00
Matúš Kukan
ff9614a744 Add a unit test trying to create every available service with default ctor.
Change-Id: I79e70aeabdb816eaf7a719d2094034d78d11c90b
2013-12-18 07:15:50 +01:00