Class URLBuilderTest
- java.lang.Object
-
- net.shibboleth.utilities.java.support.net.URLBuilderTest
-
public class URLBuilderTest extends Object
Tests building and parsing URLs with the builder.
-
-
Constructor Summary
Constructors Constructor Description URLBuilderTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestURLBuilder1()Test with scheme and host.voidtestURLBuilder2()Test with scheme, host, and path.voidtestURLBuilder3()Test with scheme, host, port, path, and query params.voidtestURLBuilder4()Test with scheme, host, and fragment.voidtestURLBuilder5()Test with scheme, host, port, path, query params, and anchor.voidtestURLBuilder6()Test with scheme, username, password, and host.voidtestURLBuilder7()Test with scheme, username, and host.voidtestValues()Test with some odd values.
-
-
-
Method Detail
-
testURLBuilder1
public void testURLBuilder1() throws MalformedURLExceptionTest with scheme and host.- Throws:
MalformedURLException- if the URL is malformed
-
testURLBuilder2
public void testURLBuilder2() throws MalformedURLExceptionTest with scheme, host, and path.- Throws:
MalformedURLException- if the URL is malformed
-
testURLBuilder3
public void testURLBuilder3() throws MalformedURLExceptionTest with scheme, host, port, path, and query params.- Throws:
MalformedURLException- if the URL is malformed
-
testValues
public void testValues() throws MalformedURLExceptionTest with some odd values.- Throws:
MalformedURLException- if the URL is malformed
-
testURLBuilder4
public void testURLBuilder4() throws MalformedURLExceptionTest with scheme, host, and fragment.- Throws:
MalformedURLException- if the URL is malformed
-
testURLBuilder5
public void testURLBuilder5() throws MalformedURLExceptionTest with scheme, host, port, path, query params, and anchor.- Throws:
MalformedURLException- if the URL is malformed
-
testURLBuilder6
public void testURLBuilder6() throws MalformedURLExceptionTest with scheme, username, password, and host.- Throws:
MalformedURLException- if the URL is malformed
-
testURLBuilder7
public void testURLBuilder7() throws MalformedURLExceptionTest with scheme, username, and host.- Throws:
MalformedURLException- if the URL is malformed
-
-