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)
HTMLAssertions
assertContains
in interface HTMLAssertions
original
- the response, may be HTML encoded.expected
- the expected text, not encoded.public void assertResponseContains(net.sourceforge.jwebunit.WebTester tester, String expected)
HTMLAssertions
assertResponseContains
in interface HTMLAssertions
tester
- the client that contains the response, may be HTML encoded.expected
- the expected text, not encoded.Copyright © 2002-2024 Atlassian. All Rights Reserved.