Package | Description |
---|---|
org.assertj.core.api | |
org.assertj.core.error | |
org.assertj.core.internal | |
org.assertj.core.presentation |
Modifier and Type | Method and Description |
---|---|
private SELF |
AbstractCompletableFutureAssert.isCompletedWithValueMatching(java.util.function.Predicate<? super RESULT> predicate,
PredicateDescription description) |
private SELF |
AbstractAssert.matches(java.util.function.Predicate<? super ACTUAL> predicate,
PredicateDescription predicateDescription) |
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
AnyElementShouldMatch.anyElementShouldMatch(java.lang.Object actual,
PredicateDescription predicateDescription) |
static <T> ErrorMessageFactory |
ElementsShouldMatch.elementsShouldMatch(java.lang.Object actual,
T elementsNotMatchingPredicate,
PredicateDescription predicateDescription) |
static <T> ErrorMessageFactory |
NoElementsShouldMatch.noElementsShouldMatch(java.lang.Object actual,
T elementMatchingPredicate,
PredicateDescription predicateDescription) |
static <T> ErrorMessageFactory |
ShouldAccept.shouldAccept(java.util.function.Predicate<? super T> predicate,
T value,
PredicateDescription description)
Creates a new
. |
static <T> ErrorMessageFactory |
ShouldMatch.shouldMatch(T actual,
java.util.function.Predicate<? super T> predicate,
PredicateDescription predicateDescription)
Creates a new
. |
static <T> ErrorMessageFactory |
ShouldNotAccept.shouldNotAccept(java.util.function.Predicate<? super T> predicate,
T value,
PredicateDescription description)
Creates a new
. |
static <T> ErrorMessageFactory |
ShouldNotMatch.shouldNotMatch(T actual,
java.util.function.Predicate<? super T> predicate,
PredicateDescription predicateDescription)
Creates a new
. |
Constructor and Description |
---|
AnyElementShouldMatch(java.lang.Object actual,
PredicateDescription predicateDescription) |
ElementsShouldMatch(java.lang.Object actual,
java.lang.Iterable<?> notMatching,
PredicateDescription predicateDescription) |
ElementsShouldMatch(java.lang.Object actual,
java.lang.Object notMatching,
PredicateDescription predicateDescription) |
NoElementsShouldMatch(java.lang.Object actual,
java.lang.Object satisfies,
PredicateDescription predicateDescription) |
ShouldAccept(java.lang.Object value,
PredicateDescription description) |
ShouldMatch(java.lang.Object actual,
PredicateDescription description) |
ShouldNotAccept(java.lang.Object value,
PredicateDescription description) |
ShouldNotMatch(java.lang.Object actual,
PredicateDescription description) |
Modifier and Type | Method and Description |
---|---|
<E> void |
Iterables.assertAllMatch(AssertionInfo info,
java.lang.Iterable<? extends E> actual,
java.util.function.Predicate<? super E> predicate,
PredicateDescription predicateDescription) |
<E> void |
Iterables.assertAnyMatch(AssertionInfo info,
java.lang.Iterable<? extends E> actual,
java.util.function.Predicate<? super E> predicate,
PredicateDescription predicateDescription) |
<E> void |
Iterables.assertNoneMatch(AssertionInfo info,
java.lang.Iterable<? extends E> actual,
java.util.function.Predicate<? super E> predicate,
PredicateDescription predicateDescription) |
Modifier and Type | Field and Description |
---|---|
static PredicateDescription |
PredicateDescription.GIVEN |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
StandardRepresentation.toStringOf(PredicateDescription p) |