public class HTMLAssertionsImpl extends Object implements HTMLAssertions
| Constructor and Description |
|---|
HTMLAssertionsImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertContains(String original,
String expected)
The original should contain the expected text, regardless of whether it is encoded or not.
|
void |
assertResponseContains(net.sourceforge.jwebunit.WebTester tester,
String expected)
The original should contain the expected text, regardless of whether it is encoded or not.
|
public void assertContains(String original, String expected)
HTMLAssertionsassertContains in interface HTMLAssertionsoriginal - the response, may be HTML encoded.expected - the expected text, not encoded.public void assertResponseContains(net.sourceforge.jwebunit.WebTester tester,
String expected)
HTMLAssertionsassertResponseContains in interface HTMLAssertionstester - the client that contains the response, may be HTML encoded.expected - the expected text, not encoded.Copyright © 2002-2024 Atlassian. All Rights Reserved.