Merge pull request #4 from alovassy/master
[deliverable/titan.core.git] / titan_executor_api / TITAN_Executor_API_test / build.xml
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!--
3 Copyright (c) 2000-2016 Ericsson Telecom AB
4 All rights reserved. This program and the accompanying materials
5 are made available under the terms of the Eclipse Public License v1.0
6 which accompanies this distribution, and is available at
7 http://www.eclipse.org/legal/epl-v10.html
8
9 Contributors:
10 Janos Zoltan Szabo – initial implementation
11 -->
12 <project basedir="." default="build" name="TITAN_Executor_API_test">
13 <property environment="env"/>
14 <property name="junit.output.dir" value="junit"/>
15 <property name="TITAN_Executor_API.location" value="../TITAN_Executor_API"/>
16 <property name="debuglevel" value="source,lines,vars"/>
17 <property name="target" value="1.7"/>
18 <property name="source" value="1.7"/>
19 <path id="JUnit 4.libraryclasspath">
20 <pathelement location="${junit.full}"/>
21 <pathelement location="${hamcrest.full}"/>
22 </path>
23 <path id="TITAN_Executor_API.classpath">
24 <pathelement location="${TITAN_Executor_API.location}/bin"/>
25 </path>
26 <path id="TITAN_Executor_API_test.classpath">
27 <pathelement location="bin"/>
28 <path refid="JUnit 4.libraryclasspath"/>
29 <path refid="TITAN_Executor_API.classpath"/>
30 </path>
31 <target name="init">
32 <mkdir dir="bin"/>
33 <copy includeemptydirs="false" todir="bin">
34 <fileset dir="src">
35 <exclude name="**/*.g"/>
36 <exclude name="**/*.java"/>
37 </fileset>
38 </copy>
39 </target>
40 <target name="clean">
41 <delete dir="bin"/>
42 </target>
43 <target depends="clean" name="cleanall">
44 <ant antfile="build.xml" dir="${TITAN_Executor_API.location}" inheritAll="false" target="clean"/>
45 </target>
46 <target depends="build-subprojects,build-project" name="build"/>
47 <target name="build-subprojects">
48 <ant antfile="build.xml" dir="${TITAN_Executor_API.location}" inheritAll="false" target="build-project">
49 <propertyset>
50 <propertyref name="build.compiler"/>
51 </propertyset>
52 </ant>
53 </target>
54 <target depends="init" name="build-project">
55 <echo message="${ant.project.name}: ${ant.file}"/>
56 <javac debug="true" debuglevel="${debuglevel}" destdir="bin" includeantruntime="false" source="${source}" target="${target}">
57 <src path="src"/>
58 <classpath refid="TITAN_Executor_API_test.classpath"/>
59 </javac>
60 </target>
61 <target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
62 <target name="JniExecutorAsyncHappyTest.testExecutor_Async_Route1_TestByTestCaseName_Happy">
63 <mkdir dir="${junit.output.dir}"/>
64 <junit fork="yes" printsummary="withOutAndErr">
65 <formatter type="xml"/>
66 <test name="org.eclipse.titan.executorapi.test.JniExecutorAsyncHappyTest" todir="${junit.output.dir}"/>
67 <classpath refid="TITAN_Executor_API_test.classpath"/>
68 </junit>
69 </target>
70 <target name="JniExecutorAsyncErrorIllegalArgTest">
71 <mkdir dir="${junit.output.dir}"/>
72 <junit fork="yes" printsummary="withOutAndErr">
73 <formatter type="xml"/>
74 <test name="org.eclipse.titan.executorapi.test.JniExecutorAsyncErrorIllegalArgTest" todir="${junit.output.dir}"/>
75 <classpath refid="TITAN_Executor_API_test.classpath"/>
76 </junit>
77 </target>
78 <target name="JniExecutorAsyncErrorWrongStateTest">
79 <mkdir dir="${junit.output.dir}"/>
80 <junit fork="yes" printsummary="withOutAndErr">
81 <formatter type="xml"/>
82 <test name="org.eclipse.titan.executorapi.test.JniExecutorAsyncErrorWrongStateTest" todir="${junit.output.dir}"/>
83 <classpath refid="TITAN_Executor_API_test.classpath"/>
84 </junit>
85 </target>
86 <target name="StringUtilTest">
87 <mkdir dir="${junit.output.dir}"/>
88 <junit fork="yes" printsummary="withOutAndErr">
89 <formatter type="xml"/>
90 <test name="org.eclipse.titan.executorapi.test.StringUtilTest" todir="${junit.output.dir}"/>
91 <classpath refid="TITAN_Executor_API_test.classpath"/>
92 </junit>
93 </target>
94 <target name="JniExecutorAsyncHappyTest">
95 <mkdir dir="${junit.output.dir}"/>
96 <junit fork="yes" printsummary="withOutAndErr">
97 <formatter type="xml"/>
98 <test name="org.eclipse.titan.executorapi.test.JniExecutorAsyncHappyTest" todir="${junit.output.dir}"/>
99 <classpath refid="TITAN_Executor_API_test.classpath"/>
100 </junit>
101 </target>
102 <target name="JniExecutorAsyncHappySimpleTest">
103 <mkdir dir="${junit.output.dir}"/>
104 <junit fork="yes" printsummary="withOutAndErr">
105 <formatter type="xml"/>
106 <test name="org.eclipse.titan.executorapi.test.JniExecutorAsyncHappySimpleTest" todir="${junit.output.dir}"/>
107 <classpath refid="TITAN_Executor_API_test.classpath"/>
108 </junit>
109 </target>
110 <target name="JniExecutorSyncTest">
111 <mkdir dir="${junit.output.dir}"/>
112 <junit fork="yes" printsummary="withOutAndErr">
113 <formatter type="xml"/>
114 <test name="org.eclipse.titan.executorapi.test.JniExecutorSyncTest" todir="${junit.output.dir}"/>
115 <classpath refid="TITAN_Executor_API_test.classpath"/>
116 </junit>
117 </target>
118 <target name="HostControllerErrorIllegalArgTest">
119 <mkdir dir="${junit.output.dir}"/>
120 <junit fork="yes" printsummary="withOutAndErr">
121 <formatter type="xml"/>
122 <test name="org.eclipse.titan.executorapi.test.HostControllerErrorIllegalArgTest" todir="${junit.output.dir}"/>
123 <classpath refid="TITAN_Executor_API_test.classpath"/>
124 </junit>
125 </target>
126 <target name="TITAN_Executor_API_test" depends="build">
127 <mkdir dir="${junit.output.dir}"/>
128 <junit fork="yes" printsummary="withOutAndErr" failureproperty="test.failed">
129 <formatter type="xml"/>
130 <test name="org.eclipse.titan.executorapi.test.HostControllerErrorIllegalArgTest" todir="${junit.output.dir}"/>
131 <test name="org.eclipse.titan.executorapi.test.JniExecutorAsyncErrorIllegalArgTest" todir="${junit.output.dir}"/>
132 <test name="org.eclipse.titan.executorapi.test.JniExecutorAsyncErrorWrongStateTest" todir="${junit.output.dir}"/>
133 <test name="org.eclipse.titan.executorapi.test.JniExecutorAsyncHappySimpleTest" todir="${junit.output.dir}"/>
134 <test name="org.eclipse.titan.executorapi.test.JniExecutorAsyncHappyTest" todir="${junit.output.dir}"/>
135 <test name="org.eclipse.titan.executorapi.test.JniExecutorSyncTest" todir="${junit.output.dir}"/>
136 <test name="org.eclipse.titan.executorapi.test.StringUtilTest" todir="${junit.output.dir}"/>
137 <classpath refid="TITAN_Executor_API_test.classpath"/>
138 </junit>
139 <fail if="test.failed" message="TITAN_Executor_API_test FAILED"/>
140 </target>
141 <target name="junitreport">
142 <junitreport todir="${junit.output.dir}">
143 <fileset dir="${junit.output.dir}">
144 <include name="TEST-*.xml"/>
145 </fileset>
146 <report format="frames" todir="${junit.output.dir}"/>
147 </junitreport>
148 </target>
149 </project>
This page took 0.035575 seconds and 6 git commands to generate.