You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2010/11/05 16:41:46 UTC
svn commit: r1031634 -
/activemq/activemq-apollo/trunk/apollo-stomp/src/test/scala/org/apache/activemq/apollo/stomp/StompTest.scala
Author: chirino
Date: Fri Nov 5 15:41:46 2010
New Revision: 1031634
URL: http://svn.apache.org/viewvc?rev=1031634&view=rev
Log:
Fixing test cases the broke with last commit.
Modified:
activemq/activemq-apollo/trunk/apollo-stomp/src/test/scala/org/apache/activemq/apollo/stomp/StompTest.scala
Modified: activemq/activemq-apollo/trunk/apollo-stomp/src/test/scala/org/apache/activemq/apollo/stomp/StompTest.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-stomp/src/test/scala/org/apache/activemq/apollo/stomp/StompTest.scala?rev=1031634&r1=1031633&r2=1031634&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-stomp/src/test/scala/org/apache/activemq/apollo/stomp/StompTest.scala (original)
+++ activemq/activemq-apollo/trunk/apollo-stomp/src/test/scala/org/apache/activemq/apollo/stomp/StompTest.scala Fri Nov 5 15:41:46 2010
@@ -53,7 +53,7 @@ class StompTestSupport extends FunSuiteS
c.write(
"CONNECT\n" +
"accept-version:1.1\n" +
- "host:default\n" +
+ "host:localhost\n" +
"\n")
case x=> throw new RuntimeException("invalid version: %f".format(x))
}
@@ -93,7 +93,7 @@ class Stomp11ConnectTest extends StompTe
client.write(
"STOMP\n" +
"accept-version:1.0,1.1\n" +
- "host:default\n" +
+ "host:localhost\n" +
"\n")
val frame = client.receive()
frame should startWith("CONNECTED\n")
@@ -108,7 +108,7 @@ class Stomp11ConnectTest extends StompTe
client.write(
"CONNECT\n" +
"accept-version:1.0,10.0\n" +
- "host:default\n" +
+ "host:localhost\n" +
"\n")
val frame = client.receive()
frame should startWith("CONNECTED\n")
@@ -123,7 +123,7 @@ class Stomp11ConnectTest extends StompTe
client.write(
"CONNECT\n" +
"accept-version:9.0,10.0\n" +
- "host:default\n" +
+ "host:localhost\n" +
"\n")
val frame = client.receive()
frame should startWith("ERROR\n")
@@ -156,7 +156,7 @@ class Stomp11HeartBeatTest extends Stomp
client.write(
"CONNECT\n" +
"accept-version:1.1\n" +
- "host:default\n" +
+ "host:localhost\n" +
"heart-beat:0,1000\n" +
"\n")
val frame = client.receive()
@@ -185,7 +185,7 @@ class Stomp11HeartBeatTest extends Stomp
client.write(
"CONNECT\n" +
"accept-version:1.1\n" +
- "host:default\n" +
+ "host:localhost\n" +
"heart-beat:1000,0\n" +
"\n")