From f2b04d7492de18c00bf2ea67b5ed91f4d19d4719 Mon Sep 17 00:00:00 2001 From: Rajith Muditha Attapattu Date: Fri, 28 Jan 2011 02:35:59 +0000 Subject: Modified the test cases according to the fix made for QPID-3019 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1064437 13f79535-47bb-0310-9956-ffa450edef68 --- .../qpid/test/client/destination/AddressBasedDestinationTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qpid/java') diff --git a/qpid/java/systests/src/main/java/org/apache/qpid/test/client/destination/AddressBasedDestinationTest.java b/qpid/java/systests/src/main/java/org/apache/qpid/test/client/destination/AddressBasedDestinationTest.java index 1d1f4a53d5..51589c705f 100644 --- a/qpid/java/systests/src/main/java/org/apache/qpid/test/client/destination/AddressBasedDestinationTest.java +++ b/qpid/java/systests/src/main/java/org/apache/qpid/test/client/destination/AddressBasedDestinationTest.java @@ -93,7 +93,7 @@ public class AddressBasedDestinationTest extends QpidBrokerTestCase } catch(JMSException e) { - assertTrue(e.getMessage().contains("The name supplied in the address " + + assertTrue(e.getCause().getCause().getMessage().contains("The name 'testQueue1' supplied in the address " + "doesn't resolve to an exchange or a queue")); } @@ -121,7 +121,7 @@ public class AddressBasedDestinationTest extends QpidBrokerTestCase } catch(JMSException e) { - assertTrue(e.getMessage().contains("The name supplied in the address " + + assertTrue(e.getCause().getCause().getMessage().contains("The name 'testQueue2' supplied in the address " + "doesn't resolve to an exchange or a queue")); } @@ -156,7 +156,7 @@ public class AddressBasedDestinationTest extends QpidBrokerTestCase } catch(JMSException e) { - assertTrue(e.getMessage().contains("The name 'testQueue3' supplied in the address " + + assertTrue(e.getCause().getCause().getMessage().contains("The name 'testQueue3' supplied in the address " + "doesn't resolve to an exchange or a queue")); } -- cgit v1.2.1