activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cepo...@apache.org
Subject svn commit: r1513607 - /activemq/activemq-apollo/trunk/apollo-mqtt/src/test/scala/org/apache/activemq/apollo/mqtt/test/MqttExistingSessionTest.scala
Date Tue, 13 Aug 2013 18:23:14 GMT
Author: ceposta
Date: Tue Aug 13 18:23:13 2013
New Revision: 1513607

URL: http://svn.apache.org/r1513607
Log:
Added test for cleanSession=false and subscribing to wildcard dest

Modified:
    activemq/activemq-apollo/trunk/apollo-mqtt/src/test/scala/org/apache/activemq/apollo/mqtt/test/MqttExistingSessionTest.scala

Modified: activemq/activemq-apollo/trunk/apollo-mqtt/src/test/scala/org/apache/activemq/apollo/mqtt/test/MqttExistingSessionTest.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-mqtt/src/test/scala/org/apache/activemq/apollo/mqtt/test/MqttExistingSessionTest.scala?rev=1513607&r1=1513606&r2=1513607&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-mqtt/src/test/scala/org/apache/activemq/apollo/mqtt/test/MqttExistingSessionTest.scala
(original)
+++ activemq/activemq-apollo/trunk/apollo-mqtt/src/test/scala/org/apache/activemq/apollo/mqtt/test/MqttExistingSessionTest.scala
Tue Aug 13 18:23:13 2013
@@ -39,4 +39,11 @@ class MqttExistingSessionTest extends Mq
     publish("existing/sub", "1", EXACTLY_ONCE)
     should_receive("1", "existing/sub")
   }
+
+  test("Subscribe") {
+    connect()
+    subscribe("foo/#")
+    publish("foo/A", "1", EXACTLY_ONCE)
+    should_receive("1", "foo/A")
+  }
 }



Mime
View raw message