diff options
| author | Rajith Muditha Attapattu <rajith@apache.org> | 2011-01-28 02:35:59 +0000 |
|---|---|---|
| committer | Rajith Muditha Attapattu <rajith@apache.org> | 2011-01-28 02:35:59 +0000 |
| commit | f2b04d7492de18c00bf2ea67b5ed91f4d19d4719 (patch) | |
| tree | 2b96c55f73b40f31ca5a9dc5029bd3c500fe2c16 /qpid/java | |
| parent | 04db745ce91059373aae710624190372264a37d0 (diff) | |
| download | qpid-python-f2b04d7492de18c00bf2ea67b5ed91f4d19d4719.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@1064437 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java')
| -rw-r--r-- | qpid/java/systests/src/main/java/org/apache/qpid/test/client/destination/AddressBasedDestinationTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
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")); } |
