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
1 changed files with 2 additions and 1 deletions

View File

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