T - public class SomeOfChainMatcher<T> extends MatcherChainBase<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
SomeOfChainMatcher.Builder<T> |
static class |
SomeOfChainMatcher.SomeOfChainFactory |
NestedResultMatcher.NestedMatch<T,M extends org.hamcrest.Matcher<?>>, NestedResultMatcher.NestedMismatch<T,M extends org.hamcrest.Matcher<?>>, NestedResultMatcher.NestedResult<T,M extends org.hamcrest.Matcher<?>>matchersP_AND, P_ATOMIC, P_COMPLEX, P_NONE, P_OR, P_UNARY, P_UNARY_NO_PAREN| Constructor and Description |
|---|
SomeOfChainMatcher(org.hamcrest.Matcher<? super Integer> countMatcher,
Collection<? extends org.hamcrest.Matcher<? super T>> matchers) |
SomeOfChainMatcher(org.hamcrest.Matcher<? super Integer> countMatcher,
org.hamcrest.Matcher<? super T>... matchers) |
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
static SomeOfChainMatcher.SomeOfChainFactory |
factory(int count) |
static SomeOfChainMatcher.SomeOfChainFactory |
factory(org.hamcrest.Matcher<? super Integer> countMatcher) |
int |
getDescriptionPrecedence() |
static SomeOfChainMatcher.SomeOfChainFactory |
matches(int count) |
static <T> SomeOfChainMatcher.Builder<T> |
matches(int count,
org.hamcrest.Matcher<? super T>... matchers) |
static SomeOfChainMatcher.SomeOfChainFactory |
matches(org.hamcrest.Matcher<? super Integer> countMatcher) |
static <T> SomeOfChainMatcher.Builder<T> |
matches(org.hamcrest.Matcher<? super Integer> countMatcher,
org.hamcrest.Matcher<? super T>... matchers) |
boolean |
matches(Object item) |
<I> MatchResult<I> |
matchResult(I item)
Returns a
MatchResult that caches the mismatch descripton. |
<T> SomeOfChainMatcher.Builder<T> |
oneOf(Collection<? extends org.hamcrest.Matcher<? super T>> matcher) |
<T> SomeOfChainMatcher.Builder<T> |
oneOf(org.hamcrest.Matcher<? super T>... matchers) |
matchersListnestedDescribe, nestedDescribeTo, nestedMatch, nestedMatchdescribeMismatch, matchesquickMatch, quickMatch, quickMatchResult_dont_implement_Matcher___instead_extend_BaseMatcher_, toStringpublic SomeOfChainMatcher(org.hamcrest.Matcher<? super Integer> countMatcher, org.hamcrest.Matcher<? super T>... matchers)
public SomeOfChainMatcher(org.hamcrest.Matcher<? super Integer> countMatcher, Collection<? extends org.hamcrest.Matcher<? super T>> matchers)
public int getDescriptionPrecedence()
public void describeTo(org.hamcrest.Description description)
public boolean matches(Object item)
matches in interface org.hamcrest.Matcher<T>matches in class QuickResultMatcherBase<T>public <I> MatchResult<I> matchResult(I item)
QuickDiagnosingMatcherBaseMatchResult that caches the mismatch descripton.matchResult in interface QuickDiagnosingMatcher<T>matchResult in class QuickResultMatcherBase<T>public static SomeOfChainMatcher.SomeOfChainFactory matches(int count)
public static SomeOfChainMatcher.SomeOfChainFactory matches(org.hamcrest.Matcher<? super Integer> countMatcher)
public static <T> SomeOfChainMatcher.Builder<T> matches(int count, org.hamcrest.Matcher<? super T>... matchers)
public static <T> SomeOfChainMatcher.Builder<T> matches(org.hamcrest.Matcher<? super Integer> countMatcher, org.hamcrest.Matcher<? super T>... matchers)
public <T> SomeOfChainMatcher.Builder<T> oneOf(org.hamcrest.Matcher<? super T>... matchers)
public <T> SomeOfChainMatcher.Builder<T> oneOf(Collection<? extends org.hamcrest.Matcher<? super T>> matcher)
public static SomeOfChainMatcher.SomeOfChainFactory factory(int count)
public static SomeOfChainMatcher.SomeOfChainFactory factory(org.hamcrest.Matcher<? super Integer> countMatcher)
Copyright © 2015. All rights reserved.