1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-22 10:37:59 +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"
haltonfailure="false"
failureproperty="tests.failed"
showoutput="true">
showoutput="true"
reloading="false" >
<classpath>
<fileset dir="${merge.lib.dir}">