Repository: ant-ivy Updated Branches: refs/heads/master 186fd1077 -> c1f910cc5
http://git-wip-us.apache.org/repos/asf/ant-ivy/blob/c1f910cc/test/java/org/apache/ivy/util/url/HttpclientURLHandlerTest.java ---------------------------------------------------------------------- diff --git a/test/java/org/apache/ivy/util/url/HttpclientURLHandlerTest.java b/test/java/org/apache/ivy/util/url/HttpclientURLHandlerTest.java index de82269..d63cf6d 100644 --- a/test/java/org/apache/ivy/util/url/HttpclientURLHandlerTest.java +++ b/test/java/org/apache/ivy/util/url/HttpclientURLHandlerTest.java @@ -80,10 +80,15 @@ public class HttpclientURLHandlerTest { assertFalse("URL resource was expected to be unreachable", handler.isReachable(new URL("http://www.google.fr/unknownpage.html"), defaultTimeoutConstraint)); } + /** + * Test case for IVY-390. + * + * @throws Exception if something goes wrong + * @see <a href="https://issues.apache.org/jira/browse/IVY-390">IVY-390</a> + */ @SuppressWarnings("resource") @Test public void testGetURLInfo() throws Exception { - // IVY-390 URLHandler handler = new HttpClientHandler(); URLInfo info = handler .getURLInfo(new URL( @@ -115,7 +120,7 @@ public class HttpclientURLHandlerTest { * Tests that the {@link HttpClientHandler}, backed by {@link CredentialsStore Ivy credentials store} * works as expected when it interacts with a HTTP server which requires authentication for accessing resources. * - * @throws Exception + * @throws Exception if something goes wrong * @see <a href="https://issues.apache.org/jira/browse/IVY-1336">IVY-1336</a> */ @Test http://git-wip-us.apache.org/repos/asf/ant-ivy/blob/c1f910cc/test/java/org/apache/ivy/util/url/IvyAuthenticatorTest.java ---------------------------------------------------------------------- diff --git a/test/java/org/apache/ivy/util/url/IvyAuthenticatorTest.java b/test/java/org/apache/ivy/util/url/IvyAuthenticatorTest.java index 9817576..002e68d 100644 --- a/test/java/org/apache/ivy/util/url/IvyAuthenticatorTest.java +++ b/test/java/org/apache/ivy/util/url/IvyAuthenticatorTest.java @@ -67,7 +67,7 @@ public class IvyAuthenticatorTest { * relevant requesting information, including the {@link Authenticator#getRequestingURL() requesting URL} and * {@link Authenticator#getRequestorType() request type} * - * @throws Exception + * @throws Exception if something goes wrong * @see <a href="https://issues.apache.org/jira/browse/IVY-1557">IVY-1557</a> */ @Test
