[jboss-svn-commits] JBL Code SVN: r21014 - labs/jbossesb/trunk/product/rosetta/tests/src/org/jboss/soa/esb/listeners/gateway.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Sat Jul 12 07:38:42 EDT 2008
Author: kevin.conner at jboss.com
Date: 2008-07-12 07:38:42 -0400 (Sat, 12 Jul 2008)
New Revision: 21014
Modified:
labs/jbossesb/trunk/product/rosetta/tests/src/org/jboss/soa/esb/listeners/gateway/JBossRemotingGatewayListenerUnitTest.java
Log:
Fixed test_delivery usage: JBESB-1727
Modified: labs/jbossesb/trunk/product/rosetta/tests/src/org/jboss/soa/esb/listeners/gateway/JBossRemotingGatewayListenerUnitTest.java
===================================================================
--- labs/jbossesb/trunk/product/rosetta/tests/src/org/jboss/soa/esb/listeners/gateway/JBossRemotingGatewayListenerUnitTest.java 2008-07-12 10:55:04 UTC (rev 21013)
+++ labs/jbossesb/trunk/product/rosetta/tests/src/org/jboss/soa/esb/listeners/gateway/JBossRemotingGatewayListenerUnitTest.java 2008-07-12 11:38:42 UTC (rev 21014)
@@ -140,7 +140,7 @@
}
@Test
public void test_http_async() throws Throwable {
- test_delivery("http", false);
+ test_delivery("http", false, "8888");
}
// public void x_test_http_sync() throws Throwable {
@@ -149,12 +149,12 @@
// }
@Test
public void test_socket_() throws Throwable {
- test_delivery("socket", false);
+ test_delivery("socket", false, "8886");
}
- public void test_delivery(String protocol, boolean synchronous) throws Throwable {
- startServer(protocol, synchronous, "8888");
- sendMessageToServer(protocol, protocol + "_payload", "8888");
+ public void test_delivery(String protocol, boolean synchronous, finalString port) throws Throwable {
+ startServer(protocol, synchronous, port);
+ sendMessageToServer(protocol, protocol + "_payload", port);
stopServer();
}
More information about the jboss-svn-commits
mailing list