org.testinfected.hamcrest.dom
Class HasAttribute
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeDiagnosingMatcher<Element>
org.testinfected.hamcrest.dom.HasAttribute
- All Implemented Interfaces:
- org.hamcrest.Matcher<Element>, org.hamcrest.SelfDescribing
public class HasAttribute
- extends org.hamcrest.TypeSafeDiagnosingMatcher<Element>
| Methods inherited from class org.hamcrest.TypeSafeDiagnosingMatcher |
describeMismatch, matches |
| Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
HasAttribute
public HasAttribute(String attributeName)
matchesSafely
protected boolean matchesSafely(Element actual,
org.hamcrest.Description mismatchDescription)
- Specified by:
matchesSafely in class org.hamcrest.TypeSafeDiagnosingMatcher<Element>
describeTo
public void describeTo(org.hamcrest.Description description)
isSelected
public static org.hamcrest.Matcher<Element> isSelected()
isReadOnly
public static org.hamcrest.Matcher<Element> isReadOnly()
isChecked
public static org.hamcrest.Matcher<Element> isChecked()
isDisabled
public static org.hamcrest.Matcher<Element> isDisabled()
hasAttribute
public static org.hamcrest.Matcher<Element> hasAttribute(String name)
Copyright © 2015. All Rights Reserved.