Package net.shibboleth.shared.net
Class URLBuilderTest
java.lang.Object
net.shibboleth.shared.net.URLBuilderTest
Tests building and parsing URLs with the builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTest with scheme and host.voidTest with scheme, host, and path.voidTest with scheme, host, port, path, and query params.voidTest with scheme, host, and fragment.voidTest with scheme, host, port, path, query params, and anchor.voidTest with scheme, username, password, and host.voidTest with scheme, username, and host.voidTest with some odd values.
-
Constructor Details
-
URLBuilderTest
public URLBuilderTest()
-
-
Method Details
-
testURLBuilder1
Test with scheme and host.- Throws:
MalformedURLException- if the URL is malformed
-
testURLBuilder2
Test with scheme, host, and path.- Throws:
MalformedURLException- if the URL is malformed
-
testURLBuilder3
Test with scheme, host, port, path, and query params.- Throws:
MalformedURLException- if the URL is malformed
-
testValues
Test with some odd values.- Throws:
MalformedURLException- if the URL is malformed
-
testURLBuilder4
Test with scheme, host, and fragment.- Throws:
MalformedURLException- if the URL is malformed
-
testURLBuilder5
Test with scheme, host, port, path, query params, and anchor.- Throws:
MalformedURLException- if the URL is malformed
-
testURLBuilder6
Test with scheme, username, password, and host.- Throws:
MalformedURLException- if the URL is malformed
-
testURLBuilder7
Test with scheme, username, and host.- Throws:
MalformedURLException- if the URL is malformed
-