Uses of Class
org.fest.assertions.core.Condition
Packages that use Condition
Package
Description
-
Uses of Condition in org.fest.assertions.api
Methods in org.fest.assertions.api that return ConditionModifier and TypeMethodDescriptionstatic <T> Condition<T>Creates a newAllOfstatic <T> Condition<T>Creates a newAllOfstatic <T> Condition<T>Creates a newAnyOfstatic <T> Condition<T>Only delegate toAnyOf.anyOf(Condition...)so that Assertions offers a full feature entry point to all Fest Assert features (but you can useAnyOfif you prefer).Methods in org.fest.assertions.api with parameters of type ConditionModifier and TypeMethodDescriptionstatic <T> Condition<T>Creates a newAllOfstatic <T> Condition<T>Only delegate toAnyOf.anyOf(Condition...)so that Assertions offers a full feature entry point to all Fest Assert features (but you can useAnyOfif you prefer).Verifies that each element value satisfies the given conditionVerifies that each element value satisfies the given conditionAbstractIterableAssert.areAtLeast(int times, Condition<? super T> condition) Verifies that there is at least n elements in the actual group satisfying the given condition.ObjectArrayAssert.areAtLeast(int times, Condition<? super T> condition) Verifies that there is at least n elements in the actual group satisfying the given condition.Verifies that there is at most n elements in the actual group satisfying the given condition.Verifies that there is at most n elements in the actual group satisfying the given condition.AbstractIterableAssert.areExactly(int times, Condition<? super T> condition) Verifies that there is exactly n elements in the actual group satisfying the given condition.ObjectArrayAssert.areExactly(int times, Condition<? super T> condition) Verifies that there is exactly n elements in the actual group satisfying the given condition.Verifies that each element value not satisfies the given conditionVerifies that each element value not satisfies the given conditionAbstractIterableAssert.areNotAtLeast(int times, Condition<? super T> condition) Verifies that there is at least n elements in the actual group not satisfying the given condition.ObjectArrayAssert.areNotAtLeast(int times, Condition<? super T> condition) Verifies that there is at least n elements in the actual group not satisfying the given condition.AbstractIterableAssert.areNotAtMost(int times, Condition<? super T> condition) Verifies that there is at most n elements in the actual group not satisfying the given condition.ObjectArrayAssert.areNotAtMost(int times, Condition<? super T> condition) Verifies that there is at most n elements in the actual group not satisfying the given condition.AbstractIterableAssert.areNotExactly(int times, Condition<? super T> condition) Verifies that there is exactly n elements in the actual group not satisfying the given condition.ObjectArrayAssert.areNotExactly(int times, Condition<? super T> condition) Verifies that there is exactly n elements in the actual group not satisfying the given condition.AbstractAssert.doesNotHave(Condition<? super A> condition) Verifies that the actual value does not satisfy the given condition.static <T> DoesNotHave<T>Assertions.doesNotHave(Condition<? super T> condition) Creates a newDoesNotHave.Verifies that each element value not satisfies the given conditionVerifies that each element value not satisfies the given conditionAbstractIterableAssert.doNotHaveAtLeast(int times, Condition<? super T> condition) This method is an aliasObjectEnumerableAssert.areNotAtLeast(int, Condition).ObjectArrayAssert.doNotHaveAtLeast(int times, Condition<? super T> condition) This method is an aliasObjectEnumerableAssert.areNotAtLeast(int, Condition).AbstractIterableAssert.doNotHaveAtMost(int times, Condition<? super T> condition) This method is an aliasObjectEnumerableAssert.areNotAtMost(int, Condition).ObjectArrayAssert.doNotHaveAtMost(int times, Condition<? super T> condition) This method is an aliasObjectEnumerableAssert.areNotAtMost(int, Condition).AbstractIterableAssert.doNotHaveExactly(int times, Condition<? super T> condition) This method is an aliasObjectEnumerableAssert.areNotExactly(int, Condition).ObjectArrayAssert.doNotHaveExactly(int times, Condition<? super T> condition) This method is an aliasObjectEnumerableAssert.areNotExactly(int, Condition).Verifies that the actual value satisfies the given condition.Verifies that the actual object at the given index in the actual group satisfies the given condition.Verifies that each element value satisfies the given conditionVerifies that each element value satisfies the given conditionAbstractIterableAssert.haveAtLeast(int times, Condition<? super T> condition) This method is an alias forObjectEnumerableAssert.areAtLeast(int, Condition).ObjectArrayAssert.haveAtLeast(int times, Condition<? super T> condition) This method is an alias forObjectEnumerableAssert.areAtLeast(int, Condition).AbstractIterableAssert.haveAtMost(int times, Condition<? super T> condition) This method is an aliasObjectEnumerableAssert.areAtMost(int, Condition).ObjectArrayAssert.haveAtMost(int times, Condition<? super T> condition) This method is an aliasObjectEnumerableAssert.areAtMost(int, Condition).AbstractIterableAssert.haveExactly(int times, Condition<? super T> condition) This method is an aliasObjectEnumerableAssert.areExactly(int, Condition).ObjectArrayAssert.haveExactly(int times, Condition<? super T> condition) This method is an aliasObjectEnumerableAssert.areExactly(int, Condition).Verifies that the actual value satisfies the given condition.Verifies that the actual object at the given index in the actual group satisfies the given condition.Verifies that the actual value does not satisfy the given condition.static <T> Not<T>Creates a newNot.Method parameters in org.fest.assertions.api with type arguments of type Condition -
Uses of Condition in org.fest.assertions.api.filter
Methods in org.fest.assertions.api.filter with parameters of type ConditionModifier and TypeMethodDescriptionFilter the underlying group, keeping only elements satisfying the givenCondition.
Same asFilters.having(Condition)- pick the method you prefer to have the most readable code.Filter the underlying group, keeping only elements satisfying the givenCondition.
Same asFilters.being(Condition)- pick the method you prefer to have the most readable code. -
Uses of Condition in org.fest.assertions.condition
Subclasses of Condition in org.fest.assertions.conditionModifier and TypeClassDescriptionclassAllOf<T>Returnstrueif all of the joined conditions is satisfied.classAnyOf<T>Returnstrueif any of the joined conditions is satisfied.classDoesNotHave<T>Returnstrueif the condition is not satisfied.classJoin<T>Join of two or mores.ConditionclassNegative<T>Inverse the condition.classNot<T>Returnstrueif the condition is not satisfied.Methods in org.fest.assertions.condition that return ConditionModifier and TypeMethodDescriptionstatic <T> Condition<T>Creates a newAllOfstatic <T> Condition<T>Creates a newAllOfstatic <T> Condition<T>Creates a newAnyOfstatic <T> Condition<T>Creates a newAnyOfMethods in org.fest.assertions.condition that return types with arguments of type ConditionModifier and TypeMethodDescriptionprotected final Collection<Condition<? super T>>Join.conditions()Returns the conditions to join.Methods in org.fest.assertions.condition with parameters of type ConditionModifier and TypeMethodDescriptionstatic <T> Condition<T>Creates a newAllOfstatic <T> Condition<T>Creates a newAnyOfstatic <T> DoesNotHave<T>DoesNotHave.doesNotHave(Condition<? super T> condition) Creates a newDoesNotHave.static <T> Not<T>Creates a newNot.Method parameters in org.fest.assertions.condition with type arguments of type ConditionModifier and TypeMethodDescriptionstatic <T> Condition<T>Creates a newAllOfstatic <T> Condition<T>Creates a newAnyOfConstructors in org.fest.assertions.condition with parameters of type ConditionConstructor parameters in org.fest.assertions.condition with type arguments of type Condition -
Uses of Condition in org.fest.assertions.core
Methods in org.fest.assertions.core that return ConditionModifier and TypeMethodDescriptionSets the description of this object.Condition.as(Description newDescription) Sets the description of this object.Condition.describedAs(String newDescription) Alias forsince "as" is a keyword in Groovy.Descriptable.as(String)Condition.describedAs(Description newDescription) Alias forsince "as" is a keyword in Groovy.Descriptable.as(String)Methods in org.fest.assertions.core with parameters of type ConditionModifier and TypeMethodDescriptionVerifies that each element value satisfies the given conditionObjectEnumerableAssert.areAtLeast(int n, Condition<? super T> condition) Verifies that there is at least n elements in the actual group satisfying the given condition.Verifies that there is at most n elements in the actual group satisfying the given condition.ObjectEnumerableAssert.areExactly(int n, Condition<? super T> condition) Verifies that there is exactly n elements in the actual group satisfying the given condition.Verifies that each element value not satisfies the given conditionObjectEnumerableAssert.areNotAtLeast(int n, Condition<? super T> condition) Verifies that there is at least n elements in the actual group not satisfying the given condition.ObjectEnumerableAssert.areNotAtMost(int n, Condition<? super T> condition) Verifies that there is at most n elements in the actual group not satisfying the given condition.ObjectEnumerableAssert.areNotExactly(int n, Condition<? super T> condition) Verifies that there is exactly n elements in the actual group not satisfying the given condition.ExtensionPoints.doesNotHave(Condition<? super A> condition) Verifies that the actual value does not satisfy the given condition.Verifies that each element value not satisfies the given conditionObjectEnumerableAssert.doNotHaveAtLeast(int n, Condition<? super T> condition) This method is an aliasObjectEnumerableAssert.areNotAtLeast(int, Condition).ObjectEnumerableAssert.doNotHaveAtMost(int n, Condition<? super T> condition) This method is an aliasObjectEnumerableAssert.areNotAtMost(int, Condition).ObjectEnumerableAssert.doNotHaveExactly(int n, Condition<? super T> condition) This method is an aliasObjectEnumerableAssert.areNotExactly(int, Condition).Verifies that the actual value satisfies the given condition.Verifies that each element value satisfies the given conditionObjectEnumerableAssert.haveAtLeast(int n, Condition<? super T> condition) This method is an alias forObjectEnumerableAssert.areAtLeast(int, Condition).ObjectEnumerableAssert.haveAtMost(int n, Condition<? super T> condition) This method is an aliasObjectEnumerableAssert.areAtMost(int, Condition).ObjectEnumerableAssert.haveExactly(int n, Condition<? super T> condition) This method is an aliasObjectEnumerableAssert.areExactly(int, Condition).Verifies that the actual value satisfies the given condition.Verifies that the actual value does not satisfy the given condition. -
Uses of Condition in org.fest.assertions.error
Methods in org.fest.assertions.error with parameters of type ConditionModifier and TypeMethodDescriptionstatic ErrorMessageFactoryElementsShouldBe.elementsShouldBe(Object actual, Object notSatisfies, Condition<?> condition) Creates a newElementsShouldBe.static ErrorMessageFactoryElementsShouldBeAtLeast.elementsShouldBeAtLeast(Object actual, int times, Condition<?> condition) Creates a newElementsShouldBeAtLeast.static ErrorMessageFactoryElementsShouldBeAtMost.elementsShouldBeAtMost(Object actual, int times, Condition<?> condition) Creates a newElementsShouldBeAtMost.static ErrorMessageFactoryElementsShouldBeExactly.elementsShouldBeExactly(Object actual, int times, Condition<?> condition) Creates a newElementsShouldBeExactly.static ErrorMessageFactoryElementsShouldHave.elementsShouldHave(Object actual, Object notSatisfies, Condition<?> condition) Creates a newElementsShouldHave.static ErrorMessageFactoryElementsShouldHaveAtLeast.elementsShouldHaveAtLeast(Object actual, int times, Condition<?> condition) Creates a newElementsShouldHaveAtLeast.static ErrorMessageFactoryElementsShouldHaveAtMost.elementsShouldHaveAtMost(Object actual, int times, Condition<?> condition) Creates a newElementsShouldHaveAtMost.static <E> ErrorMessageFactoryElementsShouldHaveExactly.elementsShouldHaveExactly(Object actual, int times, Condition<?> condition) Creates a newElementsShouldHaveExactly.static ErrorMessageFactoryElementsShouldNotBe.elementsShouldNotBe(Object actual, Object satisfies, Condition<?> condition) Creates a newElementsShouldNotBe.static ErrorMessageFactoryElementsShouldNotBeAtLeast.elementsShouldNotBeAtLeast(Object actual, int times, Condition<?> condition) Creates a newElementsShouldNotBeAtLeast.static <E> ErrorMessageFactoryElementsShouldNotBeAtMost.elementsShouldNotBeAtMost(Object actual, int times, Condition<?> condition) Creates a newElementsShouldNotBeAtMost.static <E> ErrorMessageFactoryElementsShouldNotBeExactly.elementsShouldNotBeExactly(Object actual, int times, Condition<?> condition) Creates a newElementsShouldNotBeExactly.static ErrorMessageFactoryElementsShouldNotHave.elementsShouldNotHave(Object actual, Object notSatisfies, Condition<?> condition) Creates a newElementsShouldNotHave.static ErrorMessageFactoryElementsShouldNotHaveAtLeast.elementsShouldNotHaveAtLeast(Object actual, int times, Condition<?> condition) Creates a newElementsShouldNotHaveAtLeast.static <E> ErrorMessageFactoryElementsShouldNotHaveAtMost.elementsShouldNotHaveAtMost(Object actual, int times, Condition<?> condition) Creates a newElementsShouldNotHaveAtMost.static <E> ErrorMessageFactoryElementsShouldNotHaveExactly.elementsShouldNotHaveExactly(Object actual, int times, Condition<?> condition) Creates a newElementsShouldNotHaveExactly.static <T> ErrorMessageFactoryCreates a newShouldBe.static <T> ErrorMessageFactoryShouldBeAtIndex.shouldBeAtIndex(List<T> actual, Condition<? super T> condition, Index index, T found) Creates a newShouldBeAtIndex.static ErrorMessageFactoryConditionAndGroupGenericParameterTypeShouldBeTheSame.shouldBeSameGenericBetweenIterableAndCondition(Object actual, Condition<?> condition) Creates a newConditionAndGroupGenericParameterTypeShouldBeTheSamestatic <T> ErrorMessageFactoryShouldHave.shouldHave(T actual, Condition<? super T> condition) Creates a newShouldHave.static <T> ErrorMessageFactoryShouldHaveAtIndex.shouldHaveAtIndex(List<T> actual, Condition<? super T> condition, Index index, T found) Creates a newShouldHaveAtIndex.static <T> ErrorMessageFactoryShouldNotBe.shouldNotBe(T actual, Condition<? super T> condition) Creates a newShouldNotBe.static <T> ErrorMessageFactoryShouldNotHave.shouldNotHave(T actual, Condition<? super T> condition) Creates a newShouldNotHave.Constructors in org.fest.assertions.error with parameters of type ConditionModifierConstructorDescriptionConditionAndGroupGenericParameterTypeShouldBeTheSame(Object actual, Condition<?> condition) -
Uses of Condition in org.fest.assertions.internal
Methods in org.fest.assertions.internal with parameters of type ConditionModifier and TypeMethodDescription<E> voidIterables.assertAre(AssertionInfo info, Iterable<? extends E> actual, Condition<? super E> condition) Assert that each element of givenIterablesatisfies the given condition.<E> voidObjectArrays.assertAre(AssertionInfo info, E[] actual, Condition<? super E> condition) Assert that each element of given array satisfies the given condition.<E> voidIterables.assertAreAtLeast(AssertionInfo info, Iterable<? extends E> actual, int n, Condition<? super E> condition) Assert that there is at least n elements in the actualIterablesatisfying the given condition.<E> voidObjectArrays.assertAreAtLeast(AssertionInfo info, E[] actual, int n, Condition<? super E> condition) Assert that there is at least n array elements satisfying the given condition.<E> voidIterables.assertAreAtMost(AssertionInfo info, Iterable<? extends E> actual, int n, Condition<? super E> condition) Assert that there is at most n elements in the actualIterablesatisfying the given condition.<E> voidObjectArrays.assertAreAtMost(AssertionInfo info, E[] actual, int n, Condition<? super E> condition) Assert that there is at most n array elements satisfying the given condition.<E> voidIterables.assertAreExactly(AssertionInfo info, Iterable<? extends E> actual, int n, Condition<? super E> condition) Verifies that there is exactly n elements in the actualIterablesatisfying the given condition.<E> voidObjectArrays.assertAreExactly(AssertionInfo info, E[] actual, int n, Condition<? super E> condition) Verifies that there is exactly n array elements satisfying the given condition.<E> voidIterables.assertAreNot(AssertionInfo info, Iterable<? extends E> actual, Condition<? super E> condition) Assert that each element of givenIterablenot satisfies the given condition.<E> voidObjectArrays.assertAreNot(AssertionInfo info, E[] actual, Condition<? super E> condition) Assert that each element of given array not satisfies the given condition.<E> voidIterables.assertAreNotAtLeast(AssertionInfo info, Iterable<? extends E> actual, int n, Condition<? super E> condition) Assert that there is at least n elements in the actualIterablenot satisfying the given condition.<E> voidObjectArrays.assertAreNotAtLeast(AssertionInfo info, E[] actual, int n, Condition<? super E> condition) Assert that there is at least n array elements not satisfying the given condition.<E> voidIterables.assertAreNotAtMost(AssertionInfo info, Iterable<? extends E> actual, int n, Condition<? super E> condition) Verifies that there is at most n elements in the actualIterablenot satisfying the given condition.<E> voidObjectArrays.assertAreNotAtMost(AssertionInfo info, E[] actual, int n, Condition<? super E> condition) Verifies that there is at most n array elements not satisfying the given condition.<E> voidIterables.assertAreNotExactly(AssertionInfo info, Iterable<? extends E> actual, int n, Condition<? super E> condition) Verifies that there is exactly n elements in the actualIterablenot satisfying the given condition.<E> voidObjectArrays.assertAreNotExactly(AssertionInfo info, E[] actual, int n, Condition<? super E> condition) Verifies that there is exactly n elements in the actualIterablenot satisfying the given condition.<T> voidConditions.assertDoesNotHave(AssertionInfo info, T actual, Condition<? super T> condition) Asserts that the actual value does not satisfy the given.Condition<E> voidIterables.assertDoNotHave(AssertionInfo info, Iterable<? extends E> actual, Condition<? super E> condition) Assert that each element of givenIterablenot satisfies the given condition.<E> voidObjectArrays.assertDoNotHave(AssertionInfo info, E[] actual, Condition<? super E> condition) Assert that each element of given array not satisfies the given condition.<E> voidIterables.assertDoNotHaveAtLeast(AssertionInfo info, Iterable<? extends E> actual, int times, Condition<? super E> condition) An alias method ofIterables.assertAreNotAtLeast(AssertionInfo, Iterable, int, Condition)to provide a richer fluent api (same logic, only error message differs).<E> voidObjectArrays.assertDoNotHaveAtLeast(AssertionInfo info, E[] actual, int times, Condition<? super E> condition) An alias method ofObjectArrays.assertAreNotAtLeast(AssertionInfo, Object[], int, Condition)to provide a richer fluent api (same logic, only error message differs).<E> voidIterables.assertDoNotHaveAtMost(AssertionInfo info, Iterable<? extends E> actual, int times, Condition<? super E> condition) An alias method ofIterables.assertAreNotAtMost(AssertionInfo, Iterable, int, Condition)to provide a richer fluent api (same logic, only error message differs).<E> voidObjectArrays.assertDoNotHaveAtMost(AssertionInfo info, E[] actual, int times, Condition<? super E> condition) An alias method ofObjectArrays.assertAreNotAtMost(AssertionInfo, Object[], int, Condition)to provide a richer fluent api (same logic, only error message differs).<E> voidIterables.assertDoNotHaveExactly(AssertionInfo info, Iterable<? extends E> actual, int times, Condition<? super E> condition) An alias method ofIterables.assertAreNotExactly(AssertionInfo, Iterable, int, Condition)to provide a richer fluent api (same logic, only error message differs).<E> voidObjectArrays.assertDoNotHaveExactly(AssertionInfo info, E[] actual, int times, Condition<? super E> condition) An alias method ofObjectArrays.assertAreNotExactly(AssertionInfo, Object[], int, Condition)to provide a richer fluent api (same logic, only error message differs).<T> voidConditions.assertHas(AssertionInfo info, T actual, Condition<? super T> condition) Asserts that the actual value satisfies the given.Condition<T> voidLists.assertHas(AssertionInfo info, List<T> actual, Condition<? super T> condition, Index index) Verifies that the givenListsatisfies the givenat the given index.Condition<E> voidIterables.assertHave(AssertionInfo info, Iterable<? extends E> actual, Condition<? super E> condition) Assert that each element of givenIterablesatisfies the given condition.<E> voidObjectArrays.assertHave(AssertionInfo info, E[] actual, Condition<? super E> condition) Assert that each element of given array satisfies the given condition.<E> voidIterables.assertHaveAtLeast(AssertionInfo info, Iterable<? extends E> actual, int times, Condition<? super E> condition) An alias method ofIterables.assertAreAtLeast(AssertionInfo, Iterable, int, Condition)to provide a richer fluent api (same logic, only error message differs).<E> voidObjectArrays.assertHaveAtLeast(AssertionInfo info, E[] actual, int times, Condition<? super E> condition) An alias method ofObjectArrays.assertAreAtLeast(AssertionInfo, Object[], int, Condition)to provide a richer fluent api (same logic, only error message differs).<E> voidIterables.assertHaveAtMost(AssertionInfo info, Iterable<? extends E> actual, int times, Condition<? super E> condition) An alias method ofIterables.assertAreAtMost(AssertionInfo, Iterable, int, Condition)to provide a richer fluent api (same logic, only error message differs).<E> voidObjectArrays.assertHaveAtMost(AssertionInfo info, E[] actual, int times, Condition<? super E> condition) An alias method ofObjectArrays.assertAreAtMost(AssertionInfo, Object[], int, Condition)to provide a richer fluent api (same logic, only error message differs).<E> voidIterables.assertHaveExactly(AssertionInfo info, Iterable<? extends E> actual, int times, Condition<? super E> condition) An alias method ofIterables.assertAreExactly(AssertionInfo, Iterable, int, Condition)to provide a richer fluent api (same logic, only error message differs).<E> voidObjectArrays.assertHaveExactly(AssertionInfo info, E[] actual, int times, Condition<? super E> condition) An alias method ofObjectArrays.assertAreExactly(AssertionInfo, Object[], int, Condition)to provide a richer fluent api (same logic, only error message differs).<T> voidConditions.assertIs(AssertionInfo info, T actual, Condition<? super T> condition) Asserts that the actual value satisfies the given.Condition<T> voidLists.assertIs(AssertionInfo info, List<T> actual, Condition<? super T> condition, Index index) Verifies that the givenListsatisfies the givenat the given index.Condition<T> voidConditions.assertIsNot(AssertionInfo info, T actual, Condition<? super T> condition) Asserts that the actual value does not satisfy the given.ConditionvoidConditions.assertIsNotNull(Condition<?> condition) Asserts the the givenis not null.Condition