[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libcommons-jexl2-java



Le 31/05/2013 16:07, Emmanuel Bourg a écrit :

> This is caused by the JUnit upgrade. It works with JUnit 4.10 but fails
> with JUnit 4.11. This issue doesn't happen with JEXL 3 but I don't
> understand why. I added a patch to disable the failing assertions.

I now understand why it failed. JUnit 4.11 changed the execution order
of the test methods. This can cause failures if the tests are not
properly isolated and share a mutable context. I updated the patch to
reset the context instead of disabling some of the assertions.

Emmanuel Bourg


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: