Package io.mola.galimatias
Class URLTest
- java.lang.Object
-
- io.mola.galimatias.URLTest
-
public class URLTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.ExpectedExceptionthrown
-
Constructor Summary
Constructors Constructor Description URLTest()
-
Method Summary
-
-
-
Method Detail
-
parse_url_whatwg
public void parse_url_whatwg(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
parse_url_bad_whatwg
public void parse_url_bad_whatwg(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
parse_url_host_whatwg
public void parse_url_host_whatwg(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
parse_url_bad_host_whatwg
public void parse_url_bad_host_whatwg(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
userInfoWithUsernameAndPassword
public void userInfoWithUsernameAndPassword(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
userInfoWithUsernameOnly
public void userInfoWithUsernameOnly(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
userInfoWithPasswordOnly
public void userInfoWithPasswordOnly(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
withSchemeFromHierarchical
public void withSchemeFromHierarchical(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
withNullScheme
public void withNullScheme(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
withEmptyScheme
public void withEmptyScheme(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
withSchemeFromOpaque
public void withSchemeFromOpaque(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
withUsername
public void withUsername(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
withUsernameOpaque
public void withUsernameOpaque(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
withPassword
public void withPassword(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
withPasswordOpaque
public void withPasswordOpaque(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
withHost
public void withHost(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
withHostNoHierarchical
public void withHostNoHierarchical(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
withHostNoHierarchical2
public void withHostNoHierarchical2(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
withNullHost
public void withNullHost(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
withNullHost2
public void withNullHost2(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
withHostOpaque
public void withHostOpaque(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
withPort
public void withPort(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
withPortOpaque
public void withPortOpaque(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
withPath
public void withPath(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
withPathOpaque
public void withPathOpaque(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
withQuery
public void withQuery(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
withFragment
public void withFragment(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
getAuthorityNullOnOpaque
public void getAuthorityNullOnOpaque(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
getAuthorityNonNullOnHierarchical
public void getAuthorityNonNullOnHierarchical(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
toFromJavaURI
public void toFromJavaURI(TestURL testURL) throws GalimatiasParseException, java.net.URISyntaxException
- Throws:
GalimatiasParseExceptionjava.net.URISyntaxException
-
toFromJavaURIException
public void toFromJavaURIException(TestURL testURL) throws GalimatiasParseException, java.net.URISyntaxException
- Throws:
GalimatiasParseExceptionjava.net.URISyntaxException
-
toFromJavaURL
public void toFromJavaURL(TestURL testURL) throws GalimatiasParseException, java.net.MalformedURLException
- Throws:
GalimatiasParseExceptionjava.net.MalformedURLException
-
equivalences
public void equivalences() throws GalimatiasParseException- Throws:
GalimatiasParseException
-
reduceObjectCreation
public void reduceObjectCreation() throws GalimatiasParseException- Throws:
GalimatiasParseException
-
schemeCannotBeNull
public void schemeCannotBeNull() throws GalimatiasParseException- Throws:
GalimatiasParseException
-
internalURLParserChecks
public void internalURLParserChecks() throws GalimatiasParseException- Throws:
GalimatiasParseException
-
relativizeChecks
public void relativizeChecks() throws GalimatiasParseException- Throws:
GalimatiasParseException
-
toHumanStringIdempotence
public void toHumanStringIdempotence(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
toHumanStringChecks
public void toHumanStringChecks() throws GalimatiasParseException- Throws:
GalimatiasParseException
-
toHumanStringNoExceptions
public void toHumanStringNoExceptions(TestURL testURL) throws GalimatiasParseException
- Throws:
GalimatiasParseException
-
-