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