A B C D E F G H I J K L M N O P R S T U V W Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractAssert<S extends AbstractAssert<S,A>,A> - Class in org.fest.assertions.api
-
Base class for all assertions.
- AbstractAssert(A, Class<?>) - Constructor for class org.fest.assertions.api.AbstractAssert
- AbstractComparableAssert<S extends AbstractComparableAssert<S,A>,A extends java.lang.Comparable<? super A>> - Class in org.fest.assertions.api
-
Base class for all implementations of
.ComparableAssert
- AbstractComparableAssert(A, Class<?>) - Constructor for class org.fest.assertions.api.AbstractComparableAssert
- AbstractComparisonStrategy - Class in org.fest.assertions.internal
-
Base implementation of
ComparisonStrategy
contract. - AbstractComparisonStrategy() - Constructor for class org.fest.assertions.internal.AbstractComparisonStrategy
- AbstractIterableAssert<S extends AbstractIterableAssert<S,A,T>,A extends java.lang.Iterable<T>,T> - Class in org.fest.assertions.api
-
Base class for implementations of
whose actual value type isObjectEnumerableAssert
.Collection
- AbstractIterableAssert(A, Class<?>) - Constructor for class org.fest.assertions.api.AbstractIterableAssert
- AbstractShouldHaveTextContent - Class in org.fest.assertions.error
-
Base class for text content error.
- AbstractShouldHaveTextContent(String, Object...) - Constructor for class org.fest.assertions.error.AbstractShouldHaveTextContent
- AbstractUnevenComparableAssert<S extends AbstractUnevenComparableAssert<S,A>,A extends java.lang.Comparable<? super A>> - Class in org.fest.assertions.api
-
Base class for all implementations of
.UnevenComparableAssert
- AbstractUnevenComparableAssert(A, Class<?>) - Constructor for class org.fest.assertions.api.AbstractUnevenComparableAssert
- actual - Variable in class org.fest.assertions.api.AbstractAssert
- actual - Variable in class org.fest.assertions.error.ShouldBeEqual
- actual - Variable in class org.fest.assertions.internal.BinaryDiffResult
- allOf(Iterable<? extends Condition<? super T>>) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new
AllOf
- allOf(Iterable<? extends Condition<? super T>>) - Static method in class org.fest.assertions.condition.AllOf
-
Creates a new
AllOf
- allOf(Condition<? super T>...) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new
AllOf
- allOf(Condition<? super T>...) - Static method in class org.fest.assertions.condition.AllOf
-
Creates a new
AllOf
- AllOf<T> - Class in org.fest.assertions.condition
-
Returns
true
if all of the joined conditions is satisfied. - and(String) - Method in class org.fest.assertions.api.filter.Filters
-
Alias of
Filters.with(String)
for synthetic sugar to write things like :. - anyOf(Iterable<? extends Condition<? super T>>) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new
AnyOf
- anyOf(Iterable<? extends Condition<? super T>>) - Static method in class org.fest.assertions.condition.AnyOf
-
Creates a new
AnyOf
- anyOf(Condition<? super T>...) - Static method in class org.fest.assertions.api.Assertions
-
Only delegate to
AnyOf.anyOf(Condition...)
so that Assertions offers a full feature entry point to all Fest Assert features (but you can useAnyOf
if you prefer). - anyOf(Condition<? super T>...) - Static method in class org.fest.assertions.condition.AnyOf
-
Creates a new
AnyOf
- AnyOf<T> - Class in org.fest.assertions.condition
-
Returns
true
if any of the joined conditions is satisfied. - are(Condition<? super T>) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that each element value satisfies the given condition
- are(Condition<? super T>) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that each element value satisfies the given condition
- are(Condition<? super T>) - Method in interface org.fest.assertions.core.ObjectEnumerableAssert
-
Verifies that each element value satisfies the given condition
- areAtLeast(int, Condition<? super T>) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that there is at least n elements in the actual group satisfying the given condition.
- areAtLeast(int, Condition<? super T>) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that there is at least n elements in the actual group satisfying the given condition.
- areAtLeast(int, Condition<? super T>) - Method in interface org.fest.assertions.core.ObjectEnumerableAssert
-
Verifies that there is at least n elements in the actual group satisfying the given condition.
- areAtMost(int, Condition<? super T>) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that there is at most n elements in the actual group satisfying the given condition.
- areAtMost(int, Condition<? super T>) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that there is at most n elements in the actual group satisfying the given condition.
- areAtMost(int, Condition<? super T>) - Method in interface org.fest.assertions.core.ObjectEnumerableAssert
-
Verifies that there is at most n elements in the actual group satisfying the given condition.
- areEqual(Object, Object) - Method in class org.fest.assertions.internal.ComparatorBasedComparisonStrategy
-
Returns true if actual and other are equal according to
ComparatorBasedComparisonStrategy.comparator
, false otherwise.
Handles the cases where one of the parameter is null so that internalComparatorBasedComparisonStrategy.comparator
does not have too. - areEqual(Object, Object) - Method in interface org.fest.assertions.internal.ComparisonStrategy
-
Returns true if actual and other are equal according to the implemented comparison strategy.
- areEqual(Object, Object) - Method in class org.fest.assertions.internal.StandardComparisonStrategy
-
Returns true if actual and other are equal based on
Object.equals(Object)
, false otherwise. - areEqual(T, T) - Method in class org.fest.assertions.internal.Comparables
- areExactly(int, Condition<? super T>) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that there is exactly n elements in the actual group satisfying the given condition.
- areExactly(int, Condition<? super T>) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that there is exactly n elements in the actual group satisfying the given condition.
- areExactly(int, Condition<? super T>) - Method in interface org.fest.assertions.core.ObjectEnumerableAssert
-
Verifies that there is exactly n elements in the actual group satisfying the given condition.
- areNot(Condition<? super T>) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that each element value not satisfies the given condition
- areNot(Condition<? super T>) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that each element value not satisfies the given condition
- areNot(Condition<? super T>) - Method in interface org.fest.assertions.core.ObjectEnumerableAssert
-
Verifies that each element value not satisfies the given condition
- areNotAtLeast(int, Condition<? super T>) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that there is at least n elements in the actual group not satisfying the given condition.
- areNotAtLeast(int, Condition<? super T>) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that there is at least n elements in the actual group not satisfying the given condition.
- areNotAtLeast(int, Condition<? super T>) - Method in interface org.fest.assertions.core.ObjectEnumerableAssert
-
Verifies that there is at least n elements in the actual group not satisfying the given condition.
- areNotAtMost(int, Condition<? super T>) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that there is at most n elements in the actual group not satisfying the given condition.
- areNotAtMost(int, Condition<? super T>) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that there is at most n elements in the actual group not satisfying the given condition.
- areNotAtMost(int, Condition<? super T>) - Method in interface org.fest.assertions.core.ObjectEnumerableAssert
-
Verifies that there is at most n elements in the actual group not satisfying the given condition.
- areNotExactly(int, Condition<? super T>) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that there is exactly n elements in the actual group not satisfying the given condition.
- areNotExactly(int, Condition<? super T>) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that there is exactly n elements in the actual group not satisfying the given condition.
- areNotExactly(int, Condition<? super T>) - Method in interface org.fest.assertions.core.ObjectEnumerableAssert
-
Verifies that there is exactly n elements in the actual group not satisfying the given condition.
- arguments - Variable in class org.fest.assertions.error.BasicErrorMessageFactory
- arrayContains(Object, Object) - Method in class org.fest.assertions.internal.AbstractComparisonStrategy
- arrayContains(Object, Object) - Method in interface org.fest.assertions.internal.ComparisonStrategy
-
Returns true if given array contains given value according to the implemented comparison strategy, false otherwise.
- ArraySortedAssert<S,E> - Interface in org.fest.assertions.core
-
Assertions applicable to primitive arrays or arrays of elements either naturally
Comparable
or according to a givenComparator
. - ArrayWrapperList - Class in org.fest.assertions.util
-
A list-like wrapper for arrays.
- as(String) - Method in class org.fest.assertions.api.AbstractAssert
-
Sets the description of this object.
- as(String) - Method in class org.fest.assertions.core.Condition
-
Sets the description of this object.
- as(String) - Method in interface org.fest.assertions.core.Descriptable
-
Sets the description of this object.
- as(Description) - Method in class org.fest.assertions.api.AbstractAssert
-
Sets the description of this object.
- as(Description) - Method in class org.fest.assertions.core.Condition
-
Sets the description of this object.
- as(Description) - Method in interface org.fest.assertions.core.Descriptable
-
Sets the description of this object.
- Assert<S,A> - Interface in org.fest.assertions.core
-
Base contract of all assertion objects: the minimum functionality that any assertion object should provide.
- assertAre(AssertionInfo, E[], Condition<? super E>) - Method in class org.fest.assertions.internal.ObjectArrays
-
Assert that each element of given array satisfies the given condition.
- assertAre(AssertionInfo, Iterable<? extends E>, Condition<? super E>) - Method in class org.fest.assertions.internal.Iterables
-
Assert that each element of given
Iterable
satisfies the given condition. - assertAreAtLeast(AssertionInfo, E[], int, Condition<? super E>) - Method in class org.fest.assertions.internal.ObjectArrays
-
Assert that there is at least n array elements satisfying the given condition.
- assertAreAtLeast(AssertionInfo, Iterable<? extends E>, int, Condition<? super E>) - Method in class org.fest.assertions.internal.Iterables
-
Assert that there is at least n elements in the actual
Iterable
satisfying the given condition. - assertAreAtMost(AssertionInfo, E[], int, Condition<? super E>) - Method in class org.fest.assertions.internal.ObjectArrays
-
Assert that there is at most n array elements satisfying the given condition.
- assertAreAtMost(AssertionInfo, Iterable<? extends E>, int, Condition<? super E>) - Method in class org.fest.assertions.internal.Iterables
-
Assert that there is at most n elements in the actual
Iterable
satisfying the given condition. - assertAreExactly(AssertionInfo, E[], int, Condition<? super E>) - Method in class org.fest.assertions.internal.ObjectArrays
-
Verifies that there is exactly n array elements satisfying the given condition.
- assertAreExactly(AssertionInfo, Iterable<? extends E>, int, Condition<? super E>) - Method in class org.fest.assertions.internal.Iterables
-
Verifies that there is exactly n elements in the actual
Iterable
satisfying the given condition. - assertAreNot(AssertionInfo, E[], Condition<? super E>) - Method in class org.fest.assertions.internal.ObjectArrays
-
Assert that each element of given array not satisfies the given condition.
- assertAreNot(AssertionInfo, Iterable<? extends E>, Condition<? super E>) - Method in class org.fest.assertions.internal.Iterables
-
Assert that each element of given
Iterable
not satisfies the given condition. - assertAreNotAtLeast(AssertionInfo, E[], int, Condition<? super E>) - Method in class org.fest.assertions.internal.ObjectArrays
-
Assert that there is at least n array elements not satisfying the given condition.
- assertAreNotAtLeast(AssertionInfo, Iterable<? extends E>, int, Condition<? super E>) - Method in class org.fest.assertions.internal.Iterables
-
Assert that there is at least n elements in the actual
Iterable
not satisfying the given condition. - assertAreNotAtMost(AssertionInfo, E[], int, Condition<? super E>) - Method in class org.fest.assertions.internal.ObjectArrays
-
Verifies that there is at most n array elements not satisfying the given condition.
- assertAreNotAtMost(AssertionInfo, Iterable<? extends E>, int, Condition<? super E>) - Method in class org.fest.assertions.internal.Iterables
-
Verifies that there is at most n elements in the actual
Iterable
not satisfying the given condition. - assertAreNotExactly(AssertionInfo, E[], int, Condition<? super E>) - Method in class org.fest.assertions.internal.ObjectArrays
-
Verifies that there is exactly n elements in the actual
Iterable
not satisfying the given condition. - assertAreNotExactly(AssertionInfo, Iterable<? extends E>, int, Condition<? super E>) - Method in class org.fest.assertions.internal.Iterables
-
Verifies that there is exactly n elements in the actual
Iterable
not satisfying the given condition. - assertCanRead(AssertionInfo, File) - Method in class org.fest.assertions.internal.Files
-
Asserts that the given file can be read by the application.
- assertCanWrite(AssertionInfo, File) - Method in class org.fest.assertions.internal.Files
-
Asserts that the given file can be modified by the application.
- assertContains(AssertionInfo, boolean[], boolean[]) - Method in class org.fest.assertions.internal.BooleanArrays
-
Asserts that the given array contains the given values, in any order.
- assertContains(AssertionInfo, boolean[], boolean, Index) - Method in class org.fest.assertions.internal.BooleanArrays
-
Verifies that the given array contains the given value at the given index.
- assertContains(AssertionInfo, byte[], byte[]) - Method in class org.fest.assertions.internal.ByteArrays
-
Asserts that the given array contains the given values, in any order.
- assertContains(AssertionInfo, byte[], byte, Index) - Method in class org.fest.assertions.internal.ByteArrays
-
Verifies that the given array contains the given value at the given index.
- assertContains(AssertionInfo, char[], char[]) - Method in class org.fest.assertions.internal.CharArrays
-
Asserts that the given array contains the given values, in any order.
- assertContains(AssertionInfo, char[], char, Index) - Method in class org.fest.assertions.internal.CharArrays
-
Verifies that the given array contains the given value at the given index.
- assertContains(AssertionInfo, double[], double[]) - Method in class org.fest.assertions.internal.DoubleArrays
-
Asserts that the given array contains the given values, in any order.
- assertContains(AssertionInfo, double[], double, Index) - Method in class org.fest.assertions.internal.DoubleArrays
-
Verifies that the given array contains the given value at the given index.
- assertContains(AssertionInfo, float[], float[]) - Method in class org.fest.assertions.internal.FloatArrays
-
Asserts that the given array contains the given values, in any order.
- assertContains(AssertionInfo, float[], float, Index) - Method in class org.fest.assertions.internal.FloatArrays
-
Verifies that the given array contains the given value at the given index.
- assertContains(AssertionInfo, int[], int[]) - Method in class org.fest.assertions.internal.IntArrays
-
Asserts that the given array contains the given values, in any order.
- assertContains(AssertionInfo, int[], int, Index) - Method in class org.fest.assertions.internal.IntArrays
-
Verifies that the given array contains the given value at the given index.
- assertContains(AssertionInfo, long[], long[]) - Method in class org.fest.assertions.internal.LongArrays
-
Asserts that the given array contains the given values, in any order.
- assertContains(AssertionInfo, long[], long, Index) - Method in class org.fest.assertions.internal.LongArrays
-
Verifies that the given array contains the given value at the given index.
- assertContains(AssertionInfo, short[], short[]) - Method in class org.fest.assertions.internal.ShortArrays
-
Asserts that the given array contains the given values, in any order.
- assertContains(AssertionInfo, short[], short, Index) - Method in class org.fest.assertions.internal.ShortArrays
-
Verifies that the given array contains the given value at the given index.
- assertContains(AssertionInfo, Iterable<?>, Object[]) - Method in class org.fest.assertions.internal.Iterables
-
Asserts that the given
Iterable
contains the given values, in any order. - assertContains(AssertionInfo, Object[], Object[]) - Method in class org.fest.assertions.internal.ObjectArrays
-
Asserts that the given array contains the given values, in any order.
- assertContains(AssertionInfo, Object[], Object, Index) - Method in class org.fest.assertions.internal.ObjectArrays
-
Verifies that the given array contains the given object at the given index.
- assertContains(AssertionInfo, String, String) - Method in class org.fest.assertions.internal.Strings
-
Verifies that the given
String
contains the given sequence. - assertContains(AssertionInfo, List<?>, Object, Index) - Method in class org.fest.assertions.internal.Lists
-
Verifies that the given
List
contains the given object at the given index. - assertContains(AssertionInfo, Map<?, ?>, MapEntry[]) - Method in class org.fest.assertions.internal.Maps
-
Asserts that the given
Map
contains the given entries, in any order. - assertContainsAll(AssertionInfo, E[], Iterable<? extends E>) - Method in class org.fest.assertions.internal.ObjectArrays
-
Asserts that the given array contains all the elements of the given
Iterable
, in any order. - assertContainsAll(AssertionInfo, Iterable<?>, Iterable<?>) - Method in class org.fest.assertions.internal.Iterables
-
Asserts that the given
Iterable
contains all the elements of the otherIterable
, in any order. - assertContainsExactly(AssertionInfo, Iterable<?>, Object[]) - Method in class org.fest.assertions.internal.Iterables
-
Asserts that the given
Iterable
contains exactly the given values and nothing else, in order. - assertContainsIgnoringCase(AssertionInfo, String, String) - Method in class org.fest.assertions.internal.Strings
-
Verifies that the given
String
contains the given sequence, ignoring case considerations. - assertContainsKey(AssertionInfo, Map<K, V>, K) - Method in class org.fest.assertions.internal.Maps
-
Verifies that the actual map contain the given key.
- assertContainsNull(AssertionInfo, Iterable<?>) - Method in class org.fest.assertions.internal.Iterables
-
Asserts that the given
Iterable
contains at least a null element. - assertContainsNull(AssertionInfo, Object[]) - Method in class org.fest.assertions.internal.ObjectArrays
-
Asserts that the given array contains at least a null element.
- assertContainsOnly(AssertionInfo, boolean[], boolean[]) - Method in class org.fest.assertions.internal.BooleanArrays
-
Asserts that the given array contains only the given values and nothing else, in any order.
- assertContainsOnly(AssertionInfo, byte[], byte[]) - Method in class org.fest.assertions.internal.ByteArrays
-
Asserts that the given array contains only the given values and nothing else, in any order.
- assertContainsOnly(AssertionInfo, char[], char[]) - Method in class org.fest.assertions.internal.CharArrays
-
Asserts that the given array contains only the given values and nothing else, in any order.
- assertContainsOnly(AssertionInfo, double[], double[]) - Method in class org.fest.assertions.internal.DoubleArrays
-
Asserts that the given array contains only the given values and nothing else, in any order.
- assertContainsOnly(AssertionInfo, float[], float[]) - Method in class org.fest.assertions.internal.FloatArrays
-
Asserts that the given array contains only the given values and nothing else, in any order.
- assertContainsOnly(AssertionInfo, int[], int[]) - Method in class org.fest.assertions.internal.IntArrays
-
Asserts that the given array contains only the given values and nothing else, in any order.
- assertContainsOnly(AssertionInfo, long[], long[]) - Method in class org.fest.assertions.internal.LongArrays
-
Asserts that the given array contains only the given values and nothing else, in any order.
- assertContainsOnly(AssertionInfo, short[], short[]) - Method in class org.fest.assertions.internal.ShortArrays
-
Asserts that the given array contains only the given values and nothing else, in any order.
- assertContainsOnly(AssertionInfo, Iterable<?>, Object[]) - Method in class org.fest.assertions.internal.Iterables
-
Asserts that the given
Iterable
contains only the given values and nothing else, in any order. - assertContainsOnly(AssertionInfo, Object[], Object[]) - Method in class org.fest.assertions.internal.ObjectArrays
-
Asserts that the given array contains only the given values and nothing else, in any order.
- assertContainsOnlyOnce(AssertionInfo, String, String) - Method in class org.fest.assertions.internal.Strings
-
Verifies that actual
String
s contains only once the given sequence. - assertContainsSequence(AssertionInfo, boolean[], boolean[]) - Method in class org.fest.assertions.internal.BooleanArrays
-
Verifies that the given array contains the given sequence of values, without any other values between them.
- assertContainsSequence(AssertionInfo, byte[], byte[]) - Method in class org.fest.assertions.internal.ByteArrays
-
Verifies that the given array contains the given sequence of values, without any other values between them.
- assertContainsSequence(AssertionInfo, char[], char[]) - Method in class org.fest.assertions.internal.CharArrays
-
Verifies that the given array contains the given sequence of values, without any other values between them.
- assertContainsSequence(AssertionInfo, double[], double[]) - Method in class org.fest.assertions.internal.DoubleArrays
-
Verifies that the given array contains the given sequence of values, without any other values between them.
- assertContainsSequence(AssertionInfo, float[], float[]) - Method in class org.fest.assertions.internal.FloatArrays
-
Verifies that the given array contains the given sequence of values, without any other values between them.
- assertContainsSequence(AssertionInfo, int[], int[]) - Method in class org.fest.assertions.internal.IntArrays
-
Verifies that the given array contains the given sequence of values, without any other values between them.
- assertContainsSequence(AssertionInfo, long[], long[]) - Method in class org.fest.assertions.internal.LongArrays
-
Verifies that the given array contains the given sequence of values, without any other values between them.
- assertContainsSequence(AssertionInfo, short[], short[]) - Method in class org.fest.assertions.internal.ShortArrays
-
Verifies that the given array contains the given sequence of values, without any other values between them.
- assertContainsSequence(AssertionInfo, Iterable<?>, Object[]) - Method in class org.fest.assertions.internal.Iterables
-
Verifies that the given
contains the given sequence of objects, without any other objects between them.Iterable
- assertContainsSequence(AssertionInfo, Object[], Object[]) - Method in class org.fest.assertions.internal.ObjectArrays
-
Verifies that the given array contains the given sequence of objects, without any other objects between them.
- assertContainsValue(AssertionInfo, Map<K, V>, V) - Method in class org.fest.assertions.internal.Maps
-
Verifies that the actual map contain the given value.
- assertDoesNotContain(AssertionInfo, boolean[], boolean[]) - Method in class org.fest.assertions.internal.BooleanArrays
-
Asserts that the given array does not contain the given values.
- assertDoesNotContain(AssertionInfo, boolean[], boolean, Index) - Method in class org.fest.assertions.internal.BooleanArrays
-
Verifies that the given array does not contain the given value at the given index.
- assertDoesNotContain(AssertionInfo, byte[], byte[]) - Method in class org.fest.assertions.internal.ByteArrays
-
Asserts that the given array does not contain the given values.
- assertDoesNotContain(AssertionInfo, byte[], byte, Index) - Method in class org.fest.assertions.internal.ByteArrays
-
Verifies that the given array does not contain the given value at the given index.
- assertDoesNotContain(AssertionInfo, char[], char[]) - Method in class org.fest.assertions.internal.CharArrays
-
Asserts that the given array does not contain the given values.
- assertDoesNotContain(AssertionInfo, char[], char, Index) - Method in class org.fest.assertions.internal.CharArrays
-
Verifies that the given array does not contain the given value at the given index.
- assertDoesNotContain(AssertionInfo, double[], double[]) - Method in class org.fest.assertions.internal.DoubleArrays
-
Asserts that the given array does not contain the given values.
- assertDoesNotContain(AssertionInfo, double[], double, Index) - Method in class org.fest.assertions.internal.DoubleArrays
-
Verifies that the given array does not contain the given value at the given index.
- assertDoesNotContain(AssertionInfo, float[], float[]) - Method in class org.fest.assertions.internal.FloatArrays
-
Asserts that the given array does not contain the given values.
- assertDoesNotContain(AssertionInfo, float[], float, Index) - Method in class org.fest.assertions.internal.FloatArrays
-
Verifies that the given array does not contain the given value at the given index.
- assertDoesNotContain(AssertionInfo, int[], int[]) - Method in class org.fest.assertions.internal.IntArrays
-
Asserts that the given array does not contain the given values.
- assertDoesNotContain(AssertionInfo, int[], int, Index) - Method in class org.fest.assertions.internal.IntArrays
-
Verifies that the given array does not contain the given value at the given index.
- assertDoesNotContain(AssertionInfo, long[], long[]) - Method in class org.fest.assertions.internal.LongArrays
-
Asserts that the given array does not contain the given values.
- assertDoesNotContain(AssertionInfo, long[], long, Index) - Method in class org.fest.assertions.internal.LongArrays
-
Verifies that the given array does not contain the given value at the given index.
- assertDoesNotContain(AssertionInfo, short[], short[]) - Method in class org.fest.assertions.internal.ShortArrays
-
Asserts that the given array does not contain the given values.
- assertDoesNotContain(AssertionInfo, short[], short, Index) - Method in class org.fest.assertions.internal.ShortArrays
-
Verifies that the given array does not contain the given value at the given index.
- assertDoesNotContain(AssertionInfo, Iterable<?>, Object[]) - Method in class org.fest.assertions.internal.Iterables
-
Asserts that the given
Iterable
does not contain the given values. - assertDoesNotContain(AssertionInfo, Object[], Object[]) - Method in class org.fest.assertions.internal.ObjectArrays
-
Asserts that the given array does not contain the given values.
- assertDoesNotContain(AssertionInfo, Object[], Object, Index) - Method in class org.fest.assertions.internal.ObjectArrays
-
Verifies that the given array does not contain the given object at the given index.
- assertDoesNotContain(AssertionInfo, String, String) - Method in class org.fest.assertions.internal.Strings
-
Verifies that the given
String
does not contain the given sequence. - assertDoesNotContain(AssertionInfo, List<?>, Object, Index) - Method in class org.fest.assertions.internal.Lists
-
Verifies that the given
List
does not contain the given object at the given index. - assertDoesNotContain(AssertionInfo, Map<?, ?>, MapEntry[]) - Method in class org.fest.assertions.internal.Maps
-
Asserts that the given
Map
does not contain the given entries. - assertDoesNotContainKey(AssertionInfo, Map<K, V>, K) - Method in class org.fest.assertions.internal.Maps
-
Verifies that the actual map not contains the given key.
- assertDoesNotContainNull(AssertionInfo, Iterable<?>) - Method in class org.fest.assertions.internal.Iterables
-
Asserts that the given
Iterable
does not contain null elements. - assertDoesNotContainNull(AssertionInfo, Object[]) - Method in class org.fest.assertions.internal.ObjectArrays
-
Asserts that the given array does not contain null elements.
- assertDoesNotContainValue(AssertionInfo, Map<K, V>, V) - Method in class org.fest.assertions.internal.Maps
-
Verifies that the actual map not contains the given value.
- assertDoesNotExist(AssertionInfo, File) - Method in class org.fest.assertions.internal.Files
-
Asserts that the given file does not exist.
- assertDoesNotHave(AssertionInfo, T, Condition<? super T>) - Method in class org.fest.assertions.internal.Conditions
-
Asserts that the actual value does not satisfy the given
.Condition
- assertDoesNotHaveDuplicates(AssertionInfo, boolean[]) - Method in class org.fest.assertions.internal.BooleanArrays
-
Asserts that the given array does not have duplicate values.
- assertDoesNotHaveDuplicates(AssertionInfo, byte[]) - Method in class org.fest.assertions.internal.ByteArrays
-
Asserts that the given array does not have duplicate values.
- assertDoesNotHaveDuplicates(AssertionInfo, char[]) - Method in class org.fest.assertions.internal.CharArrays
-
Asserts that the given array does not have duplicate values.
- assertDoesNotHaveDuplicates(AssertionInfo, double[]) - Method in class org.fest.assertions.internal.DoubleArrays
-
Asserts that the given array does not have duplicate values.
- assertDoesNotHaveDuplicates(AssertionInfo, float[]) - Method in class org.fest.assertions.internal.FloatArrays
-
Asserts that the given array does not have duplicate values.
- assertDoesNotHaveDuplicates(AssertionInfo, int[]) - Method in class org.fest.assertions.internal.IntArrays
-
Asserts that the given array does not have duplicate values.
- assertDoesNotHaveDuplicates(AssertionInfo, long[]) - Method in class org.fest.assertions.internal.LongArrays
-
Asserts that the given array does not have duplicate values.
- assertDoesNotHaveDuplicates(AssertionInfo, short[]) - Method in class org.fest.assertions.internal.ShortArrays
-
Asserts that the given array does not have duplicate values.
- assertDoesNotHaveDuplicates(AssertionInfo, Iterable<?>) - Method in class org.fest.assertions.internal.Iterables
-
Asserts that the given
Iterable
does not have duplicate values. - assertDoesNotHaveDuplicates(AssertionInfo, Object[]) - Method in class org.fest.assertions.internal.ObjectArrays
-
Asserts that the given array does not have duplicate values.
- assertDoesNotHaveSameClassAs(AssertionInfo, Object, Object) - Method in class org.fest.assertions.internal.Objects
-
Verifies that the actual value does not have the same class as the given object.
- assertDoesNotMatch(AssertionInfo, String, String) - Method in class org.fest.assertions.internal.Strings
-
Verifies that the given
String
does not match the given regular expression. - assertDoesNotMatch(AssertionInfo, String, Pattern) - Method in class org.fest.assertions.internal.Strings
-
Verifies that the given
String
does not match the given regular expression. - assertDoNotHave(AssertionInfo, E[], Condition<? super E>) - Method in class org.fest.assertions.internal.ObjectArrays
-
Assert that each element of given array not satisfies the given condition.
- assertDoNotHave(AssertionInfo, Iterable<? extends E>, Condition<? super E>) - Method in class org.fest.assertions.internal.Iterables
-
Assert that each element of given
Iterable
not satisfies the given condition. - assertDoNotHaveAtLeast(AssertionInfo, E[], int, Condition<? super E>) - Method in class org.fest.assertions.internal.ObjectArrays
-
An alias method of
ObjectArrays.assertAreNotAtLeast(AssertionInfo, Object[], int, Condition)
to provide a richer fluent api (same logic, only error message differs). - assertDoNotHaveAtLeast(AssertionInfo, Iterable<? extends E>, int, Condition<? super E>) - Method in class org.fest.assertions.internal.Iterables
-
An alias method of
Iterables.assertAreNotAtLeast(AssertionInfo, Iterable, int, Condition)
to provide a richer fluent api (same logic, only error message differs). - assertDoNotHaveAtMost(AssertionInfo, E[], int, Condition<? super E>) - Method in class org.fest.assertions.internal.ObjectArrays
-
An alias method of
ObjectArrays.assertAreNotAtMost(AssertionInfo, Object[], int, Condition)
to provide a richer fluent api (same logic, only error message differs). - assertDoNotHaveAtMost(AssertionInfo, Iterable<? extends E>, int, Condition<? super E>) - Method in class org.fest.assertions.internal.Iterables
-
An alias method of
Iterables.assertAreNotAtMost(AssertionInfo, Iterable, int, Condition)
to provide a richer fluent api (same logic, only error message differs). - assertDoNotHaveExactly(AssertionInfo, E[], int, Condition<? super E>) - Method in class org.fest.assertions.internal.ObjectArrays
-
An alias method of
ObjectArrays.assertAreNotExactly(AssertionInfo, Object[], int, Condition)
to provide a richer fluent api (same logic, only error message differs). - assertDoNotHaveExactly(AssertionInfo, Iterable<? extends E>, int, Condition<? super E>) - Method in class org.fest.assertions.internal.Iterables
-
An alias method of
Iterables.assertAreNotExactly(AssertionInfo, Iterable, int, Condition)
to provide a richer fluent api (same logic, only error message differs). - assertEmpty(AssertionInfo, boolean[]) - Method in class org.fest.assertions.internal.BooleanArrays
-
Asserts that the given array is empty.
- assertEmpty(AssertionInfo, byte[]) - Method in class org.fest.assertions.internal.ByteArrays
-
Asserts that the given array is empty.
- assertEmpty(AssertionInfo, char[]) - Method in class org.fest.assertions.internal.CharArrays
-
Asserts that the given array is empty.
- assertEmpty(AssertionInfo, double[]) - Method in class org.fest.assertions.internal.DoubleArrays
-
Asserts that the given array is empty.
- assertEmpty(AssertionInfo, float[]) - Method in class org.fest.assertions.internal.FloatArrays
-
Asserts that the given array is empty.
- assertEmpty(AssertionInfo, int[]) - Method in class org.fest.assertions.internal.IntArrays
-
Asserts that the given array is empty.
- assertEmpty(AssertionInfo, long[]) - Method in class org.fest.assertions.internal.LongArrays
-
Asserts that the given array is empty.
- assertEmpty(AssertionInfo, short[]) - Method in class org.fest.assertions.internal.ShortArrays
-
Asserts that the given array is empty.
- assertEmpty(AssertionInfo, Iterable<?>) - Method in class org.fest.assertions.internal.Iterables
-
Asserts that the given
Iterable
is empty. - assertEmpty(AssertionInfo, Object[]) - Method in class org.fest.assertions.internal.ObjectArrays
-
Asserts that the given array is empty.
- assertEmpty(AssertionInfo, String) - Method in class org.fest.assertions.internal.Strings
-
Asserts that the given
String
is empty. - assertEmpty(AssertionInfo, Map<?, ?>) - Method in class org.fest.assertions.internal.Maps
-
Asserts that the given
Map
is empty. - assertEndsWith(AssertionInfo, boolean[], boolean[]) - Method in class org.fest.assertions.internal.BooleanArrays
-
Verifies that the given array ends with the given sequence of values, without any other values between them.
- assertEndsWith(AssertionInfo, byte[], byte[]) - Method in class org.fest.assertions.internal.ByteArrays
-
Verifies that the given array ends with the given sequence of values, without any other values between them.
- assertEndsWith(AssertionInfo, char[], char[]) - Method in class org.fest.assertions.internal.CharArrays
-
Verifies that the given array ends with the given sequence of values, without any other values between them.
- assertEndsWith(AssertionInfo, double[], double[]) - Method in class org.fest.assertions.internal.DoubleArrays
-
Verifies that the given array ends with the given sequence of values, without any other values between them.
- assertEndsWith(AssertionInfo, float[], float[]) - Method in class org.fest.assertions.internal.FloatArrays
-
Verifies that the given array ends with the given sequence of values, without any other values between them.
- assertEndsWith(AssertionInfo, int[], int[]) - Method in class org.fest.assertions.internal.IntArrays
-
Verifies that the given array ends with the given sequence of values, without any other values between them.
- assertEndsWith(AssertionInfo, long[], long[]) - Method in class org.fest.assertions.internal.LongArrays
-
Verifies that the given array ends with the given sequence of values, without any other values between them.
- assertEndsWith(AssertionInfo, short[], short[]) - Method in class org.fest.assertions.internal.ShortArrays
-
Verifies that the given array ends with the given sequence of values, without any other values between them.
- assertEndsWith(AssertionInfo, Iterable<?>, Object[]) - Method in class org.fest.assertions.internal.Iterables
-
Verifies that the given
Iterable
ends with the given sequence of objects, without any other objects between them. - assertEndsWith(AssertionInfo, Object[], Object[]) - Method in class org.fest.assertions.internal.ObjectArrays
-
Verifies that the given array ends with the given sequence of objects, without any other objects between them.
- assertEndsWith(AssertionInfo, String, String) - Method in class org.fest.assertions.internal.Strings
-
Verifies that the given
String
ends with the given suffix. - assertEqual(AssertionInfo, Boolean, boolean) - Method in class org.fest.assertions.internal.Booleans
-
Asserts that two booleans are equal.
- assertEqual(AssertionInfo, Double, Double, Offset<Double>) - Method in class org.fest.assertions.internal.Doubles
-
Verifies that two floats are equal within a positive offset.
It does not rely on the custom comparisonStrategy (if one is set) because using an offset is already a specific comparison strategy. - assertEqual(AssertionInfo, Float, Float, Offset<Float>) - Method in class org.fest.assertions.internal.Floats
-
Verifies that two floats are equal within a positive offset.
It does not rely on the custom comparisonStrategy (if one is set) because using an offset is already a specific comparison strategy. - assertEqual(AssertionInfo, Object, Object) - Method in class org.fest.assertions.internal.Objects
-
Asserts that two objects are equal.
- assertEqual(AssertionInfo, T, T) - Method in class org.fest.assertions.internal.Comparables
-
Asserts that two T instances are equal.
- assertEqualByComparison(AssertionInfo, T, T) - Method in class org.fest.assertions.internal.Comparables
-
Asserts that two
s are equal by invokingComparable
.Comparable.compareTo(Object)
Note that it does not rely on the customComparables.comparisonStrategy
if one has been set. - assertEqualContent(AssertionInfo, File, File) - Method in class org.fest.assertions.internal.Files
-
Asserts that the given files have equal content.
- assertEqualContent(AssertionInfo, InputStream, InputStream) - Method in class org.fest.assertions.internal.InputStreams
-
Asserts that the given InputStreams have equal content.
- assertEqualsIgnoringCase(AssertionInfo, String, String) - Method in class org.fest.assertions.internal.Strings
-
Verifies that two
String
s are equal, ignoring case considerations. - assertExists(AssertionInfo, File) - Method in class org.fest.assertions.internal.Files
-
Asserts that the given file exists, regardless it's a file or directory.
- assertGreaterThan(AssertionInfo, T, T) - Method in class org.fest.assertions.internal.Comparables
-
Asserts that the actual value is greater than the other one.
- assertGreaterThanOrEqualTo(AssertionInfo, T, T) - Method in class org.fest.assertions.internal.Comparables
-
Asserts that the actual value is greater than or equal to the other one.
- assertHas(AssertionInfo, List<T>, Condition<? super T>, Index) - Method in class org.fest.assertions.internal.Lists
-
Verifies that the given
List
satisfies the given
at the given index.Condition
- assertHas(AssertionInfo, T, Condition<? super T>) - Method in class org.fest.assertions.internal.Conditions
-
Asserts that the actual value satisfies the given
.Condition
- assertHasBinaryContent(AssertionInfo, File, byte[]) - Method in class org.fest.assertions.internal.Files
-
Asserts that the given file has the given binary content.
- assertHasContent(AssertionInfo, File, String, Charset) - Method in class org.fest.assertions.internal.Files
-
Asserts that the given file has the given text content.
- assertHasMessage(AssertionInfo, Throwable, String) - Method in class org.fest.assertions.internal.Throwables
-
Asserts that the given actual
Throwable
message is equal to the given one. - assertHasMessageContaining(AssertionInfo, Throwable, String) - Method in class org.fest.assertions.internal.Throwables
-
Asserts that the message of the actual
Throwable
contains with the given description. - assertHasMessageEndingWith(AssertionInfo, Throwable, String) - Method in class org.fest.assertions.internal.Throwables
-
Asserts that the message of the actual
Throwable
ends with the given description. - assertHasMessageStartingWith(AssertionInfo, Throwable, String) - Method in class org.fest.assertions.internal.Throwables
-
Asserts that the message of the actual
Throwable
starts with the given description. - assertHasNoCause(AssertionInfo, Throwable) - Method in class org.fest.assertions.internal.Throwables
-
Asserts that the actual
Throwable
does not have a cause. - assertHasSameClassAs(AssertionInfo, Object, Object) - Method in class org.fest.assertions.internal.Objects
-
Verifies that the actual value has the same class as the given object.
- assertHasSameSizeAs(AssertionInfo, boolean[], Iterable<?>) - Method in class org.fest.assertions.internal.BooleanArrays
-
Assert that the actual array has the same size as the other
Iterable
. - assertHasSameSizeAs(AssertionInfo, boolean[], Object[]) - Method in class org.fest.assertions.internal.BooleanArrays
-
Assert that the actual array has the same size as the other array.
- assertHasSameSizeAs(AssertionInfo, byte[], Iterable<?>) - Method in class org.fest.assertions.internal.ByteArrays
-
Assert that the actual array has the same size as the other
Iterable
. - assertHasSameSizeAs(AssertionInfo, byte[], Object[]) - Method in class org.fest.assertions.internal.ByteArrays
-
Assert that the actual array has the same size as the other array.
- assertHasSameSizeAs(AssertionInfo, char[], Iterable<?>) - Method in class org.fest.assertions.internal.CharArrays
-
Assert that the actual array has the same size as the other
Iterable
. - assertHasSameSizeAs(AssertionInfo, char[], Object[]) - Method in class org.fest.assertions.internal.CharArrays
-
Assert that the actual array has the same size as the other array.
- assertHasSameSizeAs(AssertionInfo, double[], Iterable<?>) - Method in class org.fest.assertions.internal.DoubleArrays
-
Assert that the actual array has the same size as the other
Iterable
. - assertHasSameSizeAs(AssertionInfo, double[], Object[]) - Method in class org.fest.assertions.internal.DoubleArrays
-
Assert that the actual array has the same size as the other array.
- assertHasSameSizeAs(AssertionInfo, float[], Iterable<?>) - Method in class org.fest.assertions.internal.FloatArrays
-
Assert that the actual array has the same size as the other
Iterable
. - assertHasSameSizeAs(AssertionInfo, float[], Object[]) - Method in class org.fest.assertions.internal.FloatArrays
-
Assert that the actual array has the same size as the other array.
- assertHasSameSizeAs(AssertionInfo, int[], Iterable<?>) - Method in class org.fest.assertions.internal.IntArrays
-
Assert that the actual array has the same size as the other
Iterable
. - assertHasSameSizeAs(AssertionInfo, int[], Object[]) - Method in class org.fest.assertions.internal.IntArrays
-
Assert that the actual array has the same size as the other array.
- assertHasSameSizeAs(AssertionInfo, long[], Iterable<?>) - Method in class org.fest.assertions.internal.LongArrays
-
Assert that the actual array has the same size as the other
Iterable
. - assertHasSameSizeAs(AssertionInfo, long[], Object[]) - Method in class org.fest.assertions.internal.LongArrays
-
Assert that the actual array has the same size as the other array.
- assertHasSameSizeAs(AssertionInfo, short[], Iterable<?>) - Method in class org.fest.assertions.internal.ShortArrays
-
Assert that the actual array has the same size as the other
Iterable
. - assertHasSameSizeAs(AssertionInfo, short[], Object[]) - Method in class org.fest.assertions.internal.ShortArrays
-
Assert that the actual array has the same size as the other array.
- assertHasSameSizeAs(AssertionInfo, Iterable<?>, Iterable<?>) - Method in class org.fest.assertions.internal.Iterables
-
Assert that the actual
Iterable
has the same size as the otherIterable
. - assertHasSameSizeAs(AssertionInfo, Iterable<?>, Object[]) - Method in class org.fest.assertions.internal.Iterables
-
Assert that the actual
Iterable
has the same size as the other array. - assertHasSameSizeAs(AssertionInfo, Object[], Iterable<?>) - Method in class org.fest.assertions.internal.ObjectArrays
-
Assert that the actual array has the same size as the other
Iterable
. - assertHasSameSizeAs(AssertionInfo, Object[], Object[]) - Method in class org.fest.assertions.internal.ObjectArrays
-
Assert that the actual array has the same size as the other array.
- assertHasSameSizeAs(AssertionInfo, String, Iterable<?>) - Method in class org.fest.assertions.internal.Strings
-
Asserts that the number of entries in the given
String
has the same size as the otherIterable
. - assertHasSameSizeAs(AssertionInfo, String, Object[]) - Method in class org.fest.assertions.internal.Strings
-
Asserts that the number of entries in the given
String
has the same size as the other array. - assertHasSameSizeAs(AssertionInfo, Map<?, ?>, Iterable<?>) - Method in class org.fest.assertions.internal.Maps
-
Asserts that the number of entries in the given
Map
has the same size as the otherIterable
. - assertHasSameSizeAs(AssertionInfo, Map<?, ?>, Object[]) - Method in class org.fest.assertions.internal.Maps
-
Asserts that the number of entries in the given
Map
has the same size as the other array. - assertHasSize(AssertionInfo, boolean[], int) - Method in class org.fest.assertions.internal.BooleanArrays
-
Asserts that the number of elements in the given array is equal to the expected one.
- assertHasSize(AssertionInfo, byte[], int) - Method in class org.fest.assertions.internal.ByteArrays
-
Asserts that the number of elements in the given array is equal to the expected one.
- assertHasSize(AssertionInfo, char[], int) - Method in class org.fest.assertions.internal.CharArrays
-
Asserts that the number of elements in the given array is equal to the expected one.
- assertHasSize(AssertionInfo, double[], int) - Method in class org.fest.assertions.internal.DoubleArrays
-
Asserts that the number of elements in the given array is equal to the expected one.
- assertHasSize(AssertionInfo, float[], int) - Method in class org.fest.assertions.internal.FloatArrays
-
Asserts that the number of elements in the given array is equal to the expected one.
- assertHasSize(AssertionInfo, int[], int) - Method in class org.fest.assertions.internal.IntArrays
-
Asserts that the number of elements in the given array is equal to the expected one.
- assertHasSize(AssertionInfo, long[], int) - Method in class org.fest.assertions.internal.LongArrays
-
Asserts that the number of elements in the given array is equal to the expected one.
- assertHasSize(AssertionInfo, short[], int) - Method in class org.fest.assertions.internal.ShortArrays
-
Asserts that the number of elements in the given array is equal to the expected one.
- assertHasSize(AssertionInfo, Iterable<?>, int) - Method in class org.fest.assertions.internal.Iterables
-
Asserts that the number of elements in the given
Iterable
is equal to the expected one. - assertHasSize(AssertionInfo, Object[], int) - Method in class org.fest.assertions.internal.ObjectArrays
-
Asserts that the number of elements in the given array is equal to the expected one.
- assertHasSize(AssertionInfo, String, int) - Method in class org.fest.assertions.internal.Strings
-
Asserts that the size of the given
String
is equal to the expected one. - assertHasSize(AssertionInfo, Map<?, ?>, int) - Method in class org.fest.assertions.internal.Maps
-
Asserts that the number of entries in the given
Map
is equal to the expected one. - assertHasTime(AssertionInfo, Date, long) - Method in class org.fest.assertions.internal.Dates
-
Verifies that the actual
Date
time is equal to the given timestamp. - assertHave(AssertionInfo, E[], Condition<? super E>) - Method in class org.fest.assertions.internal.ObjectArrays
-
Assert that each element of given array satisfies the given condition.
- assertHave(AssertionInfo, Iterable<? extends E>, Condition<? super E>) - Method in class org.fest.assertions.internal.Iterables
-
Assert that each element of given
Iterable
satisfies the given condition. - assertHaveAtLeast(AssertionInfo, E[], int, Condition<? super E>) - Method in class org.fest.assertions.internal.ObjectArrays
-
An alias method of
ObjectArrays.assertAreAtLeast(AssertionInfo, Object[], int, Condition)
to provide a richer fluent api (same logic, only error message differs). - assertHaveAtLeast(AssertionInfo, Iterable<? extends E>, int, Condition<? super E>) - Method in class org.fest.assertions.internal.Iterables
-
An alias method of
Iterables.assertAreAtLeast(AssertionInfo, Iterable, int, Condition)
to provide a richer fluent api (same logic, only error message differs). - assertHaveAtMost(AssertionInfo, E[], int, Condition<? super E>) - Method in class org.fest.assertions.internal.ObjectArrays
-
An alias method of
ObjectArrays.assertAreAtMost(AssertionInfo, Object[], int, Condition)
to provide a richer fluent api (same logic, only error message differs). - assertHaveAtMost(AssertionInfo, Iterable<? extends E>, int, Condition<? super E>) - Method in class org.fest.assertions.internal.Iterables
-
An alias method of
Iterables.assertAreAtMost(AssertionInfo, Iterable, int, Condition)
to provide a richer fluent api (same logic, only error message differs). - assertHaveExactly(AssertionInfo, E[], int, Condition<? super E>) - Method in class org.fest.assertions.internal.ObjectArrays
-
An alias method of
ObjectArrays.assertAreExactly(AssertionInfo, Object[], int, Condition)
to provide a richer fluent api (same logic, only error message differs). - assertHaveExactly(AssertionInfo, Iterable<? extends E>, int, Condition<? super E>) - Method in class org.fest.assertions.internal.Iterables
-
An alias method of
Iterables.assertAreExactly(AssertionInfo, Iterable, int, Condition)
to provide a richer fluent api (same logic, only error message differs). - AssertionErrorFactory - Interface in org.fest.assertions.error
-
Factory of
s.AssertionError
- AssertionInfo - Interface in org.fest.assertions.core
-
Information about an assertion.
- Assertions - Class in org.fest.assertions.api
-
Entry point for assertion methods for different data types.
- Assertions() - Constructor for class org.fest.assertions.api.Assertions
-
Creates a new
Assertions
. - assertIs(AssertionInfo, List<T>, Condition<? super T>, Index) - Method in class org.fest.assertions.internal.Lists
-
Verifies that the given
List
satisfies the given
at the given index.Condition
- assertIs(AssertionInfo, T, Condition<? super T>) - Method in class org.fest.assertions.internal.Conditions
-
Asserts that the actual value satisfies the given
.Condition
- assertIsAbsolute(AssertionInfo, File) - Method in class org.fest.assertions.internal.Files
-
Asserts that the given file is an absolute path.
- assertIsAfter(AssertionInfo, Date, Date) - Method in class org.fest.assertions.internal.Dates
-
Verifies that the actual
Date
is strictly after the given one. - assertIsAfterOrEqualsTo(AssertionInfo, Date, Date) - Method in class org.fest.assertions.internal.Dates
-
Verifies that the actual
Date
is after or equal to the given one. - assertIsAfterYear(AssertionInfo, Date, int) - Method in class org.fest.assertions.internal.Dates
-
Verifies that the actual
Date
is strictly after the given year. - assertIsBefore(AssertionInfo, Date, Date) - Method in class org.fest.assertions.internal.Dates
-
Verifies that the actual
Date
is strictly before the given one. - assertIsBeforeOrEqualsTo(AssertionInfo, Date, Date) - Method in class org.fest.assertions.internal.Dates
-
Verifies that the actual
Date
is before or equal to the given one. - assertIsBeforeYear(AssertionInfo, Date, int) - Method in class org.fest.assertions.internal.Dates
-
Verifies that the actual
Date
is strictly before the given year. - assertIsBetween(AssertionInfo, Date, Date, Date, boolean, boolean) - Method in class org.fest.assertions.internal.Dates
-
Verifies that the actual
Date
is in start:end period.
start date belongs to the period if inclusiveStart is true.
end date belongs to the period if inclusiveEnd is true. - assertIsCloseTo(AssertionInfo, Date, Date, long) - Method in class org.fest.assertions.internal.Dates
-
Verifies that the actual
Date
is close to the other date by less than delta, if difference is equals to delta it is ok.
Note that delta expressed in milliseconds.
Use handy TimeUnit to convert a duration in milliseconds, for example you can express a delta of 5 seconds withTimeUnit.SECONDS.toMillis(5)
. - assertIsDirectory(AssertionInfo, File) - Method in class org.fest.assertions.internal.Files
-
Asserts that the given file is an existing directory.
- assertIsExactlyInstanceOf(AssertionInfo, Object, Class<?>) - Method in class org.fest.assertions.internal.Objects
-
Verifies that the actual value is exactly a instance of given type.
- assertIsFile(AssertionInfo, File) - Method in class org.fest.assertions.internal.Files
-
Asserts that the given file is an existing file.
- assertIsIn(AssertionInfo, A, Iterable<? extends A>) - Method in class org.fest.assertions.internal.Objects
-
Asserts that the given object is present in the given collection.
- assertIsIn(AssertionInfo, Object, Object[]) - Method in class org.fest.assertions.internal.Objects
-
Asserts that the given object is present in the given array.
- assertIsInSameDayAs(AssertionInfo, Date, Date) - Method in class org.fest.assertions.internal.Dates
-
Verifies that actual and given
Date
are chronologically in the same day of month (and thus in the same month and year). - assertIsInSameHourAs(AssertionInfo, Date, Date) - Method in class org.fest.assertions.internal.Dates
-
Verifies that actual and given
Date
are chronologically in the same hour (and thus in the same day of month, month and year). - assertIsInSameMinuteAs(AssertionInfo, Date, Date) - Method in class org.fest.assertions.internal.Dates
-
Verifies that actual and given
Date
are chronologically in the same minute (and thus in the same hour, day of month, month and year). - assertIsInSameMonthAs(AssertionInfo, Date, Date) - Method in class org.fest.assertions.internal.Dates
-
Verifies that actual and given
Date
are chronologically in the same month (and thus in the same year). - assertIsInSameSecondAs(AssertionInfo, Date, Date) - Method in class org.fest.assertions.internal.Dates
-
Verifies that actual and given
Date
are chronologically in the same second (and thus in the same minute, hour, day of month, month and year). - assertIsInSameYearAs(AssertionInfo, Date, Date) - Method in class org.fest.assertions.internal.Dates
-
Verifies that actual and given
Date
are in the same year. - assertIsInstanceOf(AssertionInfo, Object, Class<?>) - Method in class org.fest.assertions.internal.Objects
-
Verifies that the given object is an instance of the given type.
- assertIsInstanceOfAny(AssertionInfo, Object, Class<?>[]) - Method in class org.fest.assertions.internal.Objects
-
Verifies that the given object is an instance of any of the given types.
- assertIsInTheFuture(AssertionInfo, Date) - Method in class org.fest.assertions.internal.Dates
-
Verifies that the actual
Date
is strictly in the future. - assertIsInThePast(AssertionInfo, Date) - Method in class org.fest.assertions.internal.Dates
-
Verifies that the actual
Date
is strictly in the past. - assertIsLenientEqualsToByAcceptingFields(AssertionInfo, A, A, String...) - Method in class org.fest.assertions.internal.Objects
-
Assert that the given object is lenient equals to other object by comparing given fields value only.
- assertIsLenientEqualsToByIgnoringFields(AssertionInfo, A, A, String...) - Method in class org.fest.assertions.internal.Objects
-
Assert that the given object is lenient equals to the other by comparing all fields (including inherited fields) unless given ignored ones.
- assertIsLenientEqualsToByIgnoringNullFields(AssertionInfo, A, A) - Method in class org.fest.assertions.internal.Objects
-
Assert that the given object is lenient equals by ignoring null fields value on other object (including inherited fields).
- assertIsNaN(AssertionInfo, NUMBER) - Method in class org.fest.assertions.internal.RealNumbers
-
Verifies that the actual value is equal to
NaN
.
It does not rely on the custom comparisonStrategy (if one is set). - assertIsNegative(AssertionInfo, NUMBER) - Method in class org.fest.assertions.internal.Numbers
-
Asserts that the actual value is negative.
- assertIsNot(AssertionInfo, T, Condition<? super T>) - Method in class org.fest.assertions.internal.Conditions
-
Asserts that the actual value does not satisfy the given
.Condition
- assertIsNotBetween(AssertionInfo, Date, Date, Date, boolean, boolean) - Method in class org.fest.assertions.internal.Dates
-
Verifies that the actual
Date
is not in start:end period..
start date belongs to the period if inclusiveStart is true.
end date belongs to the period if inclusiveEnd is true. - assertIsNotExactlyInstanceOf(AssertionInfo, Object, Class<?>) - Method in class org.fest.assertions.internal.Objects
-
Verifies that the actual value is not exactly a instance of given type.
- assertIsNotIn(AssertionInfo, A, Iterable<? extends A>) - Method in class org.fest.assertions.internal.Objects
-
Asserts that the given object is not present in the given collection.
- assertIsNotIn(AssertionInfo, Object, Object[]) - Method in class org.fest.assertions.internal.Objects
-
Asserts that the given object is not present in the given array.
- assertIsNotInstanceOf(AssertionInfo, Object, Class<?>) - Method in class org.fest.assertions.internal.Objects
-
Verifies that the given object is not an instance of the given type.
- assertIsNotInstanceOfAny(AssertionInfo, Object, Class<?>[]) - Method in class org.fest.assertions.internal.Objects
-
Verifies that the given object is not an instance of any of the given types.
- assertIsNotNaN(AssertionInfo, NUMBER) - Method in class org.fest.assertions.internal.RealNumbers
-
Verifies that the actual value is not equal to
NaN
. - assertIsNotNegative(AssertionInfo, NUMBER) - Method in class org.fest.assertions.internal.Numbers
-
Asserts that the actual value is not negative.
- assertIsNotNull(Condition<?>) - Method in class org.fest.assertions.internal.Conditions
-
Asserts the the given
is not null.Condition
- assertIsNotOfAnyClassIn(AssertionInfo, Object, Class<?>[]) - Method in class org.fest.assertions.internal.Objects
-
Verifies that the actual value type is not in given types.
- assertIsNotPositive(AssertionInfo, NUMBER) - Method in class org.fest.assertions.internal.Numbers
-
Asserts that the actual value is not positive.
- assertIsNotZero(AssertionInfo, NUMBER) - Method in class org.fest.assertions.internal.Numbers
-
Asserts that the actual value is not equal to zero.
It does not rely on the custom comparisonStrategy (if one is set). - assertIsOfAnyClassIn(AssertionInfo, Object, Class<?>[]) - Method in class org.fest.assertions.internal.Objects
-
Verifies that the actual value type is in given types.
- assertIsPositive(AssertionInfo, NUMBER) - Method in class org.fest.assertions.internal.Numbers
-
Asserts that the actual value is positive.
- assertIsRelative(AssertionInfo, File) - Method in class org.fest.assertions.internal.Files
-
Asserts that the given file is a relative path.
- assertIsSorted(AssertionInfo, boolean[]) - Method in class org.fest.assertions.internal.BooleanArrays
-
Concrete implementation of
ArraySortedAssert.isSorted()
. - assertIsSorted(AssertionInfo, byte[]) - Method in class org.fest.assertions.internal.ByteArrays
-
Concrete implementation of
ArraySortedAssert.isSorted()
. - assertIsSorted(AssertionInfo, char[]) - Method in class org.fest.assertions.internal.CharArrays
-
Concrete implementation of
ArraySortedAssert.isSorted()
. - assertIsSorted(AssertionInfo, double[]) - Method in class org.fest.assertions.internal.DoubleArrays
-
Concrete implementation of
ArraySortedAssert.isSorted()
. - assertIsSorted(AssertionInfo, float[]) - Method in class org.fest.assertions.internal.FloatArrays
-
Concrete implementation of
ArraySortedAssert.isSorted()
. - assertIsSorted(AssertionInfo, int[]) - Method in class org.fest.assertions.internal.IntArrays
-
Concrete implementation of
ArraySortedAssert.isSorted()
. - assertIsSorted(AssertionInfo, long[]) - Method in class org.fest.assertions.internal.LongArrays
-
Concrete implementation of
ArraySortedAssert.isSorted()
. - assertIsSorted(AssertionInfo, short[]) - Method in class org.fest.assertions.internal.ShortArrays
-
Concrete implementation of
ArraySortedAssert.isSorted()
. - assertIsSorted(AssertionInfo, Object[]) - Method in class org.fest.assertions.internal.ObjectArrays
-
Concrete implementation of
ArraySortedAssert.isSorted()
. - assertIsSorted(AssertionInfo, List<?>) - Method in class org.fest.assertions.internal.Lists
-
Verifies that the actual list is sorted into ascending order according to the natural ordering of its elements.
- assertIsSortedAccordingToComparator(AssertionInfo, boolean[], Comparator<? super Boolean>) - Method in class org.fest.assertions.internal.BooleanArrays
-
Concrete implementation of
ArraySortedAssert.isSortedAccordingTo(Comparator)
. - assertIsSortedAccordingToComparator(AssertionInfo, byte[], Comparator<? super Byte>) - Method in class org.fest.assertions.internal.ByteArrays
-
Concrete implementation of
ArraySortedAssert.isSortedAccordingTo(Comparator)
. - assertIsSortedAccordingToComparator(AssertionInfo, char[], Comparator<? super Character>) - Method in class org.fest.assertions.internal.CharArrays
-
Concrete implementation of
ArraySortedAssert.isSortedAccordingTo(Comparator)
. - assertIsSortedAccordingToComparator(AssertionInfo, double[], Comparator<? super Double>) - Method in class org.fest.assertions.internal.DoubleArrays
-
Concrete implementation of
ArraySortedAssert.isSortedAccordingTo(Comparator)
. - assertIsSortedAccordingToComparator(AssertionInfo, float[], Comparator<? super Float>) - Method in class org.fest.assertions.internal.FloatArrays
-
Concrete implementation of
ArraySortedAssert.isSortedAccordingTo(Comparator)
. - assertIsSortedAccordingToComparator(AssertionInfo, int[], Comparator<? super Integer>) - Method in class org.fest.assertions.internal.IntArrays
-
Concrete implementation of
ArraySortedAssert.isSortedAccordingTo(Comparator)
. - assertIsSortedAccordingToComparator(AssertionInfo, long[], Comparator<? super Long>) - Method in class org.fest.assertions.internal.LongArrays
-
Concrete implementation of
ArraySortedAssert.isSortedAccordingTo(Comparator)
. - assertIsSortedAccordingToComparator(AssertionInfo, short[], Comparator<? super Short>) - Method in class org.fest.assertions.internal.ShortArrays
-
Concrete implementation of
ArraySortedAssert.isSortedAccordingTo(Comparator)
. - assertIsSortedAccordingToComparator(AssertionInfo, E[], Comparator<? super E>) - Method in class org.fest.assertions.internal.ObjectArrays
-
Concrete implementation of
ArraySortedAssert.isSortedAccordingTo(Comparator)
. - assertIsSortedAccordingToComparator(AssertionInfo, List<?>, Comparator<? extends Object>) - Method in class org.fest.assertions.internal.Lists
-
Verifies that the actual list is sorted according to the given comparator. Empty lists are considered sorted whatever the comparator is. One element lists are considered sorted if element is compatible with comparator.
- assertIsSubsetOf(AssertionInfo, Iterable<?>, Iterable<?>) - Method in class org.fest.assertions.internal.Iterables
-
Verifies that the actual
Iterable
is a subset of valuesIterable
. - assertIsToday(AssertionInfo, Date) - Method in class org.fest.assertions.internal.Dates
-
Verifies that the actual
Date
is today, by comparing only year, month and day of actual to today (ie. - assertIsWithinDayOfMonth(AssertionInfo, Date, int) - Method in class org.fest.assertions.internal.Dates
-
Verifies that the actual
Date
day of month is equal to the given day of month. - assertIsWithinDayOfWeek(AssertionInfo, Date, int) - Method in class org.fest.assertions.internal.Dates
-
Verifies that the actual
Date
day of week is equal to the given day of week. - assertIsWithinHourOfDay(AssertionInfo, Date, int) - Method in class org.fest.assertions.internal.Dates
-
Verifies that the actual
Date
hour od day is equal to the given hour of day (24-hour clock). - assertIsWithinMillisecond(AssertionInfo, Date, int) - Method in class org.fest.assertions.internal.Dates
-
Verifies that the actual
Date
millisecond is equal to the given millisecond. - assertIsWithinMinute(AssertionInfo, Date, int) - Method in class org.fest.assertions.internal.Dates
-
Verifies that the actual
Date
minute is equal to the given minute. - assertIsWithinMonth(AssertionInfo, Date, int) - Method in class org.fest.assertions.internal.Dates
-
Verifies that the actual
Date
month is equal to the given month, month value starting at 1 (January=1, February=2, ...). - assertIsWithinSecond(AssertionInfo, Date, int) - Method in class org.fest.assertions.internal.Dates
-
Verifies that the actual
Date
second is equal to the given second. - assertIsWithinYear(AssertionInfo, Date, int) - Method in class org.fest.assertions.internal.Dates
-
Verifies that the actual
Date
year is equal to the given year. - assertIsZero(AssertionInfo, NUMBER) - Method in class org.fest.assertions.internal.Numbers
-
Asserts that the actual value is equal to zero.
It does not rely on the custom comparisonStrategy (if one is set). - assertLessThan(AssertionInfo, T, T) - Method in class org.fest.assertions.internal.Comparables
-
Asserts that the actual value is less than the other one.
- assertLessThanOrEqualTo(AssertionInfo, T, T) - Method in class org.fest.assertions.internal.Comparables
-
Asserts that the actual value is less than or equal to the other one.
- assertLowerCase(AssertionInfo, Character) - Method in class org.fest.assertions.internal.Characters
-
Asserts that the actual value is a lowercase character.
- assertMatches(AssertionInfo, String, String) - Method in class org.fest.assertions.internal.Strings
-
Verifies that the given
String
matches the given regular expression. - assertMatches(AssertionInfo, String, Pattern) - Method in class org.fest.assertions.internal.Strings
-
Verifies that the given
String
matches the given regular expression. - assertNotEmpty(AssertionInfo, boolean[]) - Method in class org.fest.assertions.internal.BooleanArrays
-
Asserts that the given array is not empty.
- assertNotEmpty(AssertionInfo, byte[]) - Method in class org.fest.assertions.internal.ByteArrays
-
Asserts that the given array is not empty.
- assertNotEmpty(AssertionInfo, char[]) - Method in class org.fest.assertions.internal.CharArrays
-
Asserts that the given array is not empty.
- assertNotEmpty(AssertionInfo, double[]) - Method in class org.fest.assertions.internal.DoubleArrays
-
Asserts that the given array is not empty.
- assertNotEmpty(AssertionInfo, float[]) - Method in class org.fest.assertions.internal.FloatArrays
-
Asserts that the given array is not empty.
- assertNotEmpty(AssertionInfo, int[]) - Method in class org.fest.assertions.internal.IntArrays
-
Asserts that the given array is not empty.
- assertNotEmpty(AssertionInfo, long[]) - Method in class org.fest.assertions.internal.LongArrays
-
Asserts that the given array is not empty.
- assertNotEmpty(AssertionInfo, short[]) - Method in class org.fest.assertions.internal.ShortArrays
-
Asserts that the given array is not empty.
- assertNotEmpty(AssertionInfo, Iterable<?>) - Method in class org.fest.assertions.internal.Iterables
-
Asserts that the given
Iterable
is not empty. - assertNotEmpty(AssertionInfo, Object[]) - Method in class org.fest.assertions.internal.ObjectArrays
-
Asserts that the given array is not empty.
- assertNotEmpty(AssertionInfo, String) - Method in class org.fest.assertions.internal.Strings
-
Asserts that the given
String
is not empty. - assertNotEmpty(AssertionInfo, Map<?, ?>) - Method in class org.fest.assertions.internal.Maps
-
Asserts that the given
Map
is not empty. - assertNotEqual(AssertionInfo, Boolean, boolean) - Method in class org.fest.assertions.internal.Booleans
-
Asserts that two longs are not equal.
- assertNotEqual(AssertionInfo, Object, Object) - Method in class org.fest.assertions.internal.Objects
-
Asserts that two objects are not equal.
- assertNotEqual(AssertionInfo, T, T) - Method in class org.fest.assertions.internal.Comparables
-
Asserts that two T instances are not equal.
- assertNotEqualByComparison(AssertionInfo, T, T) - Method in class org.fest.assertions.internal.Comparables
-
Asserts that two
s are not equal by invokingComparable
.Comparable.compareTo(Object)
Note that it does not rely on the customComparables.comparisonStrategy
if one has been set. - assertNotNull(AssertionInfo, Object) - Method in class org.fest.assertions.internal.Objects
-
Asserts that the given object is not
null
. - assertNotNull(AssertionInfo, T) - Static method in class org.fest.assertions.internal.Comparables
- assertNotSame(AssertionInfo, Object, Object) - Method in class org.fest.assertions.internal.Objects
-
Asserts that two objects do not refer to the same object.
- assertNull(AssertionInfo, Object) - Method in class org.fest.assertions.internal.Objects
-
Asserts that the given object is
null
. - assertNullOrEmpty(AssertionInfo, boolean[]) - Method in class org.fest.assertions.internal.BooleanArrays
-
Asserts that the given array is
null
or empty. - assertNullOrEmpty(AssertionInfo, byte[]) - Method in class org.fest.assertions.internal.ByteArrays
-
Asserts that the given array is
null
or empty. - assertNullOrEmpty(AssertionInfo, char[]) - Method in class org.fest.assertions.internal.CharArrays
-
Asserts that the given array is
null
or empty. - assertNullOrEmpty(AssertionInfo, double[]) - Method in class org.fest.assertions.internal.DoubleArrays
-
Asserts that the given array is
null
or empty. - assertNullOrEmpty(AssertionInfo, float[]) - Method in class org.fest.assertions.internal.FloatArrays
-
Asserts that the given array is
null
or empty. - assertNullOrEmpty(AssertionInfo, int[]) - Method in class org.fest.assertions.internal.IntArrays
-
Asserts that the given array is
null
or empty. - assertNullOrEmpty(AssertionInfo, long[]) - Method in class org.fest.assertions.internal.LongArrays
-
Asserts that the given array is
null
or empty. - assertNullOrEmpty(AssertionInfo, short[]) - Method in class org.fest.assertions.internal.ShortArrays
-
Asserts that the given array is
null
or empty. - assertNullOrEmpty(AssertionInfo, Iterable<?>) - Method in class org.fest.assertions.internal.Iterables
-
Asserts that the given
isIterable
null
or empty. - assertNullOrEmpty(AssertionInfo, Object[]) - Method in class org.fest.assertions.internal.ObjectArrays
-
Asserts that the given array is
null
or empty. - assertNullOrEmpty(AssertionInfo, String) - Method in class org.fest.assertions.internal.Strings
-
Asserts that the given
String
isnull
or empty. - assertNullOrEmpty(AssertionInfo, Map<?, ?>) - Method in class org.fest.assertions.internal.Maps
-
Asserts that the given
Map
isnull
or empty. - assertSame(AssertionInfo, Object, Object) - Method in class org.fest.assertions.internal.Objects
-
Asserts that two objects refer to the same object.
- assertStartsWith(AssertionInfo, boolean[], boolean[]) - Method in class org.fest.assertions.internal.BooleanArrays
-
Verifies that the given array starts with the given sequence of values, without any other values between them.
- assertStartsWith(AssertionInfo, byte[], byte[]) - Method in class org.fest.assertions.internal.ByteArrays
-
Verifies that the given array starts with the given sequence of values, without any other values between them.
- assertStartsWith(AssertionInfo, char[], char[]) - Method in class org.fest.assertions.internal.CharArrays
-
Verifies that the given array starts with the given sequence of values, without any other values between them.
- assertStartsWith(AssertionInfo, double[], double[]) - Method in class org.fest.assertions.internal.DoubleArrays
-
Verifies that the given array starts with the given sequence of values, without any other values between them.
- assertStartsWith(AssertionInfo, float[], float[]) - Method in class org.fest.assertions.internal.FloatArrays
-
Verifies that the given array starts with the given sequence of values, without any other values between them.
- assertStartsWith(AssertionInfo, int[], int[]) - Method in class org.fest.assertions.internal.IntArrays
-
Verifies that the given array starts with the given sequence of values, without any other values between them.
- assertStartsWith(AssertionInfo, long[], long[]) - Method in class org.fest.assertions.internal.LongArrays
-
Verifies that the given array starts with the given sequence of values, without any other values between them.
- assertStartsWith(AssertionInfo, short[], short[]) - Method in class org.fest.assertions.internal.ShortArrays
-
Verifies that the given array starts with the given sequence of values, without any other values between them.
- assertStartsWith(AssertionInfo, Iterable<?>, Object[]) - Method in class org.fest.assertions.internal.Iterables
-
Verifies that the given
Iterable
starts with the given sequence of objects, without any other objects between them. - assertStartsWith(AssertionInfo, Object[], Object[]) - Method in class org.fest.assertions.internal.ObjectArrays
-
Verifies that the given array starts with the given sequence of objects, without any other objects between them.
- assertStartsWith(AssertionInfo, String, String) - Method in class org.fest.assertions.internal.Strings
-
Verifies that the given
String
starts with the given prefix. - assertThat(boolean) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.BooleanAssert
- assertThat(boolean[]) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.BooleanArrayAssert
- assertThat(byte) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.ByteAssert
- assertThat(byte[]) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.ByteArrayAssert
- assertThat(char) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.CharacterAssert
- assertThat(char[]) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.CharArrayAssert
- assertThat(double) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.DoubleAssert
- assertThat(double[]) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.DoubleArrayAssert
- assertThat(float) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.FloatAssert
- assertThat(float[]) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.FloatArrayAssert
- assertThat(int) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.IntegerAssert
- assertThat(int[]) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.IntArrayAssert
- assertThat(long) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.LongAssert
- assertThat(long[]) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.LongArrayAssert
- assertThat(short) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.ShortAssert
- assertThat(short[]) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.ShortArrayAssert
- assertThat(File) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.FileAssert
- assertThat(InputStream) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.InputStreamAssert
- assertThat(Boolean) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.BooleanAssert
- assertThat(Byte) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.ByteAssert
- assertThat(Character) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.CharacterAssert
- assertThat(Double) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.DoubleAssert
- assertThat(Float) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.FloatAssert
- assertThat(Integer) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.IntegerAssert
- assertThat(Iterable<T>) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.IterableAssert
- assertThat(Long) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.LongAssert
- assertThat(Short) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.ShortAssert
- assertThat(String) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.StringAssert
- assertThat(Throwable) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.ThrowableAssert
- assertThat(BigDecimal) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.BigDecimalAssert
- assertThat(Date) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.DateAssert
- assertThat(List<T>) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.ListAssert
- assertThat(Map<K, V>) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.MapAssert
- assertThat(T) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.ObjectAssert
- assertThat(T[]) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new instance of
.ObjectArrayAssert
- assertUpperCase(AssertionInfo, Character) - Method in class org.fest.assertions.internal.Characters
-
Asserts that the actual value is a uppercase character.
- atIndex(int) - Static method in class org.fest.assertions.api.Assertions
-
Only delegate to
Index.atIndex(int)
so that Assertions offers a full feature entry point to all Fest Assert features (but you can useIndex
if you prefer). - atIndex(int) - Static method in class org.fest.assertions.data.Index
-
Creates a new
Index
.
B
- BasicErrorMessageFactory - Class in org.fest.assertions.error
-
A factory of error messages typically shown when an assertion fails.
- BasicErrorMessageFactory(String, Object...) - Constructor for class org.fest.assertions.error.BasicErrorMessageFactory
-
Creates a new
BasicErrorMessageFactory
. - being(Condition<? super E>) - Method in class org.fest.assertions.api.filter.Filters
-
Filter the underlying group, keeping only elements satisfying the given
Condition
.
Same asFilters.having(Condition)
- pick the method you prefer to have the most readable code. - BIG_DECIMAL_COMPARATOR - Static variable in class org.fest.assertions.util.BigDecimalComparator
-
an instance of
BigDecimalComparator
. - BigDecimalAssert - Class in org.fest.assertions.api
-
Assertion methods for
s.BigDecimal
- BigDecimalAssert(BigDecimal) - Constructor for class org.fest.assertions.api.BigDecimalAssert
- BigDecimalComparator - Class in org.fest.assertions.util
-
A
BigDecimal
Comparator
based onBigDecimal.compareTo(BigDecimal)
.
Is useful if ones wants to use BigDecimal assertions based onBigDecimal.compareTo(BigDecimal)
instead ofBigDecimal.equals(Object)
method. - BigDecimalComparator() - Constructor for class org.fest.assertions.util.BigDecimalComparator
- BigDecimals - Class in org.fest.assertions.internal
-
Reusable assertions for
s.BigDecimal
- BigDecimals(ComparisonStrategy) - Constructor for class org.fest.assertions.internal.BigDecimals
- BinaryDiff - Class in org.fest.assertions.internal
-
Compares the binary content of two streams.
- BinaryDiff() - Constructor for class org.fest.assertions.internal.BinaryDiff
- BinaryDiffResult - Class in org.fest.assertions.internal
-
Value class to hold the result of comparing two binary streams.
- BinaryDiffResult(int, int, int) - Constructor for class org.fest.assertions.internal.BinaryDiffResult
-
Builds a new instance.
- BooleanArrayAssert - Class in org.fest.assertions.api
-
Assertion methods for arrays of
boolean
s. - BooleanArrayAssert(boolean[]) - Constructor for class org.fest.assertions.api.BooleanArrayAssert
- BooleanArrays - Class in org.fest.assertions.internal
-
Reusable assertions for arrays of
boolean
s. - BooleanAssert - Class in org.fest.assertions.api
-
Assertion methods for bytes.
- BooleanAssert(Boolean) - Constructor for class org.fest.assertions.api.BooleanAssert
- Booleans - Class in org.fest.assertions.internal
-
Reusable assertions for
s.Boolean
- ByteArrayAssert - Class in org.fest.assertions.api
-
Assertion methods for arrays of
byte
s. - ByteArrayAssert(byte[]) - Constructor for class org.fest.assertions.api.ByteArrayAssert
- ByteArrays - Class in org.fest.assertions.internal
-
Reusable assertions for arrays of
byte
s. - ByteArrays(ComparisonStrategy) - Constructor for class org.fest.assertions.internal.ByteArrays
- ByteAssert - Class in org.fest.assertions.api
-
Assertion methods for bytes.
- ByteAssert(Byte) - Constructor for class org.fest.assertions.api.ByteAssert
- Bytes - Class in org.fest.assertions.internal
-
Reusable assertions for
s.Byte
- Bytes(ComparisonStrategy) - Constructor for class org.fest.assertions.internal.Bytes
C
- canRead() - Method in class org.fest.assertions.api.FileAssert
-
Verifies that the actual
File
can be read by the application. - canWrite() - Method in class org.fest.assertions.api.FileAssert
-
Verifies that the actual
File
can be modified by the application. - CharacterAssert - Class in org.fest.assertions.api
-
Assertion methods for characters.
- CharacterAssert(Character) - Constructor for class org.fest.assertions.api.CharacterAssert
- Characters - Class in org.fest.assertions.internal
-
Reusable assertions for
s.Character
- Characters(ComparisonStrategy) - Constructor for class org.fest.assertions.internal.Characters
- CharArrayAssert - Class in org.fest.assertions.api
-
Assertion methods for arrays of
char
s. - CharArrayAssert(char[]) - Constructor for class org.fest.assertions.api.CharArrayAssert
- CharArrays - Class in org.fest.assertions.internal
-
Reusable assertions for arrays of
char
s. - CharArrays(ComparisonStrategy) - Constructor for class org.fest.assertions.internal.CharArrays
- ComparableAssert<S,A extends java.lang.Comparable<? super A>> - Interface in org.fest.assertions.core
-
Assertion methods applicable to
s.Comparable
- Comparables - Class in org.fest.assertions.internal
-
Reusable assertions for
s.Comparable
- Comparables(ComparisonStrategy) - Constructor for class org.fest.assertions.internal.Comparables
- ComparatorBasedComparisonStrategy - Class in org.fest.assertions.internal
-
Implements
ComparisonStrategy
contract with a comparison strategy based on aComparator
. - ComparatorBasedComparisonStrategy(Comparator) - Constructor for class org.fest.assertions.internal.ComparatorBasedComparisonStrategy
-
Creates a new
ComparatorBasedComparisonStrategy
specifying the comparison strategy with given comparator. - compare(BigDecimal, BigDecimal) - Method in class org.fest.assertions.util.BigDecimalComparator
- ComparisonStrategy - Interface in org.fest.assertions.internal
-
Describes the contract to implement a consistent comparison strategy that covers :
- comparing two objects for equality and order
- knowing if an object belongs to a group of objects (collection/array)
- determining duplicates in a group of objects (collection/array)
- string specific comparison - Condition<T> - Class in org.fest.assertions.core
-
A condition to be met by an object.
- Condition() - Constructor for class org.fest.assertions.core.Condition
-
Creates a new
Condition
. - Condition(String) - Constructor for class org.fest.assertions.core.Condition
-
Creates a new
Condition
. - Condition(Description) - Constructor for class org.fest.assertions.core.Condition
-
Creates a new
Condition
. - ConditionAndGroupGenericParameterTypeShouldBeTheSame - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies type of elements of group and
Condition
A group of elements can be a collection, an array. - ConditionAndGroupGenericParameterTypeShouldBeTheSame(Object, Condition<?>) - Constructor for class org.fest.assertions.error.ConditionAndGroupGenericParameterTypeShouldBeTheSame
- conditions() - Method in class org.fest.assertions.condition.Join
-
Returns the conditions to join.
- Conditions - Class in org.fest.assertions.internal
-
Verifies that a value satisfies a
.Condition
- contains(boolean...) - Method in class org.fest.assertions.api.BooleanArrayAssert
-
Verifies that the actual array contains the given values, in any order.
- contains(boolean, Index) - Method in class org.fest.assertions.api.BooleanArrayAssert
-
Verifies that the actual array contains the given value at the given index.
- contains(byte...) - Method in class org.fest.assertions.api.ByteArrayAssert
-
Verifies that the actual array contains the given values, in any order.
- contains(byte, Index) - Method in class org.fest.assertions.api.ByteArrayAssert
-
Verifies that the actual array contains the given value at the given index.
- contains(char...) - Method in class org.fest.assertions.api.CharArrayAssert
-
Verifies that the actual array contains the given values, in any order.
- contains(char, Index) - Method in class org.fest.assertions.api.CharArrayAssert
-
Verifies that the actual array contains the given value at the given index.
- contains(double...) - Method in class org.fest.assertions.api.DoubleArrayAssert
-
Verifies that the actual array contains the given values, in any order.
- contains(double, Index) - Method in class org.fest.assertions.api.DoubleArrayAssert
-
Verifies that the actual array contains the given value at the given index.
- contains(float...) - Method in class org.fest.assertions.api.FloatArrayAssert
-
Verifies that the actual array contains the given values, in any order.
- contains(float, Index) - Method in class org.fest.assertions.api.FloatArrayAssert
-
Verifies that the actual array contains the given value at the given index.
- contains(int...) - Method in class org.fest.assertions.api.IntArrayAssert
-
Verifies that the actual array contains the given values, in any order.
- contains(int, Index) - Method in class org.fest.assertions.api.IntArrayAssert
-
Verifies that the actual array contains the given value at the given index.
- contains(long...) - Method in class org.fest.assertions.api.LongArrayAssert
-
Verifies that the actual array contains the given values, in any order.
- contains(long, Index) - Method in class org.fest.assertions.api.LongArrayAssert
-
Verifies that the actual array contains the given value at the given index.
- contains(short...) - Method in class org.fest.assertions.api.ShortArrayAssert
-
Verifies that the actual array contains the given values, in any order.
- contains(short, Index) - Method in class org.fest.assertions.api.ShortArrayAssert
-
Verifies that the actual array contains the given value at the given index.
- contains(String) - Method in class org.fest.assertions.api.StringAssert
-
Verifies that the actual
String
contains the given sequence. - contains(MapEntry...) - Method in class org.fest.assertions.api.MapAssert
-
Verifies that the actual map contains the given entries, in any order.
- contains(T...) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that the actual group contains the given values, in any order.
- contains(T...) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that the actual group contains the given values, in any order.
- contains(T...) - Method in interface org.fest.assertions.core.ObjectEnumerableAssert
-
Verifies that the actual group contains the given values, in any order.
- contains(T, Index) - Method in class org.fest.assertions.api.ListAssert
-
Verifies that the actual group contains the given object at the given index.
- contains(T, Index) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that the actual group contains the given object at the given index.
- contains(T, Index) - Method in interface org.fest.assertions.core.IndexedObjectEnumerableAssert
-
Verifies that the actual group contains the given object at the given index.
- containsAll(Iterable<? extends T>) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that the actual group contains all the elements of given
Iterable
, in any order. - containsAll(Iterable<? extends T>) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that the actual group contains all the elements of given
Iterable
, in any order. - containsAll(Iterable<? extends T>) - Method in interface org.fest.assertions.core.ObjectEnumerableAssert
-
Verifies that the actual group contains all the elements of given
Iterable
, in any order. - containsExactly(T...) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that the actual group contains only the given values and nothing else, in order.
This assertion should only be used with Iterable that have a consistent iteration order (i.e. - containsExactly(T...) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that the actual group contains only the given values and nothing else, in order.
This assertion should only be used with Iterable that have a consistent iteration order (i.e. - containsExactly(T...) - Method in interface org.fest.assertions.core.ObjectEnumerableAssert
-
Verifies that the actual group contains only the given values and nothing else, in order.
This assertion should only be used with Iterable that have a consistent iteration order (i.e. - containsIgnoringCase(String) - Method in class org.fest.assertions.api.StringAssert
-
Verifies that the actual
String
contains the given sequence, ignoring case considerations. - containsKey(K) - Method in class org.fest.assertions.api.MapAssert
-
Verifies that the actual map contains the given key.
- containsNull() - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that the actual group contains at least a null element.
- containsNull() - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that the actual group contains at least a null element.
- containsNull() - Method in interface org.fest.assertions.core.ObjectEnumerableAssert
-
Verifies that the actual group contains at least a null element.
- containsOnly(boolean...) - Method in class org.fest.assertions.api.BooleanArrayAssert
-
Verifies that the actual array contains only the given values and nothing else, in any order.
- containsOnly(byte...) - Method in class org.fest.assertions.api.ByteArrayAssert
-
Verifies that the actual array contains only the given values and nothing else, in any order.
- containsOnly(char...) - Method in class org.fest.assertions.api.CharArrayAssert
-
Verifies that the actual array contains only the given values and nothing else, in any order.
- containsOnly(double...) - Method in class org.fest.assertions.api.DoubleArrayAssert
-
Verifies that the actual array contains only the given values and nothing else, in any order.
- containsOnly(float...) - Method in class org.fest.assertions.api.FloatArrayAssert
-
Verifies that the actual array contains only the given values and nothing else, in any order.
- containsOnly(int...) - Method in class org.fest.assertions.api.IntArrayAssert
-
Verifies that the actual array contains only the given values and nothing else, in any order.
- containsOnly(long...) - Method in class org.fest.assertions.api.LongArrayAssert
-
Verifies that the actual array contains only the given values and nothing else, in any order.
- containsOnly(short...) - Method in class org.fest.assertions.api.ShortArrayAssert
-
Verifies that the actual array contains only the given values and nothing else, in any order.
- containsOnly(T...) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that the actual group contains only the given values and nothing else, in any order.
- containsOnly(T...) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that the actual group contains only the given values and nothing else, in any order.
- containsOnly(T...) - Method in interface org.fest.assertions.core.ObjectEnumerableAssert
-
Verifies that the actual group contains only the given values and nothing else, in any order.
- containsOnlyOnce(String) - Method in class org.fest.assertions.api.StringAssert
-
Verifies that the actual
String
contains only once the given sequence. - containsSequence(boolean...) - Method in class org.fest.assertions.api.BooleanArrayAssert
-
Verifies that the actual array contains the given sequence, without any other values between them.
- containsSequence(byte...) - Method in class org.fest.assertions.api.ByteArrayAssert
-
Verifies that the actual array contains the given sequence, without any other values between them.
- containsSequence(char...) - Method in class org.fest.assertions.api.CharArrayAssert
-
Verifies that the actual array contains the given sequence, without any other values between them.
- containsSequence(double...) - Method in class org.fest.assertions.api.DoubleArrayAssert
-
Verifies that the actual array contains the given sequence, without any other values between them.
- containsSequence(float...) - Method in class org.fest.assertions.api.FloatArrayAssert
-
Verifies that the actual array contains the given sequence, without any other values between them.
- containsSequence(int...) - Method in class org.fest.assertions.api.IntArrayAssert
-
Verifies that the actual array contains the given sequence, without any other values between them.
- containsSequence(long...) - Method in class org.fest.assertions.api.LongArrayAssert
-
Verifies that the actual array contains the given sequence, without any other values between them.
- containsSequence(short...) - Method in class org.fest.assertions.api.ShortArrayAssert
-
Verifies that the actual array contains the given sequence, without any other values between them.
- containsSequence(T...) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that the actual group contains the given sequence, without any other values between them.
- containsSequence(T...) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that the actual group contains the given sequence, without any other values between them.
- containsSequence(T...) - Method in interface org.fest.assertions.core.ObjectEnumerableAssert
-
Verifies that the actual group contains the given sequence, without any other values between them.
- containsValue(V) - Method in class org.fest.assertions.api.MapAssert
-
Verifies that the actual map contains the given value.
- contentOf(File) - Static method in class org.fest.assertions.api.Assertions
-
Loads the text content of a file with the default character set, so that it can be passed to
Assertions.assertThat(String)
. - contentOf(File, String) - Static method in class org.fest.assertions.api.Assertions
-
Loads the text content of a file, so that it can be passed to
Assertions.assertThat(String)
. - contentOf(File, Charset) - Static method in class org.fest.assertions.api.Assertions
-
Loads the text content of a file, so that it can be passed to
Assertions.assertThat(String)
. - create(Description) - Method in class org.fest.assertions.error.AbstractShouldHaveTextContent
- create(Description) - Method in class org.fest.assertions.error.BasicErrorMessageFactory
-
Creates a new error message as a result of a failed assertion.
- create(Description) - Method in interface org.fest.assertions.error.ErrorMessageFactory
-
Creates a new error message as a result of a failed assertion.
- create(Description) - Method in class org.fest.assertions.error.ShouldNotBeEmpty
-
Creates a new error message as a result of a failed assertion.
- create(Description) - Method in class org.fest.assertions.error.ShouldNotBeEqualImages
-
Creates a new error message as a result of a failed assertion.
- create(Description) - Method in class org.fest.assertions.error.ShouldNotBeNull
-
Creates a new error message as a result of a failed assertion.
D
- DateAssert - Class in org.fest.assertions.api
-
Assertions for
Date
s. - DateAssert(Date) - Constructor for class org.fest.assertions.api.DateAssert
-
Creates a new
DateAssert
. - Dates - Class in org.fest.assertions.internal
-
Reusable assertions for
s.Date
- Dates(ComparisonStrategy) - Constructor for class org.fest.assertions.internal.Dates
- describedAs(String) - Method in class org.fest.assertions.api.AbstractAssert
-
Alias for
since "as" is a keyword in Groovy.Descriptable.as(String)
- describedAs(String) - Method in class org.fest.assertions.core.Condition
-
Alias for
since "as" is a keyword in Groovy.Descriptable.as(String)
- describedAs(String) - Method in interface org.fest.assertions.core.Descriptable
-
Alias for
since "as" is a keyword in Groovy.Descriptable.as(String)
- describedAs(Description) - Method in class org.fest.assertions.api.AbstractAssert
-
Alias for
since "as" is a keyword in Groovy.Descriptable.as(String)
- describedAs(Description) - Method in class org.fest.assertions.core.Condition
-
Alias for
since "as" is a keyword in Groovy.Descriptable.as(String)
- describedAs(Description) - Method in interface org.fest.assertions.core.Descriptable
-
Alias for
since "as" is a keyword in Groovy.Descriptable.as(String)
- Descriptable<S> - Interface in org.fest.assertions.core
-
An object that has a description.
- description() - Method in interface org.fest.assertions.core.AssertionInfo
-
Returns the description of an assertion.
- description() - Method in class org.fest.assertions.core.Condition
-
Returns the description of this condition.
- description() - Method in class org.fest.assertions.core.WritableAssertionInfo
-
Returns the description of an assertion.
- description(String) - Method in class org.fest.assertions.core.WritableAssertionInfo
-
Sets the description of an assertion.
- description(Description) - Method in class org.fest.assertions.core.WritableAssertionInfo
-
Sets the description of an assertion.
- Description - Class in org.fest.assertions.description
-
The description of a value.
- Description() - Constructor for class org.fest.assertions.description.Description
- DescriptionFormatter - Class in org.fest.assertions.error
-
Formats the
s to be included in assertion errors.Description
- descriptionText() - Method in class org.fest.assertions.api.AbstractAssert
-
The description of this assertion set with
describedAs(String)
ordescribedAs(Description)
. - descriptionText() - Method in class org.fest.assertions.core.WritableAssertionInfo
-
Returns the text of this object's description, or
null
if such description isnull
. - diff(File, byte[]) - Method in class org.fest.assertions.internal.BinaryDiff
- diff(File, File) - Method in class org.fest.assertions.internal.Diff
- diff(File, String, Charset) - Method in class org.fest.assertions.internal.Diff
- diff(InputStream, InputStream) - Method in class org.fest.assertions.internal.BinaryDiff
- diff(InputStream, InputStream) - Method in class org.fest.assertions.internal.Diff
- Diff - Class in org.fest.assertions.internal
-
Compares the contents of two files or two streams.
- Diff() - Constructor for class org.fest.assertions.internal.Diff
- diffs - Variable in class org.fest.assertions.error.AbstractShouldHaveTextContent
- diffsAsString(List<String>) - Static method in class org.fest.assertions.error.AbstractShouldHaveTextContent
- doesNotContain(boolean...) - Method in class org.fest.assertions.api.BooleanArrayAssert
-
Verifies that the actual array does not contain the given values.
- doesNotContain(boolean, Index) - Method in class org.fest.assertions.api.BooleanArrayAssert
-
Verifies that the actual array does not contain the given value at the given index.
- doesNotContain(byte...) - Method in class org.fest.assertions.api.ByteArrayAssert
-
Verifies that the actual array does not contain the given values.
- doesNotContain(byte, Index) - Method in class org.fest.assertions.api.ByteArrayAssert
-
Verifies that the actual array does not contain the given value at the given index.
- doesNotContain(char...) - Method in class org.fest.assertions.api.CharArrayAssert
-
Verifies that the actual array does not contain the given values.
- doesNotContain(char, Index) - Method in class org.fest.assertions.api.CharArrayAssert
-
Verifies that the actual array does not contain the given value at the given index.
- doesNotContain(double...) - Method in class org.fest.assertions.api.DoubleArrayAssert
-
Verifies that the actual array does not contain the given values.
- doesNotContain(double, Index) - Method in class org.fest.assertions.api.DoubleArrayAssert
-
Verifies that the actual array does not contain the given value at the given index.
- doesNotContain(float...) - Method in class org.fest.assertions.api.FloatArrayAssert
-
Verifies that the actual array does not contain the given values.
- doesNotContain(float, Index) - Method in class org.fest.assertions.api.FloatArrayAssert
-
Verifies that the actual array does not contain the given value at the given index.
- doesNotContain(int...) - Method in class org.fest.assertions.api.IntArrayAssert
-
Verifies that the actual array does not contain the given values.
- doesNotContain(int, Index) - Method in class org.fest.assertions.api.IntArrayAssert
-
Verifies that the actual array does not contain the given value at the given index.
- doesNotContain(long...) - Method in class org.fest.assertions.api.LongArrayAssert
-
Verifies that the actual array does not contain the given values.
- doesNotContain(long, Index) - Method in class org.fest.assertions.api.LongArrayAssert
-
Verifies that the actual array does not contain the given value at the given index.
- doesNotContain(short...) - Method in class org.fest.assertions.api.ShortArrayAssert
-
Verifies that the actual array does not contain the given values.
- doesNotContain(short, Index) - Method in class org.fest.assertions.api.ShortArrayAssert
-
Verifies that the actual array does not contain the given value at the given index.
- doesNotContain(String) - Method in class org.fest.assertions.api.StringAssert
-
Verifies that the actual
String
does not contain the given sequence. - doesNotContain(MapEntry...) - Method in class org.fest.assertions.api.MapAssert
-
Verifies that the actual map does not contain the given entries.
- doesNotContain(T...) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that the actual group does not contain the given values.
- doesNotContain(T...) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that the actual group does not contain the given values.
- doesNotContain(T...) - Method in interface org.fest.assertions.core.ObjectEnumerableAssert
-
Verifies that the actual group does not contain the given values.
- doesNotContain(T, Index) - Method in class org.fest.assertions.api.ListAssert
-
Verifies that the actual group does not contain the given object at the given index.
- doesNotContain(T, Index) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that the actual group does not contain the given object at the given index.
- doesNotContain(T, Index) - Method in interface org.fest.assertions.core.IndexedObjectEnumerableAssert
-
Verifies that the actual group does not contain the given object at the given index.
- doesNotContainKey(K) - Method in class org.fest.assertions.api.MapAssert
-
Verifies that the actual map does not contain the given key.
- doesNotContainNull() - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that the actual group does not contain null elements.
- doesNotContainNull() - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that the actual group does not contain null elements.
- doesNotContainNull() - Method in interface org.fest.assertions.core.ObjectEnumerableAssert
-
Verifies that the actual group does not contain null elements.
- doesNotContainValue(V) - Method in class org.fest.assertions.api.MapAssert
-
Verifies that the actual map does not contain the given value.
- doesNotExist() - Method in class org.fest.assertions.api.FileAssert
-
Verifies that the actual
File
does not exist. - doesNotHave(Condition<? super A>) - Method in class org.fest.assertions.api.AbstractAssert
-
Verifies that the actual value does not satisfy the given condition.
- doesNotHave(Condition<? super A>) - Method in interface org.fest.assertions.core.ExtensionPoints
-
Verifies that the actual value does not satisfy the given condition.
- doesNotHave(Condition<? super T>) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new
DoesNotHave
. - doesNotHave(Condition<? super T>) - Static method in class org.fest.assertions.condition.DoesNotHave
-
Creates a new
DoesNotHave
. - DoesNotHave<T> - Class in org.fest.assertions.condition
-
Returns
true
if the condition is not satisfied. - doesNotHaveDuplicates() - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that the actual group does not contain duplicates.
- doesNotHaveDuplicates() - Method in class org.fest.assertions.api.BooleanArrayAssert
-
Verifies that the actual array does not contain duplicates.
- doesNotHaveDuplicates() - Method in class org.fest.assertions.api.ByteArrayAssert
-
Verifies that the actual array does not contain duplicates.
- doesNotHaveDuplicates() - Method in class org.fest.assertions.api.CharArrayAssert
-
Verifies that the actual array does not contain duplicates.
- doesNotHaveDuplicates() - Method in class org.fest.assertions.api.DoubleArrayAssert
-
Verifies that the actual array does not contain duplicates.
- doesNotHaveDuplicates() - Method in class org.fest.assertions.api.FloatArrayAssert
-
Verifies that the actual array does not contain duplicates.
- doesNotHaveDuplicates() - Method in class org.fest.assertions.api.IntArrayAssert
-
Verifies that the actual array does not contain duplicates.
- doesNotHaveDuplicates() - Method in class org.fest.assertions.api.LongArrayAssert
-
Verifies that the actual array does not contain duplicates.
- doesNotHaveDuplicates() - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that the actual group does not contain duplicates.
- doesNotHaveDuplicates() - Method in class org.fest.assertions.api.ShortArrayAssert
-
Verifies that the actual array does not contain duplicates.
- doesNotHaveDuplicates() - Method in interface org.fest.assertions.core.ObjectEnumerableAssert
-
Verifies that the actual group does not contain duplicates.
- doesNotHaveSameClassAs(Object) - Method in class org.fest.assertions.api.AbstractAssert
-
Verifies that the actual value does not have the same class as the given object.
- doesNotHaveSameClassAs(Object) - Method in interface org.fest.assertions.core.Assert
-
Verifies that the actual value does not have the same class as the given object.
- doesNotMatch(String) - Method in class org.fest.assertions.api.StringAssert
-
Verifies that the actual
String
does not match the given regular expression. - doesNotMatch(Pattern) - Method in class org.fest.assertions.api.StringAssert
-
Verifies that the actual
String
does not match the given regular expression. - doNotHave(Condition<? super T>) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that each element value not satisfies the given condition
- doNotHave(Condition<? super T>) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that each element value not satisfies the given condition
- doNotHave(Condition<? super T>) - Method in interface org.fest.assertions.core.ObjectEnumerableAssert
-
Verifies that each element value not satisfies the given condition
- doNotHaveAtLeast(int, Condition<? super T>) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
This method is an alias
ObjectEnumerableAssert.areNotAtLeast(int, Condition)
. - doNotHaveAtLeast(int, Condition<? super T>) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
This method is an alias
ObjectEnumerableAssert.areNotAtLeast(int, Condition)
. - doNotHaveAtLeast(int, Condition<? super T>) - Method in interface org.fest.assertions.core.ObjectEnumerableAssert
-
This method is an alias
ObjectEnumerableAssert.areNotAtLeast(int, Condition)
. - doNotHaveAtMost(int, Condition<? super T>) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
This method is an alias
ObjectEnumerableAssert.areNotAtMost(int, Condition)
. - doNotHaveAtMost(int, Condition<? super T>) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
This method is an alias
ObjectEnumerableAssert.areNotAtMost(int, Condition)
. - doNotHaveAtMost(int, Condition<? super T>) - Method in interface org.fest.assertions.core.ObjectEnumerableAssert
-
This method is an alias
ObjectEnumerableAssert.areNotAtMost(int, Condition)
. - doNotHaveExactly(int, Condition<? super T>) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
This method is an alias
ObjectEnumerableAssert.areNotExactly(int, Condition)
. - doNotHaveExactly(int, Condition<? super T>) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
This method is an alias
ObjectEnumerableAssert.areNotExactly(int, Condition)
. - doNotHaveExactly(int, Condition<? super T>) - Method in interface org.fest.assertions.core.ObjectEnumerableAssert
-
This method is an alias
ObjectEnumerableAssert.areNotExactly(int, Condition)
. - DoubleArrayAssert - Class in org.fest.assertions.api
-
Assertion methods for arrays of
double
s. - DoubleArrayAssert(double[]) - Constructor for class org.fest.assertions.api.DoubleArrayAssert
- DoubleArrays - Class in org.fest.assertions.internal
-
Reusable assertions for arrays of
double
s. - DoubleArrays(ComparisonStrategy) - Constructor for class org.fest.assertions.internal.DoubleArrays
- DoubleAssert - Class in org.fest.assertions.api
-
Assertion methods for doubles.
- DoubleAssert(Double) - Constructor for class org.fest.assertions.api.DoubleAssert
- Doubles - Class in org.fest.assertions.internal
-
Reusable assertions for
s.Double
- Doubles(ComparisonStrategy) - Constructor for class org.fest.assertions.internal.Doubles
- duplicatesFrom(Iterable<?>) - Method in class org.fest.assertions.internal.AbstractComparisonStrategy
- duplicatesFrom(Iterable<?>) - Method in class org.fest.assertions.internal.ComparatorBasedComparisonStrategy
-
Returns any duplicate elements from the given
Iterable
according toComparatorBasedComparisonStrategy.comparator
. - duplicatesFrom(Iterable<?>) - Method in interface org.fest.assertions.internal.ComparisonStrategy
-
Returns any duplicate elements from the given
Iterable
according to the implemented comparison strategy. - duplicatesFrom(Iterable<?>) - Method in class org.fest.assertions.internal.StandardComparisonStrategy
-
Returns any duplicate elements from the given collection according to
Object.equals(Object)
comparison strategy.
E
- elementsShouldBe(Object, Object, Condition<?>) - Static method in class org.fest.assertions.error.ElementsShouldBe
-
Creates a new
ElementsShouldBe
. - ElementsShouldBe - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that each element of a group satisfies a
Condition
A group of elements can be a collection, an array. - elementsShouldBeAtLeast(Object, int, Condition<?>) - Static method in class org.fest.assertions.error.ElementsShouldBeAtLeast
-
Creates a new
ElementsShouldBeAtLeast
. - ElementsShouldBeAtLeast - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies elements of a group satisfies at least n times a
Condition
A group of elements can be a collection, an array. - elementsShouldBeAtMost(Object, int, Condition<?>) - Static method in class org.fest.assertions.error.ElementsShouldBeAtMost
-
Creates a new
ElementsShouldBeAtMost
. - ElementsShouldBeAtMost - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies elements of a group satisfies at most n times a
Condition
A group of elements can be a collection, an array. - elementsShouldBeExactly(Object, int, Condition<?>) - Static method in class org.fest.assertions.error.ElementsShouldBeExactly
-
Creates a new
ElementsShouldBeExactly
. - ElementsShouldBeExactly - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies elements of a group satisfies exactly n times a
Condition
A group of elements can be a collection, an array. - elementsShouldHave(Object, Object, Condition<?>) - Static method in class org.fest.assertions.error.ElementsShouldHave
-
Creates a new
ElementsShouldHave
. - ElementsShouldHave - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that each element of a group satisfies a
Condition
A group of elements can be a collection, an array. - elementsShouldHaveAtLeast(Object, int, Condition<?>) - Static method in class org.fest.assertions.error.ElementsShouldHaveAtLeast
-
Creates a new
ElementsShouldHaveAtLeast
. - ElementsShouldHaveAtLeast - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies elements of a group satisfies at least n times a
Condition
A group of elements can be a collection, an array. - elementsShouldHaveAtMost(Object, int, Condition<?>) - Static method in class org.fest.assertions.error.ElementsShouldHaveAtMost
-
Creates a new
ElementsShouldHaveAtMost
. - ElementsShouldHaveAtMost - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies elements of a group satisfies at most n times a
Condition
A group of elements can be a collection, an array. - elementsShouldHaveExactly(Object, int, Condition<?>) - Static method in class org.fest.assertions.error.ElementsShouldHaveExactly
-
Creates a new
ElementsShouldHaveExactly
. - ElementsShouldHaveExactly - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies elements of a group satisfies exactly n times a
Condition
A group of elements can be a collection, an array. - elementsShouldNotBe(Object, Object, Condition<?>) - Static method in class org.fest.assertions.error.ElementsShouldNotBe
-
Creates a new
ElementsShouldNotBe
. - ElementsShouldNotBe - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that not verifies that each element of a group satisfies a
Condition
A group of elements can be a collection, an array. - elementsShouldNotBeAtLeast(Object, int, Condition<?>) - Static method in class org.fest.assertions.error.ElementsShouldNotBeAtLeast
-
Creates a new
ElementsShouldNotBeAtLeast
. - ElementsShouldNotBeAtLeast - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that not verifies elements of a group satisfies at least n times a
Condition
A group of elements can be a collection, an array. - elementsShouldNotBeAtMost(Object, int, Condition<?>) - Static method in class org.fest.assertions.error.ElementsShouldNotBeAtMost
-
Creates a new
ElementsShouldNotBeAtMost
. - ElementsShouldNotBeAtMost - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that not verifies elements of a group satisfies at most n times a
Condition
A group of elements can be a collection, an array. - elementsShouldNotBeExactly(Object, int, Condition<?>) - Static method in class org.fest.assertions.error.ElementsShouldNotBeExactly
-
Creates a new
ElementsShouldNotBeExactly
. - ElementsShouldNotBeExactly - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that not verifies elements of a group satisfies exactly n times a
Condition
A group of elements can be a collection, an array. - elementsShouldNotHave(Object, Object, Condition<?>) - Static method in class org.fest.assertions.error.ElementsShouldNotHave
-
Creates a new
ElementsShouldNotHave
. - ElementsShouldNotHave - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that each element of a group satisfies a
Condition
A group of elements can be a collection, an array. - elementsShouldNotHaveAtLeast(Object, int, Condition<?>) - Static method in class org.fest.assertions.error.ElementsShouldNotHaveAtLeast
-
Creates a new
ElementsShouldNotHaveAtLeast
. - ElementsShouldNotHaveAtLeast - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that not verifies elements of a group satisfies at least n times a
Condition
A group of elements can be a collection, an array. - elementsShouldNotHaveAtMost(Object, int, Condition<?>) - Static method in class org.fest.assertions.error.ElementsShouldNotHaveAtMost
-
Creates a new
ElementsShouldNotHaveAtMost
. - ElementsShouldNotHaveAtMost - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that not verifies elements of a group satisfies at most n times a
Condition
A group of elements can be a collection, an array. - elementsShouldNotHaveExactly(Object, int, Condition<?>) - Static method in class org.fest.assertions.error.ElementsShouldNotHaveExactly
-
Creates a new
ElementsShouldNotHaveExactly
. - ElementsShouldNotHaveExactly - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that not verifies elements of a group satisfies exactly n times a
Condition
A group of elements can be a collection, an array. - emptyText() - Static method in class org.fest.assertions.description.EmptyTextDescription
- EmptyTextDescription - Class in org.fest.assertions.description
-
A description containing empty text.
- endsWith(boolean...) - Method in class org.fest.assertions.api.BooleanArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(byte...) - Method in class org.fest.assertions.api.ByteArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(char...) - Method in class org.fest.assertions.api.CharArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(double...) - Method in class org.fest.assertions.api.DoubleArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(float...) - Method in class org.fest.assertions.api.FloatArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(int...) - Method in class org.fest.assertions.api.IntArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(long...) - Method in class org.fest.assertions.api.LongArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(short...) - Method in class org.fest.assertions.api.ShortArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(String) - Method in class org.fest.assertions.api.StringAssert
-
Verifies that the actual
String
ends with the given suffix. - endsWith(T...) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that the actual group ends with the given sequence of objects, without any other objects between them.
- endsWith(T...) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that the actual group ends with the given sequence of objects, without any other objects between them.
- endsWith(T...) - Method in interface org.fest.assertions.core.ObjectEnumerableAssert
-
Verifies that the actual group ends with the given sequence of objects, without any other objects between them.
- entry(Object, Object) - Static method in class org.fest.assertions.api.Assertions
-
Only delegate to
MapEntry.entry(Object, Object)
so that Assertions offers a full feature entry point to all Fest Assert features (but you can useMapEntry
if you prefer). - entry(Object, Object) - Static method in class org.fest.assertions.data.MapEntry
-
Creates a new
MapEntry
. - EnumerableAssert<S extends EnumerableAssert<S,T>,T> - Interface in org.fest.assertions.core
-
Assertions applicable to groups of values that can be enumerated (e.g.
- equals(Object) - Method in class org.fest.assertions.api.AbstractAssert
-
Throws
if called.UnsupportedOperationException
- equals(Object) - Method in interface org.fest.assertions.core.Assert
-
Throws
if called.UnsupportedOperationException
- equals(Object) - Method in class org.fest.assertions.data.Index
- equals(Object) - Method in class org.fest.assertions.data.MapEntry
- equals(Object) - Method in class org.fest.assertions.data.Offset
- equals(Object) - Method in class org.fest.assertions.description.TextDescription
- equals(Object) - Method in class org.fest.assertions.error.BasicErrorMessageFactory
- equals(Object) - Method in class org.fest.assertions.error.ShouldBeEqual
- equalsTo(Object) - Method in class org.fest.assertions.api.filter.Filters
-
Filters the underlying iterable to keep object with property (specified by
Filters.with(String)
) equals to given value. - ErrorMessageFactory - Interface in org.fest.assertions.error
-
Factory of error messages.
- exists() - Method in class org.fest.assertions.api.FileAssert
-
Verifies that the actual
File
exists, regardless it's a file or directory. - expected - Variable in class org.fest.assertions.error.ShouldBeEqual
- expected - Variable in class org.fest.assertions.internal.BinaryDiffResult
- ExtensionPoints<S,A> - Interface in org.fest.assertions.core
-
Mechanism for extending assertion classes.
- extractProperty(String) - Static method in class org.fest.assertions.api.Assertions
-
Only delegate to
Properties.extractProperty(String)
so that Assertions offers a full feature entry point to all Fest Assert features (but you can useProperties
if you prefer). - extractProperty(String) - Static method in class org.fest.assertions.groups.Properties
-
Creates a new
.Properties
with given propertyName and Object as property type. - extractProperty(String, Class<T>) - Static method in class org.fest.assertions.api.Assertions
-
Only delegate to
Properties.extractProperty(String)
so that Assertions offers a full feature entry point to all Fest Assert features (but you can useProperties
if you prefer). - extractProperty(String, Class<T>) - Static method in class org.fest.assertions.groups.Properties
-
Creates a new
.Properties
F
- fail(String) - Static method in class org.fest.assertions.api.Assertions
-
Only delegate to
Fail.fail(String)
so that Assertions offers a full feature entry point to all Fest Assert features (but you can use Fail if you prefer). - fail(String) - Static method in class org.fest.assertions.api.Fail
-
Fails with the given message.
- fail(String, Throwable) - Static method in class org.fest.assertions.api.Assertions
-
Only delegate to
Fail.fail(String, Throwable)
so that Assertions offers a full feature entry point to all Fest Assert features (but you can use Fail if you prefer). - fail(String, Throwable) - Static method in class org.fest.assertions.api.Fail
-
Throws an
AssertionError
with the given message and with theThrowable
that caused the failure. - Fail - Class in org.fest.assertions.api
-
Common failures.
- Fail() - Constructor for class org.fest.assertions.api.Fail
-
This constructor is protected to make it possible to subclass this class.
- failBecauseExceptionWasNotThrown(Class<? extends Exception>) - Static method in class org.fest.assertions.api.Assertions
-
Only delegate to
Fail.failBecauseExceptionWasNotThrown(Class)
so that Assertions offers a full feature entry point to all Fest Assert features (but you can use Fail if you prefer). - failBecauseExceptionWasNotThrown(Class<? extends Throwable>) - Static method in class org.fest.assertions.api.Fail
-
Throws an
AssertionError
with a message explaining that aThrowable
of given class was expected to be thrown but had not been. - failure(String) - Method in class org.fest.assertions.internal.Failures
-
Creates a
using the givenAssertionError
String
as message. - failure(AssertionInfo, AssertionErrorFactory) - Method in class org.fest.assertions.internal.Failures
-
Creates a
following this pattern: creates aAssertionError
usingAssertionError
as the error message if such value is notAssertionInfo.overridingErrorMessage()
null
, or uses the given
to create anAssertionErrorFactory
, prepending the value ofAssertionError
to the error messageAssertionInfo.description()
- failure(AssertionInfo, ErrorMessageFactory) - Method in class org.fest.assertions.internal.Failures
-
Creates a
following this pattern: creates aAssertionError
usingAssertionError
as the error message if such value is notAssertionInfo.overridingErrorMessage()
null
, or uses the given
to create the detail message of theErrorMessageFactory
, prepending the value ofAssertionError
to the error messageAssertionInfo.description()
- Failures - Class in org.fest.assertions.internal
-
Failure actions.
- FileAssert - Class in org.fest.assertions.api
-
Assertion methods for
s.File
- FileAssert(File) - Constructor for class org.fest.assertions.api.FileAssert
- Files - Class in org.fest.assertions.internal
-
Reusable assertions for
s.File
- filter(E[]) - Static method in class org.fest.assertions.api.Assertions
-
Only delegate to
Filters.filter(Object[])
so that Assertions offers a full feature entry point to all Fest Assert features (but you can useFilters
if you prefer). - filter(E[]) - Static method in class org.fest.assertions.api.filter.Filters
-
Creates a new
with the array to filter.Filters
- filter(Iterable<E>) - Static method in class org.fest.assertions.api.Assertions
-
Only delegate to
Filters.filter(Object[])
so that Assertions offers a full feature entry point to all Fest Assert features (but you can useFilters
if you prefer). - filter(Iterable<E>) - Static method in class org.fest.assertions.api.filter.Filters
-
Creates a new
with theFilters
Iterable
to filter. - Filters<E> - Class in org.fest.assertions.api.filter
-
Filters the elements of a given
or array according to the specified filter criteria.Iterable
- FloatArrayAssert - Class in org.fest.assertions.api
-
Assertion methods for arrays of
float
s. - FloatArrayAssert(float[]) - Constructor for class org.fest.assertions.api.FloatArrayAssert
- FloatArrays - Class in org.fest.assertions.internal
-
Reusable assertions for arrays of
float
s. - FloatArrays(ComparisonStrategy) - Constructor for class org.fest.assertions.internal.FloatArrays
- FloatAssert - Class in org.fest.assertions.api
-
Assertion methods for floats.
- FloatAssert(Float) - Constructor for class org.fest.assertions.api.FloatAssert
- FloatingPointNumberAssert<T extends java.lang.Number> - Interface in org.fest.assertions.core
-
Assertion methods applicable to floating-point
s.Number
- Floats - Class in org.fest.assertions.internal
-
Reusable assertions for
s.Float
- Floats(ComparisonStrategy) - Constructor for class org.fest.assertions.internal.Floats
- format - Variable in class org.fest.assertions.error.BasicErrorMessageFactory
- format(Description) - Method in class org.fest.assertions.error.DescriptionFormatter
-
Formats the given
by surrounding its text value with square brackets and adding a space at the end.Description
- format(Description, String, Object...) - Method in class org.fest.assertions.error.MessageFormatter
-
Interprets a printf-style format
String
for failed assertion messages. - from(Iterable<?>) - Method in class org.fest.assertions.groups.Properties
-
Extracts the values of the property (specified previously in
) from the elements of the givenProperties.extractProperty(String)
.Iterable
- from(Object[]) - Method in class org.fest.assertions.groups.Properties
-
Extracts the values of the property (specified previously in
) from the elements of the given array.Properties.extractProperty(String)
G
- get() - Method in class org.fest.assertions.api.filter.Filters
-
Returns the resulting filtered Iterable<E> (even if the constructor parameter type was an array).
- get(int) - Method in class org.fest.assertions.util.ArrayWrapperList
- getComparator() - Method in class org.fest.assertions.internal.ByteArrays
- getComparator() - Method in class org.fest.assertions.internal.CharArrays
- getComparator() - Method in class org.fest.assertions.internal.Comparables
- getComparator() - Method in class org.fest.assertions.internal.ComparatorBasedComparisonStrategy
- getComparator() - Method in class org.fest.assertions.internal.Dates
- getComparator() - Method in class org.fest.assertions.internal.DoubleArrays
- getComparator() - Method in class org.fest.assertions.internal.FloatArrays
- getComparator() - Method in class org.fest.assertions.internal.IntArrays
- getComparator() - Method in class org.fest.assertions.internal.Iterables
- getComparator() - Method in class org.fest.assertions.internal.Lists
- getComparator() - Method in class org.fest.assertions.internal.LongArrays
- getComparator() - Method in class org.fest.assertions.internal.ObjectArrays
- getComparator() - Method in class org.fest.assertions.internal.Objects
- getComparator() - Method in class org.fest.assertions.internal.ShortArrays
- getComparator() - Method in class org.fest.assertions.internal.Strings
- getComponentType() - Method in class org.fest.assertions.util.ArrayWrapperList
-
Returns the component type of the wrapped array.
- getWritableAssertionInfo() - Method in class org.fest.assertions.api.AbstractAssert
-
Exposes the
WritableAssertionInfo
used in the current assertion for better extensibility. When writing your own assertion class, you can use the returnedWritableAssertionInfo
to change the error message and still keep the description set by the assertion user.
H
- has(Condition<? super A>) - Method in class org.fest.assertions.api.AbstractAssert
-
Verifies that the actual value satisfies the given condition.
- has(Condition<? super A>) - Method in interface org.fest.assertions.core.ExtensionPoints
-
Verifies that the actual value satisfies the given condition.
- has(Condition<? super T>, Index) - Method in class org.fest.assertions.api.ListAssert
-
Verifies that the actual object at the given index in the actual group satisfies the given condition.
- hasBinaryContent(byte[]) - Method in class org.fest.assertions.api.FileAssert
-
Verifies that the binary content of the actual
File
is exactly equal to the given one. - hasContent(String) - Method in class org.fest.assertions.api.FileAssert
-
Verifies that the text content of the actual
File
is exactly equal to the given one.
The charset to use when reading the file should be provided withFileAssert.usingCharset(Charset)
orFileAssert.usingCharset(String)
prior to calling this method; if not, the platform's default charset (as returned byCharset.defaultCharset()
) will be used. - hasContentEqualTo(File) - Method in class org.fest.assertions.api.FileAssert
-
Verifies that the content of the actual
File
is equal to the content of the given one. - hasContentEqualTo(InputStream) - Method in class org.fest.assertions.api.InputStreamAssert
-
Verifies that the content of the actual
InputStream
is equal to the content of the given one. - hashCode() - Method in class org.fest.assertions.api.AbstractAssert
-
Always returns 1.
- hashCode() - Method in class org.fest.assertions.data.Index
- hashCode() - Method in class org.fest.assertions.data.MapEntry
- hashCode() - Method in class org.fest.assertions.data.Offset
- hashCode() - Method in class org.fest.assertions.description.TextDescription
- hashCode() - Method in class org.fest.assertions.error.BasicErrorMessageFactory
- hashCode() - Method in class org.fest.assertions.error.ShouldBeEqual
- hasMessage(String) - Method in class org.fest.assertions.api.ThrowableAssert
-
Verifies that the message of the actual
Throwable
is equal to the given one. - hasMessageContaining(String) - Method in class org.fest.assertions.api.ThrowableAssert
-
Verifies that the message of the actual
Throwable
contains with the given description. - hasMessageEndingWith(String) - Method in class org.fest.assertions.api.ThrowableAssert
-
Verifies that the message of the actual
Throwable
ends with the given description. - hasMessageStartingWith(String) - Method in class org.fest.assertions.api.ThrowableAssert
-
Verifies that the message of the actual
Throwable
starts with the given description. - hasNoCause() - Method in class org.fest.assertions.api.ThrowableAssert
-
Verifies that the actual
Throwable
does not have a cause. - hasNoDiff() - Method in class org.fest.assertions.internal.BinaryDiffResult
- hasSameClassAs(Object) - Method in class org.fest.assertions.api.AbstractAssert
-
Verifies that the actual value has the same class as the given object.
- hasSameClassAs(Object) - Method in interface org.fest.assertions.core.Assert
-
Verifies that the actual value has the same class as the given object.
- hasSameSizeAs(Iterable<?>) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that the actual group has the same size as given
Iterable
. - hasSameSizeAs(Iterable<?>) - Method in class org.fest.assertions.api.BooleanArrayAssert
-
Verifies that the actual group has the same size as given
Iterable
. - hasSameSizeAs(Iterable<?>) - Method in class org.fest.assertions.api.ByteArrayAssert
-
Verifies that the actual group has the same size as given
Iterable
. - hasSameSizeAs(Iterable<?>) - Method in class org.fest.assertions.api.CharArrayAssert
-
Verifies that the actual group has the same size as given
Iterable
. - hasSameSizeAs(Iterable<?>) - Method in class org.fest.assertions.api.DoubleArrayAssert
-
Verifies that the actual group has the same size as given
Iterable
. - hasSameSizeAs(Iterable<?>) - Method in class org.fest.assertions.api.FloatArrayAssert
-
Verifies that the actual group has the same size as given
Iterable
. - hasSameSizeAs(Iterable<?>) - Method in class org.fest.assertions.api.IntArrayAssert
-
Verifies that the actual group has the same size as given
Iterable
. - hasSameSizeAs(Iterable<?>) - Method in class org.fest.assertions.api.LongArrayAssert
-
Verifies that the actual group has the same size as given
Iterable
. - hasSameSizeAs(Iterable<?>) - Method in class org.fest.assertions.api.MapAssert
-
Verifies that the actual group has the same size as given
Iterable
. - hasSameSizeAs(Iterable<?>) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that the actual group has the same size as given
Iterable
. - hasSameSizeAs(Iterable<?>) - Method in class org.fest.assertions.api.ShortArrayAssert
-
Verifies that the actual group has the same size as given
Iterable
. - hasSameSizeAs(Iterable<?>) - Method in class org.fest.assertions.api.StringAssert
-
Verifies that the actual group has the same size as given
Iterable
. - hasSameSizeAs(Iterable<?>) - Method in interface org.fest.assertions.core.EnumerableAssert
-
Verifies that the actual group has the same size as given
Iterable
. - hasSameSizeAs(Object[]) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that the actual group has the same size as given array.
- hasSameSizeAs(Object[]) - Method in class org.fest.assertions.api.BooleanArrayAssert
-
Verifies that the actual group has the same size as given array.
- hasSameSizeAs(Object[]) - Method in class org.fest.assertions.api.ByteArrayAssert
-
Verifies that the actual group has the same size as given array.
- hasSameSizeAs(Object[]) - Method in class org.fest.assertions.api.CharArrayAssert
-
Verifies that the actual group has the same size as given array.
- hasSameSizeAs(Object[]) - Method in class org.fest.assertions.api.DoubleArrayAssert
-
Verifies that the actual group has the same size as given array.
- hasSameSizeAs(Object[]) - Method in class org.fest.assertions.api.FloatArrayAssert
-
Verifies that the actual group has the same size as given array.
- hasSameSizeAs(Object[]) - Method in class org.fest.assertions.api.IntArrayAssert
-
Verifies that the actual group has the same size as given array.
- hasSameSizeAs(Object[]) - Method in class org.fest.assertions.api.LongArrayAssert
-
Verifies that the actual group has the same size as given array.
- hasSameSizeAs(Object[]) - Method in class org.fest.assertions.api.MapAssert
-
Verifies that the actual group has the same size as given array.
- hasSameSizeAs(Object[]) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that the actual group has the same size as given array.
- hasSameSizeAs(Object[]) - Method in class org.fest.assertions.api.ShortArrayAssert
-
Verifies that the actual group has the same size as given array.
- hasSameSizeAs(Object[]) - Method in class org.fest.assertions.api.StringAssert
-
Verifies that the actual group has the same size as given array.
- hasSameSizeAs(Object[]) - Method in interface org.fest.assertions.core.EnumerableAssert
-
Verifies that the actual group has the same size as given array.
- hasSize(int) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that the number of values in the actual group is equal to the given one.
- hasSize(int) - Method in class org.fest.assertions.api.BooleanArrayAssert
-
Verifies that the number of values in the actual group is equal to the given one.
- hasSize(int) - Method in class org.fest.assertions.api.ByteArrayAssert
-
Verifies that the number of values in the actual group is equal to the given one.
- hasSize(int) - Method in class org.fest.assertions.api.CharArrayAssert
-
Verifies that the number of values in the actual group is equal to the given one.
- hasSize(int) - Method in class org.fest.assertions.api.DoubleArrayAssert
-
Verifies that the number of values in the actual group is equal to the given one.
- hasSize(int) - Method in class org.fest.assertions.api.FloatArrayAssert
-
Verifies that the number of values in the actual group is equal to the given one.
- hasSize(int) - Method in class org.fest.assertions.api.IntArrayAssert
-
Verifies that the number of values in the actual group is equal to the given one.
- hasSize(int) - Method in class org.fest.assertions.api.LongArrayAssert
-
Verifies that the number of values in the actual group is equal to the given one.
- hasSize(int) - Method in class org.fest.assertions.api.MapAssert
-
Verifies that the number of values in the actual group is equal to the given one.
- hasSize(int) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that the number of values in the actual group is equal to the given one.
- hasSize(int) - Method in class org.fest.assertions.api.ShortArrayAssert
-
Verifies that the number of values in the actual group is equal to the given one.
- hasSize(int) - Method in class org.fest.assertions.api.StringAssert
-
Verifies that the number of values in the actual group is equal to the given one.
- hasSize(int) - Method in interface org.fest.assertions.core.EnumerableAssert
-
Verifies that the number of values in the actual group is equal to the given one.
- hasTime(long) - Method in class org.fest.assertions.api.DateAssert
-
Verifies that the actual
Date
has the same time as the given timestamp. - have(Condition<? super T>) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that each element value satisfies the given condition
- have(Condition<? super T>) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that each element value satisfies the given condition
- have(Condition<? super T>) - Method in interface org.fest.assertions.core.ObjectEnumerableAssert
-
Verifies that each element value satisfies the given condition
- haveAtLeast(int, Condition<? super T>) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
This method is an alias for
ObjectEnumerableAssert.areAtLeast(int, Condition)
. - haveAtLeast(int, Condition<? super T>) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
This method is an alias for
ObjectEnumerableAssert.areAtLeast(int, Condition)
. - haveAtLeast(int, Condition<? super T>) - Method in interface org.fest.assertions.core.ObjectEnumerableAssert
-
This method is an alias for
ObjectEnumerableAssert.areAtLeast(int, Condition)
. - haveAtMost(int, Condition<? super T>) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
This method is an alias
ObjectEnumerableAssert.areAtMost(int, Condition)
. - haveAtMost(int, Condition<? super T>) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
This method is an alias
ObjectEnumerableAssert.areAtMost(int, Condition)
. - haveAtMost(int, Condition<? super T>) - Method in interface org.fest.assertions.core.ObjectEnumerableAssert
-
This method is an alias
ObjectEnumerableAssert.areAtMost(int, Condition)
. - haveExactly(int, Condition<? super T>) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
This method is an alias
ObjectEnumerableAssert.areExactly(int, Condition)
. - haveExactly(int, Condition<? super T>) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
This method is an alias
ObjectEnumerableAssert.areExactly(int, Condition)
. - haveExactly(int, Condition<? super T>) - Method in interface org.fest.assertions.core.ObjectEnumerableAssert
-
This method is an alias
ObjectEnumerableAssert.areExactly(int, Condition)
. - having(Condition<? super E>) - Method in class org.fest.assertions.api.filter.Filters
-
Filter the underlying group, keeping only elements satisfying the given
Condition
.
Same asFilters.being(Condition)
- pick the method you prefer to have the most readable code.
I
- in(Object...) - Method in class org.fest.assertions.api.filter.Filters
-
Filters the underlying iterable to keep object with property (specified by
Filters.with(String)
) equals to one of the given values. - Index - Class in org.fest.assertions.data
-
A positive index.
- IndexedObjectEnumerableAssert<S extends IndexedObjectEnumerableAssert<S,T>,T> - Interface in org.fest.assertions.core
-
Assertions methods applicable to indexed groups of objects (e.g.
- InputStreamAssert - Class in org.fest.assertions.api
-
Assertion methods for
s.InputStream
- InputStreamAssert(InputStream) - Constructor for class org.fest.assertions.api.InputStreamAssert
- InputStreams - Class in org.fest.assertions.internal
-
Reusable assertions for
s.InputStream
- InputStreamsException - Exception in org.fest.assertions.internal
-
Exception thrown by
.InputStreams
- InputStreamsException(String) - Constructor for exception org.fest.assertions.internal.InputStreamsException
-
Creates a new
.InputStreamsException
- InputStreamsException(String, Throwable) - Constructor for exception org.fest.assertions.internal.InputStreamsException
-
Creates a new
.InputStreamsException
- instance() - Static method in class org.fest.assertions.error.DescriptionFormatter
-
Returns the singleton instance of this class.
- instance() - Static method in class org.fest.assertions.error.MessageFormatter
- instance() - Static method in class org.fest.assertions.internal.BigDecimals
-
Returns the singleton instance of this class based on
StandardComparisonStrategy
. - instance() - Static method in class org.fest.assertions.internal.BooleanArrays
-
Returns the singleton instance of this class.
- instance() - Static method in class org.fest.assertions.internal.Booleans
-
Returns the singleton instance of this class.
- instance() - Static method in class org.fest.assertions.internal.ByteArrays
-
Returns the singleton instance of this class.
- instance() - Static method in class org.fest.assertions.internal.Bytes
-
Returns the singleton instance of this class.
- instance() - Static method in class org.fest.assertions.internal.Characters
-
Returns the singleton instance of this class.
- instance() - Static method in class org.fest.assertions.internal.CharArrays
-
Returns the singleton instance of this class.
- instance() - Static method in class org.fest.assertions.internal.Comparables
-
Returns the singleton instance of this class based on
StandardComparisonStrategy
. - instance() - Static method in class org.fest.assertions.internal.Conditions
-
Returns the singleton instance of this class.
- instance() - Static method in class org.fest.assertions.internal.Dates
-
Returns the singleton instance of this class.
- instance() - Static method in class org.fest.assertions.internal.DoubleArrays
-
Returns the singleton instance of this class.
- instance() - Static method in class org.fest.assertions.internal.Doubles
-
Returns the singleton instance of this class based on
StandardComparisonStrategy
. - instance() - Static method in class org.fest.assertions.internal.Failures
-
Returns the singleton instance of this class.
- instance() - Static method in class org.fest.assertions.internal.Files
-
Returns the singleton instance of this class.
- instance() - Static method in class org.fest.assertions.internal.FloatArrays
-
Returns the singleton instance of this class.
- instance() - Static method in class org.fest.assertions.internal.Floats
-
Returns the singleton instance of this class based on
StandardComparisonStrategy
. - instance() - Static method in class org.fest.assertions.internal.InputStreams
-
Returns the singleton instance of this class.
- instance() - Static method in class org.fest.assertions.internal.IntArrays
-
Returns the singleton instance of this class.
- instance() - Static method in class org.fest.assertions.internal.Integers
-
Returns the singleton instance of this class based on
StandardComparisonStrategy
. - instance() - Static method in class org.fest.assertions.internal.Iterables
-
Returns the singleton instance of this class based on
StandardComparisonStrategy
. - instance() - Static method in class org.fest.assertions.internal.Lists
-
Returns the singleton instance of this class.
- instance() - Static method in class org.fest.assertions.internal.LongArrays
-
Returns the singleton instance of this class.
- instance() - Static method in class org.fest.assertions.internal.Longs
-
Returns the singleton instance of this class.
- instance() - Static method in class org.fest.assertions.internal.Maps
-
Returns the singleton instance of this class.
- instance() - Static method in class org.fest.assertions.internal.ObjectArrays
-
Returns the singleton instance of this class.
- instance() - Static method in class org.fest.assertions.internal.Objects
-
Returns the singleton instance of this class based on
StandardComparisonStrategy
. - instance() - Static method in class org.fest.assertions.internal.PropertySupport
-
Returns the singleton instance of this class.
- instance() - Static method in class org.fest.assertions.internal.ShortArrays
-
Returns the singleton instance of this class.
- instance() - Static method in class org.fest.assertions.internal.Shorts
-
Returns the singleton instance of this class.
- instance() - Static method in class org.fest.assertions.internal.StandardComparisonStrategy
-
Returns the singleton instance of this class.
- instance() - Static method in class org.fest.assertions.internal.Strings
-
Returns the singleton instance of this class based on
StandardComparisonStrategy
. - instance() - Static method in class org.fest.assertions.internal.Throwables
-
Returns the singleton instance of this class.
- IntArrayAssert - Class in org.fest.assertions.api
-
Assertion methods for arrays of
int
s. - IntArrayAssert(int[]) - Constructor for class org.fest.assertions.api.IntArrayAssert
- IntArrays - Class in org.fest.assertions.internal
-
Reusable assertions for arrays of
int
s. - IntArrays(ComparisonStrategy) - Constructor for class org.fest.assertions.internal.IntArrays
- IntegerAssert - Class in org.fest.assertions.api
-
Assertion methods for integers.
- IntegerAssert(Integer) - Constructor for class org.fest.assertions.api.IntegerAssert
- Integers - Class in org.fest.assertions.internal
-
Reusable assertions for
s.Integer
- Integers(ComparisonStrategy) - Constructor for class org.fest.assertions.internal.Integers
- is(Condition<? super A>) - Method in class org.fest.assertions.api.AbstractAssert
-
Verifies that the actual value satisfies the given condition.
- is(Condition<? super A>) - Method in interface org.fest.assertions.core.ExtensionPoints
-
Verifies that the actual value satisfies the given condition.
- is(Condition<? super T>, Index) - Method in class org.fest.assertions.api.ListAssert
-
Verifies that the actual object at the given index in the actual group satisfies the given condition.
- isAbsolute() - Method in class org.fest.assertions.api.FileAssert
-
Verifies that the actual
File
is an absolute path. - isAfter(String) - Method in class org.fest.assertions.api.DateAssert
-
Same assertion as
DateAssert.isAfter(Date)
but given Date is represented as String either with ISO date format (yyyy-MM-dd) or user custom date format (set with methodDateAssert.withDateFormat(DateFormat)
). - isAfter(Date) - Method in class org.fest.assertions.api.DateAssert
-
Verifies that the actual
Date
is strictly after the given one. - isAfterOrEqualsTo(String) - Method in class org.fest.assertions.api.DateAssert
-
Same assertion as
DateAssert.isAfterOrEqualsTo(Date)
but given Date is represented as String either with ISO date format (yyyy-MM-dd) or user custom date format (set with methodDateAssert.withDateFormat(DateFormat)
). - isAfterOrEqualsTo(Date) - Method in class org.fest.assertions.api.DateAssert
-
Verifies that the actual
Date
is after or equals to the given one. - isAfterYear(int) - Method in class org.fest.assertions.api.DateAssert
-
Verifies that the actual
Date
is strictly after the given year. - isBefore(String) - Method in class org.fest.assertions.api.DateAssert
-
Same assertion as
DateAssert.isBefore(Date)
but given Date is represented as String either with ISO date format (yyyy-MM-dd) or user custom date format (set with methodDateAssert.withDateFormat(DateFormat)
). - isBefore(Date) - Method in class org.fest.assertions.api.DateAssert
-
Verifies that the actual
Date
is strictly before the given one. - isBeforeOrEqualsTo(String) - Method in class org.fest.assertions.api.DateAssert
-
Same assertion as
DateAssert.isBeforeOrEqualsTo(Date)
but given Date is represented as String either with ISO date format (yyyy-MM-dd) or user custom date format (set with methodDateAssert.withDateFormat(DateFormat)
). - isBeforeOrEqualsTo(Date) - Method in class org.fest.assertions.api.DateAssert
-
Verifies that the actual
Date
is before or equals to the given one. - isBeforeYear(int) - Method in class org.fest.assertions.api.DateAssert
-
Verifies that the actual
Date
is strictly before the given year. - isBetween(String, String) - Method in class org.fest.assertions.api.DateAssert
-
Same assertion as
DateAssert.isBetween(Date, Date)
but given Dates are represented as String either with ISO date format (yyyy-MM-dd) or user custom date format (set with methodDateAssert.withDateFormat(DateFormat)
). - isBetween(String, String, boolean, boolean) - Method in class org.fest.assertions.api.DateAssert
-
Same assertion as
DateAssert.isBetween(Date, Date, boolean, boolean)
but given Dates are represented as String either with ISO date format (yyyy-MM-dd) or user custom date format (set with methodDateAssert.withDateFormat(DateFormat)
). - isBetween(Date, Date) - Method in class org.fest.assertions.api.DateAssert
-
Verifies that the actual
Date
is in [start, end[ period (start included, end excluded). - isBetween(Date, Date, boolean, boolean) - Method in class org.fest.assertions.api.DateAssert
-
Verifies that the actual
Date
is in the given period defined by start and end dates.
To include start in the period set inclusiveStart parameter totrue
.
To include end in the period set inclusiveEnd parameter totrue
. - isCloseTo(String, long) - Method in class org.fest.assertions.api.DateAssert
-
Same assertion as
DateAssert.isCloseTo(Date, long)
but given Date is represented as String either with ISO date format (yyyy-MM-dd) or user custom date format (set with methodDateAssert.withDateFormat(DateFormat)
). - isCloseTo(Date, long) - Method in class org.fest.assertions.api.DateAssert
-
Verifies that the actual
Date
is close to the other date by less than delta (expressed in milliseconds), if difference is equals to delta it's ok. - isDirectory() - Method in class org.fest.assertions.api.FileAssert
-
Verifies that the actual
File
is an existing directory. - isEmpty() - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that the actual group of values is empty.
- isEmpty() - Method in class org.fest.assertions.api.BooleanArrayAssert
-
Verifies that the actual group of values is empty.
- isEmpty() - Method in class org.fest.assertions.api.ByteArrayAssert
-
Verifies that the actual group of values is empty.
- isEmpty() - Method in class org.fest.assertions.api.CharArrayAssert
-
Verifies that the actual group of values is empty.
- isEmpty() - Method in class org.fest.assertions.api.DoubleArrayAssert
-
Verifies that the actual group of values is empty.
- isEmpty() - Method in class org.fest.assertions.api.FloatArrayAssert
-
Verifies that the actual group of values is empty.
- isEmpty() - Method in class org.fest.assertions.api.IntArrayAssert
-
Verifies that the actual group of values is empty.
- isEmpty() - Method in class org.fest.assertions.api.LongArrayAssert
-
Verifies that the actual group of values is empty.
- isEmpty() - Method in class org.fest.assertions.api.MapAssert
-
Verifies that the actual group of values is empty.
- isEmpty() - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that the actual group of values is empty.
- isEmpty() - Method in class org.fest.assertions.api.ShortArrayAssert
-
Verifies that the actual group of values is empty.
- isEmpty() - Method in class org.fest.assertions.api.StringAssert
-
Verifies that the actual group of values is empty.
- isEmpty() - Method in interface org.fest.assertions.core.EnumerableAssert
-
Verifies that the actual group of values is empty.
- isEqualByComparingTo(A) - Method in class org.fest.assertions.api.AbstractUnevenComparableAssert
-
Verifies that the actual value is equal to the given one by invoking
.Comparable.compareTo(Object)
- isEqualByComparingTo(String) - Method in class org.fest.assertions.api.BigDecimalAssert
-
Same as
isEqualByComparingTo(BigDecimal)
but takes care of converting given String toBigDecimal
for you. - isEqualByComparingTo(T) - Method in interface org.fest.assertions.core.UnevenComparableAssert
-
Verifies that the actual value is equal to the given one by invoking
.Comparable.compareTo(Object)
- isEqualsToByComparingFields(T) - Method in class org.fest.assertions.api.ObjectAssert
-
Assert that the actual object is equals fields by fields to another object, inherited fields are taken into account.
- isEqualTo(boolean) - Method in class org.fest.assertions.api.BooleanAssert
-
Verifies that the actual value is equal to the given one.
- isEqualTo(byte) - Method in class org.fest.assertions.api.ByteAssert
-
Verifies that the actual value is equal to the given one.
- isEqualTo(char) - Method in class org.fest.assertions.api.CharacterAssert
-
Verifies that the actual value is equal to the given one.
- isEqualTo(double) - Method in class org.fest.assertions.api.DoubleAssert
-
Verifies that the actual value is equal to the given one.
- isEqualTo(double, Offset<Double>) - Method in class org.fest.assertions.api.DoubleAssert
-
Verifies that the actual value is equal to the given one, within a positive offset.
- isEqualTo(float) - Method in class org.fest.assertions.api.FloatAssert
-
Verifies that the actual value is equal to the given one.
- isEqualTo(float, Offset<Float>) - Method in class org.fest.assertions.api.FloatAssert
-
Verifies that the actual value is equal to the given one, within a positive offset.
- isEqualTo(int) - Method in class org.fest.assertions.api.IntegerAssert
-
Verifies that the actual value is equal to the given one.
- isEqualTo(long) - Method in class org.fest.assertions.api.LongAssert
-
Verifies that the actual value is equal to the given one.
- isEqualTo(short) - Method in class org.fest.assertions.api.ShortAssert
-
Verifies that the actual value is equal to the given one.
- isEqualTo(A) - Method in class org.fest.assertions.api.AbstractAssert
-
Verifies that the actual value is equal to the given one.
- isEqualTo(A) - Method in interface org.fest.assertions.core.Assert
-
Verifies that the actual value is equal to the given one.
- isEqualTo(Double, Double, Offset<?>) - Method in class org.fest.assertions.internal.Doubles
- isEqualTo(Double, Offset<Double>) - Method in class org.fest.assertions.api.DoubleAssert
-
Verifies that the actual value is equal to the given one, within a positive offset.
- isEqualTo(Float, Float, Offset<?>) - Method in class org.fest.assertions.internal.Floats
- isEqualTo(Float, Offset<Float>) - Method in class org.fest.assertions.api.FloatAssert
-
Verifies that the actual value is equal to the given one, within a positive offset.
- isEqualTo(String) - Method in class org.fest.assertions.api.BigDecimalAssert
-
Same as
isEqualTo(BigDecimal)
but takes care of converting given String toBigDecimal
for you. - isEqualTo(String) - Method in class org.fest.assertions.api.DateAssert
-
Same assertion as
isEqualTo(Date date)
but given Date is represented as String either with ISO date format (yyyy-MM-dd) or user custom date format (set with methodDateAssert.withDateFormat(DateFormat)
). - isEqualTo(NUMBER, NUMBER, Offset<?>) - Method in class org.fest.assertions.internal.RealNumbers
-
Returns true if the two floats parameter are equal within a positive offset, false otherwise.
It does not rely on the custom comparisonStrategy (if one is set) because using an offset is already a specific comparison strategy. - isEqualTo(T, Offset<T>) - Method in interface org.fest.assertions.core.FloatingPointNumberAssert
-
Verifies that the actual value is equal to the given one, within a positive offset.
- isEqualToIgnoringCase(String) - Method in class org.fest.assertions.api.StringAssert
-
Verifies that the actual
String
is equal to the given one, ignoring case considerations. - isExactlyInstanceOf(Class<?>) - Method in class org.fest.assertions.api.AbstractAssert
-
Verifies that the actual value is exactly an instance of the given type.
- isExactlyInstanceOf(Class<?>) - Method in interface org.fest.assertions.core.Assert
-
Verifies that the actual value is exactly an instance of the given type.
- isFalse() - Method in class org.fest.assertions.api.BooleanAssert
-
Verifies that the actual value is
false
. - isFile() - Method in class org.fest.assertions.api.FileAssert
-
Verifies that the actual
File
is an existing file. - isGreaterThan(byte) - Method in class org.fest.assertions.api.ByteAssert
-
Verifies that the actual value is greater than the given one.
- isGreaterThan(char) - Method in class org.fest.assertions.api.CharacterAssert
-
Verifies that the actual value is greater than the given one.
- isGreaterThan(double) - Method in class org.fest.assertions.api.DoubleAssert
-
Verifies that the actual value is greater than the given one.
- isGreaterThan(float) - Method in class org.fest.assertions.api.FloatAssert
-
Verifies that the actual value is greater than the given one.
- isGreaterThan(int) - Method in class org.fest.assertions.api.IntegerAssert
-
Verifies that the actual value is greater than the given one.
- isGreaterThan(long) - Method in class org.fest.assertions.api.LongAssert
-
Verifies that the actual value is greater than the given one.
- isGreaterThan(short) - Method in class org.fest.assertions.api.ShortAssert
-
Verifies that the actual value is greater than the given one.
- isGreaterThan(A) - Method in class org.fest.assertions.api.AbstractComparableAssert
-
Verifies that the actual value is greater than the given one.
- isGreaterThan(A) - Method in interface org.fest.assertions.core.ComparableAssert
-
Verifies that the actual value is greater than the given one.
- isGreaterThan(Object, Object) - Method in class org.fest.assertions.internal.ComparatorBasedComparisonStrategy
- isGreaterThan(Object, Object) - Method in interface org.fest.assertions.internal.ComparisonStrategy
-
Returns true if actual is greater than other, false otherwise.
- isGreaterThan(Object, Object) - Method in class org.fest.assertions.internal.StandardComparisonStrategy
- isGreaterThanOrEqualTo(byte) - Method in class org.fest.assertions.api.ByteAssert
-
Verifies that the actual value is greater than or equal to the given one.
- isGreaterThanOrEqualTo(char) - Method in class org.fest.assertions.api.CharacterAssert
-
Verifies that the actual value is greater than or equal to the given one.
- isGreaterThanOrEqualTo(double) - Method in class org.fest.assertions.api.DoubleAssert
-
Verifies that the actual value is greater than or equal to the given one.
- isGreaterThanOrEqualTo(float) - Method in class org.fest.assertions.api.FloatAssert
-
Verifies that the actual value is greater than or equal to the given one.
- isGreaterThanOrEqualTo(int) - Method in class org.fest.assertions.api.IntegerAssert
-
Verifies that the actual value is greater than or equal to the given one.
- isGreaterThanOrEqualTo(long) - Method in class org.fest.assertions.api.LongAssert
-
Verifies that the actual value is greater than or equal to the given one.
- isGreaterThanOrEqualTo(short) - Method in class org.fest.assertions.api.ShortAssert
-
Verifies that the actual value is greater than or equal to the given one.
- isGreaterThanOrEqualTo(A) - Method in class org.fest.assertions.api.AbstractComparableAssert
-
Verifies that the actual value is greater than or equal to the given one.
- isGreaterThanOrEqualTo(A) - Method in interface org.fest.assertions.core.ComparableAssert
-
Verifies that the actual value is greater than or equal to the given one.
- isGreaterThanOrEqualTo(Object, Object) - Method in class org.fest.assertions.internal.AbstractComparisonStrategy
- isGreaterThanOrEqualTo(Object, Object) - Method in interface org.fest.assertions.internal.ComparisonStrategy
-
Returns true if actual is greater than or equal to other, false otherwise.
- isIn(A...) - Method in class org.fest.assertions.api.AbstractAssert
-
Verifies that the actual value is present in the given array of values.
- isIn(A...) - Method in interface org.fest.assertions.core.Assert
-
Verifies that the actual value is present in the given array of values.
- isIn(Iterable<? extends A>) - Method in class org.fest.assertions.api.AbstractAssert
-
Verifies that the actual value is present in the given values.
- isIn(Iterable<? extends A>) - Method in interface org.fest.assertions.core.Assert
-
Verifies that the actual value is present in the given values.
- isIn(String...) - Method in class org.fest.assertions.api.DateAssert
-
Same assertion as
Assert.isIn(Object...)
but given Dates are represented as String either with ISO date format (yyyy-MM-dd) or user custom date format (set with methodDateAssert.withDateFormat(DateFormat)
). - isInSameDayAs(String) - Method in class org.fest.assertions.api.DateAssert
-
Same assertion as
DateAssert.isInSameDayAs(Date)
but given Date is represented as String either with ISO date format (yyyy-MM-dd) or user custom date format (set with methodDateAssert.withDateFormat(DateFormat)
). - isInSameDayAs(Date) - Method in class org.fest.assertions.api.DateAssert
-
Verifies that actual and given
Date
are chronologically in the same day of month (and thus in the same month and year). - isInSameHourAs(String) - Method in class org.fest.assertions.api.DateAssert
-
Same assertion as
DateAssert.isInSameHourAs(Date)
but given Date is represented as String either with ISO date format (yyyy-MM-dd) or user custom date format (set with methodDateAssert.withDateFormat(DateFormat)
). - isInSameHourAs(Date) - Method in class org.fest.assertions.api.DateAssert
-
Verifies that actual and given
Date
are chronologically in the same hour (and thus in the same day, month and year). - isInSameMinuteAs(String) - Method in class org.fest.assertions.api.DateAssert
-
Same assertion as
DateAssert.isInSameMinuteAs(Date)
but given Date is represented as String either with ISO date format (yyyy-MM-dd) or user custom date format (set with methodDateAssert.withDateFormat(DateFormat)
). - isInSameMinuteAs(Date) - Method in class org.fest.assertions.api.DateAssert
-
Verifies that actual and given
Date
are chronologically in the same minute (and thus in the same hour, day, month and year). - isInSameMonthAs(String) - Method in class org.fest.assertions.api.DateAssert
-
Same assertion as
DateAssert.isInSameMonthAs(Date)
but given Date is represented as String either with ISO date format (yyyy-MM-dd) or user custom date format (set with methodDateAssert.withDateFormat(DateFormat)
). - isInSameMonthAs(Date) - Method in class org.fest.assertions.api.DateAssert
-
Verifies that actual and given
Date
are chronologically in the same month (and thus in the same year). - isInSameSecondAs(String) - Method in class org.fest.assertions.api.DateAssert
-
Same assertion as
DateAssert.isInSameSecondAs(Date)
but given Date is represented as String either with ISO date format (yyyy-MM-dd) or user custom date format (set with methodDateAssert.withDateFormat(DateFormat)
). - isInSameSecondAs(Date) - Method in class org.fest.assertions.api.DateAssert
-
Verifies that actual and given
Date
are chronologically in the same second (and thus in the same minute, hour, day, month and year). - isInSameYearAs(String) - Method in class org.fest.assertions.api.DateAssert
-
Same assertion as
DateAssert.isInSameYearAs(Date)
but given Date is represented as String either with ISO date format (yyyy-MM-dd) or user custom date format (set with methodDateAssert.withDateFormat(DateFormat)
). - isInSameYearAs(Date) - Method in class org.fest.assertions.api.DateAssert
-
Verifies that actual and given
Date
are in the same year. - isInstanceOf(Class<?>) - Method in class org.fest.assertions.api.AbstractAssert
-
Verifies that the actual value is an instance of the given type.
- isInstanceOf(Class<?>) - Method in interface org.fest.assertions.core.Assert
-
Verifies that the actual value is an instance of the given type.
- isInstanceOfAny(Class<?>...) - Method in class org.fest.assertions.api.AbstractAssert
-
Verifies that the actual value is an instance of any of the given types.
- isInstanceOfAny(Class<?>...) - Method in interface org.fest.assertions.core.Assert
-
Verifies that the actual value is an instance of any of the given types.
- isInTheFuture() - Method in class org.fest.assertions.api.DateAssert
-
Verifies that the actual
Date
is strictly in the future. - isInThePast() - Method in class org.fest.assertions.api.DateAssert
-
Verifies that the actual
Date
is strictly in the past. - isInWithStringDateCollection(Collection<String>) - Method in class org.fest.assertions.api.DateAssert
-
Same assertion as
Assert.isIn(Iterable)
but given Dates are represented as String either with ISO date format (yyyy-MM-dd) or user custom date format (set with methodDateAssert.withDateFormat(DateFormat)
).
Method signature could not beisIn(Collection<String>)
because it would be same signature asisIn(Collection<Date>)
since java collection type are erased at runtime. - isLenientEqualsToByAcceptingFields(T, String...) - Method in class org.fest.assertions.api.ObjectAssert
-
Assert that the actual object is lenient equals to given one by only comparing actual and other on the given "accepted" fields only ("accepted" fields can be inherited fields).
- isLenientEqualsToByIgnoringFields(T, String...) - Method in class org.fest.assertions.api.ObjectAssert
-
Assert that the actual object is lenient equals to given one by comparing actual and other fields (including inherited fields) except the given "ignored" fields.
- isLenientEqualsToByIgnoringNullFields(T) - Method in class org.fest.assertions.api.ObjectAssert
-
Assert that the actual object is lenient equals to given one by comparing only actual and not null other fields (including inherited fields).
- isLessThan(byte) - Method in class org.fest.assertions.api.ByteAssert
-
Verifies that the actual value is less than the given one.
- isLessThan(char) - Method in class org.fest.assertions.api.CharacterAssert
-
Verifies that the actual value is less than the given one.
- isLessThan(double) - Method in class org.fest.assertions.api.DoubleAssert
-
Verifies that the actual value is less than the given one.
- isLessThan(float) - Method in class org.fest.assertions.api.FloatAssert
-
Verifies that the actual value is less than the given one.
- isLessThan(int) - Method in class org.fest.assertions.api.IntegerAssert
-
Verifies that the actual value is less than the given one.
- isLessThan(long) - Method in class org.fest.assertions.api.LongAssert
-
Verifies that the actual value is less than the given one.
- isLessThan(short) - Method in class org.fest.assertions.api.ShortAssert
-
Verifies that the actual value is less than the given one.
- isLessThan(A) - Method in class org.fest.assertions.api.AbstractComparableAssert
-
Verifies that the actual value is less than the given one.
- isLessThan(A) - Method in interface org.fest.assertions.core.ComparableAssert
-
Verifies that the actual value is less than the given one.
- isLessThan(Object, Object) - Method in class org.fest.assertions.internal.AbstractComparisonStrategy
- isLessThan(Object, Object) - Method in interface org.fest.assertions.internal.ComparisonStrategy
-
Returns true if actual is less than other, false otherwise.
- isLessThanOrEqualTo(byte) - Method in class org.fest.assertions.api.ByteAssert
-
Verifies that the actual value is less than or equal to the given one.
- isLessThanOrEqualTo(char) - Method in class org.fest.assertions.api.CharacterAssert
-
Verifies that the actual value is less than or equal to the given one.
- isLessThanOrEqualTo(double) - Method in class org.fest.assertions.api.DoubleAssert
-
Verifies that the actual value is less than or equal to the given one.
- isLessThanOrEqualTo(float) - Method in class org.fest.assertions.api.FloatAssert
-
Verifies that the actual value is less than or equal to the given one.
- isLessThanOrEqualTo(int) - Method in class org.fest.assertions.api.IntegerAssert
-
Verifies that the actual value is less than or equal to the given one.
- isLessThanOrEqualTo(long) - Method in class org.fest.assertions.api.LongAssert
-
Verifies that the actual value is less than or equal to the given one.
- isLessThanOrEqualTo(short) - Method in class org.fest.assertions.api.ShortAssert
-
Verifies that the actual value is less than or equal to the given one.
- isLessThanOrEqualTo(A) - Method in class org.fest.assertions.api.AbstractComparableAssert
-
Verifies that the actual value is less than or equal to the given one.
- isLessThanOrEqualTo(A) - Method in interface org.fest.assertions.core.ComparableAssert
-
Verifies that the actual value is less than or equal to the given one.
- isLessThanOrEqualTo(Object, Object) - Method in class org.fest.assertions.internal.AbstractComparisonStrategy
- isLessThanOrEqualTo(Object, Object) - Method in interface org.fest.assertions.internal.ComparisonStrategy
-
Returns true if actual is less than or equal to other, false otherwise.
- isLowerCase() - Method in class org.fest.assertions.api.CharacterAssert
-
Verifies that the actual value is a lowercase character.
- isNaN() - Method in class org.fest.assertions.api.DoubleAssert
-
Verifies that the actual value is equal to
NaN
. - isNaN() - Method in class org.fest.assertions.api.FloatAssert
-
Verifies that the actual value is equal to
NaN
. - isNaN() - Method in interface org.fest.assertions.core.FloatingPointNumberAssert
-
Verifies that the actual value is equal to
NaN
. - isNegative() - Method in class org.fest.assertions.api.BigDecimalAssert
-
Verifies that the actual value is negative.
- isNegative() - Method in class org.fest.assertions.api.ByteAssert
-
Verifies that the actual value is negative.
- isNegative() - Method in class org.fest.assertions.api.DoubleAssert
-
Verifies that the actual value is negative.
- isNegative() - Method in class org.fest.assertions.api.FloatAssert
-
Verifies that the actual value is negative.
- isNegative() - Method in class org.fest.assertions.api.IntegerAssert
-
Verifies that the actual value is negative.
- isNegative() - Method in class org.fest.assertions.api.LongAssert
-
Verifies that the actual value is negative.
- isNegative() - Method in class org.fest.assertions.api.ShortAssert
-
Verifies that the actual value is negative.
- isNegative() - Method in interface org.fest.assertions.core.NumberAssert
-
Verifies that the actual value is negative.
- isNot(Condition<? super A>) - Method in class org.fest.assertions.api.AbstractAssert
-
Verifies that the actual value does not satisfy the given condition.
- isNot(Condition<? super A>) - Method in interface org.fest.assertions.core.ExtensionPoints
-
Verifies that the actual value does not satisfy the given condition.
- isNotBetween(String, String) - Method in class org.fest.assertions.api.DateAssert
-
Same assertion as
DateAssert.isNotBetween(Date, Date)
but given Dates are represented as String either with ISO date format (yyyy-MM-dd) or user custom date format (set with methodDateAssert.withDateFormat(DateFormat)
). - isNotBetween(String, String, boolean, boolean) - Method in class org.fest.assertions.api.DateAssert
-
Same assertion as
DateAssert.isNotBetween(Date, Date, boolean, boolean)
but given Dates are represented as String either with ISO date format (yyyy-MM-dd) or user custom date format (set with methodDateAssert.withDateFormat(DateFormat)
). - isNotBetween(Date, Date) - Method in class org.fest.assertions.api.DateAssert
-
Verifies that the actual
Date
is not in [start, end[ period - isNotBetween(Date, Date, boolean, boolean) - Method in class org.fest.assertions.api.DateAssert
-
Verifies that the actual
Date
is not in the given period defined by start and end dates.
To include start in the period set inclusiveStart parameter totrue
.
To include end in the period set inclusiveEnd parameter totrue
. - isNotEmpty() - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that the actual group of values is not empty.
- isNotEmpty() - Method in class org.fest.assertions.api.BooleanArrayAssert
-
Verifies that the actual group of values is not empty.
- isNotEmpty() - Method in class org.fest.assertions.api.ByteArrayAssert
-
Verifies that the actual group of values is not empty.
- isNotEmpty() - Method in class org.fest.assertions.api.CharArrayAssert
-
Verifies that the actual group of values is not empty.
- isNotEmpty() - Method in class org.fest.assertions.api.DoubleArrayAssert
-
Verifies that the actual group of values is not empty.
- isNotEmpty() - Method in class org.fest.assertions.api.FloatArrayAssert
-
Verifies that the actual group of values is not empty.
- isNotEmpty() - Method in class org.fest.assertions.api.IntArrayAssert
-
Verifies that the actual group of values is not empty.
- isNotEmpty() - Method in class org.fest.assertions.api.LongArrayAssert
-
Verifies that the actual group of values is not empty.
- isNotEmpty() - Method in class org.fest.assertions.api.MapAssert
-
Verifies that the actual group of values is not empty.
- isNotEmpty() - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that the actual group of values is not empty.
- isNotEmpty() - Method in class org.fest.assertions.api.ShortArrayAssert
-
Verifies that the actual group of values is not empty.
- isNotEmpty() - Method in class org.fest.assertions.api.StringAssert
-
Verifies that the actual group of values is not empty.
- isNotEmpty() - Method in interface org.fest.assertions.core.EnumerableAssert
-
Verifies that the actual group of values is not empty.
- isNotEqualByComparingTo(A) - Method in class org.fest.assertions.api.AbstractUnevenComparableAssert
-
Verifies that the actual value is not equal to the given one by invoking
.Comparable.compareTo(Object)
- isNotEqualByComparingTo(T) - Method in interface org.fest.assertions.core.UnevenComparableAssert
-
Verifies that the actual value is not equal to the given one by invoking
.Comparable.compareTo(Object)
- isNotEqualTo(boolean) - Method in class org.fest.assertions.api.BooleanAssert
-
Verifies that the actual value is not equal to the given one.
- isNotEqualTo(byte) - Method in class org.fest.assertions.api.ByteAssert
-
Verifies that the actual value is not equal to the given one.
- isNotEqualTo(char) - Method in class org.fest.assertions.api.CharacterAssert
-
Verifies that the actual value is not equal to the given one.
- isNotEqualTo(double) - Method in class org.fest.assertions.api.DoubleAssert
-
Verifies that the actual value is not equal to the given one.
- isNotEqualTo(float) - Method in class org.fest.assertions.api.FloatAssert
-
Verifies that the actual value is not equal to the given one.
- isNotEqualTo(int) - Method in class org.fest.assertions.api.IntegerAssert
-
Verifies that the actual value is not equal to the given one.
- isNotEqualTo(long) - Method in class org.fest.assertions.api.LongAssert
-
Verifies that the actual value is not equal to the given one.
- isNotEqualTo(short) - Method in class org.fest.assertions.api.ShortAssert
-
Verifies that the actual value is not equal to the given one.
- isNotEqualTo(A) - Method in class org.fest.assertions.api.AbstractAssert
-
Verifies that the actual value is not equal to the given one.
- isNotEqualTo(A) - Method in interface org.fest.assertions.core.Assert
-
Verifies that the actual value is not equal to the given one.
- isNotEqualTo(String) - Method in class org.fest.assertions.api.DateAssert
-
Same assertion as
isNotEqualTo(Date date)
but given Date is represented as String either with ISO date format (yyyy-MM-dd) or user custom date format (set with methodDateAssert.withDateFormat(DateFormat)
). - isNotExactlyInstanceOf(Class<?>) - Method in class org.fest.assertions.api.AbstractAssert
-
Verifies that the actual value is not exactly an instance of given type.
- isNotExactlyInstanceOf(Class<?>) - Method in interface org.fest.assertions.core.Assert
-
Verifies that the actual value is not exactly an instance of given type.
- isNotIn(A...) - Method in class org.fest.assertions.api.AbstractAssert
-
Verifies that the actual value is not present in the given array of values.
- isNotIn(A...) - Method in interface org.fest.assertions.core.Assert
-
Verifies that the actual value is not present in the given array of values.
- isNotIn(Iterable<? extends A>) - Method in class org.fest.assertions.api.AbstractAssert
-
Verifies that the actual value is not present in the given values.
- isNotIn(Iterable<? extends A>) - Method in interface org.fest.assertions.core.Assert
-
Verifies that the actual value is not present in the given values.
- isNotIn(String...) - Method in class org.fest.assertions.api.DateAssert
-
Same assertion as
Assert.isNotIn(Object...)
but given Dates are represented as String either with ISO date format (yyyy-MM-dd) or user custom date format (set with methodDateAssert.withDateFormat(DateFormat)
). - isNotInstanceOf(Class<?>) - Method in class org.fest.assertions.api.AbstractAssert
-
Verifies that the actual value is not an instance of the given type.
- isNotInstanceOf(Class<?>) - Method in interface org.fest.assertions.core.Assert
-
Verifies that the actual value is not an instance of the given type.
- isNotInstanceOfAny(Class<?>...) - Method in class org.fest.assertions.api.AbstractAssert
-
Verifies that the actual value is not an instance of any of the given types.
- isNotInstanceOfAny(Class<?>...) - Method in interface org.fest.assertions.core.Assert
-
Verifies that the actual value is not an instance of any of the given types.
- isNotInWithStringDateCollection(Collection<String>) - Method in class org.fest.assertions.api.DateAssert
-
Same assertion as
Assert.isNotIn(Iterable)
but given Dates are represented as String either with ISO date format (yyyy-MM-dd) or user custom date format (set with methodDateAssert.withDateFormat(DateFormat)
).
Method signature could not beisNotIn(Collection<String>)
because it would be same signature asisNotIn(Collection<Date>)
since java collection type are erased at runtime. - isNotNaN() - Method in class org.fest.assertions.api.DoubleAssert
-
Verifies that the actual value is not equal to
NaN
. - isNotNaN() - Method in class org.fest.assertions.api.FloatAssert
-
Verifies that the actual value is not equal to
NaN
. - isNotNaN() - Method in interface org.fest.assertions.core.FloatingPointNumberAssert
-
Verifies that the actual value is not equal to
NaN
. - isNotNegative() - Method in class org.fest.assertions.api.BigDecimalAssert
-
Verifies that the actual value is non negative (positive or equal zero).
- isNotNegative() - Method in class org.fest.assertions.api.ByteAssert
-
Verifies that the actual value is non negative (positive or equal zero).
- isNotNegative() - Method in class org.fest.assertions.api.DoubleAssert
-
Verifies that the actual value is non negative (positive or equal zero).
- isNotNegative() - Method in class org.fest.assertions.api.FloatAssert
-
Verifies that the actual value is non negative (positive or equal zero).
- isNotNegative() - Method in class org.fest.assertions.api.IntegerAssert
-
Verifies that the actual value is non negative (positive or equal zero).
- isNotNegative() - Method in class org.fest.assertions.api.LongAssert
-
Verifies that the actual value is non negative (positive or equal zero).
- isNotNegative() - Method in class org.fest.assertions.api.ShortAssert
-
Verifies that the actual value is non negative (positive or equal zero).
- isNotNegative() - Method in interface org.fest.assertions.core.NumberAssert
-
Verifies that the actual value is non negative (positive or equal zero).
- isNotNull() - Method in class org.fest.assertions.api.AbstractAssert
-
Verifies that the actual value is not
null
. - isNotNull() - Method in interface org.fest.assertions.core.Assert
-
Verifies that the actual value is not
null
. - isNotOfAnyClassIn(Class<?>...) - Method in class org.fest.assertions.api.AbstractAssert
-
Verifies that the actual value type is not in given types.
- isNotOfAnyClassIn(Class<?>...) - Method in interface org.fest.assertions.core.Assert
-
Verifies that the actual value type is not in given types.
- isNotPositive() - Method in class org.fest.assertions.api.BigDecimalAssert
-
Verifies that the actual value is non positive (negative or equal zero).
- isNotPositive() - Method in class org.fest.assertions.api.ByteAssert
-
Verifies that the actual value is non positive (negative or equal zero).
- isNotPositive() - Method in class org.fest.assertions.api.DoubleAssert
-
Verifies that the actual value is non positive (negative or equal zero).
- isNotPositive() - Method in class org.fest.assertions.api.FloatAssert
-
Verifies that the actual value is non positive (negative or equal zero).
- isNotPositive() - Method in class org.fest.assertions.api.IntegerAssert
-
Verifies that the actual value is non positive (negative or equal zero).
- isNotPositive() - Method in class org.fest.assertions.api.LongAssert
-
Verifies that the actual value is non positive (negative or equal zero).
- isNotPositive() - Method in class org.fest.assertions.api.ShortAssert
-
Verifies that the actual value is non positive (negative or equal zero).
- isNotPositive() - Method in interface org.fest.assertions.core.NumberAssert
-
Verifies that the actual value is non positive (negative or equal zero).
- isNotSameAs(A) - Method in class org.fest.assertions.api.AbstractAssert
-
Verifies that the actual value is not the same as the given one.
- isNotSameAs(A) - Method in interface org.fest.assertions.core.Assert
-
Verifies that the actual value is not the same as the given one.
- isNotZero() - Method in class org.fest.assertions.api.BigDecimalAssert
-
Verifies that the actual value is not equal to zero.
- isNotZero() - Method in class org.fest.assertions.api.ByteAssert
-
Verifies that the actual value is not equal to zero.
- isNotZero() - Method in class org.fest.assertions.api.DoubleAssert
-
Verifies that the actual value is not equal to zero.
- isNotZero() - Method in class org.fest.assertions.api.FloatAssert
-
Verifies that the actual value is not equal to zero.
- isNotZero() - Method in class org.fest.assertions.api.IntegerAssert
-
Verifies that the actual value is not equal to zero.
- isNotZero() - Method in class org.fest.assertions.api.LongAssert
-
Verifies that the actual value is not equal to zero.
- isNotZero() - Method in class org.fest.assertions.api.ShortAssert
-
Verifies that the actual value is not equal to zero.
- isNotZero() - Method in interface org.fest.assertions.core.NumberAssert
-
Verifies that the actual value is not equal to zero.
- isNull() - Method in class org.fest.assertions.api.AbstractAssert
-
Verifies that the actual value is
null
. - isNull() - Method in interface org.fest.assertions.core.Assert
-
Verifies that the actual value is
null
. - isNullOrEmpty() - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that the actual group of values is
null
or empty. - isNullOrEmpty() - Method in class org.fest.assertions.api.BooleanArrayAssert
-
Verifies that the actual group of values is
null
or empty. - isNullOrEmpty() - Method in class org.fest.assertions.api.ByteArrayAssert
-
Verifies that the actual group of values is
null
or empty. - isNullOrEmpty() - Method in class org.fest.assertions.api.CharArrayAssert
-
Verifies that the actual group of values is
null
or empty. - isNullOrEmpty() - Method in class org.fest.assertions.api.DoubleArrayAssert
-
Verifies that the actual group of values is
null
or empty. - isNullOrEmpty() - Method in class org.fest.assertions.api.FloatArrayAssert
-
Verifies that the actual group of values is
null
or empty. - isNullOrEmpty() - Method in class org.fest.assertions.api.IntArrayAssert
-
Verifies that the actual group of values is
null
or empty. - isNullOrEmpty() - Method in class org.fest.assertions.api.LongArrayAssert
-
Verifies that the actual group of values is
null
or empty. - isNullOrEmpty() - Method in class org.fest.assertions.api.MapAssert
-
Verifies that the actual group of values is
null
or empty. - isNullOrEmpty() - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that the actual group of values is
null
or empty. - isNullOrEmpty() - Method in class org.fest.assertions.api.ShortArrayAssert
-
Verifies that the actual group of values is
null
or empty. - isNullOrEmpty() - Method in class org.fest.assertions.api.StringAssert
-
Verifies that the actual group of values is
null
or empty. - isNullOrEmpty() - Method in interface org.fest.assertions.core.EnumerableAssert
-
Verifies that the actual group of values is
null
or empty. - isOfAnyClassIn(Class<?>...) - Method in class org.fest.assertions.api.AbstractAssert
-
Verifies that the actual value type is in given types.
- isOfAnyClassIn(Class<?>...) - Method in interface org.fest.assertions.core.Assert
-
Verifies that the actual value type is in given types.
- isPositive() - Method in class org.fest.assertions.api.BigDecimalAssert
-
Verifies that the actual value is positive.
- isPositive() - Method in class org.fest.assertions.api.ByteAssert
-
Verifies that the actual value is positive.
- isPositive() - Method in class org.fest.assertions.api.DoubleAssert
-
Verifies that the actual value is positive.
- isPositive() - Method in class org.fest.assertions.api.FloatAssert
-
Verifies that the actual value is positive.
- isPositive() - Method in class org.fest.assertions.api.IntegerAssert
-
Verifies that the actual value is positive.
- isPositive() - Method in class org.fest.assertions.api.LongAssert
-
Verifies that the actual value is positive.
- isPositive() - Method in class org.fest.assertions.api.ShortAssert
-
Verifies that the actual value is positive.
- isPositive() - Method in interface org.fest.assertions.core.NumberAssert
-
Verifies that the actual value is positive.
- isRelative() - Method in class org.fest.assertions.api.FileAssert
-
Verifies that the actual
File
is a relative path. - isSameAs(A) - Method in class org.fest.assertions.api.AbstractAssert
-
Verifies that the actual value is the same as the given one.
- isSameAs(A) - Method in interface org.fest.assertions.core.Assert
-
Verifies that the actual value is the same as the given one.
- isSorted() - Method in class org.fest.assertions.api.BooleanArrayAssert
-
Verifies that the actual array is sorted into ascending order according to the natural ordering of its elements.
- isSorted() - Method in class org.fest.assertions.api.ByteArrayAssert
-
Verifies that the actual array is sorted into ascending order according to the natural ordering of its elements.
- isSorted() - Method in class org.fest.assertions.api.CharArrayAssert
-
Verifies that the actual array is sorted into ascending order according to the natural ordering of its elements.
- isSorted() - Method in class org.fest.assertions.api.DoubleArrayAssert
-
Verifies that the actual array is sorted into ascending order according to the natural ordering of its elements.
- isSorted() - Method in class org.fest.assertions.api.FloatArrayAssert
-
Verifies that the actual array is sorted into ascending order according to the natural ordering of its elements.
- isSorted() - Method in class org.fest.assertions.api.IntArrayAssert
-
Verifies that the actual array is sorted into ascending order according to the natural ordering of its elements.
- isSorted() - Method in class org.fest.assertions.api.ListAssert
-
Verifies that the actual list is sorted into ascending order according to the natural ordering of its elements.
- isSorted() - Method in class org.fest.assertions.api.LongArrayAssert
-
Verifies that the actual array is sorted into ascending order according to the natural ordering of its elements.
- isSorted() - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that the actual array is sorted into ascending order according to the natural ordering of its elements.
- isSorted() - Method in class org.fest.assertions.api.ShortArrayAssert
-
Verifies that the actual array is sorted into ascending order according to the natural ordering of its elements.
- isSorted() - Method in interface org.fest.assertions.core.ArraySortedAssert
-
Verifies that the actual array is sorted into ascending order according to the natural ordering of its elements.
- isSortedAccordingTo(Comparator<? super E>) - Method in interface org.fest.assertions.core.ArraySortedAssert
-
Verifies that the actual array is sorted according to the given comparator. Empty arrays are considered sorted whatever the comparator is. One element arrays are considered sorted if element is compatible with comparator, otherwise an AssertionError is thrown.
- isSortedAccordingTo(Comparator<? super Boolean>) - Method in class org.fest.assertions.api.BooleanArrayAssert
-
Verifies that the actual array is sorted according to the given comparator. Empty arrays are considered sorted whatever the comparator is. One element arrays are considered sorted if element is compatible with comparator, otherwise an AssertionError is thrown.
- isSortedAccordingTo(Comparator<? super Byte>) - Method in class org.fest.assertions.api.ByteArrayAssert
-
Verifies that the actual array is sorted according to the given comparator. Empty arrays are considered sorted whatever the comparator is. One element arrays are considered sorted if element is compatible with comparator, otherwise an AssertionError is thrown.
- isSortedAccordingTo(Comparator<? super Character>) - Method in class org.fest.assertions.api.CharArrayAssert
-
Verifies that the actual array is sorted according to the given comparator. Empty arrays are considered sorted whatever the comparator is. One element arrays are considered sorted if element is compatible with comparator, otherwise an AssertionError is thrown.
- isSortedAccordingTo(Comparator<? super Double>) - Method in class org.fest.assertions.api.DoubleArrayAssert
-
Verifies that the actual array is sorted according to the given comparator. Empty arrays are considered sorted whatever the comparator is. One element arrays are considered sorted if element is compatible with comparator, otherwise an AssertionError is thrown.
- isSortedAccordingTo(Comparator<? super Float>) - Method in class org.fest.assertions.api.FloatArrayAssert
-
Verifies that the actual array is sorted according to the given comparator. Empty arrays are considered sorted whatever the comparator is. One element arrays are considered sorted if element is compatible with comparator, otherwise an AssertionError is thrown.
- isSortedAccordingTo(Comparator<? super Integer>) - Method in class org.fest.assertions.api.IntArrayAssert
-
Verifies that the actual array is sorted according to the given comparator. Empty arrays are considered sorted whatever the comparator is. One element arrays are considered sorted if element is compatible with comparator, otherwise an AssertionError is thrown.
- isSortedAccordingTo(Comparator<? super Long>) - Method in class org.fest.assertions.api.LongArrayAssert
-
Verifies that the actual array is sorted according to the given comparator. Empty arrays are considered sorted whatever the comparator is. One element arrays are considered sorted if element is compatible with comparator, otherwise an AssertionError is thrown.
- isSortedAccordingTo(Comparator<? super Short>) - Method in class org.fest.assertions.api.ShortArrayAssert
-
Verifies that the actual array is sorted according to the given comparator. Empty arrays are considered sorted whatever the comparator is. One element arrays are considered sorted if element is compatible with comparator, otherwise an AssertionError is thrown.
- isSortedAccordingTo(Comparator<? super T>) - Method in class org.fest.assertions.api.ListAssert
-
Verifies that the actual list is sorted according to the given comparator. Empty lists are considered sorted whatever the comparator is. One element lists are considered sorted if element is compatible with comparator.
- isSortedAccordingTo(Comparator<? super T>) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that the actual array is sorted according to the given comparator. Empty arrays are considered sorted whatever the comparator is. One element arrays are considered sorted if element is compatible with comparator, otherwise an AssertionError is thrown.
- isSubsetOf(Iterable<? extends T>) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that all the elements of the actual
Iterable
are present in the givenIterable
. - isToday() - Method in class org.fest.assertions.api.DateAssert
-
Verifies that the actual
Date
is today, that is matching current year, month and day (no check on hour, minute, second, milliseconds). - isTrue() - Method in class org.fest.assertions.api.BooleanAssert
-
Verifies that the actual value is
true
. - isUpperCase() - Method in class org.fest.assertions.api.CharacterAssert
-
Verifies that the actual value is a uppercase character.
- isWithinDayOfMonth(int) - Method in class org.fest.assertions.api.DateAssert
-
Verifies that the actual
Date
day of month is equal to the given day of month. - isWithinDayOfWeek(int) - Method in class org.fest.assertions.api.DateAssert
-
Verifies that the actual
Date
day of week is equal to the given day of week (seeCalendar.DAY_OF_WEEK
for valid values). - isWithinHourOfDay(int) - Method in class org.fest.assertions.api.DateAssert
-
Verifies that the actual
Date
hour od day is equal to the given hour of day (24-hour clock). - isWithinMillisecond(int) - Method in class org.fest.assertions.api.DateAssert
-
Verifies that the actual
Date
millisecond is equal to the given millisecond. - isWithinMinute(int) - Method in class org.fest.assertions.api.DateAssert
-
Verifies that the actual
Date
minute is equal to the given minute. - isWithinMonth(int) - Method in class org.fest.assertions.api.DateAssert
-
Verifies that the actual
Date
month is equal to the given month, month value starting at 1 (January=1, February=2, ...). - isWithinSecond(int) - Method in class org.fest.assertions.api.DateAssert
-
Verifies that the actual
Date
second is equal to the given second. - isWithinYear(int) - Method in class org.fest.assertions.api.DateAssert
-
Verifies that the actual
Date
year is equal to the given year. - isZero() - Method in class org.fest.assertions.api.BigDecimalAssert
-
Verifies that the actual value is equal to zero.
- isZero() - Method in class org.fest.assertions.api.ByteAssert
-
Verifies that the actual value is equal to zero.
- isZero() - Method in class org.fest.assertions.api.DoubleAssert
-
Verifies that the actual value is equal to zero.
- isZero() - Method in class org.fest.assertions.api.FloatAssert
-
Verifies that the actual value is equal to zero.
- isZero() - Method in class org.fest.assertions.api.IntegerAssert
-
Verifies that the actual value is equal to zero.
- isZero() - Method in class org.fest.assertions.api.LongAssert
-
Verifies that the actual value is equal to zero.
- isZero() - Method in class org.fest.assertions.api.ShortAssert
-
Verifies that the actual value is equal to zero.
- isZero() - Method in interface org.fest.assertions.core.NumberAssert
-
Verifies that the actual value is equal to zero.
- IterableAssert<T> - Class in org.fest.assertions.api
-
Assertion methods for
Iterable
. - IterableAssert(Iterable<T>) - Constructor for class org.fest.assertions.api.IterableAssert
- iterableContains(Iterable<?>, Object) - Method in class org.fest.assertions.internal.ComparatorBasedComparisonStrategy
-
Returns true if given
Iterable
contains given value according toComparatorBasedComparisonStrategy.comparator
, false otherwise.
If givenIterable
is null or empty, return false. - iterableContains(Iterable<?>, Object) - Method in interface org.fest.assertions.internal.ComparisonStrategy
-
Returns true if given
Iterable
contains given value according to the implemented comparison strategy, false otherwise.
If givenIterable
is null, return false. - iterableContains(Iterable<?>, Object) - Method in class org.fest.assertions.internal.StandardComparisonStrategy
-
Returns true if given
Iterable
contains given value based onObject.equals(Object)
, false otherwise.
If givenIterable
is null, return false. - iterableRemoves(Iterable<?>, Object) - Method in class org.fest.assertions.internal.ComparatorBasedComparisonStrategy
-
Look for given value in given
Iterable
according to theComparator
, if value is found it is removed from it.
Does nothing if givenIterable
is null (meaning no exception thrown). - iterableRemoves(Iterable<?>, Object) - Method in interface org.fest.assertions.internal.ComparisonStrategy
-
Look for given value in given
Iterable
according to the implemented comparison strategy, if value is found it is removed from it.
If givenIterable
is null, does nothing. - iterableRemoves(Iterable<?>, Object) - Method in class org.fest.assertions.internal.StandardComparisonStrategy
-
Look for given value in given
Iterable
according to the implemented comparison strategy, if value is found it is removed from it.
If givenIterable
is null, does nothing. - Iterables - Class in org.fest.assertions.internal
-
Reusable assertions for
s.Iterable
- Iterables(ComparisonStrategy) - Constructor for class org.fest.assertions.internal.Iterables
- iterableToLookForIsEmpty() - Static method in class org.fest.assertions.internal.Iterables
- iterableToLookForIsNull() - Static method in class org.fest.assertions.internal.Iterables
J
- Join<T> - Class in org.fest.assertions.condition
-
Join of two or more
s.Condition
- Join(Iterable<? extends Condition<? super T>>) - Constructor for class org.fest.assertions.condition.Join
-
Creates a new
Join
. - Join(Condition<? super T>...) - Constructor for class org.fest.assertions.condition.Join
-
Creates a new
Join
.
K
L
- ListAssert<T> - Class in org.fest.assertions.api
-
Assertion methods for
s.List
- ListAssert(List<T>) - Constructor for class org.fest.assertions.api.ListAssert
- Lists - Class in org.fest.assertions.internal
-
Reusable assertions for
s.List
- Lists(ComparisonStrategy) - Constructor for class org.fest.assertions.internal.Lists
- LongArrayAssert - Class in org.fest.assertions.api
-
Assertion methods for arrays of
long
s. - LongArrayAssert(long[]) - Constructor for class org.fest.assertions.api.LongArrayAssert
- LongArrays - Class in org.fest.assertions.internal
-
Reusable assertions for arrays of
long
s. - LongArrays(ComparisonStrategy) - Constructor for class org.fest.assertions.internal.LongArrays
- LongAssert - Class in org.fest.assertions.api
-
Assertion methods for longs.
- LongAssert(Long) - Constructor for class org.fest.assertions.api.LongAssert
- Longs - Class in org.fest.assertions.internal
-
Reusable assertions for
s.Long
- Longs(ComparisonStrategy) - Constructor for class org.fest.assertions.internal.Longs
M
- MapAssert<K,V> - Class in org.fest.assertions.api
-
Assertions for
s.Map
- MapAssert(Map<K, V>) - Constructor for class org.fest.assertions.api.MapAssert
- MapEntry - Class in org.fest.assertions.data
-
Understands an entry in a
.Map
- Maps - Class in org.fest.assertions.internal
-
Reusable assertions for
s.Map
- matches(String) - Method in class org.fest.assertions.api.StringAssert
-
Verifies that the actual
String
matches the given regular expression. - matches(Pattern) - Method in class org.fest.assertions.api.StringAssert
-
Verifies that the actual
String
matches the given regular expression. - matches(T) - Method in class org.fest.assertions.condition.AllOf
-
Verifies that the given value satisfies this condition.
- matches(T) - Method in class org.fest.assertions.condition.AnyOf
-
Verifies that the given value satisfies this condition.
- matches(T) - Method in class org.fest.assertions.condition.Negative
- matches(T) - Method in class org.fest.assertions.core.Condition
-
Verifies that the given value satisfies this condition.
- MessageFormatter - Class in org.fest.assertions.error
-
Formats the messages to be included in assertion errors.
- myself - Variable in class org.fest.assertions.api.AbstractAssert
N
- NaN() - Method in class org.fest.assertions.internal.Doubles
- NaN() - Method in class org.fest.assertions.internal.Floats
- NaN() - Method in class org.fest.assertions.internal.RealNumbers
- Negative<T> - Class in org.fest.assertions.condition
-
Inverse the condition.
- Negative(Condition<? super T>) - Constructor for class org.fest.assertions.condition.Negative
- newAssertionError(Description) - Method in interface org.fest.assertions.error.AssertionErrorFactory
-
Creates an
.AssertionError
- newAssertionError(Description) - Method in class org.fest.assertions.error.ShouldBeEqual
-
Creates an
indicating that an assertion that verifies that two objects are equal failed.AssertionError
The
message is built so that it differentiatesAssertionError
ShouldBeEqual.actual
andShouldBeEqual.expected
description in case their string representation are the same (like 42 float and 42 double). - noDiff() - Static method in class org.fest.assertions.internal.BinaryDiffResult
- not(Condition<? super T>) - Static method in class org.fest.assertions.api.Assertions
-
Creates a new
Not
. - not(Condition<? super T>) - Static method in class org.fest.assertions.condition.Not
-
Creates a new
Not
. - Not<T> - Class in org.fest.assertions.condition
-
Returns
true
if the condition is not satisfied. - notEqualsTo(Object) - Method in class org.fest.assertions.api.filter.Filters
-
Filters the underlying iterable to keep object with property (specified by
Filters.with(String)
) not equals to given value. - notIn(Object...) - Method in class org.fest.assertions.api.filter.Filters
-
Filters the underlying iterable to keep object with property (specified by
Filters.with(String)
) not in the given values. - NumberAssert<T extends java.lang.Number> - Interface in org.fest.assertions.core
-
Assertion methods applicable to
s.Number
- Numbers<NUMBER extends java.lang.Comparable<NUMBER>> - Class in org.fest.assertions.internal
-
Base class of reusable assertions for numbers.
- Numbers() - Constructor for class org.fest.assertions.internal.Numbers
- Numbers(ComparisonStrategy) - Constructor for class org.fest.assertions.internal.Numbers
O
- ObjectArrayAssert<T> - Class in org.fest.assertions.api
-
Assertion methods for arrays of objects.
- ObjectArrayAssert(T[]) - Constructor for class org.fest.assertions.api.ObjectArrayAssert
- ObjectArrays - Class in org.fest.assertions.internal
-
Reusable assertions for arrays of objects.
- ObjectArrays(ComparisonStrategy) - Constructor for class org.fest.assertions.internal.ObjectArrays
- ObjectAssert<T> - Class in org.fest.assertions.api
-
Assertion methods for
Object
s. - ObjectAssert(T) - Constructor for class org.fest.assertions.api.ObjectAssert
- ObjectEnumerableAssert<S extends ObjectEnumerableAssert<S,T>,T> - Interface in org.fest.assertions.core
-
Assertions methods applicable to groups of objects (e.g.
- Objects - Class in org.fest.assertions.internal
-
Reusable assertions for
Object
s. - Objects(ComparisonStrategy) - Constructor for class org.fest.assertions.internal.Objects
- offset - Variable in class org.fest.assertions.internal.BinaryDiffResult
- offset(Double) - Static method in class org.fest.assertions.api.Assertions
-
Only delegate to
Offset.offset(Double)
so that Assertions offers a full feature entry point to all Fest Assert features (but you can useOffset
if you prefer). - offset(Double) - Static method in class org.fest.assertions.data.Offset
-
Creates a new
Offset
. - offset(Float) - Static method in class org.fest.assertions.api.Assertions
-
Only delegate to
Offset.offset(Float)
so that Assertions offers a full feature entry point to all Fest Assert features (but you can useOffset
if you prefer). - offset(Float) - Static method in class org.fest.assertions.data.Offset
-
Creates a new
Offset
. - offset(Integer) - Static method in class org.fest.assertions.data.Offset
-
Creates a new
Offset
. - Offset<T extends java.lang.Number> - Class in org.fest.assertions.data
-
A positive offset.
- ofType(Class<U>) - Method in class org.fest.assertions.groups.Properties
-
Specifies the target type of an instance that was previously created with
Properties.extractProperty(String)
. - org.fest.assertions.api - package org.fest.assertions.api
- org.fest.assertions.api.filter - package org.fest.assertions.api.filter
- org.fest.assertions.condition - package org.fest.assertions.condition
- org.fest.assertions.core - package org.fest.assertions.core
- org.fest.assertions.data - package org.fest.assertions.data
- org.fest.assertions.description - package org.fest.assertions.description
- org.fest.assertions.error - package org.fest.assertions.error
- org.fest.assertions.groups - package org.fest.assertions.groups
- org.fest.assertions.internal - package org.fest.assertions.internal
- org.fest.assertions.util - package org.fest.assertions.util
- overridingErrorMessage() - Method in interface org.fest.assertions.core.AssertionInfo
-
Returns the message that, if specified, will replace the default message of an assertion failure.
- overridingErrorMessage() - Method in class org.fest.assertions.core.WritableAssertionInfo
-
Returns the message that, if specified, will replace the default message of an assertion failure.
- overridingErrorMessage(String) - Method in class org.fest.assertions.core.WritableAssertionInfo
-
Sets the message that will replace the default message of an assertion failure.
- overridingErrorMessage(String, Object...) - Method in class org.fest.assertions.api.AbstractAssert
-
Overrides Fest default error message by the given one, the new error message can be built using
String.format(String, Object...)
, hence the presence of args parameter.
P
- Properties<T> - Class in org.fest.assertions.groups
-
Extracts the values of a specified property from the elements of a given
or array.Iterable
- PropertySupport - Class in org.fest.assertions.internal
-
Utility methods for properties access.
- propertyValue(String, Class<T>, Object) - Method in class org.fest.assertions.internal.PropertySupport
-
Return the value of property from a target object.
- propertyValueOf(String, Class<T>, Object) - Method in class org.fest.assertions.internal.PropertySupport
-
Returns the value of the given property name given target.
- propertyValueOf(String, Object, Class<T>) - Static method in class org.fest.assertions.internal.PropertySupport
-
Static variant of
PropertySupport.propertyValue(String, Class, Object)
for syntactic sugar. - propertyValues(String, Class<T>, Iterable<?>) - Method in class org.fest.assertions.internal.PropertySupport
-
Returns a
containing the values of the given property name, from the elements of the givenList
.Iterable
R
- RealNumbers<NUMBER extends java.lang.Comparable<NUMBER>> - Class in org.fest.assertions.internal
-
Base class of reusable assertions for real numbers (float and double).
- RealNumbers() - Constructor for class org.fest.assertions.internal.RealNumbers
- RealNumbers(ComparisonStrategy) - Constructor for class org.fest.assertions.internal.RealNumbers
- removeFestRelatedElementsFromStackTraceIfNeeded(AssertionError) - Method in class org.fest.assertions.internal.Failures
-
If is
Failures.removeFestRelatedElementsFromStackTrace
is true, it filters the stack trace of the givenAssertionError
by removing stack trace elements related to Fest in order to get a more readable stack trace.
S
- setRemoveFestRelatedElementsFromStackTrace(boolean) - Static method in class org.fest.assertions.api.Assertions
-
Only delegate to
Fail.setRemoveFestRelatedElementsFromStackTrace(boolean)
so that Assertions offers a full feature entry point to all Fest Assert features (but you can useFail
if you prefer). - setRemoveFestRelatedElementsFromStackTrace(boolean) - Static method in class org.fest.assertions.api.Fail
-
Sets wether we remove elements related to Fest from assertion error stack trace.
- setRemoveFestRelatedElementsFromStackTrace(boolean) - Method in class org.fest.assertions.internal.Failures
-
Sets wether we remove elements related to Fest from assertion error stack trace.
- ShortArrayAssert - Class in org.fest.assertions.api
-
Assertion methods for arrays of
short
s. - ShortArrayAssert(short[]) - Constructor for class org.fest.assertions.api.ShortArrayAssert
- ShortArrays - Class in org.fest.assertions.internal
-
Reusable assertions for arrays of
short
s. - ShortArrays(ComparisonStrategy) - Constructor for class org.fest.assertions.internal.ShortArrays
- ShortAssert - Class in org.fest.assertions.api
-
Assertion methods for shorts.
- ShortAssert(Short) - Constructor for class org.fest.assertions.api.ShortAssert
- Shorts - Class in org.fest.assertions.internal
-
Reusable assertions for
s.Short
- Shorts(ComparisonStrategy) - Constructor for class org.fest.assertions.internal.Shorts
- shouldBe(T, Condition<? super T>) - Static method in class org.fest.assertions.error.ShouldBe
-
Creates a new
ShouldBe
. - ShouldBe - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a value satisfies a
failed.Condition
- shouldBeAbsolutePath(File) - Static method in class org.fest.assertions.error.ShouldBeAbsolutePath
-
Creates a new
.ShouldBeAbsolutePath
- ShouldBeAbsolutePath - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
is an absolute path failed.File
- shouldBeAfter(Date, int) - Static method in class org.fest.assertions.error.ShouldBeAfter
-
Creates a new
ShouldBeAfter
. - shouldBeAfter(Date, Date) - Static method in class org.fest.assertions.error.ShouldBeAfter
-
Creates a new
ShouldBeAfter
. - shouldBeAfter(Date, Date, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldBeAfter
-
Creates a new
ShouldBeAfter
. - ShouldBeAfter - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is after another one failed. - shouldBeAfterOrEqualsTo(Date, Date) - Static method in class org.fest.assertions.error.ShouldBeAfterOrEqualsTo
-
Creates a new
ShouldBeAfterOrEqualsTo
. - shouldBeAfterOrEqualsTo(Date, Date, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldBeAfterOrEqualsTo
-
Creates a new
ShouldBeAfterOrEqualsTo
. - ShouldBeAfterOrEqualsTo - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is after or equals to another one failed. - shouldBeAtIndex(List<T>, Condition<? super T>, Index, T) - Static method in class org.fest.assertions.error.ShouldBeAtIndex
-
Creates a new
ShouldBeAtIndex
. - ShouldBeAtIndex - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies a group of elements contains a value at a given index that satisfies a
failed.Condition
- shouldBeBefore(Date, int) - Static method in class org.fest.assertions.error.ShouldBeBefore
-
Creates a new
ShouldBeBefore
. - shouldBeBefore(Date, Date) - Static method in class org.fest.assertions.error.ShouldBeBefore
-
Creates a new
ShouldBeBefore
. - shouldBeBefore(Date, Date, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldBeBefore
-
Creates a new
ShouldBeBefore
. - ShouldBeBefore - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is before another one failed. - shouldBeBeforeOrEqualsTo(Date, Date) - Static method in class org.fest.assertions.error.ShouldBeBeforeOrEqualsTo
-
Creates a new
ShouldBeBeforeOrEqualsTo
. - shouldBeBeforeOrEqualsTo(Date, Date, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldBeBeforeOrEqualsTo
-
Creates a new
ShouldBeBeforeOrEqualsTo
. - ShouldBeBeforeOrEqualsTo - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is before or equals to another one failed. - shouldBeBetween(Date, Date, Date, boolean, boolean) - Static method in class org.fest.assertions.error.ShouldBeBetween
-
Creates a new
ShouldBeBetween
. - shouldBeBetween(Date, Date, Date, boolean, boolean, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldBeBetween
-
Creates a new
ShouldBeBetween
. - ShouldBeBetween - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is between start - end dates (inclusive or not) failed. - shouldBeCloseTo(Date, Date, long, long) - Static method in class org.fest.assertions.error.ShouldBeCloseTo
-
Creates a new
ShouldBeCloseTo
. - ShouldBeCloseTo - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is close to another one from some delta failed. - shouldBeDirectory(File) - Static method in class org.fest.assertions.error.ShouldBeDirectory
-
Creates a new
.ShouldBeDirectory
- ShouldBeDirectory - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
is an existing directory failed.File
- shouldBeEmpty(Object) - Static method in class org.fest.assertions.error.ShouldBeEmpty
-
Creates a new
.ShouldBeEmpty
- ShouldBeEmpty - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies a group of elements is empty failed.
- shouldBeEqual(Object, Object) - Static method in class org.fest.assertions.error.ShouldBeEqual
-
Creates a new
.ShouldBeEqual
- shouldBeEqual(Object, Object, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldBeEqual
-
Creates a new
.ShouldBeEqual
- shouldBeEqual(String, String) - Static method in class org.fest.assertions.error.ShouldBeEqualIgnoringCase
-
Creates a new
.ShouldBeEqualIgnoringCase
- shouldBeEqual(T, T, Offset<T>, T) - Static method in class org.fest.assertions.error.ShouldBeEqualWithinOffset
-
Creates a new
.ShouldBeEqualWithinOffset
- ShouldBeEqual - Class in org.fest.assertions.error
-
Creates an
indicating that an assertion that verifies that two objects are equal failed.AssertionError
- ShouldBeEqualIgnoringCase - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that two
String
s are equal, ignoring case considerations, failed. - shouldBeEqualImages(Offset<Integer>) - Static method in class org.fest.assertions.error.ShouldBeEqualImages
-
Creates a new
.ShouldBeEqualImages
- ShouldBeEqualImages - Class in org.fest.assertions.error
-
Creates an error message that indicates an assertion that verifies that two images are equal failed.
- ShouldBeEqualWithinOffset - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that two numbers are equal within a positive offset failed.
- shouldBeExactlyInstance(Object, Class<?>) - Static method in class org.fest.assertions.error.ShouldBeExactlyInstanceOf
-
Creates a new
ShouldBeExactlyInstanceOf
. - ShouldBeExactlyInstanceOf - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that an object is exactly an instance of some type failed.
- shouldBeExecutable(File) - Static method in class org.fest.assertions.error.ShouldBeExecutable
-
Creates a new
.ShouldBeExecutable
- ShouldBeExecutable - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
is executable failed.File
- shouldBeFile(File) - Static method in class org.fest.assertions.error.ShouldBeFile
-
Creates a new
.ShouldBeFile
- ShouldBeFile - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
is an existing file failed.File
- shouldBeGreater(T, T) - Static method in class org.fest.assertions.error.ShouldBeGreater
-
Creates a new
ShouldBeGreater
. - shouldBeGreater(T, T, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldBeGreater
-
Creates a new
ShouldBeGreater
. - ShouldBeGreater - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a value is greater than another one failed.
- shouldBeGreaterOrEqual(T, T) - Static method in class org.fest.assertions.error.ShouldBeGreaterOrEqual
-
Creates a new
ShouldBeGreaterOrEqual
. - shouldBeGreaterOrEqual(T, T, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldBeGreaterOrEqual
-
Creates a new
ShouldBeGreaterOrEqual
. - ShouldBeGreaterOrEqual - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a value is greater than or equal to another one failed.
- shouldBeIn(Object, Object) - Static method in class org.fest.assertions.error.ShouldBeIn
-
Creates a new
.ShouldBeIn
- shouldBeIn(Object, Object, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldBeIn
-
Creates a new
.ShouldBeIn
- ShouldBeIn - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a value is in a group of values (e.g.
- shouldBeInSameDay(Date, Date) - Static method in class org.fest.assertions.error.ShouldBeInSameDay
-
Creates a new
ShouldBeInSameDay
. - ShouldBeInSameDay - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is in same year, month and day of month as another one failed. - shouldBeInSameHour(Date, Date) - Static method in class org.fest.assertions.error.ShouldBeInSameHour
-
Creates a new
ShouldBeInSameHour
. - ShouldBeInSameHour - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is in same year, month, day of month and hour as another one failed. - shouldBeInSameMillisecond(Date, Date) - Static method in class org.fest.assertions.error.ShouldBeInSameMillisecond
-
Creates a new
ShouldBeInSameMillisecond
. - ShouldBeInSameMillisecond - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is in same year, month, day of month, hour, minute, second adn millisecond as another one failed. - shouldBeInSameMinute(Date, Date) - Static method in class org.fest.assertions.error.ShouldBeInSameMinute
-
Creates a new
ShouldBeInSameMinute
. - ShouldBeInSameMinute - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is in same year, month, day of month, hour and minute as another one failed. - shouldBeInSameMonth(Date, Date) - Static method in class org.fest.assertions.error.ShouldBeInSameMonth
-
Creates a new
ShouldBeInSameMonth
. - ShouldBeInSameMonth - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is in same year and month as another one failed. - shouldBeInSameSecond(Date, Date) - Static method in class org.fest.assertions.error.ShouldBeInSameSecond
-
Creates a new
ShouldBeInSameSecond
. - ShouldBeInSameSecond - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is in same year, month, day of month, hour, minute and second as another one failed. - shouldBeInSameYear(Date, Date) - Static method in class org.fest.assertions.error.ShouldBeInSameYear
-
Creates a new
ShouldBeInSameYear
. - ShouldBeInSameYear - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is in same year as another one failed. - shouldBeInstance(Object, Class<?>) - Static method in class org.fest.assertions.error.ShouldBeInstance
-
Creates a new
ShouldBeInstance
. - ShouldBeInstance - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that an object is an instance of some type failed.
- shouldBeInstanceButWasNull(String, Class<?>) - Static method in class org.fest.assertions.error.ShouldBeInstance
-
Creates a new
ShouldBeInstance
when object we want to check type is null. - shouldBeInstanceOfAny(Object, Class<?>[]) - Static method in class org.fest.assertions.error.ShouldBeInstanceOfAny
-
Creates a new
ShouldBeInstanceOfAny
. - ShouldBeInstanceOfAny - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that an object is an instance of one or more types failed.
- shouldBeInTheFuture(Date) - Static method in class org.fest.assertions.error.ShouldBeInTheFuture
-
Creates a new
ShouldBeInTheFuture
. - shouldBeInTheFuture(Date, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldBeInTheFuture
-
Creates a new
ShouldBeInTheFuture
. - ShouldBeInTheFuture - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is in the future failed. - shouldBeInThePast(Date) - Static method in class org.fest.assertions.error.ShouldBeInThePast
-
Creates a new
ShouldBeInThePast
. - shouldBeInThePast(Date, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldBeInThePast
-
Creates a new
ShouldBeInThePast
. - ShouldBeInThePast - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is in the past failed. - shouldBeLenientEqualByAccepting(Object, List<String>, List<Object>, List<String>) - Static method in class org.fest.assertions.error.ShouldBeLenientEqualByAccepting
-
Creates a new
ShouldBeLenientEqualByAccepting
. - ShouldBeLenientEqualByAccepting - Class in org.fest.assertions.error
-
Creates an
indicating that an assertion that verifies that two objects are lenient equal by accepting fields failed.AssertionError
- shouldBeLenientEqualByIgnoring(Object, List<String>, List<Object>, List<String>) - Static method in class org.fest.assertions.error.ShouldBeLenientEqualByIgnoring
-
Creates a new
ShouldBeLenientEqualByIgnoring
. - ShouldBeLenientEqualByIgnoring - Class in org.fest.assertions.error
-
Creates an
indicating that an assertion that verifies that two objects are lenient equal by ignoring fields failed.AssertionError
- shouldBeLess(T, T) - Static method in class org.fest.assertions.error.ShouldBeLess
-
Creates a new
ShouldBeLess
. - shouldBeLess(T, T, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldBeLess
-
Creates a new
ShouldBeLess
. - ShouldBeLess - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a value is less than another one failed.
- shouldBeLessOrEqual(T, T) - Static method in class org.fest.assertions.error.ShouldBeLessOrEqual
-
Creates a new
ShouldBeLessOrEqual
. - shouldBeLessOrEqual(T, T, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldBeLessOrEqual
-
Creates a new
ShouldBeLessOrEqual
. - ShouldBeLessOrEqual - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a value is less than or equal to another one failed.
- shouldBeLowerCase(Character) - Static method in class org.fest.assertions.error.ShouldBeLowerCase
-
Creates a new
.ShouldBeLowerCase
- ShouldBeLowerCase - Class in org.fest.assertions.error
-
Creates an error message that indicates an assertion that verifies that a character is lowercase failed.
- shouldBeNullOrEmpty(Object) - Static method in class org.fest.assertions.error.ShouldBeNullOrEmpty
-
Creates a new instance of
.ShouldBeNullOrEmpty
- ShouldBeNullOrEmpty - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies a group of elements is
null
or empty failed. - shouldBeOfClassIn(Object, Object) - Static method in class org.fest.assertions.error.ShouldBeOfClassIn
-
Creates a new
ShouldBeOfClassIn
. - ShouldBeOfClassIn - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that an object is of type in group of types failed.
- shouldBeReadable(File) - Static method in class org.fest.assertions.error.ShouldBeReadable
-
Creates a new
.ShouldBeReadable
- ShouldBeReadable - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
is readable failed.File
- shouldBeRelativePath(File) - Static method in class org.fest.assertions.error.ShouldBeRelativePath
-
Creates a new
.ShouldBeRelativePath
- ShouldBeRelativePath - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
is a relative path failed.File
- shouldBeSame(Object, Object) - Static method in class org.fest.assertions.error.ShouldBeSame
-
Creates a new
.ShouldBeSame
- ShouldBeSame - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that two object refer to same object failed.
- shouldBeSameGenericBetweenIterableAndCondition(Object, Condition<?>) - Static method in class org.fest.assertions.error.ConditionAndGroupGenericParameterTypeShouldBeTheSame
-
Creates a new
ConditionAndGroupGenericParameterTypeShouldBeTheSame
- shouldBeSorted(int, Object) - Static method in class org.fest.assertions.error.ShouldBeSorted
-
Creates a new
.ShouldBeSorted
- ShouldBeSorted - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies a group of elements is sorted failed.
A group of elements can be a collection or an array. - shouldBeSortedAccordingToGivenComparator(int, Object, Comparator<?>) - Static method in class org.fest.assertions.error.ShouldBeSorted
- shouldBeSubsetOf(Object, Object, Iterable<?>) - Static method in class org.fest.assertions.error.ShouldBeSubsetOf
-
Creates a new
.ShouldBeSubsetOf
- shouldBeSubsetOf(Object, Object, Iterable<?>, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldBeSubsetOf
-
Creates a new
ShouldBeSubsetOf
- ShouldBeSubsetOf - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that an
Iterable
is a subset of an other setIterable
failed. - shouldBeToday(Date) - Static method in class org.fest.assertions.error.ShouldBeToday
-
Creates a new
ShouldBeToday
. - shouldBeToday(Date, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldBeToday
-
Creates a new
ShouldBeToday
. - ShouldBeToday - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is today (matching only year, month and day but not hours). - shouldBeUpperCase(Character) - Static method in class org.fest.assertions.error.ShouldBeUpperCase
-
Creates a new
.ShouldBeUpperCase
- ShouldBeUpperCase - Class in org.fest.assertions.error
-
Creates an error message that indicates an assertion that verifies that a character is uppercase failed.
- shouldBeWithin(Date, String, int) - Static method in class org.fest.assertions.error.ShouldBeWithin
-
Creates a new
ShouldBeWithin
. - ShouldBeWithin - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is within a year, month, day, ... - shouldBeWritable(File) - Static method in class org.fest.assertions.error.ShouldBeWritable
-
Creates a new
.ShouldBeWritable
- ShouldBeWritable - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
is writable failed.File
- shouldContain(Object, Object, Object) - Static method in class org.fest.assertions.error.ShouldContain
-
Creates a new
ShouldContain
. - shouldContain(Object, Object, Object, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldContain
-
Creates a new
ShouldContain
. - shouldContain(String, String) - Static method in class org.fest.assertions.error.ShouldContainString
-
Creates a new
.ShouldContainString
- shouldContain(String, String, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldContainString
-
Creates a new
.ShouldContainString
- ShouldContain - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies a group of elements contains a given set of values failed.
- shouldContainAtIndex(Object, Object, Index, Object) - Static method in class org.fest.assertions.error.ShouldContainAtIndex
-
Creates a new
ShouldContainAtIndex
. - shouldContainAtIndex(Object, Object, Index, Object, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldContainAtIndex
-
Creates a new
ShouldContainAtIndex
. - ShouldContainAtIndex - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies a group of elements contains a value at a given index failed.
- shouldContainExactly(Object, Object, int) - Static method in class org.fest.assertions.error.ShouldContainExactly
-
Creates a new
ShouldContainExactly
for the case where actual and expected have the same elements in different order. - shouldContainExactly(Object, Object, int, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldContainExactly
-
Creates a new
ShouldContainExactly
for the case where actual and expected have the same elements in different order according to the givenComparisonStrategy
. - shouldContainExactly(Object, Object, Object, Object) - Static method in class org.fest.assertions.error.ShouldContainExactly
-
Creates a new
ShouldContainExactly
. - shouldContainExactly(Object, Object, Object, Object, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldContainExactly
-
Creates a new
ShouldContainExactly
. - ShouldContainExactly - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies a group of elements contains exactly a given set of values and nothing else failed, exactly meaning same elements in same order.
- shouldContainIgnoringCase(String, String) - Static method in class org.fest.assertions.error.ShouldContainString
-
Creates a new
.ShouldContainString
- shouldContainKey(Object, Object) - Static method in class org.fest.assertions.error.ShouldContainKey
-
Creates a new
ShouldContainKey
. - ShouldContainKey - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies a map contains a key..
- shouldContainNull(Object) - Static method in class org.fest.assertions.error.ShouldContainNull
-
Creates a new
ShouldContainNull
. - ShouldContainNull - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies a group of elements contains a null element failed.
- shouldContainOnly(Object, Object, Object, Object) - Static method in class org.fest.assertions.error.ShouldContainOnly
-
Creates a new
ShouldContainOnly
. - shouldContainOnly(Object, Object, Object, Object, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldContainOnly
-
Creates a new
ShouldContainOnly
. - ShouldContainOnly - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies a group of elements contains only a given set of values and nothing else failed.
- shouldContainOnlyOnce(String, String, int) - Static method in class org.fest.assertions.error.ShouldContainStringOnlyOnce
-
Creates a new
.ShouldContainStringOnlyOnce
- shouldContainOnlyOnce(String, String, int, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldContainStringOnlyOnce
-
Creates a new
.ShouldContainStringOnlyOnce
- shouldContainSequence(Object, Object) - Static method in class org.fest.assertions.error.ShouldContainSequence
-
Creates a new
.ShouldContainSequence
- shouldContainSequence(Object, Object, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldContainSequence
-
Creates a new
.ShouldContainSequence
- ShouldContainSequence - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a group of elements contains a sequence of values failed.
- ShouldContainString - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
String
contains anotherString
failed. - ShouldContainStringOnlyOnce - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
String
contains anotherString
only once failed. - shouldContainValue(Object, Object) - Static method in class org.fest.assertions.error.ShouldContainValue
-
Creates a new
ShouldContainValue
. - ShouldContainValue - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies a map contains a value.
- shouldEndWith(Object, Object) - Static method in class org.fest.assertions.error.ShouldEndWith
-
Creates a new
.ShouldEndWith
- shouldEndWith(Object, Object, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldEndWith
-
Creates a new
.ShouldEndWith
- ShouldEndWith - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a group of elements ends with a given value or sequence of values failed.
- shouldExist(File) - Static method in class org.fest.assertions.error.ShouldExist
-
Creates a new
.ShouldExist
- ShouldExist - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
exists failed.File
- shouldHave(T, Condition<? super T>) - Static method in class org.fest.assertions.error.ShouldHave
-
Creates a new
ShouldHave
. - ShouldHave - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a value satisfies a
failed.Condition
- shouldHaveAtIndex(List<T>, Condition<? super T>, Index, T) - Static method in class org.fest.assertions.error.ShouldHaveAtIndex
-
Creates a new
ShouldHaveAtIndex
. - ShouldHaveAtIndex - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies a group of elements contains a value at a given index that satisfies a
failed.Condition
- shouldHaveBinaryContent(File, BinaryDiffResult) - Static method in class org.fest.assertions.error.ShouldHaveBinaryContent
-
Creates a new
.ShouldHaveBinaryContent
- ShouldHaveBinaryContent - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a file has a given binary content failed.
- shouldHaveComparableElementsAccordingToGivenComparator(Object, Comparator<?>) - Static method in class org.fest.assertions.error.ShouldBeSorted
- shouldHaveContent(File, Charset, List<String>) - Static method in class org.fest.assertions.error.ShouldHaveContent
-
Creates a new
.ShouldHaveContent
- ShouldHaveContent - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a file has a given text content failed.
- shouldHaveEqualContent(File, File, List<String>) - Static method in class org.fest.assertions.error.ShouldHaveEqualContent
-
Creates a new
.ShouldHaveEqualContent
- shouldHaveEqualContent(InputStream, InputStream, List<String>) - Static method in class org.fest.assertions.error.ShouldHaveEqualContent
-
Creates a new
.ShouldHaveEqualContent
- ShouldHaveEqualContent - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that two files/inputStreams have equal content failed.
- shouldHaveMessage(Throwable, String) - Static method in class org.fest.assertions.error.ShouldHaveMessage
-
Creates a new
ShouldHaveMessage
. - ShouldHaveMessage - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
Throwable
have certain message failed. - shouldHaveMutuallyComparableElements(Object) - Static method in class org.fest.assertions.error.ShouldBeSorted
- shouldHaveNoCause(Throwable) - Static method in class org.fest.assertions.error.ShouldHaveNoCause
-
Creates a new
ShouldHaveNoCause
. - ShouldHaveNoCause - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that an
Throwable
has no cause failed. - shouldHaveSameClass(Object, Object) - Static method in class org.fest.assertions.error.ShouldHaveSameClass
-
Creates a new
ShouldHaveSameClass
. - ShouldHaveSameClass - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that an object have same class as another instance failed.
- shouldHaveSameSizeAs(Object, Object, Object) - Static method in class org.fest.assertions.error.ShouldHaveSameSizeAs
-
Creates a new
ShouldHaveSameSizeAs
. - ShouldHaveSameSizeAs - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a value have certain size failed.
- shouldHaveSize(Object, Object, Object) - Static method in class org.fest.assertions.error.ShouldHaveSize
-
Creates a new
ShouldHaveSize
. - ShouldHaveSize - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a value have certain size failed.
- shouldHaveTime(Date, long) - Static method in class org.fest.assertions.error.ShouldHaveTime
-
Creates a new
ShouldHaveTime
. - ShouldHaveTime - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a date have a certain timestamp.
- shouldMatch(String, String) - Static method in class org.fest.assertions.error.ShouldMatchPattern
-
Creates a new
.ShouldMatchPattern
- ShouldMatchPattern - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
String
matches a pattern failed. - shouldNotBe(T, Condition<? super T>) - Static method in class org.fest.assertions.error.ShouldNotBe
-
Creates a new
ShouldNotBe
. - ShouldNotBe - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a value does not satisfy a
failed.Condition
- shouldNotBeBetween(Date, Date, Date, boolean, boolean) - Static method in class org.fest.assertions.error.ShouldNotBeBetween
-
Creates a new
ShouldNotBeBetween
. - shouldNotBeBetween(Date, Date, Date, boolean, boolean, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldNotBeBetween
-
Creates a new
ShouldNotBeBetween
. - ShouldNotBeBetween - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is not between start - end dates (inclusive or not) failed. - shouldNotBeEmpty() - Static method in class org.fest.assertions.error.ShouldNotBeEmpty
-
Returns the singleton instance of this class.
- ShouldNotBeEmpty - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies a group of elements is not empty failed.
- shouldNotBeEqual(Object, Object) - Static method in class org.fest.assertions.error.ShouldNotBeEqual
-
Creates a new
.ShouldNotBeEqual
- shouldNotBeEqual(Object, Object, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldNotBeEqual
-
Creates a new
.ShouldNotBeEqual
- ShouldNotBeEqual - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that two objects are not equal failed.
- shouldNotBeEqualImages() - Static method in class org.fest.assertions.error.ShouldNotBeEqualImages
-
Returns the singleton instance of this class.
- ShouldNotBeEqualImages - Class in org.fest.assertions.error
-
Creates an error message that indicates an assertion that verifies that two images should not be
null
failed. - shouldNotBeExactlyInstance(Object, Class<?>) - Static method in class org.fest.assertions.error.ShouldNotBeExactlyInstanceOf
-
Creates a new
ShouldNotBeExactlyInstanceOf
. - ShouldNotBeExactlyInstanceOf - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that an object is not exactly an instance of some type failed.
- shouldNotBeIn(Object, Object) - Static method in class org.fest.assertions.error.ShouldNotBeIn
-
Creates a new
.ShouldNotBeIn
- shouldNotBeIn(Object, Object, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldNotBeIn
-
Creates a new
.ShouldNotBeIn
- ShouldNotBeIn - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a value is not in a group of values (e.g.
- shouldNotBeInstance(Object, Class<?>) - Static method in class org.fest.assertions.error.ShouldNotBeInstance
-
Creates a new
ShouldNotBeInstance
. - ShouldNotBeInstance - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that an object is not an instance of some type failed.
- shouldNotBeInstanceOfAny(Object, Class<?>[]) - Static method in class org.fest.assertions.error.ShouldNotBeInstanceOfAny
-
Creates a new
ShouldNotBeInstanceOfAny
. - ShouldNotBeInstanceOfAny - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that an object is not an instance of one or more types failed.
- shouldNotBeNull() - Static method in class org.fest.assertions.error.ShouldNotBeNull
-
Returns the singleton instance of this class.
- ShouldNotBeNull - Class in org.fest.assertions.error
-
Creates an error message that indicates an assertion that verifies that an object is not
null
failed. - shouldNotBeOfClassIn(Object, Object) - Static method in class org.fest.assertions.error.ShouldNotBeOfClassIn
-
Creates a new
ShouldNotBeOfClassIn
. - ShouldNotBeOfClassIn - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that an object is not of type in group of types failed.
- shouldNotBeSame(Object) - Static method in class org.fest.assertions.error.ShouldNotBeSame
-
Creates a new
.ShouldNotBeSame
- ShouldNotBeSame - Class in org.fest.assertions.error
-
Creates an error message indicating an assertion that verifies that two objects do not refer to the same object failed.
- shouldNotContain(Object, Object, Object) - Static method in class org.fest.assertions.error.ShouldNotContain
-
Creates a new
ShouldNotContain
. - shouldNotContain(Object, Object, Object, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldNotContain
-
Creates a new
ShouldNotContain
. - shouldNotContain(String, String) - Static method in class org.fest.assertions.error.ShouldNotContainString
-
Creates a new
.ShouldNotContainString
- shouldNotContain(String, String, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldNotContainString
-
Creates a new
.ShouldNotContainString
- ShouldNotContain - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies a group of elements does not contain a given set of values failed.
- shouldNotContainAtIndex(Object, Object, Index) - Static method in class org.fest.assertions.error.ShouldNotContainAtIndex
-
Creates a new
ShouldNotContainAtIndex
. - shouldNotContainAtIndex(Object, Object, Index, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldNotContainAtIndex
-
Creates a new
ShouldNotContainAtIndex
. - ShouldNotContainAtIndex - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies a group of elements does not contain a value at a given index failed.
- shouldNotContainKey(Object, Object) - Static method in class org.fest.assertions.error.ShouldNotContainKey
-
Creates a new
ShouldNotContainKey
. - ShouldNotContainKey - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies a map does not contains a key failed.
- shouldNotContainNull(Object) - Static method in class org.fest.assertions.error.ShouldNotContainNull
-
Creates a new
ShouldNotContainNull
. - ShouldNotContainNull - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies a group of elements does not contain null elements failed.
- ShouldNotContainString - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
String
does not contain anotherString
failed. - shouldNotContainValue(Object, Object) - Static method in class org.fest.assertions.error.ShouldNotContainValue
-
Creates a new
ShouldNotContainValue
. - ShouldNotContainValue - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies a map does not contains a value.
- shouldNotExist(File) - Static method in class org.fest.assertions.error.ShouldNotExist
-
Creates a new
.ShouldNotExist
- ShouldNotExist - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
does not exist failed.File
- shouldNotHave(T, Condition<? super T>) - Static method in class org.fest.assertions.error.ShouldNotHave
-
Creates a new
ShouldNotHave
. - ShouldNotHave - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a value does not satisfy a
failed.Condition
- shouldNotHaveDuplicates(Object, Object) - Static method in class org.fest.assertions.error.ShouldNotHaveDuplicates
-
Creates a new
.ShouldNotHaveDuplicates
- shouldNotHaveDuplicates(Object, Object, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldNotHaveDuplicates
-
Creates a new
.ShouldNotHaveDuplicates
- ShouldNotHaveDuplicates - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies a group of elements is does not have duplicates failed.
- shouldNotHaveSameClass(Object, Object) - Static method in class org.fest.assertions.error.ShouldNotHaveSameClass
-
Creates a new
ShouldNotHaveSameClass
. - ShouldNotHaveSameClass - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that an object has same class as another instance failed.
- shouldNotMatch(String, String) - Static method in class org.fest.assertions.error.ShouldNotMatchPattern
-
Creates a new
.ShouldStartWith
- ShouldNotMatchPattern - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a
String
does not match a pattern failed. - shouldStartWith(Object, Object) - Static method in class org.fest.assertions.error.ShouldStartWith
-
Creates a new
.ShouldStartWith
- shouldStartWith(Object, Object, ComparisonStrategy) - Static method in class org.fest.assertions.error.ShouldStartWith
-
Creates a new
.ShouldStartWith
- ShouldStartWith - Class in org.fest.assertions.error
-
Creates an error message indicating that an assertion that verifies that a group of elements starts with a given value or sequence of values failed.
- size() - Method in class org.fest.assertions.util.ArrayWrapperList
- StandardComparisonStrategy - Class in org.fest.assertions.internal
-
Implements
ComparisonStrategy
contract with a comparison strategy based onObject.equals(Object)
method, it is also based onComparable.compareTo(Object)
when Object areComparable
method. - startsWith(boolean...) - Method in class org.fest.assertions.api.BooleanArrayAssert
-
Verifies that the actual array starts with the given sequence of values, without any other values between them.
- startsWith(byte...) - Method in class org.fest.assertions.api.ByteArrayAssert
-
Verifies that the actual array starts with the given sequence of values, without any other values between them.
- startsWith(char...) - Method in class org.fest.assertions.api.CharArrayAssert
-
Verifies that the actual array starts with the given sequence of values, without any other values between them.
- startsWith(double...) - Method in class org.fest.assertions.api.DoubleArrayAssert
-
Verifies that the actual array starts with the given sequence of values, without any other values between them.
- startsWith(float...) - Method in class org.fest.assertions.api.FloatArrayAssert
-
Verifies that the actual array starts with the given sequence of values, without any other values between them.
- startsWith(int...) - Method in class org.fest.assertions.api.IntArrayAssert
-
Verifies that the actual array starts with the given sequence of values, without any other values between them.
- startsWith(long...) - Method in class org.fest.assertions.api.LongArrayAssert
-
Verifies that the actual array starts with the given sequence of values, without any other values between them.
- startsWith(short...) - Method in class org.fest.assertions.api.ShortArrayAssert
-
Verifies that the actual array starts with the given sequence of values, without any other values between them.
- startsWith(String) - Method in class org.fest.assertions.api.StringAssert
-
Verifies that the actual
String
starts with the given prefix. - startsWith(T...) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Verifies that the actual group starts with the given sequence of objects, without any other objects between them.
- startsWith(T...) - Method in class org.fest.assertions.api.ObjectArrayAssert
-
Verifies that the actual group starts with the given sequence of objects, without any other objects between them.
- startsWith(T...) - Method in interface org.fest.assertions.core.ObjectEnumerableAssert
-
Verifies that the actual group starts with the given sequence of objects, without any other objects between them.
- StringAssert - Class in org.fest.assertions.api
-
Assertion methods for
String
s. - StringAssert(String) - Constructor for class org.fest.assertions.api.StringAssert
- stringContains(String, String) - Method in class org.fest.assertions.internal.ComparatorBasedComparisonStrategy
- stringContains(String, String) - Method in interface org.fest.assertions.internal.ComparisonStrategy
-
Returns true if given string contains given sequence according to the implemented comparison strategy, false otherwise.
- stringContains(String, String) - Method in class org.fest.assertions.internal.StandardComparisonStrategy
- stringEndsWith(String, String) - Method in class org.fest.assertions.internal.ComparatorBasedComparisonStrategy
- stringEndsWith(String, String) - Method in interface org.fest.assertions.internal.ComparisonStrategy
-
Returns true if sstring ends with suffix according to the implemented comparison strategy, false otherwise.
- stringEndsWith(String, String) - Method in class org.fest.assertions.internal.StandardComparisonStrategy
- Strings - Class in org.fest.assertions.internal
-
Reusable assertions for
s.String
- Strings(ComparisonStrategy) - Constructor for class org.fest.assertions.internal.Strings
- stringStartsWith(String, String) - Method in class org.fest.assertions.internal.ComparatorBasedComparisonStrategy
- stringStartsWith(String, String) - Method in interface org.fest.assertions.internal.ComparisonStrategy
-
Returns true if string starts with prefix according to the implemented comparison strategy, false otherwise.
- stringStartsWith(String, String) - Method in class org.fest.assertions.internal.StandardComparisonStrategy
T
- TextDescription - Class in org.fest.assertions.description
-
A text-based description.
- TextDescription(String) - Constructor for class org.fest.assertions.description.TextDescription
-
Creates a new
TextDescription
. - ThrowableAssert - Class in org.fest.assertions.api
-
Assertion methods for
s.Throwable
- ThrowableAssert(Throwable) - Constructor for class org.fest.assertions.api.ThrowableAssert
- Throwables - Class in org.fest.assertions.internal
-
Reusable assertions for
s.Throwable
- toString() - Method in class org.fest.assertions.condition.AllOf
- toString() - Method in class org.fest.assertions.condition.AnyOf
- toString() - Method in class org.fest.assertions.condition.DoesNotHave
- toString() - Method in class org.fest.assertions.condition.Not
- toString() - Method in class org.fest.assertions.core.Condition
- toString() - Method in class org.fest.assertions.core.WritableAssertionInfo
- toString() - Method in class org.fest.assertions.data.Index
- toString() - Method in class org.fest.assertions.data.MapEntry
- toString() - Method in class org.fest.assertions.data.Offset
- toString() - Method in class org.fest.assertions.description.Description
- toString() - Method in class org.fest.assertions.error.BasicErrorMessageFactory
- toString() - Method in class org.fest.assertions.internal.ComparatorBasedComparisonStrategy
U
- UnevenComparableAssert<S,T extends java.lang.Comparable<? super T>> - Interface in org.fest.assertions.core
-
Assertion methods applicable to
s whose implementation ofComparable
compareTo
is not consistent with their implementation ofequals
(e.g. - useDateFormat(DateFormat) - Static method in class org.fest.assertions.api.DateAssert
-
For String based Date assertions like
DateAssert.isBefore(String)
, given String is expected to follow the default Date format, that is ISO 8601 format : "yyyy-MM-dd". - useIsoDateFormat() - Static method in class org.fest.assertions.api.DateAssert
-
Use ISO 8601 date format ("yyyy-MM-dd") for String based Date assertions.
- usingCharset(String) - Method in class org.fest.assertions.api.FileAssert
-
Specifies the name of the charset to use for text-based assertions on the file's contents.
- usingCharset(Charset) - Method in class org.fest.assertions.api.FileAssert
-
Specifies the charset to use for text-based assertions on the file's contents.
- usingComparator(Comparator<? super A>) - Method in class org.fest.assertions.api.AbstractAssert
-
Use given custom comparator instead of relying on actual type A equals method for incoming assertion checks.
- usingComparator(Comparator<? super A>) - Method in class org.fest.assertions.api.AbstractComparableAssert
- usingComparator(Comparator<? super A>) - Method in interface org.fest.assertions.core.Assert
-
Use given custom comparator instead of relying on actual type A equals method for incoming assertion checks.
- usingComparator(Comparator<? super Boolean>) - Method in class org.fest.assertions.api.BooleanAssert
- usingComparator(Comparator<? super Byte>) - Method in class org.fest.assertions.api.ByteAssert
- usingComparator(Comparator<? super Character>) - Method in class org.fest.assertions.api.CharacterAssert
- usingComparator(Comparator<? super Double>) - Method in class org.fest.assertions.api.DoubleAssert
- usingComparator(Comparator<? super Float>) - Method in class org.fest.assertions.api.FloatAssert
- usingComparator(Comparator<? super Integer>) - Method in class org.fest.assertions.api.IntegerAssert
- usingComparator(Comparator<? super Long>) - Method in class org.fest.assertions.api.LongAssert
- usingComparator(Comparator<? super Short>) - Method in class org.fest.assertions.api.ShortAssert
- usingComparator(Comparator<? super String>) - Method in class org.fest.assertions.api.StringAssert
- usingComparator(Comparator<? super BigDecimal>) - Method in class org.fest.assertions.api.BigDecimalAssert
- usingComparator(Comparator<? super Date>) - Method in class org.fest.assertions.api.DateAssert
- usingDefaultComparator() - Method in class org.fest.assertions.api.AbstractAssert
-
Revert to standard comparison for incoming assertion checks.
- usingDefaultComparator() - Method in class org.fest.assertions.api.AbstractComparableAssert
- usingDefaultComparator() - Method in class org.fest.assertions.api.BigDecimalAssert
- usingDefaultComparator() - Method in class org.fest.assertions.api.ByteAssert
- usingDefaultComparator() - Method in class org.fest.assertions.api.CharacterAssert
- usingDefaultComparator() - Method in class org.fest.assertions.api.DateAssert
- usingDefaultComparator() - Method in class org.fest.assertions.api.DoubleAssert
- usingDefaultComparator() - Method in class org.fest.assertions.api.FloatAssert
- usingDefaultComparator() - Method in class org.fest.assertions.api.IntegerAssert
- usingDefaultComparator() - Method in class org.fest.assertions.api.LongAssert
- usingDefaultComparator() - Method in class org.fest.assertions.api.ShortAssert
- usingDefaultComparator() - Method in class org.fest.assertions.api.StringAssert
- usingDefaultComparator() - Method in interface org.fest.assertions.core.Assert
-
Revert to standard comparison for incoming assertion checks.
- usingDefaultElementComparator() - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Revert to standard comparison for incoming assertion group element checks.
- usingDefaultElementComparator() - Method in class org.fest.assertions.api.BooleanArrayAssert
-
Revert to standard comparison for incoming assertion group element checks.
- usingDefaultElementComparator() - Method in class org.fest.assertions.api.ByteArrayAssert
-
Revert to standard comparison for incoming assertion group element checks.
- usingDefaultElementComparator() - Method in class org.fest.assertions.api.CharArrayAssert
-
Revert to standard comparison for incoming assertion group element checks.
- usingDefaultElementComparator() - Method in class org.fest.assertions.api.DoubleArrayAssert
-
Revert to standard comparison for incoming assertion group element checks.
- usingDefaultElementComparator() - Method in class org.fest.assertions.api.FloatArrayAssert
-
Revert to standard comparison for incoming assertion group element checks.
- usingDefaultElementComparator() - Method in class org.fest.assertions.api.IntArrayAssert
-
Revert to standard comparison for incoming assertion group element checks.
- usingDefaultElementComparator() - Method in class org.fest.assertions.api.ListAssert
- usingDefaultElementComparator() - Method in class org.fest.assertions.api.LongArrayAssert
-
Revert to standard comparison for incoming assertion group element checks.
- usingDefaultElementComparator() - Method in class org.fest.assertions.api.MapAssert
-
Revert to standard comparison for incoming assertion group element checks.
- usingDefaultElementComparator() - Method in class org.fest.assertions.api.ObjectArrayAssert
- usingDefaultElementComparator() - Method in class org.fest.assertions.api.ShortArrayAssert
-
Revert to standard comparison for incoming assertion group element checks.
- usingDefaultElementComparator() - Method in class org.fest.assertions.api.StringAssert
-
Revert to standard comparison for incoming assertion group element checks.
- usingDefaultElementComparator() - Method in interface org.fest.assertions.core.EnumerableAssert
-
Revert to standard comparison for incoming assertion group element checks.
- usingElementComparator(Comparator<? super Boolean>) - Method in class org.fest.assertions.api.BooleanArrayAssert
-
Use given custom comparator instead of relying on actual type A
equals
method to compare group elements for incoming assertion checks. - usingElementComparator(Comparator<? super Byte>) - Method in class org.fest.assertions.api.ByteArrayAssert
-
Use given custom comparator instead of relying on actual type A
equals
method to compare group elements for incoming assertion checks. - usingElementComparator(Comparator<? super Character>) - Method in class org.fest.assertions.api.CharArrayAssert
-
Use given custom comparator instead of relying on actual type A
equals
method to compare group elements for incoming assertion checks. - usingElementComparator(Comparator<? super Double>) - Method in class org.fest.assertions.api.DoubleArrayAssert
-
Use given custom comparator instead of relying on actual type A
equals
method to compare group elements for incoming assertion checks. - usingElementComparator(Comparator<? super Float>) - Method in class org.fest.assertions.api.FloatArrayAssert
-
Use given custom comparator instead of relying on actual type A
equals
method to compare group elements for incoming assertion checks. - usingElementComparator(Comparator<? super Integer>) - Method in class org.fest.assertions.api.IntArrayAssert
-
Use given custom comparator instead of relying on actual type A
equals
method to compare group elements for incoming assertion checks. - usingElementComparator(Comparator<? super Long>) - Method in class org.fest.assertions.api.LongArrayAssert
-
Use given custom comparator instead of relying on actual type A
equals
method to compare group elements for incoming assertion checks. - usingElementComparator(Comparator<? super Short>) - Method in class org.fest.assertions.api.ShortArrayAssert
-
Use given custom comparator instead of relying on actual type A
equals
method to compare group elements for incoming assertion checks. - usingElementComparator(Comparator<? super String>) - Method in class org.fest.assertions.api.StringAssert
-
Use given custom comparator instead of relying on actual type A
equals
method to compare group elements for incoming assertion checks. - usingElementComparator(Comparator<? super MapEntry>) - Method in class org.fest.assertions.api.MapAssert
-
Use given custom comparator instead of relying on actual type A
equals
method to compare group elements for incoming assertion checks. - usingElementComparator(Comparator<? super T>) - Method in class org.fest.assertions.api.AbstractIterableAssert
-
Use given custom comparator instead of relying on actual type A
equals
method to compare group elements for incoming assertion checks. - usingElementComparator(Comparator<? super T>) - Method in class org.fest.assertions.api.ListAssert
- usingElementComparator(Comparator<? super T>) - Method in class org.fest.assertions.api.ObjectArrayAssert
- usingElementComparator(Comparator<? super T>) - Method in interface org.fest.assertions.core.EnumerableAssert
-
Use given custom comparator instead of relying on actual type A
equals
method to compare group elements for incoming assertion checks.
V
- value - Variable in class org.fest.assertions.data.Index
- value - Variable in class org.fest.assertions.data.MapEntry
- value - Variable in class org.fest.assertions.data.Offset
- value() - Method in class org.fest.assertions.description.Description
- value() - Method in class org.fest.assertions.description.TextDescription
W
- with(String) - Method in class org.fest.assertions.api.filter.Filters
-
Sets the name of the property used for filtering, it may be a nested property like
"adress.street.name"
. - with(String, Object) - Method in class org.fest.assertions.api.filter.Filters
-
Filter the underlying group, keeping only elements with a property equals to given value.
- withDateFormat(DateFormat) - Method in class org.fest.assertions.api.DateAssert
-
For String based Date assertions like
DateAssert.isBefore(String)
, given String is expected to follow the default Date format, that is ISO 8601 format : "yyyy-MM-dd". - withIsoDateFormat() - Method in class org.fest.assertions.api.DateAssert
-
Use ISO 8601 date format ("yyyy-MM-dd") for String based Date assertions.
- wrap(Object) - Static method in class org.fest.assertions.util.ArrayWrapperList
-
Wraps a given array with a
ArrayWrapperList
- WritableAssertionInfo - Class in org.fest.assertions.core
-
Writable information about an assertion.
- WritableAssertionInfo() - Constructor for class org.fest.assertions.core.WritableAssertionInfo
Z
- zero() - Method in class org.fest.assertions.internal.BigDecimals
- zero() - Method in class org.fest.assertions.internal.Bytes
- zero() - Method in class org.fest.assertions.internal.Doubles
- zero() - Method in class org.fest.assertions.internal.Floats
- zero() - Method in class org.fest.assertions.internal.Integers
- zero() - Method in class org.fest.assertions.internal.Longs
- zero() - Method in class org.fest.assertions.internal.Numbers
- zero() - Method in class org.fest.assertions.internal.Shorts
All Classes All Packages