| Modifier and Type | Method and Description |
|---|---|
static <T> org.hamcrest.Matcher<org.hamcrest.Matcher<? super T>> |
MetaMatchers.accepts(T value,
org.hamcrest.Matcher<? super MatchResult<T>> resultMatcher) |
static <T> IsMatchResult<T> |
MetaMatchers.match(org.hamcrest.Matcher<? super MatchResult<T>> resultMatcher) |
static <T> HasMatchResult<T> |
MetaMatchers.matchResult(T value,
org.hamcrest.Matcher<? super MatchResult<T>> resultMatcher) |
static <T> IsMatchResult<T> |
MetaMatchers.mismatch(org.hamcrest.Matcher<? super MatchResult<T>> resultMatcher) |
static <T> org.hamcrest.Matcher<org.hamcrest.Matcher<? super T>> |
MetaMatchers.rejects(T value,
org.hamcrest.Matcher<? super MatchResult<T>> resultMatcher) |
| Modifier and Type | Method and Description |
|---|---|
<I> MatchResult<I> |
XOrChainMatcher.matchResult(I item) |
<I> MatchResult<I> |
SomeOfChainMatcher.matchResult(I item) |
<I> MatchResult<I> |
OrChainMatcher.matchResult(I item) |
<I> MatchResult<I> |
NOrChainMatcher.matchResult(I item) |
<I> MatchResult<I> |
AndChainMatcher.matchResult(I item) |
| Modifier and Type | Method and Description |
|---|---|
abstract <I> MatchResult<I> |
QuickResultMatcherBase.matchResult(I item) |
<I> MatchResult<I> |
QuickMatcherBase.matchResult(I item) |
<I> MatchResult<I> |
QuickDiagnosingMatcherBase.matchResult(I item)
Returns a
MatchResult that caches the mismatch descripton. |
<I> MatchResult<I> |
QuickDiagnosingMatcher.matchResult(I item)
Returns a
MatchResult for item |
static <T> MatchResult<T> |
QuickDiagnose.matchResult(org.hamcrest.Matcher<?> matcher,
T item) |
protected static <T> MatchResult<T> |
QuickDiagnosingMatcherBase.quickMatchResult(org.hamcrest.Matcher<?> matcher,
T item) |
| Modifier and Type | Class and Description |
|---|---|
static class |
Nested.Match<T,M extends org.hamcrest.Matcher<?>> |
static class |
Nested.Mismatch<T,M extends org.hamcrest.Matcher<?>> |
static class |
Nested.Result<T,M extends org.hamcrest.Matcher<?>> |
protected static class |
NestedMatcher.NestedMatch<T,M extends org.hamcrest.Matcher<?>> |
protected static class |
NestedMatcher.NestedMismatch<T,M extends org.hamcrest.Matcher<?>> |
protected static class |
NestedMatcher.NestedResult<T,M extends org.hamcrest.Matcher<?>> |
protected static class |
NestedResultMatcher.NestedMatch<T,M extends org.hamcrest.Matcher<?>> |
protected static class |
NestedResultMatcher.NestedMismatch<T,M extends org.hamcrest.Matcher<?>> |
protected static class |
NestedResultMatcher.NestedResult<T,M extends org.hamcrest.Matcher<?>> |
| Modifier and Type | Method and Description |
|---|---|
protected void |
Nested.Match.nestedDescribeMatcher(MatchResult<?> nested,
org.hamcrest.Description d) |
protected void |
Nested.Mismatch.nestedDescribeMatcher(MatchResult<?> nested,
org.hamcrest.Description d) |
protected void |
Nested.Match.nestedDescribeMatcher(MatchResult<?> nested,
org.hamcrest.Description d,
String message) |
protected void |
Nested.Mismatch.nestedDescribeMatcher(MatchResult<?> nested,
org.hamcrest.Description d,
String message) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Nested.joinExpectedDescriptions(int myPrecedence,
Iterable<? extends MatchResult<?>> nested,
org.hamcrest.Description d,
String sep) |
static void |
Nested.joinExpectedDescriptions(int myPrecedence,
Iterable<? extends MatchResult<?>> nested,
org.hamcrest.Description d,
String sep,
String lastSep,
String singleSep) |
static void |
Nested.joinMatchDescriptions(int myPrecedence,
Iterable<? extends MatchResult<?>> nested,
org.hamcrest.Description d,
String sep) |
static void |
Nested.joinMatchDescriptions(int myPrecedence,
Iterable<? extends MatchResult<?>> nested,
org.hamcrest.Description d,
String sep,
String lastSep,
String singleSep) |
static void |
Nested.joinMismatchDescriptions(int myPrecedence,
Iterable<? extends MatchResult<?>> nested,
org.hamcrest.Description d,
String sep) |
static void |
Nested.joinMismatchDescriptions(int myPrecedence,
Iterable<? extends MatchResult<?>> nested,
org.hamcrest.Description d,
String sep,
String lastSep,
String singleSep) |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
MatchResult.Match<T>
Provides detailed information about a match.
|
static interface |
MatchResult.Mismatch<T>
Provides detailed information about a mismatch.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractMatchResult<T,M extends org.hamcrest.Matcher<?>>
Implements a match result that can be either a match or a mismatch.
|
class |
AtomicMismatch<I,M extends org.hamcrest.Matcher<?>>
A mismatch that is not nested.
|
class |
MatchResultBase<T,M extends org.hamcrest.Matcher<?>> |
class |
MatchResultMismatch<T,M extends org.hamcrest.Matcher<?>>
Implements a failed match.
|
class |
MatchResultProxy<I,M extends org.hamcrest.Matcher<?>>
Can be used as a base class to decorate another match result.
|
class |
MatchResultSuccess<T,M extends org.hamcrest.Matcher<?>>
Implements a successful match.
|
| Modifier and Type | Method and Description |
|---|---|
<I> MatchResult<I> |
MatcherProxy.matchResult(I item) |
protected MatchResult<?> |
MatchResultProxy.result() |
| Constructor and Description |
|---|
MatchResultProxy(MatchResult<?> result) |
MatchResultProxy(MatchResult<?> result,
I value,
M matcher) |
| Modifier and Type | Method and Description |
|---|---|
<I> MatchResult<I> |
TypesafeQuickDiagnoseMatcher.matchResult(I item) |
<I> MatchResult<I> |
TypesafeNestedMatcher.matchResult(I item) |
protected abstract <I extends T> |
TypesafeQuickResultMatcher.matchResultSafely(I item) |
protected <I extends T> |
TypesafeQuickDiagnoseMatcher.matchResultSafely(I item) |
protected abstract <I extends T> |
TypesafeNestedResultMatcher.matchResultSafely(I item) |
protected <I extends T> |
TypesafeNestedMatcher.matchResultSafely(I item) |
protected <I extends V> |
TypesafeFeatureMatcher.matchResultSafely(I item) |
| Modifier and Type | Method and Description |
|---|---|
protected <I extends Throwable> |
ExceptionMessage.matchResultSafely(I item) |
protected <I extends Throwable> |
CausedBy.matchResultSafely(I ex) |
| Modifier and Type | Method and Description |
|---|---|
protected <I extends MatchResult<T>> |
IsMatchResult.matchResultSafely(I item) |
| Modifier and Type | Method and Description |
|---|---|
protected MatchResult<T> |
HasMatchResult.getFeature(org.hamcrest.Matcher<? super T> matcher) |
protected <I extends MatchResult<T>> |
IsMatchResult.matchResultSafely(I item) |
protected <I extends org.hamcrest.Matcher<? super T>> |
MatcherAccepts.matchResultSafely(I item) |
| Modifier and Type | Method and Description |
|---|---|
protected org.hamcrest.SelfDescribing |
MatchResultExpected.getFeature(MatchResult<?> value) |
protected boolean |
IsMatchResult.matchesSafely(MatchResult<T> item) |
| Modifier and Type | Method and Description |
|---|---|
static <T> org.hamcrest.Matcher<org.hamcrest.Matcher<? super T>> |
MatcherAccepts.accepts(T value,
org.hamcrest.Matcher<? super MatchResult<T>> resultMatcher) |
static <T> IsMatchResult<T> |
IsMatchResult.match(org.hamcrest.Matcher<? super MatchResult<T>> resultMatcher) |
static <T> HasMatchResult<T> |
HasMatchResult.matchResult(T value,
org.hamcrest.Matcher<? super MatchResult<T>> resultMatcher) |
static <T> IsMatchResult<T> |
IsMatchResult.mismatch(org.hamcrest.Matcher<? super MatchResult<T>> resultMatcher) |
static <T> org.hamcrest.Matcher<org.hamcrest.Matcher<? super T>> |
MatcherAccepts.rejects(T value,
org.hamcrest.Matcher<? super MatchResult<T>> resultMatcher) |
| Constructor and Description |
|---|
HasMatchResult(T value,
org.hamcrest.Matcher<? super MatchResult<T>> featureMatcher) |
IsMatchResult(boolean match,
org.hamcrest.Matcher<? super MatchResult<T>> resultMatcher) |
IsMatchResult(org.hamcrest.Matcher<? super MatchResult<T>> resultMatcher) |
MatcherAccepts(boolean match,
T value,
org.hamcrest.Matcher<? super MatchResult<T>> resultMatcher) |
MatcherAccepts(T value,
org.hamcrest.Matcher<? super MatchResult<T>> resultMatcher) |
| Modifier and Type | Method and Description |
|---|---|
<I> MatchResult<I> |
CIs.matchResult(I item) |
| Modifier and Type | Method and Description |
|---|---|
protected <I extends Proc> |
Returns.matchResultSafely(I proc) |
protected <I extends Proc> |
Raises.matchResultSafely(I proc) |
Copyright © 2015. All rights reserved.