public abstract class TypesafeNestedResultMatcher<T> extends TypesafeNestedMatcher<T>
PrecedencedSelfDescribing.getDescriptionPrecedence() is
used to determine if parenthesis should be inserted to resolve ambiguities.NestedMatcher.NestedMatch<T,M extends org.hamcrest.Matcher<?>>, NestedMatcher.NestedMismatch<T,M extends org.hamcrest.Matcher<?>>, NestedMatcher.NestedResult<T,M extends org.hamcrest.Matcher<?>>P_AND, P_ATOMIC, P_COMPLEX, P_NONE, P_OR, P_UNARY, P_UNARY_NO_PAREN| Constructor and Description |
|---|
TypesafeNestedResultMatcher() |
TypesafeNestedResultMatcher(Class<?> expectedType) |
TypesafeNestedResultMatcher(org.hamcrest.internal.ReflectiveTypeFinder typeFinder) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
describeMismatchSafely(T item,
org.hamcrest.Description mismatch) |
protected boolean |
matchesSafely(T item) |
protected boolean |
matchesSafely(T item,
org.hamcrest.Description mismatch) |
protected abstract <I extends T> |
matchResultSafely(I item) |
describeMismatch, matches, matches, matchResultnestedDescribe, nestedDescribeTo, nestedMatch, nestedMatchquickMatch, quickMatch, quickMatchResult_dont_implement_Matcher___instead_extend_BaseMatcher_, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescriptionPrecedencepublic TypesafeNestedResultMatcher(Class<?> expectedType)
public TypesafeNestedResultMatcher(org.hamcrest.internal.ReflectiveTypeFinder typeFinder)
public TypesafeNestedResultMatcher()
protected abstract <I extends T> MatchResult<I> matchResultSafely(I item)
matchResultSafely in class TypesafeNestedMatcher<T>protected boolean matchesSafely(T item)
matchesSafely in class TypesafeNestedMatcher<T>protected boolean matchesSafely(T item, org.hamcrest.Description mismatch)
matchesSafely in class TypesafeNestedMatcher<T>protected void describeMismatchSafely(T item, org.hamcrest.Description mismatch)
describeMismatchSafely in class TypesafeNestedMatcher<T>Copyright © 2015. All rights reserved.