multithreaded JunitTest

Miklos Vajna vmiklos at collabora.co.uk
Mon Jun 1 00:33:43 PDT 2015


On Sat, May 30, 2015 at 04:47:56PM +0200, Lionel Elie Mamane <lionel at mamane.lu> wrote:
> I fixed the underlying bug, but I would like to fix the test so that
> it fails when one of the threads fails. I tried to not catch the
> Exception, but that does not help. (I noticed the thread failure by
> looking at workdir/JunitTest/dbaccess_complex/done.log )

Can't you call org.junit.Assert.fail() in the catch block?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150601/07ecbd5a/attachment.sig>


More information about the LibreOffice mailing list