public class ElementWithInnerHtml
extends org.hamcrest.TypeSafeDiagnosingMatcher<org.jsoup.nodes.Element>
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
static org.hamcrest.Matcher<org.jsoup.nodes.Element> |
hasHtml(String expectedValue)
Deprecated.
Use
hasInnerHtml(String) instead |
static org.hamcrest.Matcher<org.jsoup.nodes.Element> |
hasInnerHtml(String expectedValue)
Creates a
Matcher for a JSoup Element with the inner HTML equal to expectedValue. |
protected boolean |
matchesSafely(org.jsoup.nodes.Element item,
org.hamcrest.Description mismatchDescription) |
public static org.hamcrest.Matcher<org.jsoup.nodes.Element> hasHtml(String expectedValue)
hasInnerHtml(String) insteadMatcher for a JSoup Element with the inner HTML equal to expectedValue.expectedValue - The expected inner HTMLMatcher for a JSoup Elementpublic static org.hamcrest.Matcher<org.jsoup.nodes.Element> hasInnerHtml(String expectedValue)
Matcher for a JSoup Element with the inner HTML equal to expectedValue.expectedValue - The expected inner HTMLMatcher for a JSoup Elementprotected boolean matchesSafely(org.jsoup.nodes.Element item,
org.hamcrest.Description mismatchDescription)
matchesSafely in class org.hamcrest.TypeSafeDiagnosingMatcher<org.jsoup.nodes.Element>public void describeTo(org.hamcrest.Description description)
Copyright © 2016 FD Mediagroep. All rights reserved.