|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HTMLAssertions
Assertions for HTML content that may or may not be HTML encoded.
Method Summary | |
---|---|
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. |
Method Detail |
---|
void assertContains(@NotNull String original, @NotNull String expected)
original
- the response, may be HTML encoded.expected
- the expected text, not encoded.void assertResponseContains(@NotNull net.sourceforge.jwebunit.WebTester tester, @NotNull String expected)
tester
- the client that contains the response, may be HTML encoded.expected
- the expected text, not encoded.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |