File: junitHelper.xml

package info (click to toggle)
eclipse 3.8.1-10
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 338,840 kB
  • ctags: 472,808
  • sloc: java: 2,762,042; ansic: 136,783; xml: 105,676; cpp: 35,759; jsp: 4,420; sh: 3,288; perl: 1,687; makefile: 232; python: 67; php: 24
file content (29 lines) | stat: -rw-r--r-- 907 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<project name="Generate SDK Test Results HTML" default="genResults">

	<condition property="resultsDefined">
		<isset property="results"/>
	</condition>

	<condition property="eclipseHomeSet">
		<isset property="eclipse-home"/>
	</condition>
	
	<condition property="testframeworkSet">
		<isset property="testframework"/>
	</condition>

	<property name="htmlDir" value="${results}/html"/>
	<property name="xmlDir" value="${results}/xml"/>

	<target name="genResults">
		<fail message="results directory not set"
	      unless="resultsDefined"/>
		<fail message="Eclipse installation directory not set"
	      unless="eclipseHomeSet"/>
		<fail message="Test framework directory not set"
	      unless="testframeworkSet"/>
		<echo message="Generating results in ${htmlDir}"/>
		<xslt style="${eclipse-home}/plugins/${testframework}/JUNIT.XSL" basedir="${xmlDir}" destdir="${htmlDir}" />
	</target>

</project>