org.testinfected.hamcrest.dom
Class HasSelector
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeDiagnosingMatcher<Element>
org.testinfected.hamcrest.dom.HasSelector
- All Implemented Interfaces:
- org.hamcrest.Matcher<Element>, org.hamcrest.SelfDescribing
public class HasSelector
- 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 |
HasSelector
public HasSelector(String selector)
HasSelector
public HasSelector(String selector,
org.hamcrest.Matcher<Iterable<Element>> subjectsMatchers)
matchesSafely
protected boolean matchesSafely(Element element,
org.hamcrest.Description mismatchDescription)
- Specified by:
matchesSafely in class org.hamcrest.TypeSafeDiagnosingMatcher<Element>
describeTo
public void describeTo(org.hamcrest.Description description)
hasSelector
public static org.hamcrest.Matcher<Element> hasSelector(String selector)
hasSelector
public static org.hamcrest.Matcher<Element> hasSelector(String selector,
org.hamcrest.Matcher<? super Element>... subjectsMatchers)
hasSelector
public static org.hamcrest.Matcher<Element> hasSelector(String selector,
org.hamcrest.Matcher<Iterable<Element>> subjectsMatcher)
Copyright © 2015. All Rights Reserved.