You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2015/01/05 18:35:14 UTC

[3/3] qpid-jms git commit: fix tests which now fail following previous changes

fix tests which now fail following previous changes


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

Branch: refs/heads/master
Commit: 2903128857b6116b87a6803f104fa7bfa72d5c49
Parents: 8cad060
Author: Robert Gemmell <ro...@apache.org>
Authored: Mon Jan 5 15:56:09 2015 +0000
Committer: Robert Gemmell <ro...@apache.org>
Committed: Mon Jan 5 15:56:09 2015 +0000

----------------------------------------------------------------------
 .../apache/qpid/jms/integration/MessageIntegrationTest.java    | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/29031288/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/MessageIntegrationTest.java
----------------------------------------------------------------------
diff --git a/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/MessageIntegrationTest.java b/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/MessageIntegrationTest.java
index f9e0fed..9f70eb2 100644
--- a/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/MessageIntegrationTest.java
+++ b/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/MessageIntegrationTest.java
@@ -491,8 +491,7 @@ public class MessageIntegrationTest extends QpidJmsTestCase
             } else if (destType == Queue.class) {
                 dest = session.createQueue(destName);
             } else if (destType == TemporaryTopic.class) {
-                //TODO:add method to expect temp topic creation
-                testPeer.expectTempQueueCreationAttach(destAddress);
+                testPeer.expectTempTopicCreationAttach(destAddress);
                 dest = session.createTemporaryTopic();
             } else if (destType == TemporaryQueue.class) {
                 testPeer.expectTempQueueCreationAttach(destAddress);
@@ -652,8 +651,7 @@ public class MessageIntegrationTest extends QpidJmsTestCase
             } else if (destType == Queue.class) {
                 dest = session.createQueue(destName);
             } else if (destType == TemporaryTopic.class) {
-                // TODO:add method to expect temp topic creation
-                testPeer.expectTempQueueCreationAttach(destAddress);
+                testPeer.expectTempTopicCreationAttach(destAddress);
                 dest = session.createTemporaryTopic();
             } else if (destType == TemporaryQueue.class) {
                 testPeer.expectTempQueueCreationAttach(destAddress);


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