summaryrefslogtreecommitdiff
path: root/java/client/src/test
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2013-03-06 21:04:51 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2013-03-06 21:04:51 +0000
commit14d3906ea5ca17eeaccbaea3c5c9fc709e7edf81 (patch)
tree51c53847f1733ebae00a11f090935f01c8e5e36b /java/client/src/test
parent133a1ec1ba4d710694e7223c5c9ebfa0de158ba6 (diff)
downloadqpid-python-14d3906ea5ca17eeaccbaea3c5c9fc709e7edf81.tar.gz
QPID-3396 Changed the test cases to relect that username and password
is optional. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1453559 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/client/src/test')
-rw-r--r--java/client/src/test/java/org/apache/qpid/test/unit/client/connectionurl/ConnectionURLTest.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/java/client/src/test/java/org/apache/qpid/test/unit/client/connectionurl/ConnectionURLTest.java b/java/client/src/test/java/org/apache/qpid/test/unit/client/connectionurl/ConnectionURLTest.java
index 8c193622e3..7c461fa13f 100644
--- a/java/client/src/test/java/org/apache/qpid/test/unit/client/connectionurl/ConnectionURLTest.java
+++ b/java/client/src/test/java/org/apache/qpid/test/unit/client/connectionurl/ConnectionURLTest.java
@@ -384,11 +384,10 @@ public class ConnectionURLTest extends TestCase
try
{
new AMQConnectionURL(url);
- fail("URL Should not parse");
}
catch (URLSyntaxException urise)
{
- assertTrue(urise.getMessage().startsWith("User information not found on url"));
+ fail("User information is optional in url");
}
}
@@ -400,11 +399,10 @@ public class ConnectionURLTest extends TestCase
try
{
new AMQConnectionURL(url);
- fail("URL Should not parse");
}
catch (URLSyntaxException urise)
{
- assertTrue(urise.getMessage().startsWith("User information not found on url"));
+ fail("User information is optional in url");
}
}