|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hamcrest.BaseMatcher<T>
org.hamcrest.DiagnosingMatcher<T>
org.hamcrest.core.AllOf<T>
public class AllOf<T>
Calculates the logical conjunction of multiple matchers. Evaluation is shortcut, so
subsequent matchers are not called if an earlier matcher returns false.
| Constructor Summary | |
|---|---|
AllOf(java.lang.Iterable<Matcher<? super T>> matchers)
|
|
| Method Summary | ||
|---|---|---|
static
|
allOf(java.lang.Iterable<Matcher<? super T>> matchers)
Evaluates to true only if ALL of the passed in matchers evaluate to true. |
|
static
|
allOf(Matcher<? super T>... matchers)
Evaluates to true only if ALL of the passed in matchers evaluate to true. |
|
static
|
allOf(Matcher<? super T> first,
Matcher<? super T> second)
Evaluates to true only if ALL of the passed in matchers evaluate to true. |
|
static
|
allOf(Matcher<? super T> first,
Matcher<? super T> second,
Matcher<? super T> third)
Evaluates to true only if ALL of the passed in matchers evaluate to true. |
|
static
|
allOf(Matcher<? super T> first,
Matcher<? super T> second,
Matcher<? super T> third,
Matcher<? super T> fourth)
Evaluates to true only if ALL of the passed in matchers evaluate to true. |
|
static
|
allOf(Matcher<? super T> first,
Matcher<? super T> second,
Matcher<? super T> third,
Matcher<? super T> fourth,
Matcher<? super T> fifth)
Evaluates to true only if ALL of the passed in matchers evaluate to true. |
|
static
|
allOf(Matcher<? super T> first,
Matcher<? super T> second,
Matcher<? super T> third,
Matcher<? super T> fourth,
Matcher<? super T> fifth,
Matcher<? super T> sixth)
Evaluates to true only if ALL of the passed in matchers evaluate to true. |
|
void |
describeTo(Description description)
Generates a description of the object. |
|
boolean |
matches(java.lang.Object o,
Description mismatchDescription)
|
|
| Methods inherited from class org.hamcrest.DiagnosingMatcher |
|---|
describeMismatch, matches |
| Methods inherited from class org.hamcrest.BaseMatcher |
|---|
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AllOf(java.lang.Iterable<Matcher<? super T>> matchers)
| Method Detail |
|---|
public boolean matches(java.lang.Object o,
Description mismatchDescription)
matches in class DiagnosingMatcher<T>public void describeTo(Description description)
SelfDescribing
description - The description to be built or appended to.public static <T> Matcher<T> allOf(java.lang.Iterable<Matcher<? super T>> matchers)
public static <T> Matcher<T> allOf(Matcher<? super T>... matchers)
public static <T> Matcher<T> allOf(Matcher<? super T> first,
Matcher<? super T> second)
public static <T> Matcher<T> allOf(Matcher<? super T> first,
Matcher<? super T> second,
Matcher<? super T> third)
public static <T> Matcher<T> allOf(Matcher<? super T> first,
Matcher<? super T> second,
Matcher<? super T> third,
Matcher<? super T> fourth)
public static <T> Matcher<T> allOf(Matcher<? super T> first,
Matcher<? super T> second,
Matcher<? super T> third,
Matcher<? super T> fourth,
Matcher<? super T> fifth)
public static <T> Matcher<T> allOf(Matcher<? super T> first,
Matcher<? super T> second,
Matcher<? super T> third,
Matcher<? super T> fourth,
Matcher<? super T> fifth,
Matcher<? super T> sixth)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||