|
@@ -1,12 +1,12 @@ |
|
|
<?xml version="1.0"?> |
|
|
|
|
|
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?> |
|
|
|
|
|
|
|
|
<project name="junitreport-test" basedir="." default="reports"> |
|
|
<project name="junitreport-test" basedir="." default="reports"> |
|
|
|
|
|
|
|
|
<property name="jrdir" location="junitreport"/> |
|
|
<property name="jrdir" location="junitreport"/> |
|
|
<property name="outputdir" location="${jrdir}/test"/> |
|
|
<property name="outputdir" location="${jrdir}/test"/> |
|
|
|
|
|
|
|
|
<!-- reports1 take care of transformation of 2 test result files and |
|
|
|
|
|
produce reports according to the default format (frames) |
|
|
|
|
|
|
|
|
<!-- reports1 take care of transformation of 2 test result files and |
|
|
|
|
|
produce reports according to the default format (frames) |
|
|
needed for testNoFileJunitNoFrames --> |
|
|
needed for testNoFileJunitNoFrames --> |
|
|
<target name="reports1"> |
|
|
<target name="reports1"> |
|
|
<mkdir dir="${outputdir}"/> |
|
|
<mkdir dir="${outputdir}"/> |
|
@@ -29,7 +29,7 @@ |
|
|
<report todir="${outputdir}/html"/> |
|
|
<report todir="${outputdir}/html"/> |
|
|
</junitreport> |
|
|
</junitreport> |
|
|
</target> |
|
|
</target> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<target name="testIncompleteFile"> |
|
|
<target name="testIncompleteFile"> |
|
|
<mkdir dir="${outputdir}/html"/> |
|
|
<mkdir dir="${outputdir}/html"/> |
|
|
<junitreport todir="${outputdir}"> |
|
|
<junitreport todir="${outputdir}"> |
|
@@ -40,7 +40,7 @@ |
|
|
<report todir="${outputdir}/html"/> |
|
|
<report todir="${outputdir}/html"/> |
|
|
</junitreport> |
|
|
</junitreport> |
|
|
</target> |
|
|
</target> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<target name="testWrongElement"> |
|
|
<target name="testWrongElement"> |
|
|
<mkdir dir="${outputdir}/html"/> |
|
|
<mkdir dir="${outputdir}/html"/> |
|
|
<junitreport todir="${outputdir}"> |
|
|
<junitreport todir="${outputdir}"> |
|
@@ -50,7 +50,7 @@ |
|
|
</fileset> |
|
|
</fileset> |
|
|
<report todir="${outputdir}/html"/> |
|
|
<report todir="${outputdir}/html"/> |
|
|
</junitreport> |
|
|
</junitreport> |
|
|
</target> |
|
|
|
|
|
|
|
|
</target> |
|
|
|
|
|
|
|
|
<target name="testNamespace"> |
|
|
<target name="testNamespace"> |
|
|
<mkdir dir="${outputdir}/html"/> |
|
|
<mkdir dir="${outputdir}/html"/> |
|
@@ -61,19 +61,48 @@ |
|
|
</fileset> |
|
|
</fileset> |
|
|
<report todir="${outputdir}/html"/> |
|
|
<report todir="${outputdir}/html"/> |
|
|
</junitreport> |
|
|
</junitreport> |
|
|
</target> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</target> |
|
|
|
|
|
|
|
|
<target name="clean"> |
|
|
<target name="clean"> |
|
|
<delete dir="${outputdir}"/> |
|
|
<delete dir="${outputdir}"/> |
|
|
</target> |
|
|
</target> |
|
|
|
|
|
|
|
|
<target name="testStackTraceLineBreaks"> |
|
|
|
|
|
<mkdir dir="${outputdir}/html"/> |
|
|
|
|
|
<junitreport todir="${outputdir}"> |
|
|
|
|
|
<fileset dir="${jrdir}"> |
|
|
|
|
|
<include name="TEST-*.xml"/> |
|
|
|
|
|
</fileset> |
|
|
|
|
|
<report todir="${outputdir}/html"/> |
|
|
|
|
|
</junitreport> |
|
|
|
|
|
</target> |
|
|
|
|
|
</project> |
|
|
|
|
|
|
|
|
<target name="testStackTraceLineBreaks"> |
|
|
|
|
|
<mkdir dir="${outputdir}/html"/> |
|
|
|
|
|
<junitreport todir="${outputdir}"> |
|
|
|
|
|
<fileset dir="${jrdir}"> |
|
|
|
|
|
<include name="TEST-*.xml"/> |
|
|
|
|
|
</fileset> |
|
|
|
|
|
<report todir="${outputdir}/html"/> |
|
|
|
|
|
</junitreport> |
|
|
|
|
|
</target> |
|
|
|
|
|
|
|
|
|
|
|
<target name="testSpecialSignsInSrcPath"> |
|
|
|
|
|
<mkdir dir="${outputdir}/html"/> |
|
|
|
|
|
<mkdir dir="${outputdir}/test# $$%§&-!cases"/> |
|
|
|
|
|
<copy todir="${outputdir}/test# $$%§&-!cases"> |
|
|
|
|
|
<fileset dir="junitreport" includes="TEST-*.xml"/> |
|
|
|
|
|
</copy> |
|
|
|
|
|
<junitreport todir="${outputdir}/html"> |
|
|
|
|
|
<fileset dir="${outputdir}/test# $$%§&-!cases"> |
|
|
|
|
|
<include name="TEST-*.xml"/> |
|
|
|
|
|
</fileset> |
|
|
|
|
|
<report todir="${outputdir}/html"/> |
|
|
|
|
|
</junitreport> |
|
|
|
|
|
</target> |
|
|
|
|
|
|
|
|
|
|
|
<target name="testSpecialSignsInHtmlPath"> |
|
|
|
|
|
<mkdir dir="${outputdir}/html# $$%§&-!report"/> |
|
|
|
|
|
<mkdir dir="${outputdir}/test"/> |
|
|
|
|
|
<copy todir="${outputdir}/test"> |
|
|
|
|
|
<fileset dir="junitreport" includes="TEST-*.xml"/> |
|
|
|
|
|
</copy> |
|
|
|
|
|
<junitreport todir="${outputdir}/html# $$%§&-!report"> |
|
|
|
|
|
<fileset dir="${outputdir}/test"> |
|
|
|
|
|
<include name="TEST-*.xml"/> |
|
|
|
|
|
</fileset> |
|
|
|
|
|
<report todir="${outputdir}/html# $$%§&-!report"/> |
|
|
|
|
|
</junitreport> |
|
|
|
|
|
</target> |
|
|
|
|
|
|
|
|
|
|
|
</project> |