public class URLAssertionsImpl extends AbstractFuncTestUtil implements URLAssertions
URLAssertions.environmentData, FS, locators, logger, logIndentLevel, tester| Constructor and Description |
|---|
URLAssertionsImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData) |
| Modifier and Type | Method and Description |
|---|---|
void |
assertCurrentURLEndsWith(String expectedEnd)
Make sure the current URL ends with the specified value.
|
void |
assertCurrentURLMatchesRegex(String regex)
Make sure current URL match the passed regular expression.
|
void |
assertCurrentURLPathEndsWith(String expectedEnd)
Make sure the current URL path ends with the specified value.
|
void |
assertURLAreSimilair(String msg,
String expectedURL,
String actualURL)
Makes sure that the 2 URLs are similair enough to be compared
|
childLogIndentLevel, getAssertions, getEnvironmentData, getFuncTestHelperFactory, getLogger, log, log, navigation, submitAtPagepublic URLAssertionsImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData)
public void assertCurrentURLPathEndsWith(String expectedEnd)
URLAssertionsassertCurrentURLPathEndsWith in interface URLAssertionsexpectedEnd - the expected current path the check.public void assertCurrentURLEndsWith(String expectedEnd)
URLAssertionsassertCurrentURLEndsWith in interface URLAssertionsexpectedEnd - the expected end of the current url.public void assertCurrentURLMatchesRegex(String regex)
URLAssertionsassertCurrentURLMatchesRegex in interface URLAssertionsregex - the regular to use to match.public void assertURLAreSimilair(String msg, String expectedURL, String actualURL)
URLAssertionsassertURLAreSimilair in interface URLAssertionsmsg - the assertyion messageexpectedURL - the expected URLactualURL - the actual URLCopyright © 2002-2016 Atlassian. All Rights Reserved.