imakerplugin/com.nokia.s60tools.imaker.tests.feature/test.xml
author cawthron
Fri, 27 Aug 2010 06:53:48 -0500
branchRCL_2_4
changeset 13 1034f415ab90
parent 0 61163b28edca
permissions -rw-r--r--
write .branch.txt to make the new head
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     2
<project name="testsuite" default="run" basedir=".">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     3
	<property file="../common.properties" />
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     4
	<!-- The property ${eclipse-home} should be passed into this script -->
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     5
	<!-- Set a meaningful default value for when it is not. -->
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     6
	
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     7
	<!-- sets the properties eclipse-home, and library-file -->
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     8
	<property name="plugin-name" value="com.nokia.s60tools.imaker.tests"/>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     9
	<property name="library-file" value="${eclipse-home}/plugins/org.eclipse.test_3.2.0/library.xml"/>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    10
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    11
	<!-- This target holds all initialization code that needs to be done for -->
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    12
	<!-- all tests that are to be run. Initialization for individual tests -->
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    13
	<!-- should be done within the body of the suite target. -->
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    14
	<target name="init">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    15
		<tstamp/>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    16
		<delete>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    17
			<fileset dir="${eclipse-home}" includes="org*.xml"/>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    18
		</delete>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    19
	</target>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    20
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    21
	<!-- This target defines the tests that need to be run. -->
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    22
	<target name="suite">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    23
		<property name="refactoring-folder" value="${basedir}/refactoring_folder"/>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    24
		<delete dir="${refactoring-folder}" quiet="true"/>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    25
		<ant target="ui-test" antfile="${library-file}" dir="${basedir}">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    26
			<property name="data-dir" value="${refactoring-folder}"/>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    27
			<property name="plugin-name" value="${plugin-name}"/>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    28
			<property name="classname" value="com.nokia.s60tools.imaker.internal.tests.AllTests"/>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    29
		</ant>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    30
	</target>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    31
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    32
	<!-- This target holds code to cleanup the testing environment after -->
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    33
	<!-- after all of the tests have been run. You can use this target to -->
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    34
	<!-- delete temporary files that have been created. -->
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    35
	<target name="cleanup">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    36
	</target>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    37
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    38
	<!-- This target runs the test suite. Any actions that need to happen -->
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    39
	<!-- after all the tests have been run should go here. -->
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    40
	<target name="run" depends="init,suite,cleanup">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    41
		<ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    42
			<property name="includes" value="org*.xml"/>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    43
			<property name="output-file" value="${plugin-name}.xml"/>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    44
		</ant>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    45
	</target>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    46
</project>