david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 1 | <project name="Automated Eclipse Testing" default="all" basedir="."> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 2 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 3 | <echo message="starting Automated Eclipse Testing" /> |
| 4 | <echo message="basedir: ${basedir}" /> |
| 5 | <!--properties file containing the plugin directory name including version number--> |
| 6 | <property file="${testRoot}/test.properties" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 7 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 8 | <!--properties file containing the build information--> |
| 9 | <property file="${buildDirectory}/label.properties" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 10 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 11 | <!--default directory where test-eclipse will be installed--> |
| 12 | <property name="install" value="${testRoot}" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 13 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 14 | <!--name that can be added to report name to identify which platform tests results come from--> |
| 15 | <property name="platform" value="" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 16 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 17 | <!-- The root of the eclipse installation --> |
| 18 | <property name="eclipse-home" value="${testRoot}/eclipse" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 19 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 20 | <!-- The path to libary.xml --> |
| 21 | <!--property name="library-file" value="${eclipse-home}/plugins/${org.eclipse.test}/library.xml" /--> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 22 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 23 | <!-- The directory that will contain the xml and html results from the tests that are run --> |
| 24 | <property name="results" value="${testRoot}/results" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 25 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 26 | <!-- jonas install directory --> |
| 27 | <property name="jonas432Dir" value="${testRoot}/${jonas432DirName}" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 28 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 29 | <target name="init"> |
| 30 | <antcall target="setPropertyJOnAS432Dir" /> |
| 31 | <antcall target="computePluginVersion" /> |
| 32 | </target> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 33 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 34 | <target name="setPropertyJOnAS432Dir" unless="jonas432Dir"> |
| 35 | <property name="jonas432Dir" value="${testRoot}/${jonas432DirName}" /> |
| 36 | </target> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 37 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 38 | <target name="setup" if="clean" description="Reinstall the test Eclipse installation if specified by user"> |
| 39 | <delete dir="${install}" /> |
| 40 | <mkdir dir="${install}" /> |
| 41 | <exec dir="." executable="unzip"> |
| 42 | <arg line="-o -qq ../downloads/*.zip -d ${install}" /> |
| 43 | </exec> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 44 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 45 | <exec dir="." executable="unzip"> |
| 46 | <arg line="-o -qq wtp-wst-tests-feature*.zip -d ${install}" /> |
| 47 | </exec> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 48 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 49 | </target> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 50 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 51 | <target name="runapitests" depends="setup"> |
| 52 | <antcall target="runtests" /> |
| 53 | </target> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 54 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 55 | <target name="runtests" depends="setup" description="Runs ant on the test.xml for a specified plugin. Requires a property value setting for testPlugin only if test.properties is not available. The property testPlugin represents a directory name made up of the plugin id and plugin version. This directory must contain a valid test.xml."> |
| 56 | <available file="${eclipse-home}/plugins/${testPlugin}/test.xml" property="test.xml.exists" /> |
| 57 | <antcall target="runtests2" /> |
| 58 | </target> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 59 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 60 | <target name="runtests2" if="test.xml.exists"> |
| 61 | <antcall target="runtests-normal" /> |
| 62 | <copy file="${eclipse-home}/${report}.xml" tofile="${results}/xml/${report}_${platform}.xml" failonerror="false" /> |
| 63 | <antcall target="genHtml" /> |
| 64 | </target> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 65 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 66 | <target name="runtests-normal"> |
| 67 | <ant antfile="${eclipse-home}/plugins/${testPlugin}/test.xml" dir="${eclipse-home}"> |
| 68 | <property name="library-file" value="${testRoot}/junit-tests.xml" /> |
| 69 | </ant> |
| 70 | <copy file="${eclipse-home}/${report}.xml" tofile="${results}/xml/${report}_${platform}.xml" failonerror="false" /> |
| 71 | <antcall target="genHtml" /> |
| 72 | </target> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 73 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 74 | <target name="wst-server-tests" description="Runs the org.eclipse.wst.server.*.tests test.xml"> |
| 75 | <antcall target="runapitests"> |
| 76 | <param name="testPlugin" value="${org.eclipse.wst.server.core.tests}" /> |
| 77 | <param name="report" value="org.eclipse.wst.server.core.tests" /> |
| 78 | <param name="package.includes" value="org.eclipse.wst.server" /> |
| 79 | </antcall> |
| 80 | <antcall target="runapitests"> |
| 81 | <param name="testPlugin" value="${org.eclipse.wst.server.ui.tests}" /> |
| 82 | <param name="report" value="org.eclipse.wst.server.ui.tests" /> |
| 83 | <param name="package.includes" value="org.eclipse.wst.server" /> |
| 84 | </antcall> |
| 85 | </target> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 86 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 87 | <target name="wst-monitor-tests" description="Runs the org.eclipse.wst.internet.monitor.*.tests test.xml"> |
| 88 | <antcall target="runtests"> |
| 89 | <param name="testPlugin" value="${org.eclipse.wst.internet.monitor.core.tests}" /> |
| 90 | <param name="report" value="org.eclipse.wst.internet.monitor.core.tests" /> |
| 91 | </antcall> |
| 92 | <antcall target="runtests"> |
| 93 | <param name="testPlugin" value="${org.eclipse.wst.internet.monitor.ui.tests}" /> |
| 94 | <param name="report" value="org.eclipse.wst.internet.monitor.ui.tests" /> |
| 95 | </antcall> |
| 96 | </target> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 97 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 98 | <target name="wst-cache-tests" description="Runs the org.eclipse.wst.internet.cache.tests test.xml"> |
| 99 | <antcall target="runtests"> |
| 100 | <param name="testPlugin" value="${org.eclipse.wst.internet.cache.tests}" /> |
| 101 | <param name="report" value="org.eclipse.wst.internet.cache.tests" /> |
| 102 | </antcall> |
| 103 | </target> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 104 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 105 | <target name="jst-server-tests" description="Runs the org.eclipse.jst.server.*.tests test.xml"> |
| 106 | <antcall target="runtests"> |
| 107 | <param name="testPlugin" value="${org.eclipse.jst.server.core.tests}" /> |
| 108 | <param name="report" value="org.eclipse.jst.server.core.tests" /> |
| 109 | </antcall> |
| 110 | <antcall target="runtests"> |
| 111 | <param name="testPlugin" value="${org.eclipse.jst.server.ui.tests}" /> |
| 112 | <param name="report" value="org.eclipse.jst.server.ui.tests" /> |
| 113 | </antcall> |
| 114 | </target> |
jeffliu | 8f89922 | 2005-11-30 19:46:35 +0000 | [diff] [blame] | 115 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 116 | <target name="jst-server-tomcat-tests" description="Runs the org.eclipse.jst.server.tomcat.*.tests test.xml"> |
| 117 | <antcall target="runtests"> |
| 118 | <param name="testPlugin" value="${org.eclipse.jst.server.tomcat.core.tests}" /> |
| 119 | <param name="report" value="org.eclipse.jst.server.tomcat.core.tests" /> |
| 120 | </antcall> |
| 121 | <antcall target="runtests"> |
| 122 | <param name="testPlugin" value="${org.eclipse.jst.server.tomcat.ui.tests}" /> |
| 123 | <param name="report" value="org.eclipse.jst.server.tomcat.ui.tests" /> |
| 124 | </antcall> |
| 125 | </target> |
jeffliu | 8f89922 | 2005-11-30 19:46:35 +0000 | [diff] [blame] | 126 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 127 | <target name="jst-server-generic-tests" description="Runs the org.eclipse.jst.server.generic.tests test.xml"> |
| 128 | <antcall target="runtests"> |
| 129 | <param name="testPlugin" value="${org.eclipse.jst.server.generic.tests}" /> |
| 130 | <param name="report" value="org.eclipse.jst.server.generic.tests" /> |
| 131 | </antcall> |
| 132 | </target> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 133 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 134 | <target name="jst-server-geronimo-tests" description="Runs the org.eclipse.jst.server.geronimo.*.tests test.xml"> |
| 135 | <antcall target="runtests"> |
| 136 | <param name="testPlugin" value="${org.eclipse.jst.server.geronimo.core.tests}" /> |
| 137 | <param name="report" value="org.eclipse.jst.server.geronimo.core.tests" /> |
| 138 | </antcall> |
| 139 | <antcall target="runtests"> |
| 140 | <param name="testPlugin" value="${org.eclipse.jst.server.geronimo.ui.tests}" /> |
| 141 | <param name="report" value="org.eclipse.jst.server.geronimo.ui.tests" /> |
| 142 | </antcall> |
| 143 | </target> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 144 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 145 | <target name="jst-j2ee-core-tests" description="Runs the org.eclipse.jst.j2ee.core.tests test.xml"> |
| 146 | <antcall target="runtests"> |
| 147 | <param name="testPlugin" value="${org.eclipse.jst.j2ee.core.tests}" /> |
| 148 | <param name="report" value="org.eclipse.jst.j2ee.core.tests" /> |
| 149 | </antcall> |
| 150 | </target> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 151 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 152 | <target name="jst-j2ee-tests" description="Runs the org.eclipse.jst.j2ee.tests test.xml"> |
| 153 | <antcall target="runtests"> |
| 154 | <param name="testPlugin" value="${org.eclipse.jst.j2ee.tests}" /> |
| 155 | <param name="report" value="org.eclipse.jst.j2ee.tests" /> |
| 156 | </antcall> |
| 157 | </target> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 158 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 159 | <target name="wst-common-tests" description="Runs the org.eclipse.jst.j2ee.tests test.xml"> |
| 160 | <antcall target="runtests"> |
| 161 | <param name="testPlugin" value="${org.eclipse.wst.common.tests}" /> |
| 162 | <param name="report" value="org.eclipse.wst.common.tests" /> |
| 163 | </antcall> |
| 164 | </target> |
jeffliu | e942a94 | 2005-11-29 17:34:57 +0000 | [diff] [blame] | 165 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 166 | <target name="wst-common-snippets-tests"> |
| 167 | <antcall target="runtests"> |
| 168 | <param name="testPlugin" value="${org.eclipse.wst.common.snippets.tests}" /> |
| 169 | <param name="report" value="org.eclipse.wst.common.snippets.tests" /> |
| 170 | </antcall> |
| 171 | </target> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 172 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 173 | <target name="jst-servlet-tests" description="Runs the org.eclipse.jst.servlet.tests test.xml"> |
| 174 | <antcall target="runtests"> |
| 175 | <param name="testPlugin" value="${org.eclipse.jst.servlet.tests}" /> |
| 176 | <param name="report" value="org.eclipse.jst.servlet.tests" /> |
| 177 | </antcall> |
| 178 | </target> |
ndai | acc4d0d | 2006-05-19 17:10:33 +0000 | [diff] [blame] | 179 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 180 | <target name="jst-validation-framework-tests" description="Runs the org.eclipse.jst.validation.test test.xml"> |
| 181 | <antcall target="runtests"> |
| 182 | <param name="testPlugin" value="${org.eclipse.jst.validation.test}" /> |
| 183 | <param name="report" value="org.eclipse.jst.validation.test" /> |
| 184 | </antcall> |
| 185 | </target> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 186 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 187 | <!-- JSP TESTS --> |
| 188 | <target name="jst-jsp-tests" description="Runs test.xml for |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 189 | org.eclipse.jst.jsp.core.tests |
| 190 | org.eclipse.jst.jsp.ui.tests |
| 191 | org.eclipse.jst.jsp.tests.encoding"> |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 192 | <antcall target="runtests"> |
| 193 | <param name="testPlugin" value="${org.eclipse.jst.jsp.core.tests}" /> |
| 194 | <param name="report" value="org.eclipse.jst.jsp.core.tests" /> |
| 195 | </antcall> |
| 196 | <antcall target="runtests"> |
| 197 | <param name="testPlugin" value="${org.eclipse.jst.jsp.ui.tests}" /> |
| 198 | <param name="report" value="org.eclipse.jst.jsp.ui.tests" /> |
| 199 | </antcall> |
| 200 | <antcall target="runtests"> |
| 201 | <param name="testPlugin" value="${org.eclipse.jst.jsp.tests.encoding}" /> |
| 202 | <param name="report" value="org.eclipse.jst.jsp.tests.encoding" /> |
| 203 | </antcall> |
| 204 | </target> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 205 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 206 | <!-- SSE TESTS --> |
| 207 | <target name="wst-sse-tests" description="Runs test.xml for |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 208 | org.eclipse.wst.sse.core.tests |
| 209 | org.eclipse.wst.sse.ui.tests"> |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 210 | <antcall target="runtests"> |
| 211 | <param name="testPlugin" value="${org.eclipse.wst.sse.core.tests}" /> |
| 212 | <param name="report" value="org.eclipse.wst.sse.core.tests" /> |
| 213 | </antcall> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 214 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 215 | <antcall target="runtests"> |
| 216 | <param name="testPlugin" value="${org.eclipse.wst.sse.ui.tests}" /> |
| 217 | <param name="report" value="org.eclipse.wst.sse.ui.tests" /> |
| 218 | </antcall> |
| 219 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 220 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 221 | <!-- XML TESTS --> |
| 222 | <target name="wst-xml-tests" description="Runs test.xml for |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 223 | org.eclipse.wst.xml.core.tests |
| 224 | org.eclipse.wst.xml.ui.tests |
| 225 | org.eclipse.wst.xml.tests.encoding |
| 226 | org.eclipse.wst.xml.validation.tests"> |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 227 | <antcall target="runtests"> |
| 228 | <param name="testPlugin" value="${org.eclipse.wst.xml.core.tests}" /> |
| 229 | <param name="report" value="org.eclipse.wst.xml.core.tests" /> |
| 230 | </antcall> |
| 231 | <antcall target="runtests"> |
| 232 | <param name="testPlugin" value="${org.eclipse.wst.xml.ui.tests}" /> |
| 233 | <param name="report" value="org.eclipse.wst.xml.ui.tests" /> |
| 234 | </antcall> |
| 235 | <antcall target="runtests"> |
| 236 | <param name="testPlugin" value="${org.eclipse.wst.xml.tests.encoding}" /> |
| 237 | <param name="report" value="org.eclipse.wst.xml.tests.encoding" /> |
| 238 | </antcall> |
| 239 | <antcall target="runtests"> |
| 240 | <param name="testPlugin" value="${org.eclipse.wst.xml.validation.tests}" /> |
| 241 | <param name="report" value="org.eclipse.wst.xml.validation.tests" /> |
| 242 | </antcall> |
| 243 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 244 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 245 | <!-- WSDL TESTS --> |
| 246 | <target name="wst-wsdl-tests" description="Runs test.xml for |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 247 | org.eclipse.wst.wsdl.tests |
| 248 | org.eclipse.wst.wsdl.validation.tests"> |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 249 | <antcall target="runapitests"> |
| 250 | <param name="testPlugin" value="${org.eclipse.wst.wsdl.tests}" /> |
| 251 | <param name="report" value="org.eclipse.wst.wsdl.tests" /> |
| 252 | <param name="package.includes" value="org.eclipse.wst.wsdl" /> |
| 253 | </antcall> |
| 254 | <antcall target="runtests"> |
| 255 | <param name="testPlugin" value="${org.eclipse.wst.wsdl.validation.tests}" /> |
| 256 | <param name="report" value="org.eclipse.wst.wsdl.validation.tests" /> |
| 257 | </antcall> |
| 258 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 259 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 260 | <!-- WSI TESTS --> |
| 261 | <target name="wst-wsi-tests" description="Runs test.xml for |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 262 | org.eclipse.wst.wsi.tests"> |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 263 | <antcall target="runtests"> |
| 264 | <param name="testPlugin" value="${org.eclipse.wst.wsi.tests}" /> |
| 265 | <param name="report" value="org.eclipse.wst.wsi.tests" /> |
| 266 | </antcall> |
| 267 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 268 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 269 | <!-- XSD TESTS --> |
| 270 | <target name="wst-xsd-tests" description="Runs test.xml for |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 271 | org.eclipse.wst.xsd.validation.tests"> |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 272 | <antcall target="runtests"> |
| 273 | <param name="testPlugin" value="${org.eclipse.wst.xsd.validation.tests}" /> |
| 274 | <param name="report" value="org.eclipse.wst.xsd.validation.tests" /> |
| 275 | </antcall> |
| 276 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 277 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 278 | <!-- HTML TESTS --> |
| 279 | <target name="wst-html-tests" description="Runs test.xml for |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 280 | org.eclipse.wst.html.core.tests |
| 281 | org.eclipse.wst.html.ui.tests |
| 282 | org.eclipse.wst.html.tests.encoding"> |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 283 | <antcall target="runtests"> |
| 284 | <param name="testPlugin" value="${org.eclipse.wst.html.core.tests}" /> |
| 285 | <param name="report" value="org.eclipse.wst.html.core.tests" /> |
| 286 | </antcall> |
| 287 | <antcall target="runtests"> |
| 288 | <param name="testPlugin" value="${org.eclipse.wst.html.ui.tests}" /> |
| 289 | <param name="report" value="org.eclipse.wst.html.ui.tests" /> |
| 290 | </antcall> |
| 291 | <antcall target="runtests"> |
| 292 | <param name="testPlugin" value="${org.eclipse.wst.html.tests.encoding}" /> |
| 293 | <param name="report" value="org.eclipse.wst.html.tests.encoding" /> |
| 294 | </antcall> |
| 295 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 296 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 297 | <!-- DTD Tests --> |
| 298 | <target name="wst-dtd-tests"> |
| 299 | <antcall target="runtests"> |
| 300 | <param name="testPlugin" value="${org.eclipse.wst.dtd.ui.tests}" /> |
| 301 | <param name="report" value="org.eclipse.wst.dtd.ui.tests" /> |
| 302 | </antcall> |
| 303 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 304 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 305 | <!-- CSS TESTS --> |
| 306 | <target name="wst-css-tests" description="Runs test.xml for |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 307 | org.eclipse.wst.css.core.tests |
| 308 | org.eclipse.wst.css.ui.tests |
| 309 | org.eclipse.wst.css.tests.encoding"> |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 310 | <antcall target="runtests"> |
| 311 | <param name="testPlugin" value="${org.eclipse.wst.css.core.tests}" /> |
| 312 | <param name="report" value="org.eclipse.wst.css.core.tests" /> |
| 313 | </antcall> |
| 314 | <antcall target="runtests"> |
| 315 | <param name="testPlugin" value="${org.eclipse.wst.css.tests.encoding}" /> |
| 316 | <param name="report" value="org.eclipse.wst.css.tests.encoding" /> |
| 317 | </antcall> |
| 318 | <antcall target="runtests"> |
| 319 | <param name="testPlugin" value="${org.eclipse.wst.css.ui.tests}" /> |
| 320 | <param name="report" value="org.eclipse.wst.css.ui.tests" /> |
| 321 | </antcall> |
| 322 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 323 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 324 | <!-- JSF TESTS --> |
| 325 | <target name="jsf-tests" description="Runs test.xml for org.eclipse.jst.jsf.core.tests, org.eclipse.jst.jsf.ui.tests"> |
| 326 | <antcall target="runtests"> |
| 327 | <param name="testPlugin" value="${org.eclipse.jst.jsf.core.tests}" /> |
| 328 | <param name="report" value="org.eclipse.jst.jsf.core.tests" /> |
| 329 | </antcall> |
| 330 | <antcall target="runtests"> |
| 331 | <param name="testPlugin" value="${org.eclipse.jst.jsf.ui.tests}" /> |
| 332 | <param name="report" value="org.eclipse.jst.jsf.ui.tests" /> |
| 333 | </antcall> |
| 334 | <antcall target="runtests"> |
| 335 | <param name="testPlugin" value="${org.eclipse.jst.jsf.metadata.tests}" /> |
| 336 | <param name="report" value="org.eclipse.jst.jsf.metadata.tests" /> |
| 337 | </antcall> |
| 338 | <antcall target="runtests"> |
| 339 | <param name="testPlugin" value="${org.eclipse.jst.jsf.contentassist.tests}" /> |
| 340 | <param name="report" value="org.eclipse.jst.jsf.contentassist.tests" /> |
| 341 | </antcall> |
| 342 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 343 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 344 | <!-- WS TESTS --> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 345 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 346 | <target name="wst-ws-tests" description="Runs the org.eclipse.wst.ws.tests test.xml"> |
| 347 | <antcall target="runtests"> |
| 348 | <param name="testPlugin" value="${org.eclipse.wst.ws.tests}" /> |
| 349 | <param name="report" value="org.eclipse.wst.ws.tests" /> |
| 350 | </antcall> |
| 351 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 352 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 353 | <target name="jst-ws-tests" description="Runs the org.eclipse.jst.ws.tests test.xml"> |
| 354 | <antcall target="runtests"> |
| 355 | <param name="testPlugin" value="${org.eclipse.jst.ws.tests}" /> |
| 356 | <param name="report" value="org.eclipse.jst.ws.tests" /> |
| 357 | </antcall> |
| 358 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 359 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 360 | <!-- Faceted Project Framework Tests --> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 361 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 362 | <target name="wst-facets-tests" description="Runs the Faceted Project Framework tests."> |
| 363 | <antcall target="runtests"> |
| 364 | <param name="testPlugin" value="${org.eclipse.wst.common.project.facet.core.tests}" /> |
| 365 | <param name="report" value="org.eclipse.wst.common.project.facet.core.tests" /> |
| 366 | </antcall> |
| 367 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 368 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 369 | <!-- Dali tests --> |
| 370 | <target name="jpa-utility-tests" description="Runs the org.eclipse.jst.jpa.utility.tests test.xml"> |
| 371 | <antcall target="runtests"> |
| 372 | <param name="testPlugin" value="${org.eclipse.jst.jpa.utility.tests}" /> |
| 373 | <param name="report" value="org.eclipse.jst.jpa.utility.tests" /> |
| 374 | </antcall> |
| 375 | </target> |
| 376 | <target name="dali-core-tests" description="Runs the org.eclipse.jst.jpa.core.tests test.xml"> |
| 377 | <antcall target="runtests"> |
| 378 | <param name="testPlugin" value="${org.eclipse.jst.jpa.core.tests}" /> |
| 379 | <param name="report" value="org.eclipse.jst.jpa.core.tests" /> |
| 380 | </antcall> |
| 381 | </target> |
david_williams | 9f1bc31 | 2006-11-29 20:23:22 +0000 | [diff] [blame] | 382 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 383 | <!-- releng Tests --> |
jeffliu | 5e3253d | 2006-06-13 19:38:32 +0000 | [diff] [blame] | 384 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 385 | <target name="releng-tests" description="Runs the releng tests."> |
| 386 | <antcall target="runtests"> |
| 387 | <param name="testPlugin" value="${org.eclipse.wtp.releng.tests}" /> |
| 388 | <param name="report" value="org.eclipse.wtp.releng.tests" /> |
| 389 | </antcall> |
| 390 | </target> |
david_williams | 0c366d3 | 2006-12-10 07:08:39 +0000 | [diff] [blame] | 391 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 392 | <target name="all" depends="init"> |
| 393 | <property file="${testRoot}/test2.properties" /> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 394 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 395 | <echo message="Starting WTP Unit Tests" /> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 396 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 397 | <echo message="Starting releng tests" /> |
| 398 | <antcall target="releng-tests" /> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 399 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 400 | <echo message="Starting wst-server-tests" /> |
| 401 | <antcall target="wst-server-tests" /> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 402 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 403 | <echo message="Starting wst-monitor-tests" /> |
| 404 | <antcall target="wst-monitor-tests" /> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 405 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 406 | <echo message="Starting wst-cache-tests" /> |
| 407 | <antcall target="wst-cache-tests" /> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 408 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 409 | <echo message="Starting wst-common-tests" /> |
| 410 | <antcall target="wst-common-tests" /> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 411 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 412 | <echo message="Starting wst-common-snippets-tests" /> |
| 413 | <antcall target="wst-common-snippets-tests" /> |
jeffliu | 8f89922 | 2005-11-30 19:46:35 +0000 | [diff] [blame] | 414 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 415 | <echo message="Starting wst-sse-tests" /> |
| 416 | <antcall target="wst-sse-tests" /> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 417 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 418 | <echo message="Starting wst-xml-tests" /> |
| 419 | <antcall target="wst-xml-tests" /> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 420 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 421 | <echo message="Starting wst-wsdl-tests" /> |
| 422 | <antcall target="wst-wsdl-tests" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 423 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 424 | <echo message="Starting wst-wsi-tests" /> |
| 425 | <antcall target="wst-wsi-tests" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 426 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 427 | <echo message="Starting wst-xsd-tests" /> |
| 428 | <antcall target="wst-xsd-tests" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 429 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 430 | <echo message="Starting wst-html-tests" /> |
| 431 | <antcall target="wst-html-tests" /> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 432 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 433 | <echo message="Starting wst-dtd-tests" /> |
| 434 | <antcall target="wst-dtd-tests" /> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 435 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 436 | <echo message="Starting wst-css-tests" /> |
| 437 | <antcall target="wst-css-tests" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 438 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 439 | <echo message="Starting wst-ws-tests" /> |
| 440 | <antcall target="wst-ws-tests" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 441 | |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 442 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 443 | <echo message="Starting jst-server-tests" /> |
| 444 | <antcall target="jst-server-tests" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 445 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 446 | <echo message="Starting jst-server-tomcat-tests" /> |
| 447 | <antcall target="jst-server-tomcat-tests" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 448 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 449 | <echo message="Starting jst-server-geronimo-tests" /> |
| 450 | <antcall target="jst-server-geronimo-tests" /> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 451 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 452 | <echo message="Starting jst-server-generic-tests" /> |
| 453 | <antcall target="jst-server-generic-tests" /> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 454 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 455 | <echo message="Starting jst-j2ee-core-tests" /> |
| 456 | <antcall target="jst-j2ee-core-tests" /> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 457 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 458 | <echo message="Starting jst-j2ee-tests" /> |
| 459 | <antcall target="jst-j2ee-tests" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 460 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 461 | <echo message="Starting jst-servlet-tests" /> |
| 462 | <antcall target="jst-servlet-tests" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 463 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 464 | <echo message="Starting jst-validation-framework-tests" /> |
| 465 | <antcall target="jst-validation-framework-tests" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 466 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 467 | <echo message="Starting jst-jsp-tests" /> |
| 468 | <antcall target="jst-jsp-tests" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 469 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 470 | <echo message="Starting jst-ws-tests" /> |
| 471 | <antcall target="jst-ws-tests" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 472 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 473 | <echo message="Starting wst-facets-tests" /> |
| 474 | <antcall target="wst-facets-tests" /> |
david_williams | ff0067c | 2007-02-21 02:57:37 +0000 | [diff] [blame] | 475 | |
david_williams | ff0067c | 2007-02-21 02:57:37 +0000 | [diff] [blame] | 476 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 477 | <echo message="Starting JPA Unit Tests" /> |
david_williams | ff0067c | 2007-02-21 02:57:37 +0000 | [diff] [blame] | 478 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 479 | <echo message="Starting jpa-utility-tests" /> |
| 480 | <antcall target="jpa-utility-tests" /> |
| 481 | <echo message="Starting dali-core-tests" /> |
| 482 | <antcall target="dali-core-tests" /> |
ndai | acc4d0d | 2006-05-19 17:10:33 +0000 | [diff] [blame] | 483 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 484 | <echo message="Ended JPA Unit Tests" /> |
david_williams | ff0067c | 2007-02-21 02:57:37 +0000 | [diff] [blame] | 485 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 486 | <echo message="Starting JSF Tests" /> |
| 487 | <antcall target="jsf-tests" /> |
david_williams | ff0067c | 2007-02-21 02:57:37 +0000 | [diff] [blame] | 488 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 489 | <echo message="Ended WTP Unit Tests" /> |
david_williams | 186e381 | 2007-02-12 16:33:44 +0000 | [diff] [blame] | 490 | |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 491 | |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 492 | |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 493 | |
| 494 | |
| 495 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 496 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 497 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 498 | <target name="genHtml" description="Generates HTML results with provided JUNIT.XSL provided" unless="genHtml.disable"> |
| 499 | <style style="JUNIT.XSL" basedir="${results}/xml" destdir="${results}/html" /> |
| 500 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 501 | |
david_williams | f5f131a | 2007-03-17 06:12:13 +0000 | [diff] [blame^] | 502 | <target name="computePluginVersion"> |
| 503 | <java classname="org.eclipse.wtp.releng.test.ComputePluginVersion"> |
| 504 | <classpath> |
| 505 | <pathelement location="ComputePluginVersion.jar" /> |
| 506 | </classpath> |
| 507 | <arg value="${testRoot}/eclipse/plugins" /> |
| 508 | <arg value="${testRoot}/test2.properties" /> |
| 509 | </java> |
| 510 | </target> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 511 | |
jeffliu | 5e3253d | 2006-06-13 19:38:32 +0000 | [diff] [blame] | 512 | </project> |