|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Condition | |
|---|---|
| org.assertj.core.api | |
| org.assertj.core.api.filter | |
| org.assertj.core.condition | |
| org.assertj.core.error | |
| org.assertj.core.internal | |
| Uses of Condition in org.assertj.core.api |
|---|
| Methods in org.assertj.core.api that return Condition | ||
|---|---|---|
static
|
Assertions.allOf(Condition<? super T>... conditions)
Creates a new |
|
static
|
Assertions.allOf(Iterable<? extends Condition<? super T>> conditions)
Creates a new |
|
static
|
Assertions.anyOf(Condition<? super T>... conditions)
Only delegate to AnyOf.anyOf(Condition...) so that Assertions offers a full feature entry point to all
AssertJ features (but you can use AnyOf if you prefer). |
|
static
|
Assertions.anyOf(Iterable<? extends Condition<? super T>> conditions)
Creates a new |
|
Condition<T> |
Condition.as(Description newDescription)
Sets the description of this object. |
|
Condition<T> |
Condition.as(String newDescription,
Object... args)
Sets the description of this object supporting String.format(String, Object...) syntax. |
|
Condition<T> |
Condition.describedAs(Description newDescription)
Alias for since "as" is a keyword in Groovy. |
|
Condition<T> |
Condition.describedAs(String newDescription,
Object... args)
Alias for since "as" is a keyword in Groovy. |
|
| Methods in org.assertj.core.api with parameters of type Condition | ||
|---|---|---|
static
|
Assertions.allOf(Condition<? super T>... conditions)
Creates a new |
|
static
|
Assertions.anyOf(Condition<? super T>... conditions)
Only delegate to AnyOf.anyOf(Condition...) so that Assertions offers a full feature entry point to all
AssertJ features (but you can use AnyOf if you prefer). |
|
S |
AbstractObjectArrayAssert.are(Condition<? super T> condition)
Verifies that each element value satisfies the given condition |
|
S |
AbstractIterableAssert.are(Condition<? super T> condition)
Verifies that each element value satisfies the given condition |
|
S |
ObjectEnumerableAssert.are(Condition<? super T> condition)
Verifies that each element value satisfies the given condition |
|
S |
AbstractObjectArrayAssert.areAtLeast(int times,
Condition<? super T> condition)
Verifies that there is at least n elements in the actual group satisfying the given condition. |
|
S |
AbstractIterableAssert.areAtLeast(int times,
Condition<? super T> condition)
Verifies that there is at least n elements in the actual group satisfying the given condition. |
|
S |
ObjectEnumerableAssert.areAtLeast(int n,
Condition<? super T> condition)
Verifies that there is at least n elements in the actual group satisfying the given condition. |
|
S |
AbstractObjectArrayAssert.areAtLeastOne(Condition<? super T> condition)
Verifies that there is at least one element in the actual group satisfying the given condition. |
|
S |
AbstractIterableAssert.areAtLeastOne(Condition<? super T> condition)
Verifies that there is at least one element in the actual group satisfying the given condition. |
|
S |
ObjectEnumerableAssert.areAtLeastOne(Condition<? super T> condition)
Verifies that there is at least one element in the actual group satisfying the given condition. |
|
S |
AbstractObjectArrayAssert.areAtMost(int times,
Condition<? super T> condition)
Verifies that there is at most n elements in the actual group satisfying the given condition. |
|
S |
AbstractIterableAssert.areAtMost(int times,
Condition<? super T> condition)
Verifies that there is at most n elements in the actual group satisfying the given condition. |
|
S |
ObjectEnumerableAssert.areAtMost(int n,
Condition<? super T> condition)
Verifies that there is at most n elements in the actual group satisfying the given condition. |
|
S |
AbstractObjectArrayAssert.areExactly(int times,
Condition<? super T> condition)
Verifies that there is exactly n elements in the actual group satisfying the given condition. |
|
S |
AbstractIterableAssert.areExactly(int times,
Condition<? super T> condition)
Verifies that there is exactly n elements in the actual group satisfying the given condition. |
|
S |
ObjectEnumerableAssert.areExactly(int n,
Condition<? super T> condition)
Verifies that there is exactly n elements in the actual group satisfying the given condition. |
|
S |
AbstractObjectArrayAssert.areNot(Condition<? super T> condition)
Verifies that each element value does not satisfy the given condition |
|
S |
AbstractIterableAssert.areNot(Condition<? super T> condition)
Verifies that each element value does not satisfy the given condition |
|
S |
ObjectEnumerableAssert.areNot(Condition<? super T> condition)
Verifies that each element value does not satisfy the given condition |
|
S |
AbstractAssert.doesNotHave(Condition<? super A> condition)
Verifies that the actual value does not satisfy the given condition. |
|
S |
ExtensionPoints.doesNotHave(Condition<? super A> condition)
Verifies that the actual value does not satisfy the given condition. |
|
static
|
Assertions.doesNotHave(Condition<? super T> condition)
Creates a new DoesNotHave. |
|
S |
AbstractObjectArrayAssert.doNotHave(Condition<? super T> condition)
Verifies that each element value does not satisfy the given condition |
|
S |
AbstractIterableAssert.doNotHave(Condition<? super T> condition)
Verifies that each element value does not satisfy the given condition |
|
S |
ObjectEnumerableAssert.doNotHave(Condition<? super T> condition)
Verifies that each element value does not satisfy the given condition |
|
S |
AbstractAssert.has(Condition<? super A> condition)
Verifies that the actual value satisfies the given condition. |
|
S |
ExtensionPoints.has(Condition<? super A> condition)
Verifies that the actual value satisfies the given condition. |
|
S |
AbstractListAssert.has(Condition<? super T> condition,
Index index)
Verifies that the actual object at the given index in the actual group satisfies the given condition. |
|
S |
AbstractObjectArrayAssert.have(Condition<? super T> condition)
Verifies that each element value satisfies the given condition |
|
S |
AbstractIterableAssert.have(Condition<? super T> condition)
Verifies that each element value satisfies the given condition |
|
S |
ObjectEnumerableAssert.have(Condition<? super T> condition)
Verifies that each element value satisfies the given condition |
|
S |
AbstractObjectArrayAssert.haveAtLeast(int times,
Condition<? super T> condition)
Verifies that there is at least n elements in the actual group satisfying the given condition. |
|
S |
AbstractIterableAssert.haveAtLeast(int times,
Condition<? super T> condition)
Verifies that there is at least n elements in the actual group satisfying the given condition. |
|
S |
ObjectEnumerableAssert.haveAtLeast(int n,
Condition<? super T> condition)
Verifies that there is at least n elements in the actual group satisfying the given condition. |
|
S |
AbstractObjectArrayAssert.haveAtLeastOne(Condition<? super T> condition)
Verifies that there is at least one element in the actual group satisfying the given condition. |
|
S |
AbstractIterableAssert.haveAtLeastOne(Condition<? super T> condition)
Verifies that there is at least one element in the actual group satisfying the given condition. |
|
S |
ObjectEnumerableAssert.haveAtLeastOne(Condition<? super T> condition)
Verifies that there is at least one element in the actual group satisfying the given condition. |
|
S |
AbstractObjectArrayAssert.haveAtMost(int times,
Condition<? super T> condition)
This method is an alias ObjectEnumerableAssert.areAtMost(int, Condition). |
|
S |
AbstractIterableAssert.haveAtMost(int times,
Condition<? super T> condition)
This method is an alias ObjectEnumerableAssert.areAtMost(int, Condition). |
|
S |
ObjectEnumerableAssert.haveAtMost(int n,
Condition<? super T> condition)
This method is an alias ObjectEnumerableAssert.areAtMost(int, Condition). |
|
S |
AbstractObjectArrayAssert.haveExactly(int times,
Condition<? super T> condition)
This method is an alias ObjectEnumerableAssert.areExactly(int, Condition). |
|
S |
AbstractIterableAssert.haveExactly(int times,
Condition<? super T> condition)
This method is an alias ObjectEnumerableAssert.areExactly(int, Condition). |
|
S |
ObjectEnumerableAssert.haveExactly(int n,
Condition<? super T> condition)
This method is an alias ObjectEnumerableAssert.areExactly(int, Condition). |
|
S |
AbstractAssert.is(Condition<? super A> condition)
Verifies that the actual value satisfies the given condition. |
|
S |
ExtensionPoints.is(Condition<? super A> condition)
Verifies that the actual value satisfies the given condition. |
|
S |
AbstractListAssert.is(Condition<? super T> condition,
Index index)
Verifies that the actual object at the given index in the actual group satisfies the given condition. |
|
S |
AbstractAssert.isNot(Condition<? super A> condition)
Verifies that the actual value does not satisfy the given condition. |
|
S |
ExtensionPoints.isNot(Condition<? super A> condition)
Verifies that the actual value does not satisfy the given condition. |
|
static
|
Assertions.not(Condition<? super T> condition)
Creates a new Not. |
|
| Method parameters in org.assertj.core.api with type arguments of type Condition | ||
|---|---|---|
static
|
Assertions.allOf(Iterable<? extends Condition<? super T>> conditions)
Creates a new |
|
static
|
Assertions.anyOf(Iterable<? extends Condition<? super T>> conditions)
Creates a new |
|
| Uses of Condition in org.assertj.core.api.filter |
|---|
| Methods in org.assertj.core.api.filter with parameters of type Condition | |
|---|---|
Filters<E> |
Filters.being(Condition<? super E> condition)
Filter the underlying group, keeping only elements satisfying the given Condition.Same as Filters.having(Condition) - pick the method you prefer to have the most readable code. |
Filters<E> |
Filters.having(Condition<? super E> condition)
Filter the underlying group, keeping only elements satisfying the given Condition.Same as Filters.being(Condition) - pick the method you prefer to have the most readable code. |
| Uses of Condition in org.assertj.core.condition |
|---|
| Subclasses of Condition in org.assertj.core.condition | |
|---|---|
class |
AllOf<T>
Returns true if all of the joined conditions is satisfied. |
class |
AnyOf<T>
Returns true if any of the joined conditions is satisfied. |
class |
DoesNotHave<T>
Returns true if the condition is not satisfied. |
class |
Join<T>
Join of two or more s. |
class |
Negative<T>
Inverse the condition. |
class |
Not<T>
Returns true if the condition is not satisfied. |
| Methods in org.assertj.core.condition that return Condition | ||
|---|---|---|
static
|
AllOf.allOf(Condition<? super T>... conditions)
Creates a new |
|
static
|
AllOf.allOf(Iterable<? extends Condition<? super T>> conditions)
Creates a new |
|
static
|
AnyOf.anyOf(Condition<? super T>... conditions)
Creates a new |
|
static
|
AnyOf.anyOf(Iterable<? extends Condition<? super T>> conditions)
Creates a new |
|
| Methods in org.assertj.core.condition that return types with arguments of type Condition | |
|---|---|
protected Collection<Condition<? super T>> |
Join.conditions()
Returns the conditions to join. |
| Methods in org.assertj.core.condition with parameters of type Condition | ||
|---|---|---|
static
|
AllOf.allOf(Condition<? super T>... conditions)
Creates a new |
|
static
|
AnyOf.anyOf(Condition<? super T>... conditions)
Creates a new |
|
static
|
DoesNotHave.doesNotHave(Condition<? super T> condition)
Creates a new DoesNotHave. |
|
static
|
Not.not(Condition<? super T> condition)
Creates a new Not. |
|
| Method parameters in org.assertj.core.condition with type arguments of type Condition | ||
|---|---|---|
static
|
AllOf.allOf(Iterable<? extends Condition<? super T>> conditions)
Creates a new |
|
static
|
AnyOf.anyOf(Iterable<? extends Condition<? super T>> conditions)
Creates a new |
|
| Constructors in org.assertj.core.condition with parameters of type Condition | |
|---|---|
Join(Condition<? super T>... conditions)
Creates a new Join. |
|
Negative(Condition<? super T> condition)
|
|
| Constructor parameters in org.assertj.core.condition with type arguments of type Condition | |
|---|---|
Join(Iterable<? extends Condition<? super T>> conditions)
Creates a new Join. |
|
| Uses of Condition in org.assertj.core.error |
|---|
| Methods in org.assertj.core.error with parameters of type Condition | ||
|---|---|---|
static ErrorMessageFactory |
ElementsShouldBe.elementsShouldBe(Object actual,
Object notSatisfies,
Condition<?> condition)
Creates a new ElementsShouldBe. |
|
static ErrorMessageFactory |
ElementsShouldBeAtLeast.elementsShouldBeAtLeast(Object actual,
int times,
Condition<?> condition)
Creates a new ElementsShouldBeAtLeast. |
|
static ErrorMessageFactory |
ElementsShouldBeAtMost.elementsShouldBeAtMost(Object actual,
int times,
Condition<?> condition)
Creates a new ElementsShouldBeAtMost. |
|
static ErrorMessageFactory |
ElementsShouldBeExactly.elementsShouldBeExactly(Object actual,
int times,
Condition<?> condition)
Creates a new ElementsShouldBeExactly. |
|
static ErrorMessageFactory |
ElementsShouldHave.elementsShouldHave(Object actual,
Object notSatisfies,
Condition<?> condition)
Creates a new ElementsShouldHave. |
|
static ErrorMessageFactory |
ElementsShouldHaveAtLeast.elementsShouldHaveAtLeast(Object actual,
int times,
Condition<?> condition)
Creates a new ElementsShouldHaveAtLeast. |
|
static ErrorMessageFactory |
ElementsShouldHaveAtMost.elementsShouldHaveAtMost(Object actual,
int times,
Condition<?> condition)
Creates a new ElementsShouldHaveAtMost. |
|
static
|
ElementsShouldHaveExactly.elementsShouldHaveExactly(Object actual,
int times,
Condition<?> condition)
Creates a new ElementsShouldHaveExactly. |
|
static ErrorMessageFactory |
ElementsShouldNotBe.elementsShouldNotBe(Object actual,
Object satisfies,
Condition<?> condition)
Creates a new ElementsShouldNotBe. |
|
static ErrorMessageFactory |
ElementsShouldNotHave.elementsShouldNotHave(Object actual,
Object notSatisfies,
Condition<?> condition)
Creates a new ElementsShouldNotHave. |
|
static
|
ShouldBe.shouldBe(T actual,
Condition<? super T> condition)
Creates a new ShouldBe. |
|
static
|
ShouldBeAtIndex.shouldBeAtIndex(List<? extends T> actual,
Condition<? super T> condition,
Index index,
T found)
Creates a new ShouldBeAtIndex. |
|
static ErrorMessageFactory |
ConditionAndGroupGenericParameterTypeShouldBeTheSame.shouldBeSameGenericBetweenIterableAndCondition(Object actual,
Condition<?> condition)
Creates a new ConditionAndGroupGenericParameterTypeShouldBeTheSame |
|
static
|
ShouldHave.shouldHave(T actual,
Condition<? super T> condition)
Creates a new ShouldHave. |
|
static
|
ShouldHaveAtIndex.shouldHaveAtIndex(List<? extends T> actual,
Condition<? super T> condition,
Index index,
T found)
Creates a new ShouldHaveAtIndex. |
|
static
|
ShouldNotBe.shouldNotBe(T actual,
Condition<? super T> condition)
Creates a new ShouldNotBe. |
|
static
|
ShouldNotHave.shouldNotHave(T actual,
Condition<? super T> condition)
Creates a new ShouldNotHave. |
|
| Constructors in org.assertj.core.error with parameters of type Condition | |
|---|---|
ConditionAndGroupGenericParameterTypeShouldBeTheSame(Object actual,
Condition<?> condition)
|
|
| Uses of Condition in org.assertj.core.internal |
|---|
| Methods in org.assertj.core.internal with parameters of type Condition | ||
|---|---|---|
|
ObjectArrays.assertAre(AssertionInfo info,
E[] actual,
Condition<? super E> condition)
Assert that each element of given array satisfies the given condition. |
|
|
Arrays.assertAre(AssertionInfo info,
Failures failures,
Conditions conditions,
Object array,
Condition<E> condition)
|
|
|
Iterables.assertAre(AssertionInfo info,
Iterable<? extends E> actual,
Condition<? super E> condition)
Assert that each element of given Iterable satisfies the given condition. |
|
|
ObjectArrays.assertAreAtLeast(AssertionInfo info,
E[] actual,
int n,
Condition<? super E> condition)
Assert that there is at least n array elements satisfying the given condition. |
|
|
Arrays.assertAreAtLeast(AssertionInfo info,
Failures failures,
Conditions conditions,
Object array,
int times,
Condition<E> condition)
|
|
|
Iterables.assertAreAtLeast(AssertionInfo info,
Iterable<? extends E> actual,
int times,
Condition<? super E> condition)
Assert that there is at least n elements in the actual Iterable satisfying the given
condition. |
|
|
ObjectArrays.assertAreAtMost(AssertionInfo info,
E[] actual,
int n,
Condition<? super E> condition)
Assert that there is at most n array elements satisfying the given condition. |
|
|
Arrays.assertAreAtMost(AssertionInfo info,
Failures failures,
Conditions conditions,
Object array,
int times,
Condition<E> condition)
|
|
|
Iterables.assertAreAtMost(AssertionInfo info,
Iterable<? extends E> actual,
int n,
Condition<? super E> condition)
Assert that there is at most n elements in the actual Iterable satisfying the given
condition. |
|
|
ObjectArrays.assertAreExactly(AssertionInfo info,
E[] actual,
int n,
Condition<? super E> condition)
Verifies that there is exactly n array elements satisfying the given condition. |
|
|
Arrays.assertAreExactly(AssertionInfo info,
Failures failures,
Conditions conditions,
Object array,
int times,
Condition<E> condition)
|
|
|
Iterables.assertAreExactly(AssertionInfo info,
Iterable<? extends E> actual,
int times,
Condition<? super E> condition)
Verifies that there is exactly n elements in the actual Iterable satisfying the given
condition. |
|
|
ObjectArrays.assertAreNot(AssertionInfo info,
E[] actual,
Condition<? super E> condition)
Assert that each element of given array not satisfies the given condition. |
|
|
Arrays.assertAreNot(AssertionInfo info,
Failures failures,
Conditions conditions,
Object array,
Condition<E> condition)
|
|
|
Iterables.assertAreNot(AssertionInfo info,
Iterable<? extends E> actual,
Condition<? super E> condition)
Assert that each element of given Iterable not satisfies the given condition. |
|
|
Conditions.assertDoesNotHave(AssertionInfo info,
T actual,
Condition<? super T> condition)
Asserts that the actual value does not satisfy the given . |
|
|
ObjectArrays.assertDoNotHave(AssertionInfo info,
E[] actual,
Condition<? super E> condition)
Assert that each element of given array not satisfies the given condition. |
|
|
Iterables.assertDoNotHave(AssertionInfo info,
Iterable<? extends E> actual,
Condition<? super E> condition)
Assert that each element of given Iterable not satisfies the given condition. |
|
|
Lists.assertHas(AssertionInfo info,
List<? extends T> actual,
Condition<? super T> condition,
Index index)
Verifies that the given List satisfies the given at the given index. |
|
|
Conditions.assertHas(AssertionInfo info,
T actual,
Condition<? super T> condition)
Asserts that the actual value satisfies the given . |
|
|
ObjectArrays.assertHave(AssertionInfo info,
E[] actual,
Condition<? super E> condition)
Assert that each element of given array satisfies the given condition. |
|
|
Arrays.assertHave(AssertionInfo info,
Failures failures,
Conditions conditions,
Object array,
Condition<E> condition)
|
|
|
Iterables.assertHave(AssertionInfo info,
Iterable<? extends E> actual,
Condition<? super E> condition)
Assert that each element of given Iterable satisfies the given condition. |
|
|
ObjectArrays.assertHaveAtLeast(AssertionInfo info,
E[] actual,
int times,
Condition<? super E> condition)
An alias method of ObjectArrays.assertAreAtLeast(AssertionInfo, Object[], int, Condition) to provide a richer fluent
api (same logic, only error message differs). |
|
|
Arrays.assertHaveAtLeast(AssertionInfo info,
Failures failures,
Conditions conditions,
Object array,
int times,
Condition<E> condition)
|
|
|
Iterables.assertHaveAtLeast(AssertionInfo info,
Iterable<? extends E> actual,
int times,
Condition<? super E> condition)
An alias method of Iterables.assertAreAtLeast(AssertionInfo, Iterable, int, Condition) to provide a richer fluent
api (same logic, only error message differs). |
|
|
ObjectArrays.assertHaveAtMost(AssertionInfo info,
E[] actual,
int times,
Condition<? super E> condition)
An alias method of ObjectArrays.assertAreAtMost(AssertionInfo, Object[], int, Condition) to provide a richer fluent api
(same logic, only error message differs). |
|
|
Arrays.assertHaveAtMost(AssertionInfo info,
Failures failures,
Conditions conditions,
Object array,
int times,
Condition<E> condition)
|
|
|
Iterables.assertHaveAtMost(AssertionInfo info,
Iterable<? extends E> actual,
int times,
Condition<? super E> condition)
An alias method of Iterables.assertAreAtMost(AssertionInfo, Iterable, int, Condition) to provide a richer fluent api
(same logic, only error message differs). |
|
|
ObjectArrays.assertHaveExactly(AssertionInfo info,
E[] actual,
int times,
Condition<? super E> condition)
An alias method of ObjectArrays.assertAreExactly(AssertionInfo, Object[], int, Condition) to provide a richer fluent
api (same logic, only error message differs). |
|
|
Arrays.assertHaveExactly(AssertionInfo info,
Failures failures,
Conditions conditions,
Object array,
int times,
Condition<E> condition)
|
|
|
Iterables.assertHaveExactly(AssertionInfo info,
Iterable<? extends E> actual,
int times,
Condition<? super E> condition)
An alias method of Iterables.assertAreExactly(AssertionInfo, Iterable, int, Condition) to provide a richer fluent
api (same logic, only error message differs). |
|
|
Arrays.assertHaveNot(AssertionInfo info,
Failures failures,
Conditions conditions,
Object array,
Condition<E> condition)
|
|
|
Lists.assertIs(AssertionInfo info,
List<? extends T> actual,
Condition<? super T> condition,
Index index)
Verifies that the given List satisfies the given at the given index. |
|
|
Conditions.assertIs(AssertionInfo info,
T actual,
Condition<? super T> condition)
Asserts that the actual value satisfies the given . |
|
|
Conditions.assertIsNot(AssertionInfo info,
T actual,
Condition<? super T> condition)
Asserts that the actual value does not satisfy the given . |
|
void |
Conditions.assertIsNotNull(Condition<?> condition)
Asserts the the given is not null. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||