<scp file="${demo.war}" todir="${user}@${test.integration.server}:integration-tests/servers/demo.war" keyfile="${sshkey.file}" passphrase="${passphrase}" />\r
</target>\r
\r
- <!-- Run basic address book test -->\r
- <target name="integration-test-addressbook">\r
- <fileset dir="integration-testscripts" id="html-test-files" includes="integration-test-${server-name}-addressbook.html" />\r
+ <!-- Run basic integration test test -->\r
+ <target name="integration-test-servlet">\r
+ <fileset dir="integration-testscripts" id="html-test-files" includes="integration-test-${server-name}-servlet.html" />\r
<pathconvert pathsep=" " property="testfiles" refid="html-test-files" />\r
\r
<subant target="run-tests" failonerror="false" antfile="test.xml">\r
<!-- Start and stop methods for servers -->\r
<target name="integration-test-start-tomcat-4">\r
<sshexec host="${test.integration.server}" username="${user}" keyfile="${sshkey.file}" command="ant -f ${ant.hub} start-tomcat-4.1.40" />\r
- <copy file="integration-testscripts/common/addressbook_deployment.tpl" tofile="integration-testscripts/integration-test-tomcat-4.1.40-addressbook.html" overwrite="true" />\r
+ <copy file="integration-testscripts/common/integration_test.tpl" tofile="integration-testscripts/integration-test-tomcat-4.1.40-servlet.html" overwrite="true" />\r
</target>\r
\r
<target name="integration-test-stop-tomcat-4">\r
\r
<target name="integration-test-start-tomcat-5">\r
<sshexec host="${test.integration.server}" username="${user}" keyfile="${sshkey.file}" command="ant -f ${ant.hub} start-tomcat-5.5.28" />\r
- <copy file="integration-testscripts/common/addressbook_deployment.tpl" tofile="integration-testscripts/integration-test-tomcat-5.5.28-addressbook.html" overwrite="true" />\r
+ <copy file="integration-testscripts/common/integration_test.tpl" tofile="integration-testscripts/integration-test-tomcat-5.5.28-servlet.html" overwrite="true" />\r
</target>\r
\r
<target name="integration-test-stop-tomcat-5">\r
\r
<target name="integration-test-start-tomcat-6">\r
<sshexec host="${test.integration.server}" username="${user}" keyfile="${sshkey.file}" command="ant -f ${ant.hub} start-tomcat-6.0.20" />\r
- <copy file="integration-testscripts/common/addressbook_deployment.tpl" tofile="integration-testscripts/integration-test-tomcat-6.0.20-addressbook.html" overwrite="true" />\r
+ <copy file="integration-testscripts/common/integration_test.tpl" tofile="integration-testscripts/integration-test-tomcat-6.0.20-servlet.html" overwrite="true" />\r
</target>\r
\r
<target name="integration-test-stop-tomcat-6">\r
\r
<target name="integration-test-start-jetty-5">\r
<sshexec host="${test.integration.server}" username="${user}" keyfile="${sshkey.file}" command="ant -f ${ant.hub} start-jetty-5.1.15" />\r
- <copy file="integration-testscripts/common/addressbook_deployment.tpl" tofile="integration-testscripts/integration-test-jetty-5.1.15-addressbook.html" overwrite="true" />\r
+ <copy file="integration-testscripts/common/integration_test.tpl" tofile="integration-testscripts/integration-test-jetty-5.1.15-servlet.html" overwrite="true" />\r
</target>\r
\r
<target name="integration-test-stop-jetty-5">\r
\r
<target name="integration-test-start-jetty-6">\r
<sshexec host="${test.integration.server}" username="${user}" keyfile="${sshkey.file}" command="ant -f ${ant.hub} start-jetty-6.1.22" />\r
- <copy file="integration-testscripts/common/addressbook_deployment.tpl" tofile="integration-testscripts/integration-test-jetty-6.1.22-addressbook.html" overwrite="true" />\r
+ <copy file="integration-testscripts/common/integration_test.tpl" tofile="integration-testscripts/integration-test-jetty-6.1.22-servlet.html" overwrite="true" />\r
</target>\r
\r
<target name="integration-test-stop-jetty-6">\r
\r
<target name="integration-test-start-jetty-7">\r
<sshexec host="${test.integration.server}" username="${user}" keyfile="${sshkey.file}" command="ant -f ${ant.hub} start-jetty-7.0.0" />\r
- <copy file="integration-testscripts/common/addressbook_deployment.tpl" tofile="integration-testscripts/integration-test-jetty-7.0.0-addressbook.html" overwrite="true" />\r
+ <copy file="integration-testscripts/common/integration_test.tpl" tofile="integration-testscripts/integration-test-jetty-7.0.0-servlet.html" overwrite="true" />\r
</target>\r
\r
<target name="integration-test-stop-jetty-7">\r
\r
<target name="integration-test-start-jboss-3">\r
<sshexec host="${test.integration.server}" username="${user}" keyfile="${sshkey.file}" command="ant -f ${ant.hub} start-jboss-3.2.8" />\r
- <copy file="integration-testscripts/common/addressbook_deployment.tpl" tofile="integration-testscripts/integration-test-jboss-3.2.8-addressbook.html" overwrite="true" />\r
+ <copy file="integration-testscripts/common/integration_test.tpl" tofile="integration-testscripts/integration-test-jboss-3.2.8-servlet.html" overwrite="true" />\r
</target>\r
\r
<target name="integration-test-stop-jboss-3">\r
\r
<target name="integration-test-start-jboss-4">\r
<sshexec host="${test.integration.server}" username="${user}" keyfile="${sshkey.file}" command="ant -f ${ant.hub} start-jboss-4.2.3" />\r
- <copy file="integration-testscripts/common/addressbook_deployment.tpl" tofile="integration-testscripts/integration-test-jboss-4.2.3-addressbook.html" overwrite="true" />\r
+ <copy file="integration-testscripts/common/integration_test.tpl" tofile="integration-testscripts/integration-test-jboss-4.2.3-servlet.html" overwrite="true" />\r
</target>\r
\r
<target name="integration-test-stop-jboss-4">\r
\r
<target name="integration-test-start-jboss-5">\r
<sshexec host="${test.integration.server}" username="${user}" keyfile="${sshkey.file}" command="ant -f ${ant.hub} start-jboss-5.0.1" />\r
- <copy file="integration-testscripts/common/addressbook_deployment.tpl" tofile="integration-testscripts/integration-test-jboss-5.0.1-addressbook.html" overwrite="true" />\r
+ <copy file="integration-testscripts/common/integration_test.tpl" tofile="integration-testscripts/integration-test-jboss-5.0.1-servlet.html" overwrite="true" />\r
</target>\r
\r
<target name="integration-test-stop-jboss-5">\r
\r
<target name="integration-test-start-glassfish2">\r
<sshexec host="${test.integration.server}" username="${user}" keyfile="${sshkey.file}" command="ant -f ${ant.hub} start-glassfish-2.1.1" />\r
- <copy file="integration-testscripts/common/addressbook_deployment.tpl" tofile="integration-testscripts/integration-test-glassfish-2.1.1-addressbook.html" overwrite="true" />\r
+ <copy file="integration-testscripts/common/integration_test.tpl" tofile="integration-testscripts/integration-test-glassfish-2.1.1-servlet.html" overwrite="true" />\r
</target>\r
\r
<target name="integration-test-stop-glassfish2">\r
\r
<target name="integration-test-start-glassfish3">\r
<sshexec host="${test.integration.server}" username="${user}" keyfile="${sshkey.file}" command="ant -f ${ant.hub} start-glassfish-3" />\r
- <copy file="integration-testscripts/common/addressbook_deployment.tpl" tofile="integration-testscripts/integration-test-glassfish-3-addressbook.html" overwrite="true" />\r
+ <copy file="integration-testscripts/common/integration_test.tpl" tofile="integration-testscripts/integration-test-glassfish-3-servlet.html" overwrite="true" />\r
</target>\r
\r
<target name="integration-test-stop-glassfish3">\r
<sshexec host="${test.integration.server}" username="${user}" keyfile="${sshkey.file}" command="ant -f ${ant.hub} stop-eXo-3.0.3" />\r
</target>\r
\r
- <!-- Run address book test for WebLogic server -->\r
+ <!-- Run integration test for WebLogic server -->\r
<target name="integration-test-test-weblogic">\r
- <fileset dir="integration-testscripts" id="html-test-files" includes="integration-test-${server-name}-addressbook.html" />\r
+ <fileset dir="integration-testscripts" id="html-test-files" includes="integration-test-${server-name}-servlet.html" />\r
<pathconvert pathsep=" " property="test-weblogic" refid="html-test-files" />\r
\r
<subant target="run-tests" failonerror="false" antfile="test.xml">\r
\r
<target name="integration-test-start-weblogic9">\r
<sshexec host="${test.integration.server}" username="${user}" keyfile="${sshkey.file}" command="ant -f ${ant.hub} start-weblogic-9.2" />\r
- <copy file="integration-testscripts/common/addressbook_deployment.tpl" tofile="integration-testscripts/integration-test-weblogic-9.2-addressbook.html" overwrite="true" />\r
+ <copy file="integration-testscripts/common/integration_test.tpl" tofile="integration-testscripts/integration-test-weblogic-9.2-servlet.html" overwrite="true" />\r
</target>\r
\r
<target name="integration-test-stop-weblogic9">\r
\r
<target name="integration-test-start-weblogic10">\r
<sshexec host="${test.integration.server}" username="${user}" keyfile="${sshkey.file}" command="ant -f ${ant.hub} start-weblogic-10.3" />\r
- <copy file="integration-testscripts/common/addressbook_deployment.tpl" tofile="integration-testscripts/integration-test-weblogic-10.3-addressbook.html" overwrite="true" />\r
+ <copy file="integration-testscripts/common/integration_test.tpl" tofile="integration-testscripts/integration-test-weblogic-10.3-servlet.html" overwrite="true" />\r
</target>\r
\r
<target name="integration-test-stop-weblogic10">\r
<sshexec host="${test.integration.server}" username="${user}" keyfile="${sshkey.file}" command="ant -f ${ant.hub} stop-weblogic-portal" />\r
</target>\r
\r
- <!-- Run address book deployment test on GAE -->\r
+ <!-- Run integration test on GAE -->\r
<target name="integration-test-test-GAE">\r
- <fileset dir="integration-testscripts" id="html-test-files" includes="GoogleAppEngine/integration-test-GAE-addressbook.html" />\r
+ <fileset dir="integration-testscripts" id="html-test-files" includes="GoogleAppEngine/integration-test-GAE.html" />\r
<pathconvert pathsep=" " property="test-GAE" refid="html-test-files" />\r
\r
<subant target="run-tests" failonerror="false" antfile="test.xml">\r
<!-- Server setup, test and teardown targets. -->\r
<target name="integration-test-tomcat4">\r
<antcall target="integration-test-start-tomcat-4"/>\r
- <antcall target="integration-test-addressbook">\r
+ <antcall target="integration-test-servlet">\r
<param name="server-name" value="tomcat-4.1.40" />\r
</antcall>\r
<antcall target="integration-test-stop-tomcat-4"/>\r
\r
<target name="integration-test-tomcat5">\r
<antcall target="integration-test-start-tomcat-5"/>\r
- <antcall target="integration-test-addressbook">\r
+ <antcall target="integration-test-servlet">\r
<param name="server-name" value="tomcat-5.5.28" />\r
</antcall>\r
<antcall target="integration-test-stop-tomcat-5"/>\r
\r
<target name="integration-test-tomcat6">\r
<antcall target="integration-test-start-tomcat-6"/>\r
- <antcall target="integration-test-addressbook">\r
+ <antcall target="integration-test-servlet">\r
<param name="server-name" value="tomcat-6.0.20" />\r
</antcall>\r
<antcall target="integration-test-stop-tomcat-6"/>\r
\r
<target name="integration-test-jetty5">\r
<antcall target="integration-test-start-jetty-5"/>\r
- <antcall target="integration-test-addressbook">\r
+ <antcall target="integration-test-servlet">\r
<param name="server-name" value="jetty-5.1.15" />\r
</antcall>\r
<antcall target="integration-test-stop-jetty-5"/>\r
\r
<target name="integration-test-jetty6">\r
<antcall target="integration-test-start-jetty-6"/>\r
- <antcall target="integration-test-addressbook">\r
+ <antcall target="integration-test-servlet">\r
<param name="server-name" value="jetty-6.1.22" />\r
</antcall>\r
<antcall target="integration-test-stop-jetty-6"/>\r
\r
<target name="integration-test-jetty7">\r
<antcall target="integration-test-start-jetty-7"/>\r
- <antcall target="integration-test-addressbook">\r
+ <antcall target="integration-test-servlet">\r
<param name="server-name" value="jetty-7.0.0" />\r
</antcall>\r
<antcall target="integration-test-stop-jetty-7"/>\r
\r
<target name="integration-test-jboss3">\r
<antcall target="integration-test-start-jboss-3"/>\r
- <antcall target="integration-test-addressbook">\r
+ <antcall target="integration-test-servlet">\r
<param name="server-name" value="jboss-3.2.8" />\r
</antcall>\r
<antcall target="integration-test-stop-jboss-3"/>\r
\r
<target name="integration-test-jboss4">\r
<antcall target="integration-test-start-jboss-4"/>\r
- <antcall target="integration-test-addressbook">\r
+ <antcall target="integration-test-servlet">\r
<param name="server-name" value="jboss-4.2.3" />\r
</antcall>\r
<antcall target="integration-test-stop-jboss-4"/>\r
\r
<target name="integration-test-jboss5">\r
<antcall target="integration-test-start-jboss-5"/>\r
- <antcall target="integration-test-addressbook">\r
+ <antcall target="integration-test-servlet">\r
<param name="server-name" value="jboss-5.0.1" />\r
</antcall>\r
<antcall target="integration-test-stop-jboss-5"/>\r
\r
<target name="integration-test-glassfish2">\r
<antcall target="integration-test-start-glassfish2"/>\r
- <antcall target="integration-test-addressbook">\r
+ <antcall target="integration-test-servlet">\r
<param name="server-name" value="glassfish-2.1.1" />\r
</antcall>\r
<antcall target="integration-test-stop-glassfish2"/>\r
\r
<target name="integration-test-glassfish3">\r
<antcall target="integration-test-start-glassfish3"/>\r
- <antcall target="integration-test-addressbook">\r
+ <antcall target="integration-test-servlet">\r
<param name="server-name" value="glassfish-3" />\r
</antcall>\r
<antcall target="integration-test-stop-glassfish3"/>\r