summaryrefslogtreecommitdiff
path: root/qpid/java/client
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2008-08-29 17:02:16 +0000
committerRafael H. Schloming <rhs@apache.org>2008-08-29 17:02:16 +0000
commit9322e5c34a7ee23599f1bcdee28411f9f9cd904a (patch)
treefb6a8a50b9b19e34ed50ce0402bd93ef9a4d29c6 /qpid/java/client
parentded0f8439585c9c1c792b8c5abdadeec52f66d0e (diff)
downloadqpid-python-9322e5c34a7ee23599f1bcdee28411f9f9cd904a.tar.gz
QPID-1208: fixed ConnectionURLTest to match the new behavior of AMQConnectionURL.toString()
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@690337 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/client')
-rw-r--r--qpid/java/client/src/test/java/org/apache/qpid/test/unit/client/connectionurl/ConnectionURLTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/java/client/src/test/java/org/apache/qpid/test/unit/client/connectionurl/ConnectionURLTest.java b/qpid/java/client/src/test/java/org/apache/qpid/test/unit/client/connectionurl/ConnectionURLTest.java
index 6f4c26945c..d05e90823c 100644
--- a/qpid/java/client/src/test/java/org/apache/qpid/test/unit/client/connectionurl/ConnectionURLTest.java
+++ b/qpid/java/client/src/test/java/org/apache/qpid/test/unit/client/connectionurl/ConnectionURLTest.java
@@ -486,7 +486,8 @@ public class ConnectionURLTest extends TestCase
assertNotNull(curl.getBrokerDetails(0));
assertEquals(BrokerDetails.SOCKET, curl.getBrokerDetails(0).getTransport());
assertEquals("VM-Unique-socketID", curl.getBrokerDetails(0).getHost());
- assertEquals("URL does not toString as expected", url, curl.toString());
+ assertEquals("URL does not toString as expected",
+ url.replace(":guest", ":********"), curl.toString());
}
catch (URLSyntaxException e)
{