org.testinfected.hamcrest.dom
Class HasTag
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeDiagnosingMatcher<T>
org.hamcrest.FeatureMatcher<Element,String>
org.testinfected.hamcrest.dom.HasTag
- All Implemented Interfaces:
- org.hamcrest.Matcher<Element>, org.hamcrest.SelfDescribing
public class HasTag
- extends org.hamcrest.FeatureMatcher<Element,String>
|
Constructor Summary |
HasTag(org.hamcrest.Matcher<? super String> valueMatcher)
|
| Methods inherited from class org.hamcrest.FeatureMatcher |
describeTo, matchesSafely |
| Methods inherited from class org.hamcrest.TypeSafeDiagnosingMatcher |
describeMismatch, matches |
| Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
HasTag
public HasTag(org.hamcrest.Matcher<? super String> valueMatcher)
featureValueOf
protected String featureValueOf(Element actual)
- Specified by:
featureValueOf in class org.hamcrest.FeatureMatcher<Element,String>
hasTag
public static org.hamcrest.Matcher<Element> hasTag(String tagName)
hasTag
public static org.hamcrest.Matcher<Element> hasTag(org.hamcrest.Matcher<? super String> valueMatcher)
Copyright © 2015. All Rights Reserved.