Update junit tests

This commit is contained in:
Victor Shcherb 2016-03-30 14:57:27 +02:00
parent 0dc76234f2
commit 2941e14932

View file

@ -14,6 +14,7 @@
<property name="unit.absolute.dir" location="${unit.dir}" />
<property name="test.lib.dir" value="test-libs" />
<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" />
@ -58,17 +59,20 @@
</copy>
</target>
<target name="run-turn-lanes-test" >
<target name="junits" >
<junit printsummary="yes" haltonfailure="yes" showoutput="yes">
<classpath>
<pathelement path="bin"/>
<path refid="build.path"/>
<path refid="test-lib.path" />
</classpath>
<test name="net.osmand.router.RouteResultPreparationTest" haltonfailure="no" outfile="result">
<formatter type="plain"/>
<formatter type="xml"/>
</test>
<batchtest fork="false" todir="${reports.tests}" >
<fileset dir="${srctests.dir}" >
<include name="**/*Test*.java" />
<exclude name="**/AllTests.java" />
<exclude name="**/*Suite*.java" />
</fileset>
</batchtest>
</junit>
</target>