public class HasAttribute
extends org.hamcrest.TypeSafeDiagnosingMatcher<org.w3c.dom.Element>
| Constructor and Description |
|---|
HasAttribute(java.lang.String attributeName) |
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
static org.hamcrest.Matcher<org.w3c.dom.Element> |
hasAttribute(java.lang.String name) |
static org.hamcrest.Matcher<org.w3c.dom.Element> |
isChecked() |
static org.hamcrest.Matcher<org.w3c.dom.Element> |
isDisabled() |
static org.hamcrest.Matcher<org.w3c.dom.Element> |
isReadOnly() |
static org.hamcrest.Matcher<org.w3c.dom.Element> |
isSelected() |
protected boolean |
matchesSafely(org.w3c.dom.Element actual,
org.hamcrest.Description mismatchDescription) |
protected boolean matchesSafely(org.w3c.dom.Element actual,
org.hamcrest.Description mismatchDescription)
matchesSafely in class org.hamcrest.TypeSafeDiagnosingMatcher<org.w3c.dom.Element>public void describeTo(org.hamcrest.Description description)
public static org.hamcrest.Matcher<org.w3c.dom.Element> isSelected()
public static org.hamcrest.Matcher<org.w3c.dom.Element> isReadOnly()
public static org.hamcrest.Matcher<org.w3c.dom.Element> isChecked()
public static org.hamcrest.Matcher<org.w3c.dom.Element> isDisabled()
public static org.hamcrest.Matcher<org.w3c.dom.Element> hasAttribute(java.lang.String name)