public class

URLAssertionsImpl

extends AbstractFuncTestUtil
implements URLAssertions
java.lang.Object
   ↳ com.atlassian.jira.functest.framework.AbstractFuncTestUtil
     ↳ com.atlassian.jira.functest.framework.assertions.URLAssertionsImpl

Class Overview

Default implementation of URLAssertions.

Summary

[Expand]
Inherited Fields
From class com.atlassian.jira.functest.framework.AbstractFuncTestUtil
Public Constructors
URLAssertionsImpl(WebTester tester, JIRAEnvironmentData environmentData)
Public Methods
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
[Expand]
Inherited Methods
From class com.atlassian.jira.functest.framework.AbstractFuncTestUtil
From class java.lang.Object
From interface com.atlassian.jira.functest.framework.assertions.URLAssertions
From interface com.atlassian.jira.testkit.client.log.FuncTestLogger

Public Constructors

public URLAssertionsImpl (WebTester tester, JIRAEnvironmentData environmentData)

Public Methods

public void assertCurrentURLEndsWith (String expectedEnd)

Make sure the current URL ends with the specified value.

Parameters
expectedEnd the expected end of the current url.

public void assertCurrentURLMatchesRegex (String regex)

Make sure current URL match the passed regular expression.

Parameters
regex the regular to use to match.

public void assertCurrentURLPathEndsWith (String expectedEnd)

Make sure the current URL path ends with the specified value.

Parameters
expectedEnd the expected current path the check.

public 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