T - public static interface MatchResult.Mismatch<T> extends MatchResult<T>
MatchResult.Match<T>, MatchResult.Mismatch<T>P_AND, P_ATOMIC, P_COMPLEX, P_NONE, P_OR, P_UNARY, P_UNARY_NO_PAREN| Modifier and Type | Method and Description |
|---|---|
void |
describeExpected(org.hamcrest.Description description)
Describes what was expected (e.g., describes the matcher).
|
void |
describeMismatch(org.hamcrest.Description description)
Describes the mismatch (e.g., uses the matcher's mismatch description).
|
PrecedencedSelfDescribing |
getExpectedDescription()
Returns an object that will describe itself as the expected message.
|
int |
getExpectedPrecedence()
Returns the precedence of the expected message
|
PrecedencedSelfDescribing |
getMismatchDescription()
Returns an object that will describe itself as the mismatch.
|
int |
getMismatchPrecedence()
Returns the precedence of the mismatch
|
describeMatcher, getMatch, getMatcher, getMatcherDescription, getMatcherPrecedence, getMismatch, getValue, matchedgetDescriptionPrecedencevoid describeExpected(org.hamcrest.Description description)
description - int getExpectedPrecedence()
PrecedencedSelfDescribingPrecedencedSelfDescribing getExpectedDescription()
void describeMismatch(org.hamcrest.Description description)
description - int getMismatchPrecedence()
PrecedencedSelfDescribingPrecedencedSelfDescribing getMismatchDescription()
Copyright © 2015. All rights reserved.