QPID-7896: [Java System Tests] Add replyTo topic test

Project: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/commit/ddb8b72f
Tree: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/tree/ddb8b72f
Diff: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/diff/ddb8b72f

Branch: refs/heads/master
Commit: ddb8b72f71b00d6936496408af9017f529ea7b97
Parents: b9032e9
Author: Lorenz Quack <lqu...@apache.org>
Authored: Fri Aug 25 16:00:39 2017 +0100
Committer: Lorenz Quack <lqu...@apache.org>
Committed: Fri Aug 25 16:00:39 2017 +0100

----------------------------------------------------------------------
 .../end_to_end_conversion/SimpleConversionTest.java         | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-broker-j/blob/ddb8b72f/systests/end-to-end-conversion-tests/src/test/java/org/apache/qpid/systests/end_to_end_conversion/SimpleConversionTest.java
----------------------------------------------------------------------
diff --git 
a/systests/end-to-end-conversion-tests/src/test/java/org/apache/qpid/systests/end_to_end_conversion/SimpleConversionTest.java
 
b/systests/end-to-end-conversion-tests/src/test/java/org/apache/qpid/systests/end_to_end_conversion/SimpleConversionTest.java
index a4f4f76..4a562d6 100644
--- 
a/systests/end-to-end-conversion-tests/src/test/java/org/apache/qpid/systests/end_to_end_conversion/SimpleConversionTest.java
+++ 
b/systests/end-to-end-conversion-tests/src/test/java/org/apache/qpid/systests/end_to_end_conversion/SimpleConversionTest.java
@@ -45,6 +45,8 @@ public class SimpleConversionTest extends 
EndToEndConversionTestBase
     public static final String REPLY_QUEUE_NAME = "testReplyQueue";
     private static final String QUEUE_JNDI_NAME = "queue";
     private static final String REPLY_QUEUE_JNDI_NAME = "replyQueue";
+    private static final String REPLY_TOPIC_NAME = "amq.topic/topic";
+    private static final String REPLY_TOPIC_JNDI_NAME = "replyTopic";
 
 
     private HashMap<String, String> _defaultDestinations;
@@ -58,6 +60,7 @@ public class SimpleConversionTest extends 
EndToEndConversionTestBase
         _defaultDestinations = new HashMap<>();
         _defaultDestinations.put("queue." + QUEUE_JNDI_NAME, QUEUE_NAME);
         _defaultDestinations.put("queue." + REPLY_QUEUE_JNDI_NAME, 
REPLY_QUEUE_NAME);
+        _defaultDestinations.put("topic." + REPLY_TOPIC_JNDI_NAME, 
REPLY_TOPIC_NAME);
 /*
         destinations.put("topic.topic", "testTopic");
         destinations.put("topic.replyTopic", "testReplyTopic");
@@ -159,6 +162,12 @@ public class SimpleConversionTest extends 
EndToEndConversionTestBase
         performReplyToTest(TEMPORARY_QUEUE_JNDI_NAME);
     }
 
+    @Test
+    public void replyToTopic() throws Exception
+    {
+        performReplyToTest(REPLY_TOPIC_JNDI_NAME);
+    }
+
     public void performReplyToTest(final String temporaryQueueJndiName) throws 
Exception
     {
         assumeTrue("This test is known to fail for pre 0-10 subscribers 
(QPID-7898)",


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to