public class UrlUtilsTest extends Object
| Constructor and Description |
|---|
UrlUtilsTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
getBaseUrl() |
void |
getVarFromQueryString() |
void |
testExtractNewUrl() |
void |
testIsSameDomain() |
void |
whenUrlAboutBlankDoesNotExtract() |
void |
whenUrlIsJavaScriptItDoesNotExtract() |
void |
whenUrlisMailItDoesNotExtract() |
public void getVarFromQueryString()
public void getBaseUrl()
public void whenUrlIsJavaScriptItDoesNotExtract()
throws MalformedURLException
MalformedURLExceptionpublic void whenUrlisMailItDoesNotExtract()
throws MalformedURLException
MalformedURLExceptionpublic void whenUrlAboutBlankDoesNotExtract()
throws MalformedURLException
MalformedURLExceptionpublic void testExtractNewUrl()
throws MalformedURLException
MalformedURLExceptionpublic void testIsSameDomain()
throws MalformedURLException
MalformedURLExceptionCopyright © 2007–2014. All rights reserved.