Author: ron.sigal(a)jboss.com
Date: 2010-12-15 18:26:35 -0500 (Wed, 15 Dec 2010)
New Revision: 6174
Modified:
remoting2/branches/2.2/build.xml
Log:
JBREM-1144: Added server identity versioning tests for versions that have a
ConnectionValidator.
Modified: remoting2/branches/2.2/build.xml
===================================================================
--- remoting2/branches/2.2/build.xml 2010-12-15 23:23:46 UTC (rev 6173)
+++ remoting2/branches/2.2/build.xml 2010-12-15 23:26:35 UTC (rev 6174)
@@ -1669,6 +1669,8 @@
<param name="jboss-junit-configuration"
value="${module.version.extension}"/>
<param name="client.classpath"
value="${output.lib.dir}/jboss-remoting.jar"/>
<param name="server.classpath"
value="${output.lib.dir}/jboss-remoting.jar"/>
+ <param name="clientImplementsServerIdentity"
value="true"/>
+ <param name="serverImplementsServerIdentity"
value="true"/>
</antcall>
<!--
******************************************************************************** -->
@@ -1682,6 +1684,8 @@
<param name="client.version" value=""/>
<param name="server.version" value="2"/>
<param name="check_connection" value="false"/>
+ <param name="clientImplementsServerIdentity"
value="false"/>
+ <param name="serverImplementsServerIdentity"
value="true"/>
</antcall>
<antcall target="tests.versioning.all_transports"
inheritrefs="true">
<param name="jboss-junit-configuration"
value="2_2_3_SP2-server"/>
@@ -1692,6 +1696,8 @@
<param name="client.version" value="2"/>
<param name="server.version" value=""/>
<param name="check_connection" value="false"/>
+ <param name="clientImplementsServerIdentity"
value="true"/>
+ <param name="serverImplementsServerIdentity"
value="false"/>
</antcall>
<!--
******************************************************************************** -->
@@ -1705,6 +1711,8 @@
<param name="client.version" value=""/>
<param name="server.version" value="2"/>
<param name="check_connection" value="false"/>
+ <param name="clientImplementsServerIdentity"
value="false"/>
+ <param name="serverImplementsServerIdentity"
value="true"/>
</antcall>
<antcall target="tests.versioning.all_transports"
inheritrefs="true">
<param name="jboss-junit-configuration"
value="2_2_3_SP1-server"/>
@@ -1715,6 +1723,8 @@
<param name="client.version" value="2"/>
<param name="server.version" value=""/>
<param name="check_connection" value="false"/>
+ <param name="clientImplementsServerIdentity"
value="true"/>
+ <param name="serverImplementsServerIdentity"
value="false"/>
</antcall>
<!--
******************************************************************************** -->
@@ -1728,6 +1738,8 @@
<param name="client.version" value=""/>
<param name="server.version" value="2"/>
<param name="check_connection" value="false"/>
+ <param name="clientImplementsServerIdentity"
value="false"/>
+ <param name="serverImplementsServerIdentity"
value="true"/>
</antcall>
<antcall target="tests.versioning.all_transports"
inheritrefs="true">
<param name="jboss-junit-configuration"
value="2_2_3-server"/>
@@ -1738,6 +1750,8 @@
<param name="client.version" value="2"/>
<param name="server.version" value=""/>
<param name="check_connection" value="false"/>
+ <param name="clientImplementsServerIdentity"
value="true"/>
+ <param name="serverImplementsServerIdentity"
value="false"/>
</antcall>
<!--
******************************************************************************** -->
@@ -1751,6 +1765,8 @@
<param name="client.version" value=""/>
<param name="server.version" value="2"/>
<param name="check_connection" value="false"/>
+ <param name="clientImplementsServerIdentity"
value="false"/>
+ <param name="serverImplementsServerIdentity"
value="true"/>
</antcall>
<antcall target="tests.versioning.all_transports"
inheritrefs="true">
<param name="jboss-junit-configuration"
value="2_2_2_SP11-server"/>
@@ -1761,6 +1777,8 @@
<param name="client.version" value="2"/>
<param name="server.version" value=""/>
<param name="check_connection" value="false"/>
+ <param name="clientImplementsServerIdentity"
value="true"/>
+ <param name="serverImplementsServerIdentity"
value="false"/>
</antcall>
<!--
******************************************************************************** -->
@@ -1774,6 +1792,8 @@
<param name="client.version" value=""/>
<param name="server.version" value="2"/>
<param name="check_connection" value="false"/>
+ <param name="clientImplementsServerIdentity"
value="false"/>
+ <param name="serverImplementsServerIdentity"
value="true"/>
</antcall>
<antcall target="tests.versioning.all_transports"
inheritrefs="true">
<param name="jboss-junit-configuration"
value="2_2_2_SP10-server"/>
@@ -1784,6 +1804,8 @@
<param name="client.version" value="2"/>
<param name="server.version" value=""/>
<param name="check_connection" value="false"/>
+ <param name="clientImplementsServerIdentity"
value="true"/>
+ <param name="serverImplementsServerIdentity"
value="false"/>
</antcall>
<!--
******************************************************************************** -->
@@ -1797,6 +1819,8 @@
<param name="client.version" value=""/>
<param name="server.version" value="2"/>
<param name="check_connection" value="false"/>
+ <param name="clientImplementsServerIdentity"
value="false"/>
+ <param name="serverImplementsServerIdentity"
value="true"/>
</antcall>
<antcall target="tests.versioning.all_transports"
inheritrefs="true">
<param name="jboss-junit-configuration"
value="2_2_2_SP9-server"/>
@@ -1807,6 +1831,8 @@
<param name="client.version" value="2"/>
<param name="server.version" value=""/>
<param name="check_connection" value="false"/>
+ <param name="clientImplementsServerIdentity"
value="true"/>
+ <param name="serverImplementsServerIdentity"
value="false"/>
</antcall>
<!--
******************************************************************************** -->
@@ -1820,6 +1846,8 @@
<param name="client.version" value=""/>
<param name="server.version" value="2"/>
<param name="check_connection" value="false"/>
+ <param name="clientImplementsServerIdentity"
value="false"/>
+ <param name="serverImplementsServerIdentity"
value="true"/>
</antcall>
<antcall target="tests.versioning.all_transports"
inheritrefs="true">
<param name="jboss-junit-configuration"
value="2_2_2_SP7-server"/>
@@ -1830,6 +1858,8 @@
<param name="client.version" value="2"/>
<param name="server.version" value=""/>
<param name="check_connection" value="false"/>
+ <param name="clientImplementsServerIdentity"
value="true"/>
+ <param name="serverImplementsServerIdentity"
value="false"/>
</antcall>
<!--
******************************************************************************** -->
@@ -1843,6 +1873,8 @@
<param name="client.version" value=""/>
<param name="server.version" value="2"/>
<param name="check_connection" value="false"/>
+ <param name="clientImplementsServerIdentity"
value="false"/>
+ <param name="serverImplementsServerIdentity"
value="true"/>
</antcall>
<antcall target="tests.versioning.all_transports"
inheritrefs="true">
<param name="jboss-junit-configuration"
value="2_2_2_SP4-server"/>
@@ -1853,6 +1885,8 @@
<param name="client.version" value="2"/>
<param name="server.version" value=""/>
<param name="check_connection" value="false"/>
+ <param name="clientImplementsServerIdentity"
value="true"/>
+ <param name="serverImplementsServerIdentity"
value="false"/>
</antcall>
<!--
******************************************************************************** -->
@@ -1866,6 +1900,8 @@
<param name="client.version" value=""/>
<param name="server.version" value="2"/>
<param name="check_connection" value="false"/>
+ <param name="clientImplementsServerIdentity"
value="false"/>
+ <param name="serverImplementsServerIdentity"
value="true"/>
</antcall>
<antcall target="tests.versioning.all_transports"
inheritrefs="true">
<param name="jboss-junit-configuration"
value="2_2_2_SP2-server"/>
@@ -1876,6 +1912,8 @@
<param name="client.version" value="2"/>
<param name="server.version" value=""/>
<param name="check_connection" value="false"/>
+ <param name="clientImplementsServerIdentity"
value="true"/>
+ <param name="serverImplementsServerIdentity"
value="false"/>
</antcall>
<!--
******************************************************************************** -->
@@ -1889,6 +1927,8 @@
<param name="client.version" value=""/>
<param name="server.version" value="2"/>
<param name="check_connection" value="false"/>
+ <param name="clientImplementsServerIdentity"
value="false"/>
+ <param name="serverImplementsServerIdentity"
value="true"/>
</antcall>
<antcall target="tests.versioning.all_transports"
inheritrefs="true">
<param name="jboss-junit-configuration"
value="2_2_2_SP1-server"/>
@@ -1899,6 +1939,8 @@
<param name="client.version" value="2"/>
<param name="server.version" value=""/>
<param name="check_connection" value="false"/>
+ <param name="clientImplementsServerIdentity"
value="true"/>
+ <param name="serverImplementsServerIdentity"
value="false"/>
</antcall>
<!--
******************************************************************************** -->
@@ -1912,6 +1954,8 @@
<param name="client.version" value=""/>
<param name="server.version" value="2"/>
<param name="check_connection" value="false"/>
+ <param name="clientImplementsServerIdentity"
value="false"/>
+ <param name="serverImplementsServerIdentity"
value="true"/>
</antcall>
<antcall target="tests.versioning.all_transports"
inheritrefs="true">
<param name="jboss-junit-configuration"
value="2_2_2_GA-server"/>
@@ -1922,11 +1966,13 @@
<param name="client.version" value="2"/>
<param name="server.version" value=""/>
<param name="check_connection" value="false"/>
+ <param name="clientImplementsServerIdentity"
value="true"/>
+ <param name="serverImplementsServerIdentity"
value="false"/>
</antcall>
<!--
******************************************************************************** -->
<!-- Current <- -> 2.2.0.SP4 -->
- <antcall target="tests.versioning.all_transports"
inheritrefs="true">
+ <antcall target="tests.versioning.all_transports_but_bisocket"
inheritrefs="true">
<param name="jboss-junit-configuration"
value="2_2_0_SP4-client"/>
<param name="client.classpath"
value="${etc.dir}/lib/remoting_2_2_0_SP4/jboss-remoting.jar"/>
<param name="server.classpath"
value="${output.lib.dir}/jboss-remoting.jar"/>
@@ -1936,7 +1982,7 @@
<param name="server.version" value="2"/>
<param name="check_connection" value="false"/>
</antcall>
- <antcall target="tests.versioning.all_transports"
inheritrefs="true">
+ <antcall target="tests.versioning.all_transports_but_bisocket"
inheritrefs="true">
<param name="jboss-junit-configuration"
value="2_2_0_SP4-server"/>
<param name="server.classpath"
value="${etc.dir}/lib/remoting_2_2_0_SP4/jboss-remoting.jar"/>
<param name="client.classpath"
value="${output.lib.dir}/jboss-remoting.jar"/>
@@ -2167,7 +2213,9 @@
description="Runs remoting fuctional tests with different remoting
versions for client and server."
depends="jars, tests.jars">
<mkdir dir="${output.tests.results}"/>
- <echo>Running: ${jboss-junit-configuration}</echo>
+ <echo>Running: ${jboss-junit-configuration}</echo>
+ <echo>clientImplementsServerIdentity:
${clientImplementsServerIdentity}</echo>
+ <echo>serverImplementsServerIdentity:
${serverImplementsServerIdentity}</echo>
<junit printsummary="true" fork="yes"
includeantruntime="true">
<classpath>
<path refid="third_party.classpath"/>
@@ -2200,6 +2248,7 @@
<fileset dir="${tests.compile.dir}">
<include
name="**/remoting/versioning/transport/**/*TestCase.class"/>
<include
name="**/remoting/versioning/lease/**/*TestCase.class"/>
+ <include
name="**/remoting/versioning/identity/*TestCase.class"/>
<exclude name="**/remoting/**/multiplex/**/*.class"/>
</fileset>
</batchtest>