Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 87406 invoked from network); 5 Nov 2010 15:42:32 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Nov 2010 15:42:32 -0000 Received: (qmail 54842 invoked by uid 500); 5 Nov 2010 15:43:03 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 54817 invoked by uid 500); 5 Nov 2010 15:43:03 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 54810 invoked by uid 99); 5 Nov 2010 15:43:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 15:43:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 15:43:01 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B634F2388A44; Fri, 5 Nov 2010 15:41:46 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1031634 - /activemq/activemq-apollo/trunk/apollo-stomp/src/test/scala/org/apache/activemq/apollo/stomp/StompTest.scala Date: Fri, 05 Nov 2010 15:41:46 -0000 To: commits@activemq.apache.org From: chirino@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20101105154146.B634F2388A44@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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")