activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
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 GMT
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")



Mime
View raw message