forked from I2P_Developers/i2p.i2p
Add Mockito libs to streaming tests
This commit is contained in:
@ -46,12 +46,15 @@
|
|||||||
<echo message="[DEBUG] ant home is ${ant.home}" />
|
<echo message="[DEBUG] ant home is ${ant.home}" />
|
||||||
<echo message="[DEBUG] junit home before override is ${junit.home}" />
|
<echo message="[DEBUG] junit home before override is ${junit.home}" />
|
||||||
<echo message="[DEBUG] hamcrest home before override is ${hamcrest.home}" />
|
<echo message="[DEBUG] hamcrest home before override is ${hamcrest.home}" />
|
||||||
|
<echo message="[DEBUG] mockito home before override is ${mockito.home}" />
|
||||||
|
|
||||||
<property name="junit.home" value="${ant.home}/lib" />
|
<property name="junit.home" value="${ant.home}/lib" />
|
||||||
<property name="hamcrest.home" value="${ant.home}/lib" />
|
<property name="hamcrest.home" value="${ant.home}/lib" />
|
||||||
|
<property name="mockito.home" value="${ant.home}/lib" />
|
||||||
|
|
||||||
<echo message="[DEBUG] junit home after override is ${junit.home}" />
|
<echo message="[DEBUG] junit home after override is ${junit.home}" />
|
||||||
<echo message="[DEBUG] hamcrest home after override is ${hamcrest.home}" />
|
<echo message="[DEBUG] hamcrest home after override is ${hamcrest.home}" />
|
||||||
|
<echo message="[DEBUG] mockito home after override is ${mockito.home}" />
|
||||||
|
|
||||||
<javac
|
<javac
|
||||||
srcdir="./test/junit"
|
srcdir="./test/junit"
|
||||||
@ -64,6 +67,9 @@
|
|||||||
<pathelement location="${junit.home}/junit4.jar" />
|
<pathelement location="${junit.home}/junit4.jar" />
|
||||||
<pathelement location="${hamcrest.home}/hamcrest.jar" />
|
<pathelement location="${hamcrest.home}/hamcrest.jar" />
|
||||||
<pathelement location="${hamcrest.home}/hamcrest-all.jar" />
|
<pathelement location="${hamcrest.home}/hamcrest-all.jar" />
|
||||||
|
<pathelement location="${mockito.home}/byte-buddy.jar" />
|
||||||
|
<pathelement location="${mockito.home}/objenesis.jar" />
|
||||||
|
<pathelement location="${mockito.home}/mockito-core.jar" />
|
||||||
</classpath>
|
</classpath>
|
||||||
<compilerarg line="${javac.compilerargs}" />
|
<compilerarg line="${javac.compilerargs}" />
|
||||||
</javac>
|
</javac>
|
||||||
@ -106,6 +112,7 @@
|
|||||||
|
|
||||||
<property name="junit.home" value="${ant.home}/lib" />
|
<property name="junit.home" value="${ant.home}/lib" />
|
||||||
<property name="hamcrest.home" value="${ant.home}/lib" />
|
<property name="hamcrest.home" value="${ant.home}/lib" />
|
||||||
|
<property name="mockito.home" value="${ant.home}/lib" />
|
||||||
|
|
||||||
<junit printsummary="withOutAndErr" fork="yes" showoutput="yes" >
|
<junit printsummary="withOutAndErr" fork="yes" showoutput="yes" >
|
||||||
<sysproperty key="net.sourceforge.cobertura.datafile" file="./cobertura.ser" />
|
<sysproperty key="net.sourceforge.cobertura.datafile" file="./cobertura.ser" />
|
||||||
@ -115,6 +122,9 @@
|
|||||||
<pathelement location="${hamcrest.home}/hamcrest-library.jar" />
|
<pathelement location="${hamcrest.home}/hamcrest-library.jar" />
|
||||||
<pathelement location="${hamcrest.home}/hamcrest-integration.jar" />
|
<pathelement location="${hamcrest.home}/hamcrest-integration.jar" />
|
||||||
<pathelement location="${hamcrest.home}/hamcrest-all.jar" />
|
<pathelement location="${hamcrest.home}/hamcrest-all.jar" />
|
||||||
|
<pathelement location="${mockito.home}/byte-buddy.jar" />
|
||||||
|
<pathelement location="${mockito.home}/objenesis.jar" />
|
||||||
|
<pathelement location="${mockito.home}/mockito-core.jar" />
|
||||||
<pathelement location="${junit.home}/junit4.jar" />
|
<pathelement location="${junit.home}/junit4.jar" />
|
||||||
<pathelement location="./build/obj_cobertura" />
|
<pathelement location="./build/obj_cobertura" />
|
||||||
<pathelement location="./build/obj" />
|
<pathelement location="./build/obj" />
|
||||||
|
Reference in New Issue
Block a user