|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface URLAssertions
Make some assertions about a URL.
Method Summary | |
---|---|
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 |
Method Detail |
---|
void assertCurrentURLPathEndsWith(String expectedEnd)
expectedEnd
- the expected current path the check.void assertCurrentURLEndsWith(String expectedEnd)
expectedEnd
- the expected end of the current url.void assertCurrentURLMatchesRegex(String regex)
regex
- the regular to use to match.void assertURLAreSimilair(String msg, String expectedURL, String actualURL)
msg
- the assertyion messageexpectedURL
- the expected URLactualURL
- the actual URL
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |