com.atlassian.jira.functest.framework.assertions.HTMLAssertions |
Known Indirect Subclasses
|
Class Overview
Assertions for HTML content that may or may not be HTML encoded.
Summary
Public Methods |
void
|
assertContains(String original, String expected)
The original should contain the expected text, regardless of whether it is encoded or not.
|
void
|
assertResponseContains(WebTester tester, String expected)
The original should contain the expected text, regardless of whether it is encoded or not.
|
Public Methods
public
void
assertContains
(String original, String expected)
The original should contain the expected text, regardless of whether it is encoded or not.
Parameters
original
| the response, may be HTML encoded. |
expected
| the expected text, not encoded.
|
public
void
assertResponseContains
(WebTester tester, String expected)
The original should contain the expected text, regardless of whether it is encoded or not.
Convenience method for getting the response text from the client.
Parameters
tester
| the client that contains the response, may be HTML encoded. |
expected
| the expected text, not encoded.
|