1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 20:12:07 +01:00

SMACK-286 fix unit test for newer ant versions

Some unit tests depend on SmackConfiguration being loaded, so that the
initializer was run and the providers where configured. We create this
condition now by setting "reloading=false" to the junit task and hope
that there was a unit test before us that loaded SmackConfiguration.

But we keep in mind that this is only a ugly workaround, as unit test
should work on their own and have no inter-dependencies,
This commit is contained in:
Florian Schmaus 2014-02-03 18:25:40 +01:00
parent b132dfa744
commit b5cac9c68a

View file

@ -467,7 +467,8 @@
fork="false" fork="false"
haltonfailure="false" haltonfailure="false"
failureproperty="tests.failed" failureproperty="tests.failed"
showoutput="true"> showoutput="true"
reloading="false" >
<classpath> <classpath>
<fileset dir="${merge.lib.dir}"> <fileset dir="${merge.lib.dir}">