com.atlassian.jira.functest.framework.assertions
Class URLAssertionsImpl
java.lang.Object
com.atlassian.jira.functest.framework.AbstractFuncTestUtil
com.atlassian.jira.functest.framework.assertions.URLAssertionsImpl
- All Implemented Interfaces:
- URLAssertions, FuncTestLogger
public class URLAssertionsImpl
- extends AbstractFuncTestUtil
- implements URLAssertions
Default implementation of URLAssertions.
- Since:
- v3.13
|
Constructor Summary |
URLAssertionsImpl(net.sourceforge.jwebunit.WebTester tester,
com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLAssertionsImpl
public URLAssertionsImpl(net.sourceforge.jwebunit.WebTester tester,
com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)
assertCurrentURLPathEndsWith
public void assertCurrentURLPathEndsWith(String expectedEnd)
- Description copied from interface:
URLAssertions
- Make sure the current URL path ends with the specified value.
- Specified by:
assertCurrentURLPathEndsWith in interface URLAssertions
- Parameters:
expectedEnd - the expected current path the check.
assertCurrentURLEndsWith
public void assertCurrentURLEndsWith(String expectedEnd)
- Description copied from interface:
URLAssertions
- Make sure the current URL ends with the specified value.
- Specified by:
assertCurrentURLEndsWith in interface URLAssertions
- Parameters:
expectedEnd - the expected end of the current url.
assertCurrentURLMatchesRegex
public void assertCurrentURLMatchesRegex(String regex)
- Description copied from interface:
URLAssertions
- Make sure current URL match the passed regular expression.
- Specified by:
assertCurrentURLMatchesRegex in interface URLAssertions
- Parameters:
regex - the regular to use to match.
assertURLAreSimilair
public void assertURLAreSimilair(String msg,
String expectedURL,
String actualURL)
- Description copied from interface:
URLAssertions
- Makes sure that the 2 URLs are similair enough to be compared
- Specified by:
assertURLAreSimilair in interface URLAssertions
- Parameters:
msg - the assertyion messageexpectedURL - the expected URLactualURL - the actual URL
Copyright © 2002-2012 Atlassian. All Rights Reserved.