T - public class NOrChainMatcher<T> extends MatcherChainBase<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
NOrChainMatcher.Builder<T> |
NestedResultMatcher.NestedMatch<T,M extends org.hamcrest.Matcher<?>>, NestedResultMatcher.NestedMismatch<T,M extends org.hamcrest.Matcher<?>>, NestedResultMatcher.NestedResult<T,M extends org.hamcrest.Matcher<?>>| Modifier and Type | Field and Description |
|---|---|
static ChainFactory |
FACTORY |
matchersP_AND, P_ATOMIC, P_COMPLEX, P_NONE, P_OR, P_UNARY, P_UNARY_NO_PAREN| Constructor and Description |
|---|
NOrChainMatcher(Collection<? extends org.hamcrest.Matcher<? super T>> matchers) |
NOrChainMatcher(org.hamcrest.Matcher<? super T>... matchers) |
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
int |
getDescriptionPrecedence() |
boolean |
matches(Object item) |
<I> MatchResult<I> |
matchResult(I item)
Returns a
MatchResult that caches the mismatch descripton. |
static <T> NOrChainMatcher.Builder<T> |
neither(org.hamcrest.Matcher<? super T>... m) |
static <T> NOrChainMatcher.Builder<T> |
neither(org.hamcrest.Matcher<? super T> m) |
static ChainFactory |
none() |
static <T> org.hamcrest.Matcher<T> |
none(Collection<? extends org.hamcrest.Matcher<? super T>> matchers) |
static <T> org.hamcrest.Matcher<T> |
none(org.hamcrest.Matcher<? super T>... matchers) |
static <T> org.hamcrest.Matcher<T> |
nor(Collection<? extends org.hamcrest.Matcher<? super T>> matchers) |
static <T> org.hamcrest.Matcher<T> |
nor(org.hamcrest.Matcher<? super T>... matchers) |
matchersListnestedDescribe, nestedDescribeTo, nestedMatch, nestedMatchdescribeMismatch, matchesquickMatch, quickMatch, quickMatchResult_dont_implement_Matcher___instead_extend_BaseMatcher_, toStringpublic static final ChainFactory FACTORY
public NOrChainMatcher(Collection<? extends org.hamcrest.Matcher<? super T>> matchers)
public NOrChainMatcher(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 <T> org.hamcrest.Matcher<T> none(org.hamcrest.Matcher<? super T>... matchers)
public static <T> org.hamcrest.Matcher<T> none(Collection<? extends org.hamcrest.Matcher<? super T>> matchers)
public static <T> org.hamcrest.Matcher<T> nor(org.hamcrest.Matcher<? super T>... matchers)
public static <T> org.hamcrest.Matcher<T> nor(Collection<? extends org.hamcrest.Matcher<? super T>> matchers)
public static <T> NOrChainMatcher.Builder<T> neither(org.hamcrest.Matcher<? super T> m)
public static <T> NOrChainMatcher.Builder<T> neither(org.hamcrest.Matcher<? super T>... m)
public static ChainFactory none()
Copyright © 2015. All rights reserved.