david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 1 | <project |
| 2 | name="Automated Eclipse Testing" |
| 3 | default="all" |
| 4 | basedir="."> |
david_williams | b93c1ee | 2008-02-10 21:27:40 +0000 | [diff] [blame] | 5 | <property environment="env" /> |
| 6 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 7 | <echo |
| 8 | level="info" |
| 9 | message="starting Automated Eclipse Testing" /> |
| 10 | <echo |
| 11 | level="debug" |
| 12 | message="basedir: ${basedir}" /> |
| 13 | <echo |
| 14 | level="debug" |
| 15 | message="testRoot: ${testRoot}" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 16 | <fail |
| 17 | message="testRoot must be set" |
| 18 | unless="testRoot" /> |
david_williams | 535d681 | 2007-03-29 06:46:26 +0000 | [diff] [blame] | 19 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 20 | <!--properties file containing the some server name properties --> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 21 | <property |
| 22 | file="${testRoot}/testServer.properties" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 23 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 24 | <!--properties file containing the build information--> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 25 | <property |
| 26 | file="${buildDirectory}/label.properties" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 27 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 28 | <!--default directory where test-eclipse will be installed--> |
| 29 | <property |
| 30 | name="install" |
| 31 | value="${testRoot}" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 32 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 33 | <!--name that can be added to report name to identify which platform tests results come from--> |
| 34 | <property |
| 35 | name="platform" |
| 36 | value="" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 37 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 38 | <!-- The root of the eclipse installation --> |
| 39 | <property |
| 40 | name="eclipse-home" |
| 41 | value="${testRoot}/eclipse" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 42 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 43 | <!-- The directory that will contain the xml and html results from the tests that are run --> |
| 44 | <property |
| 45 | name="results" |
| 46 | value="${testRoot}/results" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 47 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 48 | <!-- jonas install directory --> |
| 49 | <property |
| 50 | name="jonas432Dir" |
| 51 | value="${testRoot}/${jonas432DirName}" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 52 | <target |
| 53 | name="init"> |
| 54 | <antcall |
| 55 | target="setPropertyJOnAS432Dir" /> |
| 56 | <antcall |
| 57 | target="computePluginVersion" /> |
| 58 | <property |
| 59 | file="${testRoot}/test2.properties" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 60 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 61 | <target |
| 62 | name="setPropertyJOnAS432Dir" |
| 63 | unless="jonas432Dir"> |
| 64 | <property |
| 65 | name="jonas432Dir" |
| 66 | value="${testRoot}/${jonas432DirName}" /> |
| 67 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 68 | <target |
| 69 | name="setup" |
| 70 | if="clean" |
| 71 | description="Reinstall the test Eclipse installation if specified by user"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 72 | <delete |
| 73 | dir="${install}" /> |
| 74 | <mkdir |
| 75 | dir="${install}" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 76 | <exec |
| 77 | dir="." |
| 78 | executable="unzip"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 79 | <arg |
| 80 | line="-o -qq ../downloads/*.zip -d ${install}" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 81 | </exec> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 82 | <exec |
| 83 | dir="." |
| 84 | executable="unzip"> |
| 85 | <arg |
| 86 | line="-o -qq wtp-wst-tests-feature*.zip -d ${install}" /> |
| 87 | </exec> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 88 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 89 | <target |
| 90 | name="runapitests" |
| 91 | depends="setup"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 92 | <antcall |
| 93 | target="runtests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 94 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 95 | <target |
| 96 | name="runtests" |
| 97 | depends="setup" |
| 98 | description="Runs ant on the test.xml for a specified plugin."> |
| 99 | <available |
| 100 | file="${eclipse-home}/plugins/${testPlugin}/test.xml" |
| 101 | property="test.xml.exists" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 102 | <antcall |
| 103 | target="runtests2" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 104 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 105 | <target |
| 106 | name="runtests2" |
| 107 | if="test.xml.exists"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 108 | <antcall |
| 109 | target="runtests-normal" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 110 | <copy |
| 111 | file="${eclipse-home}/${report}.xml" |
| 112 | tofile="${results}/xml/${report}_${platform}.xml" |
| 113 | failonerror="false" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 114 | <antcall |
| 115 | target="genHtml" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 116 | </target> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 117 | <target |
| 118 | name="runtests-normal"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 119 | <ant |
| 120 | antfile="${eclipse-home}/plugins/${testPlugin}/test.xml" |
| 121 | dir="${eclipse-home}"> |
| 122 | <property |
| 123 | name="library-file" |
| 124 | value="${testRoot}/wtp-junit-tests.xml" /> |
| 125 | </ant> |
| 126 | <copy |
| 127 | file="${eclipse-home}/${report}.xml" |
| 128 | tofile="${results}/xml/${report}_${platform}.xml" |
| 129 | failonerror="false" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 130 | <antcall |
| 131 | target="genHtml" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 132 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 133 | <target |
| 134 | name="wst-server-tests" |
| 135 | depends="init" |
| 136 | description="Runs the org.eclipse.wst.server.*.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 137 | <antcall |
| 138 | target="runapitests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 139 | <param |
| 140 | name="testPlugin" |
| 141 | value="${org.eclipse.wst.server.core.tests}" /> |
| 142 | <param |
| 143 | name="report" |
| 144 | value="org.eclipse.wst.server.core.tests" /> |
| 145 | <param |
| 146 | name="package.includes" |
| 147 | value="org.eclipse.wst.server" /> |
| 148 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 149 | <antcall |
| 150 | target="runapitests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 151 | <param |
| 152 | name="testPlugin" |
| 153 | value="${org.eclipse.wst.server.ui.tests}" /> |
| 154 | <param |
| 155 | name="report" |
| 156 | value="org.eclipse.wst.server.ui.tests" /> |
| 157 | <param |
| 158 | name="package.includes" |
| 159 | value="org.eclipse.wst.server" /> |
| 160 | </antcall> |
| 161 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 162 | <target |
| 163 | name="wst-monitor-tests" |
| 164 | depends="init" |
| 165 | description="Runs the org.eclipse.wst.internet.monitor.*.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 166 | <antcall |
| 167 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 168 | <param |
| 169 | name="testPlugin" |
| 170 | value="${org.eclipse.wst.internet.monitor.core.tests}" /> |
| 171 | <param |
| 172 | name="report" |
| 173 | value="org.eclipse.wst.internet.monitor.core.tests" /> |
| 174 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 175 | <antcall |
| 176 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 177 | <param |
| 178 | name="testPlugin" |
| 179 | value="${org.eclipse.wst.internet.monitor.ui.tests}" /> |
| 180 | <param |
| 181 | name="report" |
| 182 | value="org.eclipse.wst.internet.monitor.ui.tests" /> |
| 183 | </antcall> |
| 184 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 185 | <target |
| 186 | name="wst-cache-tests" |
| 187 | depends="init" |
| 188 | description="Runs the org.eclipse.wst.internet.cache.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 189 | <antcall |
| 190 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 191 | <param |
| 192 | name="testPlugin" |
| 193 | value="${org.eclipse.wst.internet.cache.tests}" /> |
| 194 | <param |
| 195 | name="report" |
| 196 | value="org.eclipse.wst.internet.cache.tests" /> |
| 197 | </antcall> |
| 198 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 199 | <target |
| 200 | name="jst-server-tests" |
| 201 | depends="init" |
| 202 | description="Runs the org.eclipse.jst.server.*.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 203 | <antcall |
| 204 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 205 | <param |
| 206 | name="testPlugin" |
| 207 | value="${org.eclipse.jst.server.core.tests}" /> |
| 208 | <param |
| 209 | name="report" |
| 210 | value="org.eclipse.jst.server.core.tests" /> |
| 211 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 212 | <antcall |
| 213 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 214 | <param |
| 215 | name="testPlugin" |
| 216 | value="${org.eclipse.jst.server.ui.tests}" /> |
| 217 | <param |
| 218 | name="report" |
| 219 | value="org.eclipse.jst.server.ui.tests" /> |
| 220 | </antcall> |
| 221 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 222 | <target |
| 223 | name="jst-server-tomcat-tests" |
| 224 | depends="init" |
| 225 | description="Runs the org.eclipse.jst.server.tomcat.*.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 226 | <antcall |
| 227 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 228 | <param |
| 229 | name="testPlugin" |
| 230 | value="${org.eclipse.jst.server.tomcat.core.tests}" /> |
| 231 | <param |
| 232 | name="report" |
| 233 | value="org.eclipse.jst.server.tomcat.core.tests" /> |
| 234 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 235 | <antcall |
| 236 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 237 | <param |
| 238 | name="testPlugin" |
| 239 | value="${org.eclipse.jst.server.tomcat.ui.tests}" /> |
| 240 | <param |
| 241 | name="report" |
| 242 | value="org.eclipse.jst.server.tomcat.ui.tests" /> |
| 243 | </antcall> |
| 244 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 245 | <target |
| 246 | name="jst-server-generic-tests" |
| 247 | depends="init" |
| 248 | description="Runs the org.eclipse.jst.server.generic.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 249 | <antcall |
| 250 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 251 | <param |
| 252 | name="testPlugin" |
| 253 | value="${org.eclipse.jst.server.generic.tests}" /> |
| 254 | <param |
| 255 | name="report" |
| 256 | value="org.eclipse.jst.server.generic.tests" /> |
| 257 | </antcall> |
| 258 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 259 | <target |
| 260 | name="jst-server-geronimo-tests" |
| 261 | depends="init" |
| 262 | description="Runs the org.eclipse.jst.server.geronimo.*.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 263 | <antcall |
| 264 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 265 | <param |
| 266 | name="testPlugin" |
| 267 | value="${org.eclipse.jst.server.geronimo.core.tests}" /> |
| 268 | <param |
| 269 | name="report" |
| 270 | value="org.eclipse.jst.server.geronimo.core.tests" /> |
| 271 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 272 | <antcall |
| 273 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 274 | <param |
| 275 | name="testPlugin" |
| 276 | value="${org.eclipse.jst.server.geronimo.ui.tests}" /> |
| 277 | <param |
| 278 | name="report" |
| 279 | value="org.eclipse.jst.server.geronimo.ui.tests" /> |
| 280 | </antcall> |
| 281 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 282 | <target |
| 283 | name="jst-jem-tests" |
| 284 | depends="init" |
| 285 | description="Runs the org.eclipse.jem.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 286 | <antcall |
| 287 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 288 | <param |
| 289 | name="testPlugin" |
| 290 | value="${org.eclipse.jem.tests}" /> |
| 291 | <param |
| 292 | name="report" |
| 293 | value="org.eclipse.jem.tests" /> |
| 294 | </antcall> |
| 295 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 296 | <target |
| 297 | name="jst-j2ee-core-tests" |
| 298 | depends="init" |
| 299 | description="Runs the org.eclipse.jst.j2ee.core.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 300 | <antcall |
| 301 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 302 | <param |
| 303 | name="testPlugin" |
| 304 | value="${org.eclipse.jst.j2ee.core.tests}" /> |
| 305 | <param |
| 306 | name="report" |
| 307 | value="org.eclipse.jst.j2ee.core.tests" /> |
| 308 | </antcall> |
| 309 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 310 | <target |
| 311 | name="jst-j2ee-tests" |
| 312 | depends="init" |
| 313 | description="Runs the org.eclipse.jst.j2ee.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 314 | <antcall |
| 315 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 316 | <param |
| 317 | name="testPlugin" |
| 318 | value="${org.eclipse.jst.j2ee.tests}" /> |
| 319 | <param |
| 320 | name="report" |
| 321 | value="org.eclipse.jst.j2ee.tests" /> |
| 322 | </antcall> |
| 323 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 324 | <target |
| 325 | name="wst-common-tests" |
| 326 | depends="init" |
| 327 | description="Runs the org.eclipse.jst.j2ee.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 328 | <antcall |
| 329 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 330 | <param |
| 331 | name="testPlugin" |
| 332 | value="${org.eclipse.wst.common.tests}" /> |
| 333 | <param |
| 334 | name="report" |
| 335 | value="org.eclipse.wst.common.tests" /> |
| 336 | </antcall> |
| 337 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 338 | <target |
| 339 | name="wst-common-snippets-tests" |
| 340 | depends="init"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 341 | <antcall |
| 342 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 343 | <param |
| 344 | name="testPlugin" |
| 345 | value="${org.eclipse.wst.common.snippets.tests}" /> |
| 346 | <param |
| 347 | name="report" |
| 348 | value="org.eclipse.wst.common.snippets.tests" /> |
| 349 | </antcall> |
| 350 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 351 | <target |
| 352 | name="jst-servlet-tests" |
| 353 | depends="init" |
| 354 | description="Runs the org.eclipse.jst.servlet.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 355 | <antcall |
| 356 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 357 | <param |
| 358 | name="testPlugin" |
| 359 | value="${org.eclipse.jst.servlet.tests}" /> |
| 360 | <param |
| 361 | name="report" |
| 362 | value="org.eclipse.jst.servlet.tests" /> |
| 363 | </antcall> |
| 364 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 365 | <target |
| 366 | name="jst-validation-framework-tests" |
| 367 | depends="init" |
| 368 | description="Runs the org.eclipse.jst.validation.test test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 369 | <antcall |
| 370 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 371 | <param |
| 372 | name="testPlugin" |
| 373 | value="${org.eclipse.jst.validation.test}" /> |
| 374 | <param |
| 375 | name="report" |
| 376 | value="org.eclipse.jst.validation.test" /> |
| 377 | </antcall> |
| 378 | </target> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 379 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 380 | <!-- JSP TESTS --> |
| 381 | <target |
| 382 | name="jst-jsp-tests" |
| 383 | depends="init" |
| 384 | description="Runs test.xml for JSP tests"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 385 | <antcall |
| 386 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 387 | <param |
| 388 | name="testPlugin" |
| 389 | value="${org.eclipse.jst.jsp.core.tests}" /> |
| 390 | <param |
| 391 | name="report" |
| 392 | value="org.eclipse.jst.jsp.core.tests" /> |
| 393 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 394 | <antcall |
| 395 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 396 | <param |
| 397 | name="testPlugin" |
| 398 | value="${org.eclipse.jst.jsp.ui.tests}" /> |
| 399 | <param |
| 400 | name="report" |
| 401 | value="org.eclipse.jst.jsp.ui.tests" /> |
| 402 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 403 | <antcall |
| 404 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 405 | <param |
| 406 | name="testPlugin" |
| 407 | value="${org.eclipse.jst.jsp.tests.encoding}" /> |
| 408 | <param |
| 409 | name="report" |
| 410 | value="org.eclipse.jst.jsp.tests.encoding" /> |
| 411 | </antcall> |
| 412 | </target> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 413 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 414 | <!-- SSE TESTS --> |
| 415 | <target |
| 416 | name="wst-sse-tests" |
| 417 | depends="init" |
| 418 | description="Runs test.xml for SSE tests"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 419 | <antcall |
| 420 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 421 | <param |
| 422 | name="testPlugin" |
| 423 | value="${org.eclipse.wst.sse.core.tests}" /> |
| 424 | <param |
| 425 | name="report" |
| 426 | value="org.eclipse.wst.sse.core.tests" /> |
| 427 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 428 | <antcall |
| 429 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 430 | <param |
| 431 | name="testPlugin" |
| 432 | value="${org.eclipse.wst.sse.ui.tests}" /> |
| 433 | <param |
| 434 | name="report" |
| 435 | value="org.eclipse.wst.sse.ui.tests" /> |
| 436 | </antcall> |
| 437 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 438 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 439 | <!-- XML TESTS --> |
| 440 | <target |
| 441 | name="wst-xml-tests" |
| 442 | depends="init" |
| 443 | description="Runs test.xml for XML tests"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 444 | <antcall |
| 445 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 446 | <param |
| 447 | name="testPlugin" |
| 448 | value="${org.eclipse.wst.xml.core.tests}" /> |
| 449 | <param |
| 450 | name="report" |
| 451 | value="org.eclipse.wst.xml.core.tests" /> |
| 452 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 453 | <antcall |
| 454 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 455 | <param |
| 456 | name="testPlugin" |
| 457 | value="${org.eclipse.wst.xml.ui.tests}" /> |
| 458 | <param |
| 459 | name="report" |
| 460 | value="org.eclipse.wst.xml.ui.tests" /> |
| 461 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 462 | <antcall |
| 463 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 464 | <param |
| 465 | name="testPlugin" |
| 466 | value="${org.eclipse.wst.xml.tests.encoding}" /> |
| 467 | <param |
| 468 | name="report" |
| 469 | value="org.eclipse.wst.xml.tests.encoding" /> |
| 470 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 471 | <antcall |
| 472 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 473 | <param |
| 474 | name="testPlugin" |
| 475 | value="${org.eclipse.wst.xml.validation.tests}" /> |
| 476 | <param |
| 477 | name="report" |
| 478 | value="org.eclipse.wst.xml.validation.tests" /> |
| 479 | </antcall> |
| 480 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 481 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 482 | <!-- WSDL TESTS --> |
| 483 | <target |
| 484 | name="wst-wsdl-tests" |
| 485 | depends="init" |
| 486 | description="Runs test.xml for WSDL "> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 487 | <antcall |
| 488 | target="runapitests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 489 | <param |
| 490 | name="testPlugin" |
| 491 | value="${org.eclipse.wst.wsdl.tests}" /> |
| 492 | <param |
| 493 | name="report" |
| 494 | value="org.eclipse.wst.wsdl.tests" /> |
| 495 | <param |
| 496 | name="package.includes" |
| 497 | value="org.eclipse.wst.wsdl" /> |
| 498 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 499 | <antcall |
| 500 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 501 | <param |
| 502 | name="testPlugin" |
| 503 | value="${org.eclipse.wst.wsdl.validation.tests}" /> |
| 504 | <param |
| 505 | name="report" |
| 506 | value="org.eclipse.wst.wsdl.validation.tests" /> |
| 507 | </antcall> |
| 508 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 509 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 510 | <!-- WSI TESTS --> |
| 511 | <target |
| 512 | name="wst-wsi-tests" |
| 513 | depends="init" |
| 514 | description="Runs test.xml for WSI tests"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 515 | <antcall |
| 516 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 517 | <param |
| 518 | name="testPlugin" |
| 519 | value="${org.eclipse.wst.wsi.tests}" /> |
| 520 | <param |
| 521 | name="report" |
| 522 | value="org.eclipse.wst.wsi.tests" /> |
| 523 | </antcall> |
| 524 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 525 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 526 | <!-- XSD TESTS --> |
| 527 | <target |
| 528 | name="wst-xsd-tests" |
| 529 | depends="init" |
| 530 | description="Runs test.xml for XSD tests "> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 531 | <antcall |
| 532 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 533 | <param |
| 534 | name="testPlugin" |
| 535 | value="${org.eclipse.wst.xsd.validation.tests}" /> |
| 536 | <param |
| 537 | name="report" |
| 538 | value="org.eclipse.wst.xsd.validation.tests" /> |
| 539 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 540 | <antcall |
| 541 | target="runtests"> |
david_williams | f584819 | 2008-01-15 21:39:00 +0000 | [diff] [blame] | 542 | <param |
| 543 | name="testPlugin" |
| 544 | value="${org.eclipse.wst.xsd.core.tests}" /> |
| 545 | <param |
| 546 | name="report" |
| 547 | value="org.eclipse.wst.xsd.core.tests" /> |
| 548 | </antcall> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 549 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 550 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 551 | <!-- HTML TESTS --> |
| 552 | <target |
| 553 | name="wst-html-tests" |
| 554 | depends="init" |
| 555 | description="Runs test.xml for HTML tests"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 556 | <antcall |
| 557 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 558 | <param |
| 559 | name="testPlugin" |
| 560 | value="${org.eclipse.wst.html.core.tests}" /> |
| 561 | <param |
| 562 | name="report" |
| 563 | value="org.eclipse.wst.html.core.tests" /> |
| 564 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 565 | <antcall |
| 566 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 567 | <param |
| 568 | name="testPlugin" |
| 569 | value="${org.eclipse.wst.html.ui.tests}" /> |
| 570 | <param |
| 571 | name="report" |
| 572 | value="org.eclipse.wst.html.ui.tests" /> |
| 573 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 574 | <antcall |
| 575 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 576 | <param |
| 577 | name="testPlugin" |
| 578 | value="${org.eclipse.wst.html.tests.encoding}" /> |
| 579 | <param |
| 580 | name="report" |
| 581 | value="org.eclipse.wst.html.tests.encoding" /> |
| 582 | </antcall> |
| 583 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 584 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 585 | <!-- DTD Tests --> |
| 586 | <target |
| 587 | name="wst-dtd-tests" |
| 588 | depends="init"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 589 | <antcall |
| 590 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 591 | <param |
| 592 | name="testPlugin" |
| 593 | value="${org.eclipse.wst.dtd.ui.tests}" /> |
| 594 | <param |
| 595 | name="report" |
| 596 | value="org.eclipse.wst.dtd.ui.tests" /> |
| 597 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 598 | <antcall |
| 599 | target="runtests"> |
david_williams | 5b61631 | 2008-01-17 05:55:44 +0000 | [diff] [blame] | 600 | <param |
| 601 | name="testPlugin" |
| 602 | value="${org.eclipse.wst.dtd.core.tests}" /> |
| 603 | <param |
| 604 | name="report" |
| 605 | value="org.eclipse.wst.dtd.core.tests" /> |
| 606 | </antcall> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 607 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 608 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 609 | <!-- CSS TESTS --> |
| 610 | <target |
| 611 | name="wst-css-tests" |
| 612 | depends="init" |
| 613 | description="Runs test.xml for |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 614 | org.eclipse.wst.css.core.tests |
| 615 | org.eclipse.wst.css.ui.tests |
| 616 | org.eclipse.wst.css.tests.encoding"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 617 | <antcall |
| 618 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 619 | <param |
| 620 | name="testPlugin" |
| 621 | value="${org.eclipse.wst.css.core.tests}" /> |
| 622 | <param |
| 623 | name="report" |
| 624 | value="org.eclipse.wst.css.core.tests" /> |
| 625 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 626 | <antcall |
| 627 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 628 | <param |
| 629 | name="testPlugin" |
| 630 | value="${org.eclipse.wst.css.tests.encoding}" /> |
| 631 | <param |
| 632 | name="report" |
| 633 | value="org.eclipse.wst.css.tests.encoding" /> |
| 634 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 635 | <antcall |
| 636 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 637 | <param |
| 638 | name="testPlugin" |
| 639 | value="${org.eclipse.wst.css.ui.tests}" /> |
| 640 | <param |
| 641 | name="report" |
| 642 | value="org.eclipse.wst.css.ui.tests" /> |
| 643 | </antcall> |
| 644 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 645 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 646 | <!-- JSF TESTS --> |
| 647 | <target |
| 648 | name="jsf-tests" |
| 649 | depends="init" |
| 650 | description="Runs test.xml for org.eclipse.jst.jsf.core.tests, org.eclipse.jst.jsf.ui.tests"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 651 | <antcall |
| 652 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 653 | <param |
| 654 | name="testPlugin" |
| 655 | value="${org.eclipse.jst.jsf.core.tests}" /> |
| 656 | <param |
| 657 | name="report" |
| 658 | value="org.eclipse.jst.jsf.core.tests" /> |
| 659 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 660 | <antcall |
| 661 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 662 | <param |
| 663 | name="testPlugin" |
| 664 | value="${org.eclipse.jst.jsf.ui.tests}" /> |
| 665 | <param |
| 666 | name="report" |
| 667 | value="org.eclipse.jst.jsf.ui.tests" /> |
| 668 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 669 | <antcall |
| 670 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 671 | <param |
| 672 | name="testPlugin" |
| 673 | value="${org.eclipse.jst.jsf.metadata.tests}" /> |
| 674 | <param |
| 675 | name="report" |
| 676 | value="org.eclipse.jst.jsf.metadata.tests" /> |
| 677 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 678 | <antcall |
| 679 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 680 | <param |
| 681 | name="testPlugin" |
| 682 | value="${org.eclipse.jst.jsf.contentassist.tests}" /> |
| 683 | <param |
| 684 | name="report" |
| 685 | value="org.eclipse.jst.jsf.contentassist.tests" /> |
| 686 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 687 | <antcall |
| 688 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 689 | <param |
| 690 | name="testPlugin" |
| 691 | value="${org.eclipse.jst.jsf.context.symbol.tests}" /> |
| 692 | <param |
| 693 | name="report" |
| 694 | value="org.eclipse.jst.jsf.context.symbol.tests" /> |
| 695 | </antcall> |
david_williams | 632a49d | 2008-01-26 22:07:58 +0000 | [diff] [blame] | 696 | |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 697 | <antcall |
| 698 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 699 | <param |
| 700 | name="testPlugin" |
| 701 | value="${org.eclipse.jst.jsf.designtime.tests}" /> |
| 702 | <param |
| 703 | name="report" |
| 704 | value="org.eclipse.jst.jsf.designtime.tests" /> |
| 705 | </antcall> |
david_williams | 632a49d | 2008-01-26 22:07:58 +0000 | [diff] [blame] | 706 | |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 707 | <antcall |
| 708 | target="runtests"> |
| 709 | <param |
| 710 | name="testPlugin" |
| 711 | value="${org.eclipse.jst.jsf.facesconfig.tests}" /> |
| 712 | <param |
| 713 | name="report" |
| 714 | value="org.eclipse.jst.jsf.facesconfig.tests" /> |
| 715 | </antcall> |
| 716 | <antcall |
| 717 | target="runtests"> |
| 718 | <param |
| 719 | name="testPlugin" |
| 720 | value="${org.eclipse.jst.jsf.facesconfig.ui.test}" /> |
| 721 | <param |
| 722 | name="report" |
| 723 | value="org.eclipse.jst.jsf.facesconfig.ui.test" /> |
| 724 | </antcall> |
| 725 | <antcall |
| 726 | target="runtests"> |
| 727 | <param |
| 728 | name="testPlugin" |
| 729 | value="${org.eclipse.jst.jsf.validation.el.tests}" /> |
| 730 | <param |
| 731 | name="report" |
| 732 | value="org.eclipse.jst.jsf.validation.el.tests" /> |
| 733 | </antcall> |
| 734 | <antcall |
| 735 | target="runtests"> |
| 736 | <param |
| 737 | name="testPlugin" |
| 738 | value="${org.eclipse.jst.pagedesigner.tests}" /> |
| 739 | <param |
| 740 | name="report" |
| 741 | value="org.eclipse.jst.pagedesigner.tests" /> |
| 742 | </antcall> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 743 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 744 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 745 | <!-- WS TESTS --> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 746 | <target |
| 747 | name="wst-ws-tests" |
| 748 | depends="init" |
| 749 | description="Runs the org.eclipse.wst.ws.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 750 | <antcall |
| 751 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 752 | <param |
| 753 | name="testPlugin" |
| 754 | value="${org.eclipse.wst.ws.tests}" /> |
| 755 | <param |
| 756 | name="report" |
| 757 | value="org.eclipse.wst.ws.tests" /> |
| 758 | </antcall> |
| 759 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 760 | <target |
| 761 | name="jst-ws-tests" |
| 762 | depends="init" |
| 763 | description="Runs the org.eclipse.jst.ws.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 764 | <antcall |
| 765 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 766 | <param |
| 767 | name="testPlugin" |
| 768 | value="${org.eclipse.jst.ws.tests}" /> |
| 769 | <param |
| 770 | name="report" |
| 771 | value="org.eclipse.jst.ws.tests" /> |
| 772 | </antcall> |
| 773 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 774 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 775 | <!-- Faceted Project Framework Tests --> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 776 | <target |
| 777 | name="wst-facets-tests" |
| 778 | depends="init" |
| 779 | description="Runs the Faceted Project Framework tests."> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 780 | <antcall |
| 781 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 782 | <param |
| 783 | name="testPlugin" |
| 784 | value="${org.eclipse.wst.common.project.facet.core.tests}" /> |
| 785 | <param |
| 786 | name="report" |
| 787 | value="org.eclipse.wst.common.project.facet.core.tests" /> |
| 788 | </antcall> |
| 789 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 790 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 791 | <!-- Dali tests --> |
| 792 | <target |
| 793 | name="jpt-utility-tests" |
| 794 | depends="init" |
| 795 | description="Runs the org.eclipse.jpt.utility.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 796 | <antcall |
| 797 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 798 | <param |
| 799 | name="testPlugin" |
| 800 | value="${org.eclipse.jpt.utility.tests}" /> |
| 801 | <param |
| 802 | name="report" |
| 803 | value="org.eclipse.jpt.utility.tests" /> |
| 804 | </antcall> |
| 805 | </target> |
| 806 | <target |
| 807 | name="dali-core-tests" |
| 808 | description="Runs the org.eclipse.jpt.core.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 809 | <antcall |
| 810 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 811 | <param |
| 812 | name="testPlugin" |
| 813 | value="${org.eclipse.jpt.core.tests}" /> |
| 814 | <param |
| 815 | name="report" |
| 816 | value="org.eclipse.jpt.core.tests" /> |
| 817 | </antcall> |
| 818 | </target> |
david_williams | 9f1bc31 | 2006-11-29 20:23:22 +0000 | [diff] [blame] | 819 | |
david_williams | 30cb3bc | 2007-12-11 18:40:53 +0000 | [diff] [blame] | 820 | <!-- JSDT tests --> |
| 821 | <target |
| 822 | name="jsdt-tests" |
| 823 | depends="init" |
| 824 | description="Runs the org.eclipse.wst.jsdt.core.test.* test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 825 | <antcall |
| 826 | target="runtests"> |
david_williams | 30cb3bc | 2007-12-11 18:40:53 +0000 | [diff] [blame] | 827 | <param |
| 828 | name="testPlugin" |
| 829 | value="${org.eclipse.wst.jsdt.core.tests.compiler}" /> |
| 830 | <param |
| 831 | name="report" |
| 832 | value="org.eclipse.wst.jsdt.core.tests.compiler" /> |
| 833 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 834 | <antcall |
| 835 | target="runtests"> |
david_williams | 30cb3bc | 2007-12-11 18:40:53 +0000 | [diff] [blame] | 836 | <param |
| 837 | name="testPlugin" |
| 838 | value="${org.eclipse.wst.jsdt.core.tests.model}" /> |
| 839 | <param |
| 840 | name="report" |
| 841 | value="org.eclipse.wst.jsdt.core.tests.model" /> |
| 842 | </antcall> |
| 843 | </target> |
| 844 | |
| 845 | |
| 846 | <!-- releng Tests --> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 847 | <target |
| 848 | name="releng-tests" |
| 849 | depends="init" |
| 850 | description="Runs the releng tests."> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 851 | <antcall |
| 852 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 853 | <param |
| 854 | name="testPlugin" |
| 855 | value="${org.eclipse.wtp.releng.tests}" /> |
| 856 | <param |
| 857 | name="report" |
| 858 | value="org.eclipse.wtp.releng.tests" /> |
| 859 | </antcall> |
| 860 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 861 | <target |
| 862 | name="all" |
| 863 | depends="init"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 864 | <echo |
| 865 | level="info" |
| 866 | message="Starting WTP Unit Tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 867 | <echo |
| 868 | level="info" |
| 869 | message="Starting releng tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 870 | <antcall |
| 871 | target="releng-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 872 | <echo |
| 873 | level="info" |
| 874 | message="Starting wst-server-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 875 | <antcall |
| 876 | target="wst-server-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 877 | <echo |
| 878 | level="info" |
| 879 | message="Starting wst-monitor-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 880 | <antcall |
| 881 | target="wst-monitor-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 882 | <echo |
| 883 | level="info" |
| 884 | message="Starting wst-cache-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 885 | <antcall |
| 886 | target="wst-cache-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 887 | <echo |
| 888 | level="info" |
| 889 | message="Starting wst-common-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 890 | <antcall |
| 891 | target="wst-common-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 892 | <echo |
| 893 | level="info" |
| 894 | message="Starting wst-common-snippets-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 895 | <antcall |
| 896 | target="wst-common-snippets-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 897 | <echo |
| 898 | level="info" |
| 899 | message="Starting wst-sse-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 900 | <antcall |
| 901 | target="wst-sse-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 902 | <echo |
| 903 | level="info" |
| 904 | message="Starting wst-xml-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 905 | <antcall |
| 906 | target="wst-xml-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 907 | <echo |
| 908 | level="info" |
| 909 | message="Starting wst-wsdl-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 910 | <antcall |
| 911 | target="wst-wsdl-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 912 | <echo |
| 913 | level="info" |
| 914 | message="Starting wst-wsi-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 915 | <antcall |
| 916 | target="wst-wsi-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 917 | <echo |
| 918 | level="info" |
| 919 | message="Starting wst-xsd-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 920 | <antcall |
| 921 | target="wst-xsd-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 922 | <echo |
| 923 | level="info" |
| 924 | message="Starting wst-html-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 925 | <antcall |
| 926 | target="wst-html-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 927 | <echo |
| 928 | level="info" |
| 929 | message="Starting wst-dtd-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 930 | <antcall |
| 931 | target="wst-dtd-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 932 | <echo |
| 933 | level="info" |
| 934 | message="Starting wst-css-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 935 | <antcall |
| 936 | target="wst-css-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 937 | <echo |
| 938 | level="info" |
| 939 | message="Starting wst-ws-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 940 | <antcall |
| 941 | target="wst-ws-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 942 | <echo |
| 943 | level="info" |
| 944 | message="Starting jst-server-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 945 | <antcall |
| 946 | target="jst-server-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 947 | <echo |
| 948 | level="info" |
| 949 | message="Starting jst-server-tomcat-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 950 | <antcall |
| 951 | target="jst-server-tomcat-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 952 | <echo |
| 953 | level="info" |
| 954 | message="Starting jst-server-geronimo-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 955 | <antcall |
| 956 | target="jst-server-geronimo-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 957 | <echo |
| 958 | level="info" |
| 959 | message="Starting jst-server-generic-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 960 | <antcall |
| 961 | target="jst-server-generic-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 962 | <echo |
| 963 | level="info" |
| 964 | message="Starting jst-jem-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 965 | <antcall |
| 966 | target="jst-jem-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 967 | <echo |
| 968 | level="info" |
| 969 | message="Starting jst-j2ee-core-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 970 | <antcall |
| 971 | target="jst-j2ee-core-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 972 | <echo |
| 973 | level="info" |
| 974 | message="Starting jst-j2ee-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 975 | <antcall |
| 976 | target="jst-j2ee-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 977 | <echo |
| 978 | level="info" |
| 979 | message="Starting jst-validation-framework-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 980 | <antcall |
| 981 | target="jst-validation-framework-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 982 | <echo |
| 983 | level="info" |
| 984 | message="Starting jst-jsp-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 985 | <antcall |
| 986 | target="jst-jsp-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 987 | <echo |
| 988 | level="info" |
| 989 | message="Starting jst-ws-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 990 | <antcall |
| 991 | target="jst-ws-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 992 | <echo |
| 993 | level="info" |
| 994 | message="Starting wst-facets-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 995 | <antcall |
| 996 | target="wst-facets-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 997 | <echo |
| 998 | level="info" |
| 999 | message="Starting JPT Unit Tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 1000 | <echo |
| 1001 | level="info" |
| 1002 | message="Starting jpt-utility-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 1003 | <antcall |
| 1004 | target="jpt-utility-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 1005 | <echo |
| 1006 | level="info" |
| 1007 | message="Starting dali-core-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 1008 | <antcall |
| 1009 | target="dali-core-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 1010 | <echo |
| 1011 | level="info" |
| 1012 | message="Ended JPT Unit Tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 1013 | <echo |
| 1014 | level="info" |
| 1015 | message="Starting JSF Tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 1016 | <antcall |
| 1017 | target="jsf-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 1018 | <echo |
| 1019 | level="info" |
| 1020 | message="Ended WTP Unit Tests" /> |
david_williams | 30cb3bc | 2007-12-11 18:40:53 +0000 | [diff] [blame] | 1021 | <echo |
| 1022 | level="info" |
| 1023 | message="Starting JSDT Tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 1024 | <antcall |
| 1025 | target="jsdt-tests" /> |
david_williams | 30cb3bc | 2007-12-11 18:40:53 +0000 | [diff] [blame] | 1026 | <echo |
| 1027 | level="info" |
| 1028 | message="Ended JSDT Unit Tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 1029 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 1030 | <target |
| 1031 | name="genHtml" |
| 1032 | description="Generates HTML results with provided JUNIT.XSL provided" |
| 1033 | unless="genHtml.disable"> |
david_williams | 6b198a7 | 2008-01-26 06:19:56 +0000 | [diff] [blame] | 1034 | <xslt |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 1035 | style="JUNIT.XSL" |
| 1036 | basedir="${results}/xml" |
| 1037 | destdir="${results}/html" /> |
| 1038 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 1039 | <target |
| 1040 | name="computePluginVersion" |
| 1041 | depends="test2properties" |
| 1042 | unless="test2propertiesexists"> |
| 1043 | <java |
| 1044 | classname="org.eclipse.wtp.releng.test.ComputePluginVersion"> |
| 1045 | <classpath> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 1046 | <pathelement |
| 1047 | location="ComputePluginVersion.jar" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 1048 | </classpath> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 1049 | <arg |
| 1050 | value="${testRoot}/eclipse/plugins" /> |
| 1051 | <arg |
| 1052 | value="${testRoot}/test2.properties" /> |
david_williams | b93c1ee | 2008-02-10 21:27:40 +0000 | [diff] [blame] | 1053 | <jvmarg value="-Djava.io.tmpdir=${env.RECOMMENDED_TMP_DIR}" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 1054 | </java> |
| 1055 | </target> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 1056 | <target |
| 1057 | name="test2properties"> |
| 1058 | <condition |
| 1059 | property="test2propertiesexists"> |
| 1060 | <available |
| 1061 | file="${testRoot}/test2.properties" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 1062 | </condition> |
| 1063 | </target> |
jeffliu | 5e3253d | 2006-06-13 19:38:32 +0000 | [diff] [blame] | 1064 | </project> |