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