You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?xml version="1.0"?>
-
- <project name="junitreport-test" basedir="." default="reports">
-
- <property name="jrdir" location="junitreport"/>
- <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)
- needed for testNoFileJunitNoFrames -->
- <target name="reports1">
- <mkdir dir="${outputdir}"/>
- <mkdir dir="${outputdir}/html"/>
- <junitreport todir="${outputdir}">
- <fileset dir="${jrdir}">
- <include name="TEST-*.xml"/>
- </fileset>
- <report todir="${outputdir}/html"/>
- </junitreport>
- </target>
-
- <target name="testEmptyFile">
- <mkdir dir="${outputdir}/html"/>
- <junitreport todir="${outputdir}">
- <fileset dir="${jrdir}">
- <include name="ZEROBYTES-*.xml"/>
- <include name="TEST-*.xml"/>
- </fileset>
- <report todir="${outputdir}/html"/>
- </junitreport>
- </target>
-
- <target name="testIncompleteFile">
- <mkdir dir="${outputdir}/html"/>
- <junitreport todir="${outputdir}">
- <fileset dir="${jrdir}">
- <include name="INCOMPLETE-*.xml"/>
- <include name="TEST-*.xml"/>
- </fileset>
- <report todir="${outputdir}/html"/>
- </junitreport>
- </target>
-
- <target name="testWrongElement">
- <mkdir dir="${outputdir}/html"/>
- <junitreport todir="${outputdir}">
- <fileset dir="${jrdir}">
- <include name="WRONGELEMENT-*.xml"/>
- <include name="TEST-*.xml"/>
- </fileset>
- <report todir="${outputdir}/html"/>
- </junitreport>
- </target>
-
- <target name="testNamespace">
- <mkdir dir="${outputdir}/html"/>
- <junitreport todir="${outputdir}">
- <fileset dir="${jrdir}">
- <include name="NAMESPACE-*.xml"/>
- <include name="TEST-*.xml"/>
- </fileset>
- <report todir="${outputdir}/html"/>
- </junitreport>
- </target>
-
- <target name="clean">
- <delete dir="${outputdir}"/>
- </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>
|