com.atlassian.jira.functest.framework.assertions
Interface URLAssertions

All Known Implementing Classes:
URLAssertionsImpl

public interface URLAssertions

Make some assertions about a URL.

Since:
v3.13

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

assertCurrentURLPathEndsWith

void assertCurrentURLPathEndsWith(String expectedEnd)
Make sure the current URL path ends with the specified value.

Parameters:
expectedEnd - the expected current path the check.

assertCurrentURLEndsWith

void assertCurrentURLEndsWith(String expectedEnd)
Make sure the current URL ends with the specified value.

Parameters:
expectedEnd - the expected end of the current url.

assertCurrentURLMatchesRegex

void assertCurrentURLMatchesRegex(String regex)
Make sure current URL match the passed regular expression.

Parameters:
regex - the regular to use to match.

assertURLAreSimilair

void assertURLAreSimilair(String msg,
                          String expectedURL,
                          String actualURL)
Makes sure that the 2 URLs are similair enough to be compared

Parameters:
msg - the assertyion message
expectedURL - the expected URL
actualURL - the actual URL


Copyright © 2002-2011 Atlassian. All Rights Reserved.