Update junit tests
This commit is contained in:
parent
0dc76234f2
commit
2941e14932
1 changed files with 9 additions and 5 deletions
|
@ -14,6 +14,7 @@
|
||||||
<property name="unit.absolute.dir" location="${unit.dir}" />
|
<property name="unit.absolute.dir" location="${unit.dir}" />
|
||||||
<property name="test.lib.dir" value="test-libs" />
|
<property name="test.lib.dir" value="test-libs" />
|
||||||
<property name="test.lib.absolute.dir" location="${test.lib.dir}" />
|
<property name="test.lib.absolute.dir" location="${test.lib.dir}" />
|
||||||
|
<property name="reports.tests" value="${basedir}/test-results" />
|
||||||
|
|
||||||
<property name="java.encoding" value="UTF-8" />
|
<property name="java.encoding" value="UTF-8" />
|
||||||
|
|
||||||
|
@ -58,17 +59,20 @@
|
||||||
</copy>
|
</copy>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="run-turn-lanes-test" >
|
<target name="junits" >
|
||||||
<junit printsummary="yes" haltonfailure="yes" showoutput="yes">
|
<junit printsummary="yes" haltonfailure="yes" showoutput="yes">
|
||||||
<classpath>
|
<classpath>
|
||||||
<pathelement path="bin"/>
|
<pathelement path="bin"/>
|
||||||
<path refid="build.path"/>
|
<path refid="build.path"/>
|
||||||
<path refid="test-lib.path" />
|
<path refid="test-lib.path" />
|
||||||
</classpath>
|
</classpath>
|
||||||
<test name="net.osmand.router.RouteResultPreparationTest" haltonfailure="no" outfile="result">
|
<batchtest fork="false" todir="${reports.tests}" >
|
||||||
<formatter type="plain"/>
|
<fileset dir="${srctests.dir}" >
|
||||||
<formatter type="xml"/>
|
<include name="**/*Test*.java" />
|
||||||
</test>
|
<exclude name="**/AllTests.java" />
|
||||||
|
<exclude name="**/*Suite*.java" />
|
||||||
|
</fileset>
|
||||||
|
</batchtest>
|
||||||
</junit>
|
</junit>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue