From 8a9399e46649a8fc84b994a73e2e57af052abc1d Mon Sep 17 00:00:00 2001 From: Rajith Muditha Attapattu Date: Mon, 8 Mar 2010 19:21:43 +0000 Subject: Fixed test cases to include the queue name in the expected error string git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@920466 13f79535-47bb-0310-9956-ffa450edef68 --- .../qpid/test/client/destination/AddressBasedDestinationTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'java/systests/src') 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 aeddfd00fe..732a28553c 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 @@ -77,7 +77,7 @@ public class AddressBasedDestinationTest extends QpidTestCase } catch(JMSException e) { - assertTrue(e.getMessage().contains("The name supplied in the address " + + assertTrue(e.getMessage().contains("The name 'testQueue1' supplied in the address " + "doesn't resolve to an exchange or a queue")); } @@ -140,7 +140,7 @@ public class AddressBasedDestinationTest extends QpidTestCase } catch(JMSException e) { - assertTrue(e.getMessage().contains("The name supplied in the address " + + assertTrue(e.getMessage().contains("The name 'testQueue3' supplied in the address " + "doesn't resolve to an exchange or a queue")); } @@ -150,7 +150,7 @@ public class AddressBasedDestinationTest extends QpidTestCase } catch(JMSException e) { - assertTrue(e.getMessage().contains("The name supplied in the address " + + assertTrue(e.getMessage().contains("The name 'testQueue3' supplied in the address " + "doesn't resolve to an exchange or a queue")); } @@ -167,7 +167,7 @@ public class AddressBasedDestinationTest extends QpidTestCase } catch(JMSException e) { - assertTrue(e.getMessage().contains("The name supplied in the address " + + assertTrue(e.getMessage().contains("The name 'testQueue3' supplied in the address " + "doesn't resolve to an exchange or a queue")); } assertFalse("Queue should not be created",( -- cgit v1.2.1