Author: rajith
Date: Fri Jan 28 02:35:59 2011
New Revision: 1064437
URL: http://svn.apache.org/viewvc?rev=1064437&view=rev
Log:
Modified the test cases according to the fix made for QPID-3019
Modified:
qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/client/destination/AddressBasedDestinationTest.java
Modified:
qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/client/destination/AddressBasedDestinationTest.java
URL:
http://svn.apache.org/viewvc/qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/client/destination/AddressBasedDestinationTest.java?rev=1064437&r1=1064436&r2=1064437&view=diff
==============================================================================
---
qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/client/destination/AddressBasedDestinationTest.java
(original)
+++
qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/client/destination/AddressBasedDestinationTest.java
Fri Jan 28 02:35:59 2011
@@ -93,7 +93,7 @@ public class AddressBasedDestinationTest
}
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
}
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
}
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"));
}
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]