Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 54293 invoked from network); 1 Nov 2010 13:04:28 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Nov 2010 13:04:28 -0000 Received: (qmail 76542 invoked by uid 500); 1 Nov 2010 13:04:59 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 76476 invoked by uid 500); 1 Nov 2010 13:04:57 -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 76469 invoked by uid 99); 1 Nov 2010 13:04:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 13:04:56 +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; Mon, 01 Nov 2010 13:04:53 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 9DB5A23888EA; Mon, 1 Nov 2010 13:03:56 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1029631 - /activemq/activemq-apollo/trunk/apollo-stomp/src/test/scala/org/apache/activemq/apollo/stomp/StompTest.scala Date: Mon, 01 Nov 2010 13:03:56 -0000 To: commits@activemq.apache.org From: chirino@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20101101130356.9DB5A23888EA@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: chirino Date: Mon Nov 1 13:03:56 2010 New Revision: 1029631 URL: http://svn.apache.org/viewvc?rev=1029631&view=rev Log: use the logger. 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=1029631&r1=1029630&r2=1029631&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 Mon Nov 1 13:03:56 2010 @@ -17,11 +17,11 @@ package org.apache.activemq.apollo.stomp import org.scalatest.matchers.ShouldMatchers -import org.apache.activemq.apollo.util.FunSuiteSupport import org.apache.activemq.apollo.broker.{Broker, BrokerFactory} import org.scalatest.BeforeAndAfterEach +import org.apache.activemq.apollo.util.{Logging, FunSuiteSupport} -class StompTestSupport extends FunSuiteSupport with ShouldMatchers with BeforeAndAfterEach { +class StompTestSupport extends FunSuiteSupport with ShouldMatchers with BeforeAndAfterEach with Logging { var broker: Broker = null override protected def beforeAll() = { @@ -233,7 +233,7 @@ class StompDestinationTest extends Stomp def get(id:Int) = { val frame = client.receive() - println(frame) + info(frame) frame should startWith("MESSAGE\n") frame should include ("subscription:0\n") frame should endWith regex("\n\nmessage:"+id+"\n") @@ -268,7 +268,7 @@ class StompDestinationTest extends Stomp def get(id:Int) = { val frame = client.receive() - println(frame) + info(frame) frame should startWith("MESSAGE\n") frame should include ("subscription:0\n") frame should endWith regex("\n\nmessage:"+id+"\n") @@ -316,7 +316,7 @@ class StompDestinationTest extends Stomp def get(id:Int) = { val frame = client.receive() - println(frame) + info(frame) frame should startWith("MESSAGE\n") frame should include ("subscription:durable:my-sub-name\n") frame should endWith regex("\n\nmessage:"+id+"\n") @@ -351,7 +351,7 @@ class StompDestinationTest extends Stomp def get(id:Int) = { val frame = client.receive() - println(frame) + info(frame) frame should startWith("MESSAGE\n") frame should endWith regex("\n\nmessage:"+id+"\n") } @@ -386,7 +386,7 @@ class StompDestinationTest extends Stomp def get(id:Int) = { val frame = client.receive() - println(frame) + info(frame) frame should startWith("MESSAGE\n") frame should endWith regex("\n\nmessage:"+id+"\n") } @@ -426,7 +426,7 @@ class StompTransactionTest extends Stomp def get(id:Int) = { val frame = client.receive() - println(frame) + info(frame) frame should startWith("MESSAGE\n") frame should endWith regex("\n\nmessage:"+id+"\n") } @@ -472,7 +472,7 @@ class StompTransactionTest extends Stomp def get(id:Int) = { val frame = client.receive() - println(frame) + info(frame) frame should startWith("MESSAGE\n") frame should endWith regex("\n\nmessage:"+id+"\n") } @@ -517,7 +517,7 @@ class StompAckModeTest extends StompTest def get(id:Int) = { val frame = client.receive() - println(frame) + info(frame) frame should startWith("MESSAGE\n") frame should include ("subscription:0\n") frame should include regex("message-id:.+?\n") @@ -582,7 +582,7 @@ class StompAckModeTest extends StompTest def get(id:Int) = { val frame = client.receive() - println(frame) + info(frame) frame should startWith("MESSAGE\n") frame should include ("subscription:0\n") frame should include regex("message-id:.+?\n")