summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2011-01-28 02:35:59 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2011-01-28 02:35:59 +0000
commite1bbba79f610ecbd0ad90cb88136890c4a1b96e1 (patch)
tree9e8bf96a0edcd142baee297dab765257d6134ed0 /java
parent4317c6c71cc1701ad85b2fdfa21caf4f39bbdf68 (diff)
downloadqpid-python-e1bbba79f610ecbd0ad90cb88136890c4a1b96e1.tar.gz
Modified the test cases according to the fix made for QPID-3019
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1064437 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r--java/systests/src/main/java/org/apache/qpid/test/client/destination/AddressBasedDestinationTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/systests/src/main/java/org/apache/qpid/test/client/destination/AddressBasedDestinationTest.java b/java/systests/src/main/java/org/apache/qpid/test/client/destination/AddressBasedDestinationTest.java
index 1d1f4a53d5..51589c705f 100644
--- a/java/systests/src/main/java/org/apache/qpid/test/client/destination/AddressBasedDestinationTest.java
+++ b/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"));
}