activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1457822 - in /activemq/trunk/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp: Stomp11Test.java Stomp12Test.java
Date Mon, 18 Mar 2013 15:41:46 GMT
Author: tabish
Date: Mon Mar 18 15:41:45 2013
New Revision: 1457822

URL: http://svn.apache.org/r1457822
Log:
tweak to fix failing tests

Modified:
    activemq/trunk/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/Stomp11Test.java
    activemq/trunk/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/Stomp12Test.java

Modified: activemq/trunk/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/Stomp11Test.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/Stomp11Test.java?rev=1457822&r1=1457821&r2=1457822&view=diff
==============================================================================
--- activemq/trunk/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/Stomp11Test.java
(original)
+++ activemq/trunk/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/Stomp11Test.java
Mon Mar 18 15:41:45 2013
@@ -36,7 +36,6 @@ import javax.management.ObjectName;
 
 import org.apache.activemq.broker.TransportConnector;
 import org.apache.activemq.broker.jmx.BrokerViewMBean;
-import org.apache.activemq.broker.jmx.QueueViewMBean;
 import org.apache.activemq.command.ActiveMQQueue;
 import org.apache.activemq.command.ActiveMQTextMessage;
 import org.junit.Test;
@@ -577,10 +576,6 @@ public class Stomp11Test extends StompTe
         LOG.info("Received Frame: {}", received);
         assertTrue(received.getAction().equals("MESSAGE"));
 
-        message = "SEND\n" + "destination:/queue/" + getQueueName() +
-                "\n\n" + "Hello World" + Stomp.NULL;
-        stompConnection.sendFrame(message);
-
         String ack = "ACK\n" + "message-id:" +
                      received.getHeaders().get("message-id") + "\n\n" + Stomp.NULL;
         stompConnection.sendFrame(ack);

Modified: activemq/trunk/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/Stomp12Test.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/Stomp12Test.java?rev=1457822&r1=1457821&r2=1457822&view=diff
==============================================================================
--- activemq/trunk/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/Stomp12Test.java
(original)
+++ activemq/trunk/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/Stomp12Test.java
Mon Mar 18 15:41:45 2013
@@ -147,9 +147,6 @@ public class Stomp12Test extends StompTe
         assertTrue(received.getHeaders().containsKey(Stomp.Headers.Message.ACK_ID));
         assertEquals("1", received.getBody());
 
-        message = "SEND\n" + "destination:/queue/" + getQueueName() + "\n\n" + "2" + Stomp.NULL;
-        stompConnection.sendFrame(message);
-
         String frame = "ACK\n" + "message-id:" +
                 received.getHeaders().get(Stomp.Headers.Message.ACK_ID) + "\n\n" + Stomp.NULL;
         stompConnection.sendFrame(frame);



Mime
View raw message