mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-23 04:57:58 +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:
parent
b132dfa744
commit
b5cac9c68a
1 changed files with 2 additions and 1 deletions
|
@ -467,7 +467,8 @@
|
|||
fork="false"
|
||||
haltonfailure="false"
|
||||
failureproperty="tests.failed"
|
||||
showoutput="true">
|
||||
showoutput="true"
|
||||
reloading="false" >
|
||||
|
||||
<classpath>
|
||||
<fileset dir="${merge.lib.dir}">
|
||||
|
|
Loading…
Reference in a new issue