- AbstractArrayAssert<S extends AbstractArrayAssert<S,A,E>,A,E> - Class in org.assertj.core.api
-
Base class for all array assertions.
- AbstractArrayAssert(A, Class<?>) - Constructor for class org.assertj.core.api.AbstractArrayAssert
-
- AbstractAssert<S extends AbstractAssert<S,A>,A> - Class in org.assertj.core.api
-
Base class for all assertions.
- AbstractAssert(A, Class<?>) - Constructor for class org.assertj.core.api.AbstractAssert
-
- AbstractBDDSoftAssertions - Class in org.assertj.core.api
-
- AbstractBDDSoftAssertions() - Constructor for class org.assertj.core.api.AbstractBDDSoftAssertions
-
- AbstractBigDecimalAssert<S extends AbstractBigDecimalAssert<S>> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
BigDecimal
s.
- AbstractBigDecimalAssert(BigDecimal, Class<?>) - Constructor for class org.assertj.core.api.AbstractBigDecimalAssert
-
- AbstractBooleanArrayAssert<S extends AbstractBooleanArrayAssert<S>> - Class in org.assertj.core.api
-
- AbstractBooleanArrayAssert(boolean[], Class<?>) - Constructor for class org.assertj.core.api.AbstractBooleanArrayAssert
-
- AbstractBooleanAssert<S extends AbstractBooleanAssert<S>> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
Boolean
s.
- AbstractBooleanAssert(Boolean, Class<?>) - Constructor for class org.assertj.core.api.AbstractBooleanAssert
-
- AbstractByteArrayAssert<S extends AbstractByteArrayAssert<S>> - Class in org.assertj.core.api
-
- AbstractByteArrayAssert(byte[], Class<?>) - Constructor for class org.assertj.core.api.AbstractByteArrayAssert
-
- AbstractByteAssert<S extends AbstractByteAssert<S>> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
Byte
s.
- AbstractByteAssert(Byte, Class<?>) - Constructor for class org.assertj.core.api.AbstractByteAssert
-
- AbstractCharacterAssert<S extends AbstractCharacterAssert<S>> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
Character
s.
- AbstractCharacterAssert(Character, Class<?>) - Constructor for class org.assertj.core.api.AbstractCharacterAssert
-
- AbstractCharArrayAssert<S extends AbstractCharArrayAssert<S>> - Class in org.assertj.core.api
-
- AbstractCharArrayAssert(char[], Class<?>) - Constructor for class org.assertj.core.api.AbstractCharArrayAssert
-
- AbstractCharSequenceAssert<S extends AbstractCharSequenceAssert<S,A>,A extends CharSequence> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for CharSequence
s.
- AbstractCharSequenceAssert(A, Class<?>) - Constructor for class org.assertj.core.api.AbstractCharSequenceAssert
-
- AbstractClassAssert<S extends AbstractClassAssert<S>> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
Class
es.
- AbstractClassAssert(Class<?>, Class<?>) - Constructor for class org.assertj.core.api.AbstractClassAssert
-
- AbstractComparableAssert<S extends AbstractComparableAssert<S,A>,A extends Comparable<? super A>> - Class in org.assertj.core.api
-
- AbstractComparableAssert(A, Class<?>) - Constructor for class org.assertj.core.api.AbstractComparableAssert
-
- AbstractComparisonStrategy - Class in org.assertj.core.internal
-
- AbstractComparisonStrategy() - Constructor for class org.assertj.core.internal.AbstractComparisonStrategy
-
- AbstractDateAssert<S extends AbstractDateAssert<S>> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
Date
s.
- AbstractDateAssert(Date, Class<?>) - Constructor for class org.assertj.core.api.AbstractDateAssert
-
- AbstractDoubleArrayAssert<S extends AbstractDoubleArrayAssert<S>> - Class in org.assertj.core.api
-
- AbstractDoubleArrayAssert(double[], Class<?>) - Constructor for class org.assertj.core.api.AbstractDoubleArrayAssert
-
- AbstractDoubleAssert<S extends AbstractDoubleAssert<S>> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
Double
s.
- AbstractDoubleAssert(Double, Class<?>) - Constructor for class org.assertj.core.api.AbstractDoubleAssert
-
- AbstractEnumerableAssert<S extends AbstractEnumerableAssert<S,A,E>,A,E> - Class in org.assertj.core.api
-
Base implementation for Enumerable class assertions.
- AbstractEnumerableAssert(A, Class<?>) - Constructor for class org.assertj.core.api.AbstractEnumerableAssert
-
- AbstractFileAssert<S extends AbstractFileAssert<S>> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
File
s.
- AbstractFileAssert(File, Class<?>) - Constructor for class org.assertj.core.api.AbstractFileAssert
-
- AbstractFloatArrayAssert<S extends AbstractFloatArrayAssert<S>> - Class in org.assertj.core.api
-
- AbstractFloatArrayAssert(float[], Class<?>) - Constructor for class org.assertj.core.api.AbstractFloatArrayAssert
-
- AbstractFloatAssert<S extends AbstractFloatAssert<S>> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
Float
s.
- AbstractFloatAssert(Float, Class<?>) - Constructor for class org.assertj.core.api.AbstractFloatAssert
-
- AbstractInputStreamAssert<S extends AbstractInputStreamAssert<S,A>,A extends InputStream> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
InputStream
s.
- AbstractInputStreamAssert(A, Class<?>) - Constructor for class org.assertj.core.api.AbstractInputStreamAssert
-
- AbstractIntArrayAssert<S extends AbstractIntArrayAssert<S>> - Class in org.assertj.core.api
-
- AbstractIntArrayAssert(int[], Class<?>) - Constructor for class org.assertj.core.api.AbstractIntArrayAssert
-
- AbstractIntegerAssert<S extends AbstractIntegerAssert<S>> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
Integer
s.
- AbstractIntegerAssert(Integer, Class<?>) - Constructor for class org.assertj.core.api.AbstractIntegerAssert
-
- AbstractIterableAssert<S extends AbstractIterableAssert<S,A,T>,A extends Iterable<? extends T>,T> - Class in org.assertj.core.api
-
- AbstractIterableAssert(A, Class<?>) - Constructor for class org.assertj.core.api.AbstractIterableAssert
-
- AbstractListAssert<S extends AbstractListAssert<S,A,T>,A extends List<? extends T>,T> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
List
s.
- AbstractListAssert(A, Class<?>) - Constructor for class org.assertj.core.api.AbstractListAssert
-
- AbstractLongArrayAssert<S extends AbstractLongArrayAssert<S>> - Class in org.assertj.core.api
-
- AbstractLongArrayAssert(long[], Class<?>) - Constructor for class org.assertj.core.api.AbstractLongArrayAssert
-
- AbstractLongAssert<S extends AbstractLongAssert<S>> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
Long
s.
- AbstractLongAssert(Long, Class<?>) - Constructor for class org.assertj.core.api.AbstractLongAssert
-
- AbstractMapAssert<S extends AbstractMapAssert<S,A,K,V>,A extends Map<K,V>,K,V> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
Map
s.
- AbstractMapAssert(A, Class<?>) - Constructor for class org.assertj.core.api.AbstractMapAssert
-
- AbstractObjectArrayAssert<S extends AbstractObjectArrayAssert<S,T>,T> - Class in org.assertj.core.api
-
Assertion methods for arrays of objects.
- AbstractObjectArrayAssert(T[], Class<?>) - Constructor for class org.assertj.core.api.AbstractObjectArrayAssert
-
- AbstractObjectAssert<S extends AbstractObjectAssert<S,A>,A> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
Object
s.
- AbstractObjectAssert(A, Class<?>) - Constructor for class org.assertj.core.api.AbstractObjectAssert
-
- AbstractPathAssert<S extends AbstractPathAssert<S>> - Class in org.assertj.core.api
-
Assertions for
Path
objects
- AbstractPathAssert(Path, Class<?>) - Constructor for class org.assertj.core.api.AbstractPathAssert
-
- AbstractShortArrayAssert<S extends AbstractShortArrayAssert<S>> - Class in org.assertj.core.api
-
- AbstractShortArrayAssert(short[], Class<?>) - Constructor for class org.assertj.core.api.AbstractShortArrayAssert
-
- AbstractShortAssert<S extends AbstractShortAssert<S>> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
Short
s.
- AbstractShortAssert(Short, Class<?>) - Constructor for class org.assertj.core.api.AbstractShortAssert
-
- AbstractShouldHaveTextContent - Class in org.assertj.core.error
-
Base class for text content error.
- AbstractShouldHaveTextContent(String, Object...) - Constructor for class org.assertj.core.error.AbstractShouldHaveTextContent
-
- AbstractSoftAssertions - Class in org.assertj.core.api
-
- AbstractSoftAssertions() - Constructor for class org.assertj.core.api.AbstractSoftAssertions
-
- AbstractStandardSoftAssertions - Class in org.assertj.core.api
-
- AbstractStandardSoftAssertions() - Constructor for class org.assertj.core.api.AbstractStandardSoftAssertions
-
- AbstractThrowableAssert<S extends AbstractThrowableAssert<S,A>,A extends Throwable> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
Throwable
s.
- AbstractThrowableAssert(A, Class<?>) - Constructor for class org.assertj.core.api.AbstractThrowableAssert
-
- AbstractUnevenComparableAssert<S extends AbstractUnevenComparableAssert<S,A>,A extends Comparable<? super A>> - Class in org.assertj.core.api
-
- AbstractUnevenComparableAssert(A, Class<?>) - Constructor for class org.assertj.core.api.AbstractUnevenComparableAssert
-
- actual - Variable in class org.assertj.core.api.AbstractAssert
-
- actual - Variable in class org.assertj.core.error.ShouldBeEqual
-
- actual - Variable in class org.assertj.core.internal.BinaryDiffResult
-
- actualIsEmpty() - Static method in class org.assertj.core.util.FailureMessages
-
- actualIsNull() - Static method in class org.assertj.core.util.FailureMessages
-
- addData(Object) - Method in class org.assertj.core.groups.Tuple
-
- allOf(Condition<? super T>...) - Static method in class org.assertj.core.api.Assertions
-
- allOf(Iterable<? extends Condition<? super T>>) - Static method in class org.assertj.core.api.Assertions
-
- AllOf<T> - Class in org.assertj.core.condition
-
Returns true
if all of the joined conditions is satisfied.
- allOf(Condition<? super T>...) - Static method in class org.assertj.core.condition.AllOf
-
- allOf(Iterable<? extends Condition<? super T>>) - Static method in class org.assertj.core.condition.AllOf
-
- and(String) - Method in class org.assertj.core.api.filter.Filters
-
- anyOf(Condition<? super T>...) - Static method in class org.assertj.core.api.Assertions
-
Only delegate to
AnyOf.anyOf(Condition...)
so that Assertions offers a full feature entry point to all
AssertJ features (but you can use
AnyOf
if you prefer).
- anyOf(Iterable<? extends Condition<? super T>>) - Static method in class org.assertj.core.api.Assertions
-
- AnyOf<T> - Class in org.assertj.core.condition
-
Returns true
if any of the joined conditions is satisfied.
- anyOf(Condition<? super T>...) - Static method in class org.assertj.core.condition.AnyOf
-
- anyOf(Iterable<? extends Condition<? super T>>) - Static method in class org.assertj.core.condition.AnyOf
-
- append(String) - Static method in class org.assertj.core.util.Strings
-
Appends a given String
to the given target, only if the target does not end with the given String
to append.
- appendStackTraceInCurentThreadToThrowable(Throwable, String) - Static method in class org.assertj.core.util.Throwables
-
Appends the stack trace of the current thread to the one in the given
Throwable
.
- apply(Statement, Description) - Method in class org.assertj.core.api.JUnitBDDSoftAssertions
-
- apply(Statement, Description) - Method in class org.assertj.core.api.JUnitSoftAssertions
-
- are(Condition<? super T>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that each element value satisfies the given condition
- are(Condition<? super T>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that each element value satisfies the given condition
- are(Condition<? super T>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that each element value satisfies the given condition
- areAtLeast(int, Condition<? super T>) - Method in class org.assertj.core.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.assertj.core.api.AbstractObjectArrayAssert
-
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.assertj.core.api.ObjectEnumerableAssert
-
Verifies that there is at least n elements in the actual group satisfying the given condition.
- areAtLeastOne(Condition<? super T>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that there is at least one element in the actual group satisfying the given condition.
- areAtLeastOne(Condition<? super T>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that there is at least one element in the actual group satisfying the given condition.
- areAtLeastOne(Condition<? super T>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that there is at least one element in the actual group satisfying the given condition.
- areAtMost(int, Condition<? super T>) - Method in class org.assertj.core.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.assertj.core.api.AbstractObjectArrayAssert
-
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.assertj.core.api.ObjectEnumerableAssert
-
Verifies that there is at most n elements in the actual group satisfying the given condition.
- areEqual(T, T) - Method in class org.assertj.core.internal.Comparables
-
- areEqual(Object, Object) - Method in class org.assertj.core.internal.ComparatorBasedComparisonStrategy
-
- areEqual(Object, Object) - Method in interface org.assertj.core.internal.ComparisonStrategy
-
Returns true if actual and other are equal according to the implemented comparison strategy.
- areEqual(Object, Object) - Method in class org.assertj.core.internal.FieldByFieldComparator
-
- areEqual(Object, Object) - Method in class org.assertj.core.internal.IgnoringFieldsComparator
-
- areEqual(Object, Object) - Method in class org.assertj.core.internal.IterableElementComparisonStrategy
-
- areEqual(Object, Object) - Method in class org.assertj.core.internal.OnFieldsComparator
-
- areEqual(Object, Object) - Method in class org.assertj.core.internal.StandardComparisonStrategy
-
- areEqual(Object, Object) - Static method in class org.assertj.core.util.Objects
-
Returns true
if the given objects are equal or if both objects are null
.
- areEqualArrays(Object, Object) - Static method in class org.assertj.core.util.Objects
-
- areEqualToComparingOnlyGivenFields(Object, Object, String...) - Method in class org.assertj.core.internal.Objects
-
- areEqualToIgnoringGivenFields(Object, Object, String...) - Method in class org.assertj.core.internal.Objects
-
- areExactly(int, Condition<? super T>) - Method in class org.assertj.core.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.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that there is exactly n elements in the actual group satisfying the given condition.
- areExactly(int, Condition<? super T>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that there is exactly n elements in the actual group satisfying the given condition.
- areNot(Condition<? super T>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that each element value does not satisfy the given condition
- areNot(Condition<? super T>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that each element value does not satisfy the given condition
- areNot(Condition<? super T>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that each element value does not satisfy the given condition
- ARGUMENT_EMPTY - Static variable in class org.assertj.core.util.Preconditions
-
- arguments - Variable in class org.assertj.core.error.BasicErrorMessageFactory
-
- array(T...) - Static method in class org.assertj.core.util.Arrays
-
Returns an array containing the given arguments.
- arrayContains(Object, Object) - Method in class org.assertj.core.internal.AbstractComparisonStrategy
-
- arrayContains(Object, Object) - Method in interface org.assertj.core.internal.ComparisonStrategy
-
Returns true if given array contains given value according to the implemented comparison strategy, false otherwise.
- arrays - Variable in class org.assertj.core.api.AbstractBooleanArrayAssert
-
- arrays - Variable in class org.assertj.core.api.AbstractByteArrayAssert
-
- arrays - Variable in class org.assertj.core.api.AbstractCharArrayAssert
-
- arrays - Variable in class org.assertj.core.api.AbstractDoubleArrayAssert
-
- arrays - Variable in class org.assertj.core.api.AbstractFloatArrayAssert
-
- arrays - Variable in class org.assertj.core.api.AbstractIntArrayAssert
-
- arrays - Variable in class org.assertj.core.api.AbstractLongArrayAssert
-
- arrays - Variable in class org.assertj.core.api.AbstractShortArrayAssert
-
- Arrays - Class in org.assertj.core.internal
-
Assertions for object and primitive arrays.
- Arrays() - Constructor for class org.assertj.core.internal.Arrays
-
- Arrays(ComparisonStrategy) - Constructor for class org.assertj.core.internal.Arrays
-
- Arrays - Class in org.assertj.core.util
-
Utility methods related to arrays.
- ArraySortedAssert<S extends ArraySortedAssert<S,E>,E> - Interface in org.assertj.core.api
-
Assertions applicable to primitive arrays or arrays of elements either naturally
Comparable
or according to a given
Comparator
.
- ArrayWrapperList - Class in org.assertj.core.util
-
A list-like wrapper for arrays.
- as(String, Object...) - Method in class org.assertj.core.api.AbstractAssert
-
- as(Description) - Method in class org.assertj.core.api.AbstractAssert
-
Sets the description of this object.
- as(String, Object...) - Method in class org.assertj.core.api.Condition
-
- as(Description) - Method in class org.assertj.core.api.Condition
-
Sets the description of this object.
- as(String, Object...) - Method in interface org.assertj.core.api.Descriptable
-
- as(Description) - Method in interface org.assertj.core.api.Descriptable
-
Sets the description of this object.
- asList() - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is an instance of List,
and returns a list assertion, to allow chaining of list-specific
assertions from this call.
- asList() - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is an instance of List,
and returns a list assertion, to allow chaining of list-specific
assertions from this call.
- Assert<S extends Assert<S,A>,A> - Interface in org.assertj.core.api
-
Base contract of all assertion objects: the minimum functionality that any assertion object should provide.
- assertAll() - Method in class org.assertj.core.api.BDDSoftAssertions
-
Verifies that no proxied assertion methods have failed.
- assertAll() - Method in class org.assertj.core.api.SoftAssertions
-
Verifies that no proxied assertion methods have failed.
- assertAre(AssertionInfo, Failures, Conditions, Object, Condition<E>) - Method in class org.assertj.core.internal.Arrays
-
- assertAre(AssertionInfo, Iterable<? extends E>, Condition<? super E>) - Method in class org.assertj.core.internal.Iterables
-
Assert that each element of given Iterable
satisfies the given condition.
- assertAre(AssertionInfo, E[], Condition<? super E>) - Method in class org.assertj.core.internal.ObjectArrays
-
Assert that each element of given array satisfies the given condition.
- assertAreAtLeast(AssertionInfo, Failures, Conditions, Object, int, Condition<E>) - Method in class org.assertj.core.internal.Arrays
-
- assertAreAtLeast(AssertionInfo, Iterable<? extends E>, int, Condition<? super E>) - Method in class org.assertj.core.internal.Iterables
-
Assert that there is at least n elements in the actual Iterable
satisfying the given
condition.
- assertAreAtLeast(AssertionInfo, E[], int, Condition<? super E>) - Method in class org.assertj.core.internal.ObjectArrays
-
Assert that there is at least n array elements satisfying the given condition.
- assertAreAtMost(AssertionInfo, Failures, Conditions, Object, int, Condition<E>) - Method in class org.assertj.core.internal.Arrays
-
- assertAreAtMost(AssertionInfo, Iterable<? extends E>, int, Condition<? super E>) - Method in class org.assertj.core.internal.Iterables
-
Assert that there is at most n elements in the actual Iterable
satisfying the given
condition.
- assertAreAtMost(AssertionInfo, E[], int, Condition<? super E>) - Method in class org.assertj.core.internal.ObjectArrays
-
Assert that there is at most n array elements satisfying the given condition.
- assertAreExactly(AssertionInfo, Failures, Conditions, Object, int, Condition<E>) - Method in class org.assertj.core.internal.Arrays
-
- assertAreExactly(AssertionInfo, Iterable<? extends E>, int, Condition<? super E>) - Method in class org.assertj.core.internal.Iterables
-
Verifies that there is exactly n elements in the actual Iterable
satisfying the given
condition.
- assertAreExactly(AssertionInfo, E[], int, Condition<? super E>) - Method in class org.assertj.core.internal.ObjectArrays
-
Verifies that there is exactly n array elements satisfying the given condition.
- assertAreNot(AssertionInfo, Failures, Conditions, Object, Condition<E>) - Method in class org.assertj.core.internal.Arrays
-
- assertAreNot(AssertionInfo, Iterable<? extends E>, Condition<? super E>) - Method in class org.assertj.core.internal.Iterables
-
Assert that each element of given Iterable
not satisfies the given condition.
- assertAreNot(AssertionInfo, E[], Condition<? super E>) - Method in class org.assertj.core.internal.ObjectArrays
-
Assert that each element of given array not satisfies the given condition.
- assertCanRead(AssertionInfo, File) - Method in class org.assertj.core.internal.Files
-
Asserts that the given file can be read by the application.
- assertCanWrite(AssertionInfo, File) - Method in class org.assertj.core.internal.Files
-
Asserts that the given file can be modified by the application.
- assertContains(AssertionInfo, boolean[], boolean[]) - Method in class org.assertj.core.internal.BooleanArrays
-
Asserts that the given array contains the given values, in any order.
- assertContains(AssertionInfo, boolean[], boolean, Index) - Method in class org.assertj.core.internal.BooleanArrays
-
Verifies that the given array contains the given value at the given index.
- assertContains(AssertionInfo, byte[], byte[]) - Method in class org.assertj.core.internal.ByteArrays
-
Asserts that the given array contains the given values, in any order.
- assertContains(AssertionInfo, byte[], byte, Index) - Method in class org.assertj.core.internal.ByteArrays
-
Verifies that the given array contains the given value at the given index.
- assertContains(AssertionInfo, char[], char[]) - Method in class org.assertj.core.internal.CharArrays
-
Asserts that the given array contains the given values, in any order.
- assertContains(AssertionInfo, char[], char, Index) - Method in class org.assertj.core.internal.CharArrays
-
Verifies that the given array contains the given value at the given index.
- assertContains(AssertionInfo, double[], double[]) - Method in class org.assertj.core.internal.DoubleArrays
-
Asserts that the given array contains the given values, in any order.
- assertContains(AssertionInfo, double[], double, Index) - Method in class org.assertj.core.internal.DoubleArrays
-
Verifies that the given array contains the given value at the given index.
- assertContains(AssertionInfo, float[], float[]) - Method in class org.assertj.core.internal.FloatArrays
-
Asserts that the given array contains the given values, in any order.
- assertContains(AssertionInfo, float[], float, Index) - Method in class org.assertj.core.internal.FloatArrays
-
Verifies that the given array contains the given value at the given index.
- assertContains(AssertionInfo, int[], int[]) - Method in class org.assertj.core.internal.IntArrays
-
Asserts that the given array contains the given values, in any order.
- assertContains(AssertionInfo, int[], int, Index) - Method in class org.assertj.core.internal.IntArrays
-
Verifies that the given array contains the given value at the given index.
- assertContains(AssertionInfo, Iterable<?>, Object[]) - Method in class org.assertj.core.internal.Iterables
-
Asserts that the given Iterable
contains the given values, in any order.
- assertContains(AssertionInfo, List<?>, Object, Index) - Method in class org.assertj.core.internal.Lists
-
Verifies that the given List
contains the given object at the given index.
- assertContains(AssertionInfo, long[], long[]) - Method in class org.assertj.core.internal.LongArrays
-
Asserts that the given array contains the given values, in any order.
- assertContains(AssertionInfo, long[], long, Index) - Method in class org.assertj.core.internal.LongArrays
-
Verifies that the given array contains the given value at the given index.
- assertContains(AssertionInfo, Map<K, V>, MapEntry<? extends K, ? extends V>[]) - Method in class org.assertj.core.internal.Maps
-
Asserts that the given Map
contains the given entries, in any order.
- assertContains(AssertionInfo, Object[], Object[]) - Method in class org.assertj.core.internal.ObjectArrays
-
Asserts that the given array contains the given values, in any order.
- assertContains(AssertionInfo, Object[], Object, Index) - Method in class org.assertj.core.internal.ObjectArrays
-
Verifies that the given array contains the given object at the given index.
- assertContains(AssertionInfo, short[], short[]) - Method in class org.assertj.core.internal.ShortArrays
-
Asserts that the given array contains the given values, in any order.
- assertContains(AssertionInfo, short[], short, Index) - Method in class org.assertj.core.internal.ShortArrays
-
Verifies that the given array contains the given value at the given index.
- assertContains(AssertionInfo, CharSequence, CharSequence...) - Method in class org.assertj.core.internal.Strings
-
Verifies that the given CharSequence
contains the given strings.
- assertContainsAll(AssertionInfo, Iterable<?>, Iterable<?>) - Method in class org.assertj.core.internal.Iterables
-
Asserts that the given Iterable
contains all the elements of the other Iterable
, in any order.
- assertContainsAll(AssertionInfo, E[], Iterable<? extends E>) - Method in class org.assertj.core.internal.ObjectArrays
-
Asserts that the given array contains all the elements of the given Iterable
, in any order.
- assertContainsAnnotations(AssertionInfo, Class<?>, Class<? extends Annotation>...) - Method in class org.assertj.core.internal.Classes
-
Verifies that the actual Class
contains the given Annotation
s.
- assertContainsExactly(AssertionInfo, boolean[], boolean[]) - Method in class org.assertj.core.internal.BooleanArrays
-
- assertContainsExactly(AssertionInfo, byte[], byte[]) - Method in class org.assertj.core.internal.ByteArrays
-
- assertContainsExactly(AssertionInfo, char[], char[]) - Method in class org.assertj.core.internal.CharArrays
-
- assertContainsExactly(AssertionInfo, double[], double[]) - Method in class org.assertj.core.internal.DoubleArrays
-
- assertContainsExactly(AssertionInfo, float[], float[]) - Method in class org.assertj.core.internal.FloatArrays
-
- assertContainsExactly(AssertionInfo, int[], int[]) - Method in class org.assertj.core.internal.IntArrays
-
- assertContainsExactly(AssertionInfo, Iterable<?>, Object[]) - Method in class org.assertj.core.internal.Iterables
-
Asserts that the given Iterable
contains exactly the given values and nothing else, in order.
- assertContainsExactly(AssertionInfo, long[], long[]) - Method in class org.assertj.core.internal.LongArrays
-
- assertContainsExactly(AssertionInfo, Map<K, V>, MapEntry<? extends K, ? extends V>...) - Method in class org.assertj.core.internal.Maps
-
Verifies that the actual map contains only the given entries and nothing else, in order.
This assertion should only be used with map that have a consistent iteration order (i.e.
- assertContainsExactly(AssertionInfo, Object[], Object[]) - Method in class org.assertj.core.internal.ObjectArrays
-
- assertContainsExactly(AssertionInfo, short[], short[]) - Method in class org.assertj.core.internal.ShortArrays
-
- assertContainsIgnoringCase(AssertionInfo, CharSequence, CharSequence) - Method in class org.assertj.core.internal.Strings
-
Verifies that the given CharSequence
contains the given sequence, ignoring case considerations.
- assertContainsKeys(AssertionInfo, Map<K, V>, K...) - Method in class org.assertj.core.internal.Maps
-
Verifies that the actual map contain the given key.
- assertContainsNull(AssertionInfo, Iterable<?>) - Method in class org.assertj.core.internal.Iterables
-
Asserts that the given Iterable
contains at least a null element.
- assertContainsNull(AssertionInfo, Object[]) - Method in class org.assertj.core.internal.ObjectArrays
-
Asserts that the given array contains at least a null element.
- assertContainsOnly(AssertionInfo, boolean[], boolean[]) - Method in class org.assertj.core.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.assertj.core.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.assertj.core.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.assertj.core.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.assertj.core.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.assertj.core.internal.IntArrays
-
Asserts that the given array contains only the given values and nothing else, in any order.
- assertContainsOnly(AssertionInfo, Iterable<?>, Object[]) - Method in class org.assertj.core.internal.Iterables
-
Asserts that the given Iterable
contains only the given values and nothing else, in any order.
- assertContainsOnly(AssertionInfo, long[], long[]) - Method in class org.assertj.core.internal.LongArrays
-
Asserts that the given array contains only the given values and nothing else, in any order.
- assertContainsOnly(AssertionInfo, Map<K, V>, MapEntry<? extends K, ? extends V>...) - Method in class org.assertj.core.internal.Maps
-
Verifies that the actual map contains only the given entries and nothing else, in any order.
- assertContainsOnly(AssertionInfo, Object[], Object[]) - Method in class org.assertj.core.internal.ObjectArrays
-
Asserts that the given array contains only the given values and nothing else, in any order.
- assertContainsOnly(AssertionInfo, short[], short[]) - Method in class org.assertj.core.internal.ShortArrays
-
Asserts that the given array contains only the given values and nothing else, in any order.
- assertContainsOnlyKeys(AssertionInfo, Map<K, V>, K...) - Method in class org.assertj.core.internal.Maps
-
Verifies that the actual map contains only the given keys and nothing else, in any order.
- assertContainsOnlyOnce(AssertionInfo, boolean[], boolean[]) - Method in class org.assertj.core.internal.BooleanArrays
-
Asserts that the given array contains only once the given values.
- assertContainsOnlyOnce(AssertionInfo, byte[], byte[]) - Method in class org.assertj.core.internal.ByteArrays
-
Asserts that the given array contains only once the given values.
- assertContainsOnlyOnce(AssertionInfo, char[], char[]) - Method in class org.assertj.core.internal.CharArrays
-
Asserts that the given array contains only once the given values.
- assertContainsOnlyOnce(AssertionInfo, double[], double[]) - Method in class org.assertj.core.internal.DoubleArrays
-
Asserts that the given array contains only once the given values.
- assertContainsOnlyOnce(AssertionInfo, float[], float[]) - Method in class org.assertj.core.internal.FloatArrays
-
Asserts that the given array contains only once the given values.
- assertContainsOnlyOnce(AssertionInfo, int[], int[]) - Method in class org.assertj.core.internal.IntArrays
-
Asserts that the given array contains only once the given values.
- assertContainsOnlyOnce(AssertionInfo, Iterable<?>, Object[]) - Method in class org.assertj.core.internal.Iterables
-
Asserts that the given Iterable
contains the given values and only once.
- assertContainsOnlyOnce(AssertionInfo, long[], long[]) - Method in class org.assertj.core.internal.LongArrays
-
Asserts that the given array contains only once the given values.
- assertContainsOnlyOnce(AssertionInfo, Object[], Object[]) - Method in class org.assertj.core.internal.ObjectArrays
-
Asserts that the given array contains only once the given values.
- assertContainsOnlyOnce(AssertionInfo, short[], short[]) - Method in class org.assertj.core.internal.ShortArrays
-
Asserts that the given array contains only once the given values.
- assertContainsOnlyOnce(AssertionInfo, CharSequence, CharSequence) - Method in class org.assertj.core.internal.Strings
-
Verifies that actual CharSequence
s contains only once the given sequence.
- assertContainsSequence(AssertionInfo, boolean[], boolean[]) - Method in class org.assertj.core.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.assertj.core.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.assertj.core.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.assertj.core.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.assertj.core.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.assertj.core.internal.IntArrays
-
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.assertj.core.internal.Iterables
-
Verifies that the given
Iterable
contains the given sequence of objects, without any other
objects between them.
- assertContainsSequence(AssertionInfo, long[], long[]) - Method in class org.assertj.core.internal.LongArrays
-
Verifies that the given array contains the given sequence of values, without any other values between them.
- assertContainsSequence(AssertionInfo, Object[], Object[]) - Method in class org.assertj.core.internal.ObjectArrays
-
Verifies that the given array contains the given sequence of objects, without any other objects between them.
- assertContainsSequence(AssertionInfo, short[], short[]) - Method in class org.assertj.core.internal.ShortArrays
-
Verifies that the given array contains the given sequence of values, without any other values between them.
- assertContainsSequence(AssertionInfo, CharSequence, CharSequence[]) - Method in class org.assertj.core.internal.Strings
-
- assertContainsSubsequence(AssertionInfo, boolean[], boolean[]) - Method in class org.assertj.core.internal.BooleanArrays
-
Verifies that the given array contains the given subsequence of values (possibly with other values between them).
- assertContainsSubsequence(AssertionInfo, byte[], byte[]) - Method in class org.assertj.core.internal.ByteArrays
-
Verifies that the given array contains the given sequence of values (possibly with other values between them).
- assertContainsSubsequence(AssertionInfo, char[], char[]) - Method in class org.assertj.core.internal.CharArrays
-
Verifies that the given array contains the given subsequence of values (possibly with other values between them).
- assertContainsSubsequence(AssertionInfo, double[], double[]) - Method in class org.assertj.core.internal.DoubleArrays
-
Verifies that the given array contains the given subsequence of values (possibly with other values between them).
- assertContainsSubsequence(AssertionInfo, float[], float[]) - Method in class org.assertj.core.internal.FloatArrays
-
Verifies that the given array contains the given subsequence of values (possibly with other values between them).
- assertContainsSubsequence(AssertionInfo, int[], int[]) - Method in class org.assertj.core.internal.IntArrays
-
Verifies that the given array contains the given subsequence of values (possibly with other values between them).
- assertContainsSubsequence(AssertionInfo, Iterable<?>, Object[]) - Method in class org.assertj.core.internal.Iterables
-
Verifies that the given
Iterable
contains the given subsequence of objects (possibly with
other values between them).
- assertContainsSubsequence(AssertionInfo, long[], long[]) - Method in class org.assertj.core.internal.LongArrays
-
Verifies that the given array contains the given subsequence of values (possibly with other values between them).
- assertContainsSubsequence(AssertionInfo, Object[], Object[]) - Method in class org.assertj.core.internal.ObjectArrays
-
Verifies that the given array contains the given subsequence of objects (possibly with other values between them).
- assertContainsSubsequence(AssertionInfo, short[], short[]) - Method in class org.assertj.core.internal.ShortArrays
-
Verifies that the given array contains the given subsequence of values (possibly with other values between them).
- assertContainsValue(AssertionInfo, Map<K, V>, V) - Method in class org.assertj.core.internal.Maps
-
Verifies that the actual map contain the given value.
- assertContainsValues(AssertionInfo, Map<K, V>, V...) - Method in class org.assertj.core.internal.Maps
-
Verifies that the actual map contain the given values.
- AssertDelegateTarget - Interface in org.assertj.core.api
-
A marker interface that can be used to wrap your assertion within assertThat method for better readability.
- assertDoesNotContain(AssertionInfo, boolean[], boolean, Index) - Method in class org.assertj.core.internal.BooleanArrays
-
Verifies that the given array does not contain the given value at the given index.
- assertDoesNotContain(AssertionInfo, boolean[], boolean[]) - Method in class org.assertj.core.internal.BooleanArrays
-
Asserts that the given array does not contain the given values.
- assertDoesNotContain(AssertionInfo, byte[], byte, Index) - Method in class org.assertj.core.internal.ByteArrays
-
Verifies that the given array does not contain the given value at the given index.
- assertDoesNotContain(AssertionInfo, byte[], byte[]) - Method in class org.assertj.core.internal.ByteArrays
-
Asserts that the given array does not contain the given values.
- assertDoesNotContain(AssertionInfo, char[], char, Index) - Method in class org.assertj.core.internal.CharArrays
-
Verifies that the given array does not contain the given value at the given index.
- assertDoesNotContain(AssertionInfo, char[], char[]) - Method in class org.assertj.core.internal.CharArrays
-
Asserts that the given array does not contain the given values.
- assertDoesNotContain(AssertionInfo, double[], double, Index) - Method in class org.assertj.core.internal.DoubleArrays
-
Verifies that the given array does not contain the given value at the given index.
- assertDoesNotContain(AssertionInfo, double[], double[]) - Method in class org.assertj.core.internal.DoubleArrays
-
Asserts that the given array does not contain the given values.
- assertDoesNotContain(AssertionInfo, float[], float, Index) - Method in class org.assertj.core.internal.FloatArrays
-
Verifies that the given array does not contain the given value at the given index.
- assertDoesNotContain(AssertionInfo, float[], float[]) - Method in class org.assertj.core.internal.FloatArrays
-
Asserts that the given array does not contain the given values.
- assertDoesNotContain(AssertionInfo, int[], int, Index) - Method in class org.assertj.core.internal.IntArrays
-
Verifies that the given array does not contain the given value at the given index.
- assertDoesNotContain(AssertionInfo, int[], int[]) - Method in class org.assertj.core.internal.IntArrays
-
Asserts that the given array does not contain the given values.
- assertDoesNotContain(AssertionInfo, Iterable<?>, Object[]) - Method in class org.assertj.core.internal.Iterables
-
Asserts that the given Iterable
does not contain the given values.
- assertDoesNotContain(AssertionInfo, List<?>, Object, Index) - Method in class org.assertj.core.internal.Lists
-
Verifies that the given List
does not contain the given object at the given index.
- assertDoesNotContain(AssertionInfo, long[], long, Index) - Method in class org.assertj.core.internal.LongArrays
-
Verifies that the given array does not contain the given value at the given index.
- assertDoesNotContain(AssertionInfo, long[], long[]) - Method in class org.assertj.core.internal.LongArrays
-
Asserts that the given array does not contain the given values.
- assertDoesNotContain(AssertionInfo, Map<K, V>, MapEntry<? extends K, ? extends V>[]) - Method in class org.assertj.core.internal.Maps
-
Asserts that the given Map
does not contain the given entries.
- assertDoesNotContain(AssertionInfo, Object[], Object, Index) - Method in class org.assertj.core.internal.ObjectArrays
-
Verifies that the given array does not contain the given object at the given index.
- assertDoesNotContain(AssertionInfo, Object[], Object[]) - Method in class org.assertj.core.internal.ObjectArrays
-
Asserts that the given array does not contain the given values.
- assertDoesNotContain(AssertionInfo, short[], short, Index) - Method in class org.assertj.core.internal.ShortArrays
-
Verifies that the given array does not contain the given value at the given index.
- assertDoesNotContain(AssertionInfo, short[], short[]) - Method in class org.assertj.core.internal.ShortArrays
-
Asserts that the given array does not contain the given values.
- assertDoesNotContain(AssertionInfo, CharSequence, CharSequence) - Method in class org.assertj.core.internal.Strings
-
Verifies that the given CharSequence
does not contain the given sequence.
- assertDoesNotContainAnyElementsOf(AssertionInfo, Iterable<? extends T>, Iterable<? extends T>) - Method in class org.assertj.core.internal.Iterables
-
Asserts that the given Iterable
does not contain the given values.
- assertDoesNotContainAnyElementsOf(AssertionInfo, Object[], Iterable<? extends T>) - Method in class org.assertj.core.internal.ObjectArrays
-
- assertDoesNotContainKey(AssertionInfo, Map<K, V>, K) - Method in class org.assertj.core.internal.Maps
-
Verifies that the actual map not contains the given key.
- assertDoesNotContainKeys(AssertionInfo, Map<K, V>, K...) - Method in class org.assertj.core.internal.Maps
-
Verifies that the actual map not contains all the given keys.
- assertDoesNotContainNull(AssertionInfo, Iterable<?>) - Method in class org.assertj.core.internal.Iterables
-
Asserts that the given Iterable
does not contain null elements.
- assertDoesNotContainNull(AssertionInfo, Object[]) - Method in class org.assertj.core.internal.ObjectArrays
-
Asserts that the given array does not contain null elements.
- assertDoesNotContainValue(AssertionInfo, Map<K, V>, V) - Method in class org.assertj.core.internal.Maps
-
Verifies that the actual map not contains the given value.
- assertDoesNotExist(AssertionInfo, File) - Method in class org.assertj.core.internal.Files
-
Asserts that the given file does not exist.
- assertDoesNotExist(AssertionInfo, Path) - Method in class org.assertj.core.internal.Paths
-
- assertDoesNotHave(AssertionInfo, T, Condition<? super T>) - Method in class org.assertj.core.internal.Conditions
-
Asserts that the actual value does not satisfy the given
Condition
.
- assertDoesNotHaveDuplicates(AssertionInfo, boolean[]) - Method in class org.assertj.core.internal.BooleanArrays
-
Asserts that the given array does not have duplicate values.
- assertDoesNotHaveDuplicates(AssertionInfo, byte[]) - Method in class org.assertj.core.internal.ByteArrays
-
Asserts that the given array does not have duplicate values.
- assertDoesNotHaveDuplicates(AssertionInfo, char[]) - Method in class org.assertj.core.internal.CharArrays
-
Asserts that the given array does not have duplicate values.
- assertDoesNotHaveDuplicates(AssertionInfo, double[]) - Method in class org.assertj.core.internal.DoubleArrays
-
Asserts that the given array does not have duplicate values.
- assertDoesNotHaveDuplicates(AssertionInfo, float[]) - Method in class org.assertj.core.internal.FloatArrays
-
Asserts that the given array does not have duplicate values.
- assertDoesNotHaveDuplicates(AssertionInfo, int[]) - Method in class org.assertj.core.internal.IntArrays
-
Asserts that the given array does not have duplicate values.
- assertDoesNotHaveDuplicates(AssertionInfo, Iterable<?>) - Method in class org.assertj.core.internal.Iterables
-
Asserts that the given Iterable
does not have duplicate values.
- assertDoesNotHaveDuplicates(AssertionInfo, long[]) - Method in class org.assertj.core.internal.LongArrays
-
Asserts that the given array does not have duplicate values.
- assertDoesNotHaveDuplicates(AssertionInfo, Object[]) - Method in class org.assertj.core.internal.ObjectArrays
-
Asserts that the given array does not have duplicate values.
- assertDoesNotHaveDuplicates(AssertionInfo, short[]) - Method in class org.assertj.core.internal.ShortArrays
-
Asserts that the given array does not have duplicate values.
- assertDoesNotHaveSameClassAs(AssertionInfo, Object, Object) - Method in class org.assertj.core.internal.Objects
-
Verifies that the actual value does not have the same class as the given object.
- assertDoesNotMatch(AssertionInfo, CharSequence, CharSequence) - Method in class org.assertj.core.internal.Strings
-
Verifies that the given CharSequence
does not match the given regular expression.
- assertDoesNotMatch(AssertionInfo, CharSequence, Pattern) - Method in class org.assertj.core.internal.Strings
-
Verifies that the given CharSequence
does not match the given regular expression.
- assertDoNotHave(AssertionInfo, Iterable<? extends E>, Condition<? super E>) - Method in class org.assertj.core.internal.Iterables
-
Assert that each element of given Iterable
not satisfies the given condition.
- assertDoNotHave(AssertionInfo, E[], Condition<? super E>) - Method in class org.assertj.core.internal.ObjectArrays
-
Assert that each element of given array not satisfies the given condition.
- assertEmpty(AssertionInfo, boolean[]) - Method in class org.assertj.core.internal.BooleanArrays
-
Asserts that the given array is empty.
- assertEmpty(AssertionInfo, byte[]) - Method in class org.assertj.core.internal.ByteArrays
-
Asserts that the given array is empty.
- assertEmpty(AssertionInfo, char[]) - Method in class org.assertj.core.internal.CharArrays
-
Asserts that the given array is empty.
- assertEmpty(AssertionInfo, double[]) - Method in class org.assertj.core.internal.DoubleArrays
-
Asserts that the given array is empty.
- assertEmpty(AssertionInfo, float[]) - Method in class org.assertj.core.internal.FloatArrays
-
Asserts that the given array is empty.
- assertEmpty(AssertionInfo, int[]) - Method in class org.assertj.core.internal.IntArrays
-
Asserts that the given array is empty.
- assertEmpty(AssertionInfo, Iterable<?>) - Method in class org.assertj.core.internal.Iterables
-
Asserts that the given Iterable
is empty.
- assertEmpty(AssertionInfo, long[]) - Method in class org.assertj.core.internal.LongArrays
-
Asserts that the given array is empty.
- assertEmpty(AssertionInfo, Map<?, ?>) - Method in class org.assertj.core.internal.Maps
-
Asserts that the given Map
is empty.
- assertEmpty(AssertionInfo, Object[]) - Method in class org.assertj.core.internal.ObjectArrays
-
Asserts that the given array is empty.
- assertEmpty(AssertionInfo, short[]) - Method in class org.assertj.core.internal.ShortArrays
-
Asserts that the given array is empty.
- assertEmpty(AssertionInfo, CharSequence) - Method in class org.assertj.core.internal.Strings
-
Asserts that the given CharSequence
is empty.
- assertEndsWith(AssertionInfo, boolean[], boolean[]) - Method in class org.assertj.core.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.assertj.core.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.assertj.core.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.assertj.core.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.assertj.core.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.assertj.core.internal.IntArrays
-
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.assertj.core.internal.Iterables
-
Verifies that the given Iterable
ends with the given sequence of objects, without any other objects between
them.
- assertEndsWith(AssertionInfo, long[], long[]) - Method in class org.assertj.core.internal.LongArrays
-
Verifies that the given array ends with the given sequence of values, without any other values between them.
- assertEndsWith(AssertionInfo, Object[], Object[]) - Method in class org.assertj.core.internal.ObjectArrays
-
Verifies that the given array ends with the given sequence of objects, without any other objects between them.
- assertEndsWith(AssertionInfo, Path, Path) - Method in class org.assertj.core.internal.Paths
-
- assertEndsWith(AssertionInfo, short[], short[]) - Method in class org.assertj.core.internal.ShortArrays
-
Verifies that the given array ends with the given sequence of values, without any other values between them.
- assertEndsWith(AssertionInfo, CharSequence, CharSequence) - Method in class org.assertj.core.internal.Strings
-
Verifies that the given CharSequence
ends with the given suffix.
- assertEndsWithRaw(AssertionInfo, Path, Path) - Method in class org.assertj.core.internal.Paths
-
- assertEqual(AssertionInfo, Boolean, boolean) - Method in class org.assertj.core.internal.Booleans
-
Asserts that two booleans are equal.
- assertEqual(AssertionInfo, T, T) - Method in class org.assertj.core.internal.Comparables
-
Asserts that two T instances are equal.
- assertEqual(AssertionInfo, Double, Double, Offset<Double>) - Method in class org.assertj.core.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.assertj.core.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.assertj.core.internal.Objects
-
Asserts that two objects are equal.
- assertEqualByComparison(AssertionInfo, T, T) - Method in class org.assertj.core.internal.Comparables
-
- assertEqualContent(AssertionInfo, File, File) - Method in class org.assertj.core.internal.Files
-
Asserts that the given files have equal content.
- assertEqualContent(AssertionInfo, InputStream, InputStream) - Method in class org.assertj.core.internal.InputStreams
-
Asserts that the given InputStreams have equal content.
- assertEqualsIgnoringCase(AssertionInfo, CharSequence, CharSequence) - Method in class org.assertj.core.internal.Strings
-
Verifies that two CharSequence
s are equal, ignoring case considerations.
- assertExists(AssertionInfo, File) - Method in class org.assertj.core.internal.Files
-
Asserts that the given file exists, regardless it's a file or directory.
- assertExists(AssertionInfo, Path) - Method in class org.assertj.core.internal.Paths
-
- assertExistsNoFollowLinks(AssertionInfo, Path) - Method in class org.assertj.core.internal.Paths
-
- assertGreaterThan(AssertionInfo, T, T) - Method in class org.assertj.core.internal.Comparables
-
Asserts that the actual value is greater than the other one.
- assertGreaterThanOrEqualTo(AssertionInfo, T, T) - Method in class org.assertj.core.internal.Comparables
-
Asserts that the actual value is greater than or equal to the other one.
- assertHas(AssertionInfo, T, Condition<? super T>) - Method in class org.assertj.core.internal.Conditions
-
Asserts that the actual value satisfies the given
Condition
.
- assertHas(AssertionInfo, List<? extends T>, Condition<? super T>, Index) - Method in class org.assertj.core.internal.Lists
-
Verifies that the given
List
satisfies the given
Condition
at the given index.
- assertHasAtLeastOneElementOfType(AssertionInfo, E[], Class<?>) - Method in class org.assertj.core.internal.ObjectArrays
-
- assertHasBinaryContent(AssertionInfo, File, byte[]) - Method in class org.assertj.core.internal.Files
-
Asserts that the given file has the given binary content.
- assertHasBinaryContent(AssertionInfo, Path, byte[]) - Method in class org.assertj.core.internal.Paths
-
- assertHasCause(AssertionInfo, Throwable, Throwable) - Method in class org.assertj.core.internal.Throwables
-
- assertHasCauseExactlyInstanceOf(AssertionInfo, Throwable, Class<? extends Throwable>) - Method in class org.assertj.core.internal.Throwables
-
Assert that the cause of actual Throwable
is exactly an instance of the given type.
- assertHasCauseInstanceOf(AssertionInfo, Throwable, Class<? extends Throwable>) - Method in class org.assertj.core.internal.Throwables
-
Assert that the cause of actual Throwable
is an instance of the given type.
- assertHasContent(AssertionInfo, File, String, Charset) - Method in class org.assertj.core.internal.Files
-
Asserts that the given file has the given text content.
- assertHasContent(AssertionInfo, Path, String, Charset) - Method in class org.assertj.core.internal.Paths
-
- assertHasDeclaredFields(AssertionInfo, Class<?>, String...) - Method in class org.assertj.core.internal.Classes
-
Verifies that the actual Class
has the declared fields
.
- assertHasExtension(AssertionInfo, File, String) - Method in class org.assertj.core.internal.Files
-
Asserts that the given File
has the given extension.
- assertHasFields(AssertionInfo, Class<?>, String...) - Method in class org.assertj.core.internal.Classes
-
Verifies that the actual Class
has the fields
.
- assertHasFileName(AssertionInfo, Path, String) - Method in class org.assertj.core.internal.Paths
-
- assertHasLineCount(AssertionInfo, CharSequence, int) - Method in class org.assertj.core.internal.Strings
-
Asserts that the line count of the given CharSequence
is equal to the expected one.
- assertHasMessage(AssertionInfo, Throwable, String) - Method in class org.assertj.core.internal.Throwables
-
Asserts that the given actual Throwable
message is equal to the given one.
- assertHasMessageContaining(AssertionInfo, Throwable, String) - Method in class org.assertj.core.internal.Throwables
-
Asserts that the message of the actual Throwable
contains with the given description.
- assertHasMessageEndingWith(AssertionInfo, Throwable, String) - Method in class org.assertj.core.internal.Throwables
-
Asserts that the message of the actual Throwable
ends with the given description.
- assertHasMessageStartingWith(AssertionInfo, Throwable, String) - Method in class org.assertj.core.internal.Throwables
-
Asserts that the message of the actual Throwable
starts with the given description.
- assertHasName(AssertionInfo, File, String) - Method in class org.assertj.core.internal.Files
-
Asserts that the given File
has the given name.
- assertHasNoCause(AssertionInfo, Throwable) - Method in class org.assertj.core.internal.Throwables
-
Asserts that the actual Throwable
does not have a cause.
- assertHasNoParent(AssertionInfo, File) - Method in class org.assertj.core.internal.Files
-
Asserts that the given File
does not have a parent.
- assertHasNoParent(AssertionInfo, Path) - Method in class org.assertj.core.internal.Paths
-
- assertHasNoParentRaw(AssertionInfo, Path) - Method in class org.assertj.core.internal.Paths
-
- assertHasOnlyElementsOfType(AssertionInfo, E[], Class<?>) - Method in class org.assertj.core.internal.ObjectArrays
-
- assertHasParent(AssertionInfo, File, File) - Method in class org.assertj.core.internal.Files
-
Asserts that the given File
has the given parent.
- assertHasParent(AssertionInfo, Path, Path) - Method in class org.assertj.core.internal.Paths
-
- assertHasParentRaw(AssertionInfo, Path, Path) - Method in class org.assertj.core.internal.Paths
-
- assertHasRootCauseExactlyInstanceOf(AssertionInfo, Throwable, Class<? extends Throwable>) - Method in class org.assertj.core.internal.Throwables
-
Assert that the root cause of actual Throwable
is exactly an instance of the given type.
- assertHasRootCauseInstanceOf(AssertionInfo, Throwable, Class<? extends Throwable>) - Method in class org.assertj.core.internal.Throwables
-
Assert that the root cause of actual Throwable
is an instance of the given type.
- assertHasSameClassAs(AssertionInfo, Object, Object) - Method in class org.assertj.core.internal.Objects
-
Verifies that the actual value has the same class as the given object.
- assertHasSameContentAs(AssertionInfo, Path, Path) - Method in class org.assertj.core.internal.Paths
-
- assertHasSameSizeAs(AssertionInfo, Object, Object) - Method in class org.assertj.core.internal.Arrays
-
- assertHasSameSizeAs(AssertionInfo, boolean[], Iterable<?>) - Method in class org.assertj.core.internal.BooleanArrays
-
Assert that the actual array has the same size as the other Iterable
.
- assertHasSameSizeAs(AssertionInfo, boolean[], Object[]) - Method in class org.assertj.core.internal.BooleanArrays
-
Assert that the actual array has the same size as the other array.
- assertHasSameSizeAs(AssertionInfo, byte[], Iterable<?>) - Method in class org.assertj.core.internal.ByteArrays
-
Assert that the actual array has the same size as the other Iterable
.
- assertHasSameSizeAs(AssertionInfo, char[], Iterable<?>) - Method in class org.assertj.core.internal.CharArrays
-
Assert that the actual array has the same size as the other Iterable
.
- assertHasSameSizeAs(AssertionInfo, char[], Object[]) - Method in class org.assertj.core.internal.CharArrays
-
Assert that the actual array has the same size as the other array.
- assertHasSameSizeAs(AssertionInfo, double[], Iterable<?>) - Method in class org.assertj.core.internal.DoubleArrays
-
Assert that the actual array has the same size as the other Iterable
.
- assertHasSameSizeAs(AssertionInfo, double[], Object[]) - Method in class org.assertj.core.internal.DoubleArrays
-
Assert that the actual array has the same size as the other array.
- assertHasSameSizeAs(AssertionInfo, float[], Iterable<?>) - Method in class org.assertj.core.internal.FloatArrays
-
Assert that the actual array has the same size as the other Iterable
.
- assertHasSameSizeAs(AssertionInfo, float[], Object[]) - Method in class org.assertj.core.internal.FloatArrays
-
Assert that the actual array has the same size as the other array.
- assertHasSameSizeAs(AssertionInfo, int[], Iterable<?>) - Method in class org.assertj.core.internal.IntArrays
-
Assert that the actual array has the same size as the other Iterable
.
- assertHasSameSizeAs(AssertionInfo, int[], Object[]) - Method in class org.assertj.core.internal.IntArrays
-
Assert that the actual array has the same size as the other array.
- assertHasSameSizeAs(AssertionInfo, Iterable<?>, Object) - Method in class org.assertj.core.internal.Iterables
-
Assert that the actual Iterable
has the same size as the other array.
- assertHasSameSizeAs(AssertionInfo, Iterable<?>, Iterable<?>) - Method in class org.assertj.core.internal.Iterables
-
Assert that the actual Iterable
has the same size as the other Iterable
.
- assertHasSameSizeAs(AssertionInfo, long[], Iterable<?>) - Method in class org.assertj.core.internal.LongArrays
-
Assert that the actual array has the same size as the other Iterable
.
- assertHasSameSizeAs(AssertionInfo, long[], Object[]) - Method in class org.assertj.core.internal.LongArrays
-
Assert that the actual array has the same size as the other array.
- assertHasSameSizeAs(AssertionInfo, Map<?, ?>, Iterable<?>) - Method in class org.assertj.core.internal.Maps
-
Asserts that the number of entries in the given Map
has the same size as the other Iterable
.
- assertHasSameSizeAs(AssertionInfo, Map<?, ?>, Object) - Method in class org.assertj.core.internal.Maps
-
Asserts that the number of entries in the given Map
has the same size as the other array.
- assertHasSameSizeAs(AssertionInfo, Map<?, ?>, Map<?, ?>) - Method in class org.assertj.core.internal.Maps
-
Asserts that the size of the given Map
is equal to the size of the other Map
.
- assertHasSameSizeAs(AssertionInfo, Object[], Iterable<?>) - Method in class org.assertj.core.internal.ObjectArrays
-
Assert that the actual array has the same size as the other Iterable
.
- assertHasSameSizeAs(AssertionInfo, Object[], Object) - Method in class org.assertj.core.internal.ObjectArrays
-
Assert that the actual array has the same size as the other array.
- assertHasSameSizeAs(AssertionInfo, short[], Iterable<?>) - Method in class org.assertj.core.internal.ShortArrays
-
Assert that the actual array has the same size as the other Iterable
.
- assertHasSameSizeAs(AssertionInfo, short[], Object[]) - Method in class org.assertj.core.internal.ShortArrays
-
Assert that the actual array has the same size as the other array.
- assertHasSameSizeAs(AssertionInfo, CharSequence, Iterable<?>) - Method in class org.assertj.core.internal.Strings
-
Asserts that the number of entries in the given CharSequence
has the same size as the other
Iterable
.
- assertHasSameSizeAs(AssertionInfo, CharSequence, Object) - Method in class org.assertj.core.internal.Strings
-
Asserts that the number of entries in the given CharSequence
has the same size as the other array.
- assertHasSameSizeAs(AssertionInfo, CharSequence, CharSequence) - Method in class org.assertj.core.internal.Strings
-
- assertHasSize(AssertionInfo, boolean[], int) - Method in class org.assertj.core.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.assertj.core.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.assertj.core.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.assertj.core.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.assertj.core.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.assertj.core.internal.IntArrays
-
Asserts that the number of elements in the given array is equal to the expected one.
- assertHasSize(AssertionInfo, Iterable<?>, int) - Method in class org.assertj.core.internal.Iterables
-
Asserts that the number of elements in the given Iterable
is equal to the expected one.
- assertHasSize(AssertionInfo, long[], int) - Method in class org.assertj.core.internal.LongArrays
-
Asserts that the number of elements in the given array is equal to the expected one.
- assertHasSize(AssertionInfo, Map<?, ?>, int) - Method in class org.assertj.core.internal.Maps
-
Asserts that the number of entries in the given Map
is equal to the expected one.
- assertHasSize(AssertionInfo, Object[], int) - Method in class org.assertj.core.internal.ObjectArrays
-
Asserts that the number of elements in the given array is equal to the expected one.
- assertHasSize(AssertionInfo, short[], int) - Method in class org.assertj.core.internal.ShortArrays
-
Asserts that the number of elements in the given array is equal to the expected one.
- assertHasSize(AssertionInfo, CharSequence, int) - Method in class org.assertj.core.internal.Strings
-
Asserts that the size of the given CharSequence
is equal to the expected one.
- assertHasTime(AssertionInfo, Date, long) - Method in class org.assertj.core.internal.Dates
-
Verifies that the actual Date
time is equal to the given timestamp.
- assertHave(AssertionInfo, Failures, Conditions, Object, Condition<E>) - Method in class org.assertj.core.internal.Arrays
-
- assertHave(AssertionInfo, Iterable<? extends E>, Condition<? super E>) - Method in class org.assertj.core.internal.Iterables
-
Assert that each element of given Iterable
satisfies the given condition.
- assertHave(AssertionInfo, E[], Condition<? super E>) - Method in class org.assertj.core.internal.ObjectArrays
-
Assert that each element of given array satisfies the given condition.
- assertHaveAtLeast(AssertionInfo, Failures, Conditions, Object, int, Condition<E>) - Method in class org.assertj.core.internal.Arrays
-
- assertHaveAtLeast(AssertionInfo, Iterable<? extends E>, int, Condition<? super E>) - Method in class org.assertj.core.internal.Iterables
-
- assertHaveAtLeast(AssertionInfo, E[], int, Condition<? super E>) - Method in class org.assertj.core.internal.ObjectArrays
-
- assertHaveAtMost(AssertionInfo, Failures, Conditions, Object, int, Condition<E>) - Method in class org.assertj.core.internal.Arrays
-
- assertHaveAtMost(AssertionInfo, Iterable<? extends E>, int, Condition<? super E>) - Method in class org.assertj.core.internal.Iterables
-
- assertHaveAtMost(AssertionInfo, E[], int, Condition<? super E>) - Method in class org.assertj.core.internal.ObjectArrays
-
- assertHaveExactly(AssertionInfo, Failures, Conditions, Object, int, Condition<E>) - Method in class org.assertj.core.internal.Arrays
-
- assertHaveExactly(AssertionInfo, Iterable<? extends E>, int, Condition<? super E>) - Method in class org.assertj.core.internal.Iterables
-
- assertHaveExactly(AssertionInfo, E[], int, Condition<? super E>) - Method in class org.assertj.core.internal.ObjectArrays
-
- assertHaveNot(AssertionInfo, Failures, Conditions, Object, Condition<E>) - Method in class org.assertj.core.internal.Arrays
-
- AssertionErrorFactory - Interface in org.assertj.core.error
-
- AssertionInfo - Interface in org.assertj.core.api
-
Information about an assertion.
- Assertions - Class in org.assertj.core.api
-
Entry point for assertion methods for different data types.
- Assertions() - Constructor for class org.assertj.core.api.Assertions
-
- assertIs(AssertionInfo, T, Condition<? super T>) - Method in class org.assertj.core.internal.Conditions
-
Asserts that the actual value satisfies the given
Condition
.
- assertIs(AssertionInfo, List<? extends T>, Condition<? super T>, Index) - Method in class org.assertj.core.internal.Lists
-
Verifies that the given
List
satisfies the given
Condition
at the given index.
- assertIsAbsolute(AssertionInfo, File) - Method in class org.assertj.core.internal.Files
-
Asserts that the given file is an absolute path.
- assertIsAbsolute(AssertionInfo, Path) - Method in class org.assertj.core.internal.Paths
-
- assertIsAfter(AssertionInfo, Date, Date) - Method in class org.assertj.core.internal.Dates
-
Verifies that the actual Date
is strictly after the given one.
- assertIsAfterOrEqualsTo(AssertionInfo, Date, Date) - Method in class org.assertj.core.internal.Dates
-
Verifies that the actual Date
is after or equal to the given one.
- assertIsAfterYear(AssertionInfo, Date, int) - Method in class org.assertj.core.internal.Dates
-
Verifies that the actual Date
is strictly after the given year.
- assertIsAnnotation(AssertionInfo, Class<?>) - Method in class org.assertj.core.internal.Classes
-
Verifies that the actual Class
is an annotation.
- assertIsArray(AssertionInfo, Object) - Static method in class org.assertj.core.internal.Arrays
-
- assertIsAssignableFrom(AssertionInfo, Class<?>, Class<?>...) - Method in class org.assertj.core.internal.Classes
-
Verifies that the actual Class
is assignable from all the others
classes.
- assertIsBefore(AssertionInfo, Date, Date) - Method in class org.assertj.core.internal.Dates
-
Verifies that the actual Date
is strictly before the given one.
- assertIsBeforeOrEqualsTo(AssertionInfo, Date, Date) - Method in class org.assertj.core.internal.Dates
-
Verifies that the actual Date
is before or equal to the given one.
- assertIsBeforeYear(AssertionInfo, Date, int) - Method in class org.assertj.core.internal.Dates
-
Verifies that the actual Date
is strictly before the given year.
- assertIsBetween(AssertionInfo, T, T, T, boolean, boolean) - Method in class org.assertj.core.internal.Comparables
-
Asserts that the actual value is between start and end, inclusive or not.
- assertIsBetween(AssertionInfo, Date, Date, Date, boolean, boolean) - Method in class org.assertj.core.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.
- assertIsBetween(AssertionInfo, NUMBER, NUMBER, NUMBER) - Method in class org.assertj.core.internal.Numbers
-
Asserts that the actual value is in [start, end] range (start included, end included).
- assertIsCanonical(AssertionInfo, Path) - Method in class org.assertj.core.internal.Paths
-
- assertIsCloseTo(AssertionInfo, BigDecimal, BigDecimal, Offset<BigDecimal>) - Method in class org.assertj.core.internal.BigDecimals
-
- assertIsCloseTo(AssertionInfo, Date, Date, long) - Method in class org.assertj.core.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 with
TimeUnit.SECONDS.toMillis(5)
.
- assertIsCloseTo(WritableAssertionInfo, Double, double, Offset<Double>) - Method in class org.assertj.core.internal.Doubles
-
- assertIsCloseTo(AssertionInfo, Float, Float, Offset<Float>) - Method in class org.assertj.core.internal.Floats
-
- assertIsDirectory(AssertionInfo, File) - Method in class org.assertj.core.internal.Files
-
Asserts that the given file is an existing directory.
- assertIsDirectory(AssertionInfo, Path) - Method in class org.assertj.core.internal.Paths
-
- assertIsEqualToComparingOnlyGivenFields(AssertionInfo, A, A, String...) - Method in class org.assertj.core.internal.Objects
-
Assert that the given object is lenient equals to other object by comparing given fields value only.
- assertIsEqualToIgnoringGivenFields(AssertionInfo, A, A, String...) - Method in class org.assertj.core.internal.Objects
-
Assert that the given object is lenient equals to the other by comparing all fields (including inherited fields)
unless given ignored ones.
- assertIsEqualWithPrecision(AssertionInfo, Date, Date, TimeUnit) - Method in class org.assertj.core.internal.Dates
-
Verifies that the actual Date
is equal to the given one with precision.
- assertIsExactlyInstanceOf(AssertionInfo, Object, Class<?>) - Method in class org.assertj.core.internal.Objects
-
Verifies that the actual value is exactly a instance of given type.
- assertIsExecutable(AssertionInfo, Path) - Method in class org.assertj.core.internal.Paths
-
- assertIsFile(AssertionInfo, File) - Method in class org.assertj.core.internal.Files
-
Asserts that the given file is an existing file.
- assertIsIn(AssertionInfo, Object, Object[]) - Method in class org.assertj.core.internal.Objects
-
Asserts that the given object is present in the given array.
- assertIsIn(AssertionInfo, Object, Iterable<?>) - Method in class org.assertj.core.internal.Objects
-
Asserts that the given object is present in the given collection.
- assertIsInSameDayAs(AssertionInfo, Date, Date) - Method in class org.assertj.core.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.assertj.core.internal.Dates
-
Verifies that actual and given Date
are in the same hour (and thus in the same day of month, month
and year).
- assertIsInSameHourWindowAs(AssertionInfo, Date, Date) - Method in class org.assertj.core.internal.Dates
-
Verifies that actual and given Date
are chronologically in the same hour, day of month, month and year.
- assertIsInSameMinuteAs(AssertionInfo, Date, Date) - Method in class org.assertj.core.internal.Dates
-
Verifies that actual and given Date
are in the same minute, hour, day of month, month and year.
- assertIsInSameMinuteWindowAs(AssertionInfo, Date, Date) - Method in class org.assertj.core.internal.Dates
-
Verifies that actual and given Date
are chronologically in the same minute.
- assertIsInSameMonthAs(AssertionInfo, Date, Date) - Method in class org.assertj.core.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.assertj.core.internal.Dates
-
Verifies that actual and given Date
are in the same second, minute, hour, day of month, month and year.
- assertIsInSameSecondWindowAs(AssertionInfo, Date, Date) - Method in class org.assertj.core.internal.Dates
-
Verifies that actual and given Date
are chronologically in the same second.
- assertIsInSameYearAs(AssertionInfo, Date, Date) - Method in class org.assertj.core.internal.Dates
-
Verifies that actual and given Date
are in the same year.
- assertIsInstanceOf(AssertionInfo, Object, Class<?>) - Method in class org.assertj.core.internal.Objects
-
Verifies that the given object is an instance of the given type.
- assertIsInstanceOfAny(AssertionInfo, Object, Class<?>[]) - Method in class org.assertj.core.internal.Objects
-
Verifies that the given object is an instance of any of the given types.
- assertIsInterface(AssertionInfo, Class<?>) - Method in class org.assertj.core.internal.Classes
-
Verifies that the actual Class
is an interface.
- assertIsInTheFuture(AssertionInfo, Date) - Method in class org.assertj.core.internal.Dates
-
Verifies that the actual Date
is strictly in the future.
- assertIsInThePast(AssertionInfo, Date) - Method in class org.assertj.core.internal.Dates
-
Verifies that the actual Date
is strictly in the past.
- assertIsLenientEqualsToIgnoringNullFields(AssertionInfo, A, A) - Method in class org.assertj.core.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.assertj.core.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.assertj.core.internal.Numbers
-
Asserts that the actual value is negative.
- assertIsNormalized(AssertionInfo, Path) - Method in class org.assertj.core.internal.Paths
-
- assertIsNot(AssertionInfo, T, Condition<? super T>) - Method in class org.assertj.core.internal.Conditions
-
Asserts that the actual value does not satisfy the given
Condition
.
- assertIsNotAnnotation(AssertionInfo, Class<?>) - Method in class org.assertj.core.internal.Classes
-
Verifies that the actual Class
is not an annotation.
- assertIsNotBetween(AssertionInfo, Date, Date, Date, boolean, boolean) - Method in class org.assertj.core.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.assertj.core.internal.Objects
-
Verifies that the actual value is not exactly a instance of given type.
- assertIsNotIn(AssertionInfo, Object, Object[]) - Method in class org.assertj.core.internal.Objects
-
Asserts that the given object is not present in the given array.
- assertIsNotIn(AssertionInfo, Object, Iterable<?>) - Method in class org.assertj.core.internal.Objects
-
Asserts that the given object is not present in the given collection.
- assertIsNotInstanceOf(AssertionInfo, Object, Class<?>) - Method in class org.assertj.core.internal.Objects
-
Verifies that the given object is not an instance of the given type.
- assertIsNotInstanceOfAny(AssertionInfo, Object, Class<?>[]) - Method in class org.assertj.core.internal.Objects
-
Verifies that the given object is not an instance of any of the given types.
- assertIsNotInterface(AssertionInfo, Class<?>) - Method in class org.assertj.core.internal.Classes
-
Verifies that the actual Class
is not an interface.
- assertIsNotNaN(AssertionInfo, NUMBER) - Method in class org.assertj.core.internal.RealNumbers
-
Verifies that the actual value is not equal to NaN
.
- assertIsNotNegative(AssertionInfo, NUMBER) - Method in class org.assertj.core.internal.Numbers
-
Asserts that the actual value is not negative.
- assertIsNotNull(Condition<?>) - Method in class org.assertj.core.internal.Conditions
-
- assertIsNotOfAnyClassIn(AssertionInfo, Object, Class<?>[]) - Method in class org.assertj.core.internal.Objects
-
Verifies that the actual value type is not in given types.
- assertIsNotPositive(AssertionInfo, NUMBER) - Method in class org.assertj.core.internal.Numbers
-
Asserts that the actual value is not positive.
- assertIsNotZero(AssertionInfo, NUMBER) - Method in class org.assertj.core.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.assertj.core.internal.Objects
-
Verifies that the actual value type is in given types.
- assertIsPositive(AssertionInfo, NUMBER) - Method in class org.assertj.core.internal.Numbers
-
Asserts that the actual value is positive.
- assertIsReadable(AssertionInfo, Path) - Method in class org.assertj.core.internal.Paths
-
- assertIsRegularFile(AssertionInfo, Path) - Method in class org.assertj.core.internal.Paths
-
- assertIsRelative(AssertionInfo, File) - Method in class org.assertj.core.internal.Files
-
Asserts that the given file is a relative path.
- assertIsRelative(AssertionInfo, Path) - Method in class org.assertj.core.internal.Paths
-
- assertIsSorted(AssertionInfo, boolean[]) - Method in class org.assertj.core.internal.BooleanArrays
-
- assertIsSorted(AssertionInfo, byte[]) - Method in class org.assertj.core.internal.ByteArrays
-
- assertIsSorted(AssertionInfo, char[]) - Method in class org.assertj.core.internal.CharArrays
-
- assertIsSorted(AssertionInfo, double[]) - Method in class org.assertj.core.internal.DoubleArrays
-
- assertIsSorted(AssertionInfo, float[]) - Method in class org.assertj.core.internal.FloatArrays
-
- assertIsSorted(AssertionInfo, int[]) - Method in class org.assertj.core.internal.IntArrays
-
- assertIsSorted(AssertionInfo, List<?>) - Method in class org.assertj.core.internal.Lists
-
Verifies that the actual list is sorted into ascending order according to the natural ordering of its elements.
- assertIsSorted(AssertionInfo, long[]) - Method in class org.assertj.core.internal.LongArrays
-
- assertIsSorted(AssertionInfo, Object[]) - Method in class org.assertj.core.internal.ObjectArrays
-
- assertIsSorted(AssertionInfo, short[]) - Method in class org.assertj.core.internal.ShortArrays
-
- assertIsSortedAccordingToComparator(AssertionInfo, boolean[], Comparator<? super Boolean>) - Method in class org.assertj.core.internal.BooleanArrays
-
- assertIsSortedAccordingToComparator(AssertionInfo, byte[], Comparator<? super Byte>) - Method in class org.assertj.core.internal.ByteArrays
-
- assertIsSortedAccordingToComparator(AssertionInfo, char[], Comparator<? super Character>) - Method in class org.assertj.core.internal.CharArrays
-
- assertIsSortedAccordingToComparator(AssertionInfo, double[], Comparator<? super Double>) - Method in class org.assertj.core.internal.DoubleArrays
-
- assertIsSortedAccordingToComparator(AssertionInfo, float[], Comparator<? super Float>) - Method in class org.assertj.core.internal.FloatArrays
-
- assertIsSortedAccordingToComparator(AssertionInfo, int[], Comparator<? super Integer>) - Method in class org.assertj.core.internal.IntArrays
-
- assertIsSortedAccordingToComparator(AssertionInfo, List<?>, Comparator<?>) - Method in class org.assertj.core.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.
- assertIsSortedAccordingToComparator(AssertionInfo, long[], Comparator<? super Long>) - Method in class org.assertj.core.internal.LongArrays
-
- assertIsSortedAccordingToComparator(AssertionInfo, E[], Comparator<? super E>) - Method in class org.assertj.core.internal.ObjectArrays
-
- assertIsSortedAccordingToComparator(AssertionInfo, short[], Comparator<? super Short>) - Method in class org.assertj.core.internal.ShortArrays
-
- assertIsStrictlyBetween(AssertionInfo, NUMBER, NUMBER, NUMBER) - Method in class org.assertj.core.internal.Numbers
-
Asserts that the actual value is in ]start, end[ range (start excluded, end excluded).
- assertIsSubsetOf(AssertionInfo, Failures, Object, Iterable<?>) - Method in class org.assertj.core.internal.Arrays
-
- assertIsSubsetOf(AssertionInfo, Iterable<?>, Iterable<?>) - Method in class org.assertj.core.internal.Iterables
-
Verifies that the actual Iterable
is a subset of values Iterable
.
- assertIsSubsetOf(AssertionInfo, Object, Iterable<?>) - Method in class org.assertj.core.internal.ObjectArrays
-
- assertIsSymbolicLink(AssertionInfo, Path) - Method in class org.assertj.core.internal.Paths
-
- assertIsToday(AssertionInfo, Date) - Method in class org.assertj.core.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.assertj.core.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.assertj.core.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.assertj.core.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.assertj.core.internal.Dates
-
Verifies that the actual Date
millisecond is equal to the given millisecond.
- assertIsWithinMinute(AssertionInfo, Date, int) - Method in class org.assertj.core.internal.Dates
-
Verifies that the actual Date
minute is equal to the given minute.
- assertIsWithinMonth(AssertionInfo, Date, int) - Method in class org.assertj.core.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.assertj.core.internal.Dates
-
Verifies that the actual Date
second is equal to the given second.
- assertIsWithinYear(AssertionInfo, Date, int) - Method in class org.assertj.core.internal.Dates
-
Verifies that the actual Date
year is equal to the given year.
- assertIsWritable(AssertionInfo, Path) - Method in class org.assertj.core.internal.Paths
-
- assertIsZero(AssertionInfo, NUMBER) - Method in class org.assertj.core.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.assertj.core.internal.Comparables
-
Asserts that the actual value is less than the other one.
- assertLessThanOrEqualTo(AssertionInfo, T, T) - Method in class org.assertj.core.internal.Comparables
-
Asserts that the actual value is less than or equal to the other one.
- assertLowerCase(AssertionInfo, Character) - Method in class org.assertj.core.internal.Characters
-
Asserts that the actual value is a lowercase character.
- assertMatches(AssertionInfo, CharSequence, CharSequence) - Method in class org.assertj.core.internal.Strings
-
Verifies that the given CharSequence
matches the given regular expression.
- assertMatches(AssertionInfo, CharSequence, Pattern) - Method in class org.assertj.core.internal.Strings
-
Verifies that the given CharSequence
matches the given regular expression.
- assertNotEmpty(AssertionInfo, boolean[]) - Method in class org.assertj.core.internal.BooleanArrays
-
Asserts that the given array is not empty.
- assertNotEmpty(AssertionInfo, byte[]) - Method in class org.assertj.core.internal.ByteArrays
-
Asserts that the given array is not empty.
- assertNotEmpty(AssertionInfo, char[]) - Method in class org.assertj.core.internal.CharArrays
-
Asserts that the given array is not empty.
- assertNotEmpty(AssertionInfo, double[]) - Method in class org.assertj.core.internal.DoubleArrays
-
Asserts that the given array is not empty.
- assertNotEmpty(AssertionInfo, float[]) - Method in class org.assertj.core.internal.FloatArrays
-
Asserts that the given array is not empty.
- assertNotEmpty(AssertionInfo, int[]) - Method in class org.assertj.core.internal.IntArrays
-
Asserts that the given array is not empty.
- assertNotEmpty(AssertionInfo, Iterable<?>) - Method in class org.assertj.core.internal.Iterables
-
Asserts that the given Iterable
is not empty.
- assertNotEmpty(AssertionInfo, long[]) - Method in class org.assertj.core.internal.LongArrays
-
Asserts that the given array is not empty.
- assertNotEmpty(AssertionInfo, Map<?, ?>) - Method in class org.assertj.core.internal.Maps
-
Asserts that the given Map
is not empty.
- assertNotEmpty(AssertionInfo, Object[]) - Method in class org.assertj.core.internal.ObjectArrays
-
Asserts that the given array is not empty.
- assertNotEmpty(AssertionInfo, short[]) - Method in class org.assertj.core.internal.ShortArrays
-
Asserts that the given array is not empty.
- assertNotEmpty(AssertionInfo, CharSequence) - Method in class org.assertj.core.internal.Strings
-
Asserts that the given CharSequence
is not empty.
- assertNotEqual(AssertionInfo, Boolean, boolean) - Method in class org.assertj.core.internal.Booleans
-
Asserts that two longs are not equal.
- assertNotEqual(AssertionInfo, T, T) - Method in class org.assertj.core.internal.Comparables
-
Asserts that two T instances are not equal.
- assertNotEqual(AssertionInfo, Object, Object) - Method in class org.assertj.core.internal.Objects
-
Asserts that two objects are not equal.
- assertNotEqualByComparison(AssertionInfo, T, T) - Method in class org.assertj.core.internal.Comparables
-
- assertNotNull(AssertionInfo, T) - Static method in class org.assertj.core.internal.Comparables
-
- assertNotNull(AssertionInfo, Object) - Method in class org.assertj.core.internal.Objects
-
Asserts that the given object is not null
.
- assertNotSame(AssertionInfo, Object, Object) - Method in class org.assertj.core.internal.Objects
-
Asserts that two objects do not refer to the same object.
- assertNull(AssertionInfo, Object) - Method in class org.assertj.core.internal.Objects
-
Asserts that the given object is null
.
- assertNullOrEmpty(AssertionInfo, boolean[]) - Method in class org.assertj.core.internal.BooleanArrays
-
Asserts that the given array is null
or empty.
- assertNullOrEmpty(AssertionInfo, byte[]) - Method in class org.assertj.core.internal.ByteArrays
-
Asserts that the given array is null
or empty.
- assertNullOrEmpty(AssertionInfo, char[]) - Method in class org.assertj.core.internal.CharArrays
-
Asserts that the given array is null
or empty.
- assertNullOrEmpty(AssertionInfo, double[]) - Method in class org.assertj.core.internal.DoubleArrays
-
Asserts that the given array is null
or empty.
- assertNullOrEmpty(AssertionInfo, float[]) - Method in class org.assertj.core.internal.FloatArrays
-
Asserts that the given array is null
or empty.
- assertNullOrEmpty(AssertionInfo, int[]) - Method in class org.assertj.core.internal.IntArrays
-
Asserts that the given array is null
or empty.
- assertNullOrEmpty(AssertionInfo, Iterable<?>) - Method in class org.assertj.core.internal.Iterables
-
Asserts that the given
Iterable
is
null
or empty.
- assertNullOrEmpty(AssertionInfo, long[]) - Method in class org.assertj.core.internal.LongArrays
-
Asserts that the given array is null
or empty.
- assertNullOrEmpty(AssertionInfo, Map<?, ?>) - Method in class org.assertj.core.internal.Maps
-
Asserts that the given Map
is null
or empty.
- assertNullOrEmpty(AssertionInfo, Object[]) - Method in class org.assertj.core.internal.ObjectArrays
-
Asserts that the given array is null
or empty.
- assertNullOrEmpty(AssertionInfo, short[]) - Method in class org.assertj.core.internal.ShortArrays
-
Asserts that the given array is null
or empty.
- assertNullOrEmpty(AssertionInfo, CharSequence) - Method in class org.assertj.core.internal.Strings
-
Asserts that the given CharSequence
is null
or empty.
- AssertProvider<A> - Interface in org.assertj.core.api
-
Provides a
Assert
for the current object.
- assertSame(AssertionInfo, Object, Object) - Method in class org.assertj.core.internal.Objects
-
Asserts that two objects refer to the same object.
- assertStartsWith(AssertionInfo, boolean[], boolean[]) - Method in class org.assertj.core.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.assertj.core.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.assertj.core.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.assertj.core.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.assertj.core.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.assertj.core.internal.IntArrays
-
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.assertj.core.internal.Iterables
-
Verifies that the given Iterable
starts with the given sequence of objects, without any other objects
between them.
- assertStartsWith(AssertionInfo, long[], long[]) - Method in class org.assertj.core.internal.LongArrays
-
Verifies that the given array starts with the given sequence of values, without any other values between them.
- assertStartsWith(AssertionInfo, Object[], Object[]) - Method in class org.assertj.core.internal.ObjectArrays
-
Verifies that the given array starts with the given sequence of objects, without any other objects between them.
- assertStartsWith(AssertionInfo, Path, Path) - Method in class org.assertj.core.internal.Paths
-
- assertStartsWith(AssertionInfo, short[], short[]) - Method in class org.assertj.core.internal.ShortArrays
-
Verifies that the given array starts with the given sequence of values, without any other values between them.
- assertStartsWith(AssertionInfo, CharSequence, CharSequence) - Method in class org.assertj.core.internal.Strings
-
Verifies that the given CharSequence
starts with the given prefix.
- assertStartsWithRaw(AssertionInfo, Path, Path) - Method in class org.assertj.core.internal.Paths
-
- assertThat(BigDecimal) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(boolean) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(Boolean) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(boolean[]) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(byte) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(Byte) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(byte[]) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(char) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(char[]) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(Character) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(Class<?>) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(Iterable<? extends T>) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(Iterator<T>) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(double) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(Double) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(double[]) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(File) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(Path) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(InputStream) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(float) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(Float) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(float[]) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(int) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(int[]) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(Integer) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(List<? extends T>) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(long) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(Long) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(long[]) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(T) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(T[]) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(Map<K, V>) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(short) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(Short) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(short[]) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(CharSequence) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(String) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(Date) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(Throwable) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
- assertThat(BigDecimal) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(boolean) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(Boolean) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(boolean[]) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(byte) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(Byte) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(byte[]) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(char) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(char[]) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(Character) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(Class<?>) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(T) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(Iterable<? extends T>) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(Iterator<? extends T>) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(double) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(Double) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(double[]) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(File) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(Path) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(InputStream) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(float) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(Float) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(float[]) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(int) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(int[]) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(Integer) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(List<? extends T>) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(long) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(Long) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(long[]) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(T) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(T) - Static method in class org.assertj.core.api.Assertions
-
Returns the given assertion.
- assertThat(AssertProvider<T>) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(T[]) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(Map<K, V>) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(short) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(Short) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(short[]) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(CharSequence) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(String) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(Date) - Static method in class org.assertj.core.api.Assertions
-
- assertThat(Throwable) - Static method in class org.assertj.core.api.Assertions
-
- assertThat() - Method in interface org.assertj.core.api.AssertProvider
-
Returns the associated
Assert
for this object.
- assertThatThrownBy(ThrowableAssert.ThrowingCallable) - Method in class org.assertj.core.api.AbstractStandardSoftAssertions
-
Allows to capture and then assert on a
Throwable
more easily when used with Java 8 lambdas.
- assertThatThrownBy(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.Assertions
-
Allows to capture and then assert on a
Throwable
more easily when used with Java 8 lambdas.
- assertUpperCase(AssertionInfo, Character) - Method in class org.assertj.core.internal.Characters
-
Asserts that the actual value is a uppercase character.
- assertXmlEqualsTo(AssertionInfo, CharSequence, CharSequence) - Method in class org.assertj.core.internal.Strings
-
- asString() - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is an instance of String,
and returns a String assertion, to allow chaining of String-specific
assertions from this call.
- asString() - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is an instance of String,
and returns a String assertion, to allow chaining of String-specific
assertions from this call.
- asText() - Method in class org.assertj.core.internal.AbstractComparisonStrategy
-
- asText() - Method in class org.assertj.core.internal.ComparatorBasedComparisonStrategy
-
- asText() - Method in class org.assertj.core.internal.IterableElementComparisonStrategy
-
- asText() - Method in class org.assertj.core.internal.StandardComparisonStrategy
-
- atIndex(int) - Static method in class org.assertj.core.api.Assertions
-
Only delegate to
Index.atIndex(int)
so that Assertions offers a full feature entry point to all AssertJ
features (but you can use
Index
if you prefer).
- atIndex(int) - Static method in class org.assertj.core.data.Index
-
- AutoCloseableBDDSoftAssertions - Class in org.assertj.core.api
-
- AutoCloseableBDDSoftAssertions() - Constructor for class org.assertj.core.api.AutoCloseableBDDSoftAssertions
-
- AutoCloseableSoftAssertions - Class in org.assertj.core.api
-
- AutoCloseableSoftAssertions() - Constructor for class org.assertj.core.api.AutoCloseableSoftAssertions
-
- call() - Method in interface org.assertj.core.api.ThrowableAssert.ThrowingCallable
-
- canRead() - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the actual File
can be read by the application.
- canWrite() - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the actual File
can be modified by the application.
- castIfBelongsToType(Object, Class<T>) - Static method in class org.assertj.core.util.Objects
-
Casts the given object to the given type only if the object is of the given type.
- catchThrowable(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.Assertions
-
Allows to catch an
Throwable
more easily when used with Java 8 lambdas.
- catchThrowable(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.ThrowableAssert
-
- CharacterAssert - Class in org.assertj.core.api
-
- CharacterAssert(Character) - Constructor for class org.assertj.core.api.CharacterAssert
-
- Characters - Class in org.assertj.core.internal
-
- Characters(ComparisonStrategy) - Constructor for class org.assertj.core.internal.Characters
-
- CharArrayAssert - Class in org.assertj.core.api
-
Assertion methods for arrays of char
s.
- CharArrayAssert(char[]) - Constructor for class org.assertj.core.api.CharArrayAssert
-
- CharArrays - Class in org.assertj.core.internal
-
Reusable assertions for arrays of char
s.
- CharArrays(ComparisonStrategy) - Constructor for class org.assertj.core.internal.CharArrays
-
- CharSequenceAssert - Class in org.assertj.core.api
-
Assertion methods for CharSequence
s.
- CharSequenceAssert(CharSequence) - Constructor for class org.assertj.core.api.CharSequenceAssert
-
- checkNotNull(T) - Static method in class org.assertj.core.util.Preconditions
-
Verifies that the given object reference is not null
.
- checkNotNull(T, String) - Static method in class org.assertj.core.util.Preconditions
-
Verifies that the given object reference is not null
.
- checkNotNullOrEmpty(String) - Static method in class org.assertj.core.util.Preconditions
-
Verifies that the given String
is not null
or empty.
- checkNotNullOrEmpty(String, String) - Static method in class org.assertj.core.util.Preconditions
-
Verifies that the given String
is not null
or empty.
- checkNotNullOrEmpty(T[]) - Static method in class org.assertj.core.util.Preconditions
-
Verifies that the given array is not null
or empty.
- ClassAssert - Class in org.assertj.core.api
-
Assertion methods for Class
es.
- ClassAssert(Class<?>) - Constructor for class org.assertj.core.api.ClassAssert
-
- Classes - Class in org.assertj.core.internal
-
Reusable assertions for
Class
s.
- Classes() - Constructor for class org.assertj.core.internal.Classes
-
- ClassUtils - Class in org.assertj.core.util.introspection
-
- ClassUtils() - Constructor for class org.assertj.core.util.introspection.ClassUtils
-
- close() - Method in class org.assertj.core.api.AutoCloseableBDDSoftAssertions
-
- close() - Method in class org.assertj.core.api.AutoCloseableSoftAssertions
-
- Closeables - Class in org.assertj.core.util
-
- closeQuietly(Closeable...) - Static method in class org.assertj.core.util.Closeables
-
Closes the given
Closeable
s, ignoring any thrown exceptions.
- CollectionFilter<T> - Interface in org.assertj.core.util
-
Filters elements in a collection.
- Collections - Class in org.assertj.core.util
-
Utility methods related to Collection
s.
- CommonErrors - Class in org.assertj.core.internal
-
- ComparableAssert<S extends ComparableAssert<S,A>,A extends Comparable<? super A>> - Interface in org.assertj.core.api
-
- Comparables - Class in org.assertj.core.internal
-
- Comparables(ComparisonStrategy) - Constructor for class org.assertj.core.internal.Comparables
-
- ComparatorBasedComparisonStrategy - Class in org.assertj.core.internal
-
- ComparatorBasedComparisonStrategy(Comparator) - Constructor for class org.assertj.core.internal.ComparatorBasedComparisonStrategy
-
- compare(Object, Object) - Method in class org.assertj.core.internal.FieldByFieldComparator
-
- compare(BigDecimal, BigDecimal) - Method in class org.assertj.core.util.BigDecimalComparator
-
- comparison() - Static method in enum org.assertj.core.util.introspection.FieldSupport
-
Returns the instance dedicated to comparison of fields.
- ComparisonStrategy - Interface in org.assertj.core.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
- concat(Object...) - Static method in class org.assertj.core.util.Strings
-
Concatenates the given objects into a single String
.
- Condition<T> - Class in org.assertj.core.api
-
A condition to be met by an object.
- Condition() - Constructor for class org.assertj.core.api.Condition
-
- Condition(String) - Constructor for class org.assertj.core.api.Condition
-
- Condition(Description) - Constructor for class org.assertj.core.api.Condition
-
- ConditionAndGroupGenericParameterTypeShouldBeTheSame - Class in org.assertj.core.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.assertj.core.error.ConditionAndGroupGenericParameterTypeShouldBeTheSame
-
- conditions() - Method in class org.assertj.core.condition.Join
-
Returns the conditions to join.
- Conditions - Class in org.assertj.core.internal
-
- contains(boolean...) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual array contains the given values, in any order.
- contains(boolean, Index) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual array contains the given value at the given index.
- contains(byte...) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual array contains the given values, in any order.
- contains(byte, Index) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual array contains the given value at the given index.
- contains(char...) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual array contains the given values, in any order.
- contains(char, Index) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual array contains the given value at the given index.
- contains(CharSequence...) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual CharSequence
contains all the given strings.
- contains(double...) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array contains the given values, in any order.
- contains(double, Index) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array contains the given value at the given index.
- contains(float...) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array contains the given values, in any order.
- contains(float, Index) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array contains the given value at the given index.
- contains(int...) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual array contains the given values, in any order.
- contains(int, Index) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual array contains the given value at the given index.
- contains(T...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group contains the given values, in any order.
- contains(T, Index) - Method in class org.assertj.core.api.AbstractListAssert
-
Verifies that the actual group contains the given object at the given index.
- contains(long...) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual array contains the given values, in any order.
- contains(long, Index) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual array contains the given value at the given index.
- contains(MapEntry<? extends K, ? extends V>...) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual map contains the given entries, in any order.
- contains(T...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual group contains the given values, in any order.
- contains(T, Index) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual group contains the given object at the given index.
- contains(short...) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array contains the given values, in any order.
- contains(short, Index) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array contains the given value at the given index.
- contains(T, Index) - Method in interface org.assertj.core.api.IndexedObjectEnumerableAssert
-
Verifies that the actual group contains the given object at the given index.
- contains(MapEntry<? extends K, ? extends V>...) - Method in class org.assertj.core.api.MapAssert
-
- contains(T...) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group contains the given values, in any order.
- containsAll(Iterable<? extends T>) - Method in class org.assertj.core.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.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual group contains all the elements of given Iterable
, in any order.
- containsAll(Iterable<? extends T>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group contains all the elements of given Iterable
, in any order.
- containsEntry(K, V) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual map contains the given entry.
- containsExactly(boolean...) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual group contains only the given values and nothing else, in order.
- containsExactly(byte...) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual group contains only the given values and nothing else, in order.
- containsExactly(char...) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual group contains only the given values and nothing else, in order.
- containsExactly(double...) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual group contains only the given values and nothing else, in order.
- containsExactly(float...) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual group contains only the given values and nothing else, in order.
- containsExactly(int...) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual group contains only the given values and nothing else, in order.
- containsExactly(T...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group contains only the given values and nothing else, in order.
This assertion should only be used with group that have a consistent iteration order (i.e.
- containsExactly(long...) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual group contains only the given values and nothing else, in order.
- containsExactly(MapEntry<? extends K, ? extends V>...) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual map contains only the given entries and nothing else, in order.
This assertion should only be used with map that have a consistent iteration order (i.e.
- containsExactly(T...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual group contains only the given values and nothing else, in order.
This assertion should only be used with group that have a consistent iteration order (i.e.
- containsExactly(short...) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual group contains only the given values and nothing else, in order.
- containsExactly(MapEntry<? extends K, ? extends V>...) - Method in class org.assertj.core.api.MapAssert
-
- containsExactly(T...) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group contains only the given values and nothing else, in order.
This assertion should only be used with group that have a consistent iteration order (i.e.
- containsExactlyElementsOf(Iterable<? extends T>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
- containsExactlyElementsOf(Iterable<? extends T>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
- containsExactlyElementsOf(Iterable<? extends T>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
- containsIgnoringCase(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual CharSequence
contains the given sequence, ignoring case considerations.
- containsKey(K) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual map contains the given key.
- containsKeys(K...) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual map contains the given keys.
- containsKeys(K...) - Method in class org.assertj.core.api.MapAssert
-
- containsNull() - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group contains at least a null element.
- containsNull() - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual group contains at least a null element.
- containsNull() - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group contains at least a null element.
- containsOnly(boolean...) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual array contains only the given values and nothing else, in any order.
- containsOnly(byte...) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual array contains only the given values and nothing else, in any order.
- containsOnly(char...) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual array contains only the given values and nothing else, in any order.
- containsOnly(double...) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array contains only the given values and nothing else, in any order.
- containsOnly(float...) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array contains only the given values and nothing else, in any order.
- containsOnly(int...) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual array contains only the given values and nothing else, in any order.
- containsOnly(T...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group contains only the given values and nothing else, in any order.
- containsOnly(long...) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual array contains only the given values and nothing else, in any order.
- containsOnly(MapEntry<? extends K, ? extends V>...) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual map contains only the given entries and nothing else, in any order.
- containsOnly(T...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual group contains only the given values and nothing else, in any order.
- containsOnly(short...) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array contains only the given values and nothing else, in any order.
- containsOnly(MapEntry<? extends K, ? extends V>...) - Method in class org.assertj.core.api.MapAssert
-
- containsOnly(T...) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group contains only the given values and nothing else, in any order.
- containsOnlyElementsOf(Iterable<? extends T>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
- containsOnlyElementsOf(Iterable<? extends T>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
- containsOnlyElementsOf(Iterable<? extends T>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
- containsOnlyKeys(K...) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual map contains only the given keys and nothing else, in any order.
- containsOnlyKeys(K...) - Method in class org.assertj.core.api.MapAssert
-
- containsOnlyOnce(boolean...) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual array contains the given values only once.
- containsOnlyOnce(byte...) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual array contains the given values only once.
- containsOnlyOnce(char...) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual array contains the given values only once.
- containsOnlyOnce(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual CharSequence
contains the given sequence only once.
- containsOnlyOnce(double...) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array contains the given values only once.
- containsOnlyOnce(float...) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array contains the given values only once.
- containsOnlyOnce(int...) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual array contains the given values only once.
- containsOnlyOnce(T...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group contains the given values only once.
- containsOnlyOnce(long...) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual array contains the given values only once.
- containsOnlyOnce(T...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual group contains the given values only once.
- containsOnlyOnce(short...) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array contains the given values only once.
- containsOnlyOnce(T...) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group contains the given values only once.
- containsSequence(boolean...) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual array contains the given sequence, without any other values between them.
- containsSequence(byte...) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual array contains the given sequence, without any other values between them.
- containsSequence(char...) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual array contains the given sequence, without any other values between them.
- containsSequence(CharSequence...) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual CharSequence
contains all the given strings in the given order.
- containsSequence(double...) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array contains the given sequence, without any other values between them.
- containsSequence(float...) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array contains the given sequence, without any other values between them.
- containsSequence(int...) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual array contains the given sequence, without any other values between them.
- containsSequence(T...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group contains the given sequence, without any other values between them.
- containsSequence(long...) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual array contains the given sequence, without any other values between them.
- containsSequence(T...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual group contains the given sequence, without any other values between them.
- containsSequence(short...) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array contains the given sequence, without any other values between them.
- containsSequence(T...) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group contains the given sequence, without any other values between them.
- containsSubsequence(boolean...) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual array contains the given subsequence (possibly with other values between them).
- containsSubsequence(byte...) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual array contains the given subsequence (possibly with other values between them).
- containsSubsequence(char...) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual array contains the given subsequence (possibly with other values between them).
- containsSubsequence(double...) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array contains the given subsequence (possibly with other values between them).
- containsSubsequence(float...) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array contains the given subsequence (possibly with other values between them).
- containsSubsequence(int...) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual array contains the given subsequence (possibly with other values between them).
- containsSubsequence(T...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group contains the given subsequence (possibly with other values between them).
- containsSubsequence(long...) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual array contains the given subsequence (possibly with other values between them).
- containsSubsequence(T...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual group contains the given subsequence (possibly with other values between them).
- containsSubsequence(short...) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array contains the given subsequence (possibly with other values between them).
- containsSubsequence(T...) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group contains the given subsequence (possibly with other values between them).
- containsValue(V) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual map contains the given value.
- containsValues(V...) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual map contains the given values.
- containsValues(V...) - Method in class org.assertj.core.api.MapAssert
-
- contentOf(File, Charset) - Static method in class org.assertj.core.api.Assertions
-
- contentOf(File, String) - Static method in class org.assertj.core.api.Assertions
-
- contentOf(File) - Static method in class org.assertj.core.api.Assertions
-
- contentOf(File, String) - Static method in class org.assertj.core.util.Files
-
Loads the text content of a file into a character string.
- contentOf(File, Charset) - Static method in class org.assertj.core.util.Files
-
Loads the text content of a file into a character string.
- create(Description, Representation) - Method in class org.assertj.core.error.AbstractShouldHaveTextContent
-
- create(Description, Representation) - Method in class org.assertj.core.error.BasicErrorMessageFactory
-
Creates a new error message as a result of a failed assertion.
- create() - Method in class org.assertj.core.error.BasicErrorMessageFactory
-
Creates a new error message as a result of a failed assertion without description.
- create(Description, Representation) - Method in interface org.assertj.core.error.ErrorMessageFactory
-
Creates a new error message as a result of a failed assertion.
- create() - Method in interface org.assertj.core.error.ErrorMessageFactory
-
Creates a new error message as a result of a failed assertion without description.
- currentFolder() - Static method in class org.assertj.core.util.Files
-
Returns the current directory.
- has(Condition<? super A>) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value satisfies the given condition.
- has(Condition<? super T>, Index) - Method in class org.assertj.core.api.AbstractListAssert
-
Verifies that the actual object at the given index in the actual group satisfies the given condition.
- has(Condition<? super A>) - Method in interface org.assertj.core.api.ExtensionPoints
-
Verifies that the actual value satisfies the given condition.
- hasAnnotation(Class<? extends Annotation>) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual Class
has the given Annotation
.
- hasAnnotations(Class<? extends Annotation>...) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual Class
has the given Annotation
s.
- hasAnnotations(Class<? extends Annotation>...) - Method in class org.assertj.core.api.ClassAssert
-
- hasAtLeastOneElementOfType(Class<?>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that at least one element in the actual Iterable
belong to the specified type (matching includes
subclasses of the given type).
- hasAtLeastOneElementOfType(Class<?>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that at least one element in the actual Object
group belong to the specified type (matching
includes subclasses of the given type).
- hasAtLeastOneElementOfType(Class<?>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that at least one element in the actual Object
group belong to the specified type (matching
includes subclasses of the given type).
- hasBeenThrown() - Method in class org.assertj.core.api.AbstractThrowableAssert
-
- hasBinaryContent(byte[]) - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the binary content of the actual File
is exactly equal to the given one.
- hasBinaryContent(byte[]) - Method in class org.assertj.core.api.AbstractPathAssert
-
Verifies that the binary content of the actual Path
is exactly equal to the given one.
- hasCause(Throwable) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the actual
Throwable
has a cause similar to the given one, that is with same type and message
(it does not use
equals
method for comparison).
- hasCauseExactlyInstanceOf(Class<? extends Throwable>) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the cause of the actual Throwable
is exactly an instance of the given type.
- hasCauseInstanceOf(Class<? extends Throwable>) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the cause of the actual Throwable
is an instance of the given type.
- hasContent(String) - Method in class org.assertj.core.api.AbstractFileAssert
-
- hasContent(String) - Method in class org.assertj.core.api.AbstractPathAssert
-
- hasContentEqualTo(File) - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the content of the actual File
is equal to the content of the given one.
- hasContentEqualTo(InputStream) - Method in class org.assertj.core.api.AbstractInputStreamAssert
-
Verifies that the content of the actual InputStream
is equal to the content of the given one.
- hasDeclaredFields(String...) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual Class
has the declared fields
.
- hasExtension(String) - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the actual File
has given extension.
- hasFields(String...) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual Class
has the fields
.
- hasFileName(String) - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
last element String representation is equal to the given filename.
- HASH_CODE_PRIME - Static variable in class org.assertj.core.util.Objects
-
Prime number used to calculate the hash code of objects.
- hashCode() - Method in class org.assertj.core.api.AbstractAssert
-
Always returns 1.
- hashCode() - Method in class org.assertj.core.data.Index
-
- hashCode() - Method in class org.assertj.core.data.MapEntry
-
- hashCode() - Method in class org.assertj.core.data.Offset
-
- hashCode() - Method in class org.assertj.core.description.TextDescription
-
- hashCode() - Method in class org.assertj.core.error.BasicErrorMessageFactory
-
- hashCode() - Method in class org.assertj.core.error.ShouldBeEqual
-
- hashCode() - Method in class org.assertj.core.groups.Tuple
-
- hashCodeFor(Object) - Static method in class org.assertj.core.util.Objects
-
Returns the hash code for the given object.
- hasLineCount(int) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual CharSequence
has the expected line count.
- hasMessage(String) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the message of the actual Throwable
is equal to the given one.
- hasMessageContaining(String) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the message of the actual Throwable
contains with the given description.
- hasMessageEndingWith(String) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the message of the actual Throwable
ends with the given description.
- hasMessageStartingWith(String) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the message of the actual Throwable
starts with the given description.
- hasName(String) - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the actual File
has given name.
- hasNoCause() - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the actual Throwable
does not have a cause.
- hasNoDiff() - Method in class org.assertj.core.internal.BinaryDiffResult
-
- hasNoParent() - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the actual File
does not have a parent.
- hasNoParent() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
has no parent.
- hasNoParentRaw() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
has no parent.
- hasOnlyElementsOfType(Class<?>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that all the elements in the actual Iterable
belong to the specified type (matching includes
subclasses of the given type).
- hasOnlyElementsOfType(Class<?>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that all the elements in the actual Object
group belong to the specified type (matching includes
subclasses of the given type).
- hasOnlyElementsOfType(Class<?>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that all the elements in the actual Object
group belong to the specified type (matching includes
subclasses of the given type).
- hasOnlyNullElements(T[]) - Static method in class org.assertj.core.util.Arrays
-
Returns true
if the given array has only null
elements, false
otherwise.
- hasParent(File) - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the actual File
has given parent.
- hasParent(String) - Method in class org.assertj.core.api.AbstractFileAssert
-
- hasParent(Path) - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
has the expected parent path.
- hasParentRaw(Path) - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
has the expected parent path.
- hasRootCauseExactlyInstanceOf(Class<? extends Throwable>) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the root cause of the actual Throwable
is exactly an instance of the given type.
- hasRootCauseInstanceOf(Class<? extends Throwable>) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the root cause of the actual Throwable
is an instance of the given type.
- hasSameClassAs(Object) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value has the same class as the given object.
- hasSameClassAs(Object) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value has the same class as the given object.
- hasSameContentAs(Path) - Method in class org.assertj.core.api.AbstractPathAssert
-
Verifies that the content of the actual Path
is the same as the given one (both paths must be a readable
files).
- hasSameElementsAs(Iterable<? extends T>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
- hasSameElementsAs(Iterable<? extends T>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
- hasSameElementsAs(Iterable<? extends T>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
- hasSameSizeAs(Iterable<?>) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual group has the same size as given
Iterable
.
- hasSameSizeAs(Iterable<?>) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual group has the same size as given
Iterable
.
- hasSameSizeAs(Iterable<?>) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual group has the same size as given
Iterable
.
- hasSameSizeAs(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual CharSequence
has a length that's the same as the length of the given
CharSequence
.
- hasSameSizeAs(Object) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual CharSequence
has a length that's the same as the number of elements in the given
array.
- hasSameSizeAs(Iterable<?>) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual CharSequence
has a length that's the same as the number of elements in the given
Iterable.
- hasSameSizeAs(Iterable<?>) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual group has the same size as given
Iterable
.
- hasSameSizeAs(Object) - Method in class org.assertj.core.api.AbstractEnumerableAssert
-
Verifies that the actual group has the same size as given array.
- hasSameSizeAs(Iterable<?>) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual group has the same size as given
Iterable
.
- hasSameSizeAs(Iterable<?>) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual group has the same size as given
Iterable
.
- hasSameSizeAs(Object) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group has the same size as given array.
- hasSameSizeAs(Iterable<?>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group has the same size as given
Iterable
.
- hasSameSizeAs(Iterable<?>) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual group has the same size as given
Iterable
.
- hasSameSizeAs(Object) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual group has the same size as given array.
- hasSameSizeAs(Iterable<?>) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual group has the same size as given
Iterable
.
- hasSameSizeAs(Map<?, ?>) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual map has the same size as the given
Map
.
- hasSameSizeAs(Object) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual group has the same size as given array.
- hasSameSizeAs(Iterable<?>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual group has the same size as given
Iterable
.
- hasSameSizeAs(Iterable<?>) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual group has the same size as given
Iterable
.
- hasSameSizeAs(Iterable<?>) - Method in interface org.assertj.core.api.EnumerableAssert
-
Verifies that the actual group has the same size as given
Iterable
.
- hasSameSizeAs(Object) - Method in interface org.assertj.core.api.EnumerableAssert
-
Verifies that the actual group has the same size as given array.
- hasSameTimeAs(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Date
has the same time as the given date, useful to compare
Date
and
Timestamp
.
- hasSameTimeAs(WritableAssertionInfo, Date, Date) - Method in class org.assertj.core.internal.Dates
-
Verifies that the actual Date
is equal to the given date by comparing their time.
- hasSize(int) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the number of values in the actual group is equal to the given one.
- hasSize(int) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the number of values in the actual group is equal to the given one.
- hasSize(int) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the number of values in the actual group is equal to the given one.
- hasSize(int) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual CharSequence
has the expected length using the length()
method.
- hasSize(int) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the number of values in the actual group is equal to the given one.
- hasSize(int) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the number of values in the actual group is equal to the given one.
- hasSize(int) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the number of values in the actual group is equal to the given one.
- hasSize(int) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the number of values in the actual group is equal to the given one.
- hasSize(int) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the number of values in the actual group is equal to the given one.
- hasSize(int) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the number of values in the actual group is equal to the given one.
- hasSize(int) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the number of values in the actual group is equal to the given one.
- hasSize(int) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the number of values in the actual group is equal to the given one.
- hasSize(int) - Method in interface org.assertj.core.api.EnumerableAssert
-
Verifies that the number of values in the actual group is equal to the given one.
- hasTime(long) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual Date
has the same time as the given timestamp.
- have(Condition<? super T>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that all elements satisfy the given condition.
- have(Condition<? super T>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that all elements satisfy the given condition.
- have(Condition<? super T>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that all elements satisfy the given condition.
- haveAtLeast(int, Condition<? super T>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that there is at least n elements in the actual group satisfying the given condition.
- haveAtLeast(int, Condition<? super T>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that there is at least n elements in the actual group satisfying the given condition.
- haveAtLeast(int, Condition<? super T>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that there is at least n elements in the actual group satisfying the given condition.
- haveAtLeastOne(Condition<? super T>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that there is at least one element in the actual group satisfying the given condition.
- haveAtLeastOne(Condition<? super T>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that there is at least one element in the actual group satisfying the given condition.
- haveAtLeastOne(Condition<? super T>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that there is at least one element in the actual group satisfying the given condition.
- haveAtMost(int, Condition<? super T>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that there is at most n elements in the actual group satisfying the given condition.
- haveAtMost(int, Condition<? super T>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that there is at most n elements in the actual group satisfying the given condition.
- haveAtMost(int, Condition<? super T>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that there is at most n elements in the actual group satisfying the given condition.
- haveExactly(int, Condition<? super T>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that there is exactly n elements in the actual group satisfying the given condition.
- haveExactly(int, Condition<? super T>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that there is exactly n elements in the actual group satisfying the given condition.
- haveExactly(int, Condition<? super T>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that there is exactly n elements in the actual group satisfying the given condition.
- having(Condition<? super E>) - Method in class org.assertj.core.api.filter.Filters
-
Filter the underlying group, keeping only elements satisfying the given
Condition
.
Same as
Filters.being(Condition)
- pick the method you prefer to have the most readable code.
- HEX_ARRAY - Static variable in class org.assertj.core.util.Hexadecimals
-
- HexadecimalRepresentation - Class in org.assertj.core.presentation
-
Hexadecimal object representation instead of standard java representation.
- HexadecimalRepresentation() - Constructor for class org.assertj.core.presentation.HexadecimalRepresentation
-
- Hexadecimals - Class in org.assertj.core.util
-
- hourOfDayOf(Date) - Static method in class org.assertj.core.util.Dates
-
Extracts the hour of day if the given Date (24-hour clock).
- IgnoringFieldsComparator - Class in org.assertj.core.internal
-
- IgnoringFieldsComparator(String...) - Constructor for class org.assertj.core.internal.IgnoringFieldsComparator
-
- in(Object...) - Method in class org.assertj.core.api.filter.Filters
-
Filters the underlying iterable to keep object with property (specified by
Filters.with(String)
)
equals to one of the
given values.
- inBinary() - Method in class org.assertj.core.api.AbstractAssert
-
Use binary object representation instead of standard representation in error messages.
- inBinary() - Method in class org.assertj.core.api.AbstractComparableAssert
-
- inBinary() - Method in class org.assertj.core.api.AbstractEnumerableAssert
-
- inBinary() - Method in class org.assertj.core.api.AbstractIterableAssert
-
Enable binary representation of Iterable elements instead of standard representation in error messages.
- inBinary() - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
- Index - Class in org.assertj.core.data
-
A positive index.
- IndexedObjectEnumerableAssert<S extends IndexedObjectEnumerableAssert<S,T>,T> - Interface in org.assertj.core.api
-
Assertions methods applicable to indexed groups of objects (e.g.
- info - Variable in class org.assertj.core.api.AbstractAssert
-
- inHexadecimal() - Method in class org.assertj.core.api.AbstractAssert
-
Use hexadecimal object representation instead of standard representation in error messages.
- inHexadecimal() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
- inHexadecimal() - Method in class org.assertj.core.api.AbstractComparableAssert
-
- inHexadecimal() - Method in class org.assertj.core.api.AbstractEnumerableAssert
-
Enable hexadecimal object representation of Iterable elements instead of standard java representation in error messages.
- inHexadecimal() - Method in class org.assertj.core.api.AbstractIterableAssert
-
Enable hexadecimal representation of Iterable elements instead of standard representation in error messages.
- inHexadecimal() - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Enable hexadecimal object representation of Itearble elements instead of standard java representation in error
messages.
- InputStreamAssert - Class in org.assertj.core.api
-
- InputStreamAssert(InputStream) - Constructor for class org.assertj.core.api.InputStreamAssert
-
- InputStreams - Class in org.assertj.core.internal
-
- InputStreamsException - Exception in org.assertj.core.internal
-
- InputStreamsException(String) - Constructor for exception org.assertj.core.internal.InputStreamsException
-
- InputStreamsException(String, Throwable) - Constructor for exception org.assertj.core.internal.InputStreamsException
-
- instance() - Static method in class org.assertj.core.error.DescriptionFormatter
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.error.MessageFormatter
-
- instance() - Static method in class org.assertj.core.internal.BigDecimals
-
- instance() - Static method in class org.assertj.core.internal.BooleanArrays
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.internal.Booleans
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.internal.ByteArrays
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.internal.Bytes
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.internal.Characters
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.internal.CharArrays
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.internal.Classes
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.internal.Comparables
-
- instance() - Static method in class org.assertj.core.internal.Conditions
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.internal.Dates
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.internal.DoubleArrays
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.internal.Doubles
-
- instance() - Static method in class org.assertj.core.internal.Failures
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.internal.Files
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.internal.FloatArrays
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.internal.Floats
-
- instance() - Static method in class org.assertj.core.internal.InputStreams
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.internal.IntArrays
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.internal.Integers
-
- instance() - Static method in class org.assertj.core.internal.Iterables
-
- instance() - Static method in class org.assertj.core.internal.Lists
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.internal.LongArrays
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.internal.Longs
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.internal.Maps
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.internal.NioFilesWrapper
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.internal.ObjectArrays
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.internal.Objects
-
- instance() - Static method in class org.assertj.core.internal.Paths
-
- instance() - Static method in class org.assertj.core.internal.PropertySupport
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.internal.ShortArrays
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.internal.Shorts
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.internal.StandardComparisonStrategy
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.internal.Strings
-
- instance() - Static method in class org.assertj.core.internal.Throwables
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.util.TextFileWriter
-
- IntArrayAssert - Class in org.assertj.core.api
-
Assertion methods for arrays of int
s.
- IntArrayAssert(int[]) - Constructor for class org.assertj.core.api.IntArrayAssert
-
- IntArrays - Class in org.assertj.core.internal
-
Reusable assertions for arrays of int
s.
- IntArrays(ComparisonStrategy) - Constructor for class org.assertj.core.internal.IntArrays
-
- IntegerAssert - Class in org.assertj.core.api
-
- IntegerAssert(Integer) - Constructor for class org.assertj.core.api.IntegerAssert
-
- Integers - Class in org.assertj.core.internal
-
- Integers(ComparisonStrategy) - Constructor for class org.assertj.core.internal.Integers
-
- intercept(Object, Method, Object[], MethodProxy) - Method in class org.assertj.core.api.ErrorCollector
-
- Introspection - Class in org.assertj.core.util.introspection
-
- IntrospectionError - Exception in org.assertj.core.util.introspection
-
- IntrospectionError(String) - Constructor for exception org.assertj.core.util.introspection.IntrospectionError
-
- IntrospectionError(String, Throwable) - Constructor for exception org.assertj.core.util.introspection.IntrospectionError
-
- inUnicode() - Method in class org.assertj.core.api.AbstractCharacterAssert
-
Use unicode character representation instead of standard representation in error messages.
- inUnicode() - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Use unicode character representation instead of standard representation in error messages.
- inUnicode() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Use unicode character representation instead of standard representation in error messages.
- IOERROR_FORMAT - Static variable in class org.assertj.core.internal.Paths
-
- is(Condition<? super A>) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value satisfies the given condition.
- is(Condition<? super T>, Index) - Method in class org.assertj.core.api.AbstractListAssert
-
Verifies that the actual object at the given index in the actual group satisfies the given condition.
- is(Condition<? super A>) - Method in interface org.assertj.core.api.ExtensionPoints
-
Verifies that the actual value satisfies the given condition.
- isAbsolute() - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the actual File
is an absolute path.
- isAbsolute() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
is absolute (the path does not have to exist).
- isAfter(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual Date
is strictly after the given one.
- isAfter(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isAfterOrEqualsTo(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual Date
is after or equals to the given one.
- isAfterOrEqualsTo(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isAfterYear(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual Date
is strictly after the given year.
- isAllowedToRead(Field) - Method in enum org.assertj.core.util.introspection.FieldSupport
-
- isAllowedToUsePrivateFields() - Method in enum org.assertj.core.util.introspection.FieldSupport
-
- isAnnotation() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual Class
is an annotation.
- isArray(Object) - Static method in class org.assertj.core.util.Arrays
-
Indicates whether the given object is not null
and is an array.
- isAssignableFrom(Class<?>...) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual Class
is assignable from others Class
- isBefore(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual Date
is strictly before the given one.
- isBefore(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isBeforeOrEqualsTo(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual Date
is before or equals to the given one.
- isBeforeOrEqualsTo(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isBeforeYear(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual Date
is strictly before the given year.
- isBetween(BigDecimal, BigDecimal) - Method in class org.assertj.core.api.AbstractBigDecimalAssert
-
Verifies that the actual value is in [start, end] range (start and end included).
- isBetween(Byte, Byte) - Method in class org.assertj.core.api.AbstractByteAssert
-
Verifies that the actual value is in [start, end] range (start included, end included).
- isBetween(Date, Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual Date
is in [start, end[ period (start included, end excluded).
- isBetween(String, String) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isBetween(Date, Date, boolean, boolean) - Method in class org.assertj.core.api.AbstractDateAssert
-
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 to true
.
To include end in the period set inclusiveEnd
parameter to true
.
- isBetween(String, String, boolean, boolean) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isBetween(Double, Double) - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual value is in [start, end] range (start included, end included).
- isBetween(Float, Float) - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual value is in [start, end] range (start included, end included).
- isBetween(Integer, Integer) - Method in class org.assertj.core.api.AbstractIntegerAssert
-
Verifies that the actual value is in [start, end] range (start included, end included).
- isBetween(Long, Long) - Method in class org.assertj.core.api.AbstractLongAssert
-
Verifies that the actual value is in [start, end] range (start included, end included).
- isBetween(Short, Short) - Method in class org.assertj.core.api.AbstractShortAssert
-
Verifies that the actual value is in [start, end] range (start included, end included).
- isBetween(A, A) - Method in interface org.assertj.core.api.NumberAssert
-
Verifies that the actual value is in [start, end] range (start included, end included).
- isCanonical() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
is canonical by comparing it to its
real
path
.
- isCloseTo(BigDecimal, Offset<BigDecimal>) - Method in class org.assertj.core.api.AbstractBigDecimalAssert
-
Verifies that the actual number is close to the given one within the given offset.
If difference is equal to offset value, assertion is considered valid.
- isCloseTo(Date, long) - Method in class org.assertj.core.api.AbstractDateAssert
-
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.
- isCloseTo(String, long) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isCloseTo(double, Offset<Double>) - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual number is close to the given one within the given offset.
If difference is equal to offset value, assertion is considered valid.
- isCloseTo(Double, Offset<Double>) - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual number is close to the given one within the given offset.
If difference is equal to offset value, assertion is considered valid.
- isCloseTo(float, Offset<Float>) - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual number is close to the given one within the given offset.
If difference is equal to offset value, assertion is considered valid.
- isCloseTo(Float, Offset<Float>) - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual number is close to the given one within the given offset.
If difference is equal to offset value, assertion is considered valid.
- isCloseTo(A, Offset<A>) - Method in interface org.assertj.core.api.FloatingPointNumberAssert
-
Verifies that the actual number is close to the given one within the given offset.
If difference is equal to offset value, assertion is considered valid.
- isDirectory() - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the actual File
is an existing directory.
- isDirectory() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
is a directory.
- isDirectory(Path) - Method in class org.assertj.core.internal.NioFilesWrapper
-
- isEmpty() - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual group of values is empty.
- isEmpty() - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual group of values is empty.
- isEmpty() - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual group of values is empty.
- isEmpty() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual CharSequence
is empty, i.e., it has a length of 0 and is not null
.
- isEmpty() - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual group of values is empty.
- isEmpty() - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual group of values is empty.
- isEmpty() - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual group of values is empty.
- isEmpty() - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group of values is empty.
- isEmpty() - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual group of values is empty.
- isEmpty() - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual group of values is empty.
- isEmpty() - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual group of values is empty.
- isEmpty() - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual group of values is empty.
- isEmpty() - Method in interface org.assertj.core.api.EnumerableAssert
-
Verifies that the actual group of values is empty.
- isEqualByComparingTo(String) - Method in class org.assertj.core.api.AbstractBigDecimalAssert
-
- isEqualByComparingTo(A) - Method in class org.assertj.core.api.AbstractUnevenComparableAssert
-
- isEqualByComparingTo(T) - Method in interface org.assertj.core.api.UnevenComparableAssert
-
- isEqualTo(Object) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is equal to the given one.
- isEqualTo(String) - Method in class org.assertj.core.api.AbstractBigDecimalAssert
-
- isEqualTo(boolean) - Method in class org.assertj.core.api.AbstractBooleanAssert
-
Verifies that the actual value is equal to the given one.
- isEqualTo(byte) - Method in class org.assertj.core.api.AbstractByteAssert
-
Verifies that the actual value is equal to the given one.
- isEqualTo(char) - Method in class org.assertj.core.api.AbstractCharacterAssert
-
Verifies that the actual value is equal to the given one.
- isEqualTo(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isEqualTo(double) - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual value is equal to the given one.
- isEqualTo(Double, Offset<Double>) - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual value is close to the given one by less than the given offset.
If difference is equal to offset value, assertion is considered valid.
- isEqualTo(double, Offset<Double>) - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual value is close to the given one by less than the given offset.
If difference is equal to offset value, assertion is considered valid.
- isEqualTo(float) - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual value is equal to the given one.
- isEqualTo(Float, Offset<Float>) - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual value is close to the given one by less than the given offset.
If difference is equal to offset value, assertion is considered valid.
- isEqualTo(float, Offset<Float>) - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual value is close to the given one by less than the given offset.
If difference is equal to offset value, assertion is considered valid.
- isEqualTo(int) - Method in class org.assertj.core.api.AbstractIntegerAssert
-
Verifies that the actual value is equal to the given one.
- isEqualTo(long) - Method in class org.assertj.core.api.AbstractLongAssert
-
Verifies that the actual value is equal to the given one.
- isEqualTo(short) - Method in class org.assertj.core.api.AbstractShortAssert
-
Verifies that the actual value is equal to the given one.
- isEqualTo(Object) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is equal to the given one.
- isEqualTo(A, Offset<A>) - Method in interface org.assertj.core.api.FloatingPointNumberAssert
-
Verifies that the actual value is close to the given one by less than the given offset.
If difference is equal to offset value, assertion is considered valid.
- isEqualTo(Double, Double, Offset<?>) - Method in class org.assertj.core.internal.Doubles
-
- isEqualTo(Float, Float, Offset<?>) - Method in class org.assertj.core.internal.Floats
-
- isEqualTo(NUMBER, NUMBER, Offset<?>) - Method in class org.assertj.core.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.
- isEqualToComparingFieldByField(A) - Method in class org.assertj.core.api.AbstractObjectAssert
-
Assert that the actual object is equal to the given object based on a field by field comparison (including
inherited fields).
- isEqualToComparingOnlyGivenFields(A, String...) - Method in class org.assertj.core.api.AbstractObjectAssert
-
Assert that the actual object is equal to given one using a field by field comparison on the given fields only
(fields can be inherited fields or nested fields).
- isEqualToIgnoringCase(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual CharSequence
is equal to the given one, ignoring case considerations.
- isEqualToIgnoringGivenFields(A, String...) - Method in class org.assertj.core.api.AbstractObjectAssert
-
Assert that the actual object is equal to the given one by comparing their fields except for the given ones
(inherited fields are taken into account).
- isEqualToIgnoringHours(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isEqualToIgnoringHours(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isEqualToIgnoringMillis(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isEqualToIgnoringMillis(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isEqualToIgnoringMinutes(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isEqualToIgnoringMinutes(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isEqualToIgnoringNullFields(A) - Method in class org.assertj.core.api.AbstractObjectAssert
-
Assert that the actual object is equal to the given one by comparing actual's fields with not null other's
fields only (including inherited fields).
- isEqualToIgnoringSeconds(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isEqualToIgnoringSeconds(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isExactlyInstanceOf(Class<?>) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is exactly an instance of the given type.
- isExactlyInstanceOf(Class<?>) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is exactly an instance of the given type.
- isExecutable() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
is a executable file, it checks that the file exists (according to
Files.exists(Path, LinkOption...)
) and that it is executable(according to
Files.isExecutable(Path)
).
- isExecutable(Path) - Method in class org.assertj.core.internal.NioFilesWrapper
-
- isFalse() - Method in class org.assertj.core.api.AbstractBooleanAssert
-
Verifies that the actual value is false
.
- isFieldsNamesEmpty() - Method in class org.assertj.core.internal.Objects.ByFieldsComparison
-
- isFieldsNamesNotEmpty() - Method in class org.assertj.core.internal.Objects.ByFieldsComparison
-
- isFile() - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the actual File
is an existing file.
- isGreaterThan(byte) - Method in class org.assertj.core.api.AbstractByteAssert
-
Verifies that the actual value is greater than the given one.
- isGreaterThan(char) - Method in class org.assertj.core.api.AbstractCharacterAssert
-
Verifies that the actual value is greater than the given one.
- isGreaterThan(A) - Method in class org.assertj.core.api.AbstractComparableAssert
-
Verifies that the actual value is greater than the given one.
- isGreaterThan(double) - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual value is greater than the given one.
- isGreaterThan(float) - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual value is greater than the given one.
- isGreaterThan(int) - Method in class org.assertj.core.api.AbstractIntegerAssert
-
Verifies that the actual value is greater than the given one.
- isGreaterThan(long) - Method in class org.assertj.core.api.AbstractLongAssert
-
Verifies that the actual value is greater than the given one.
- isGreaterThan(short) - Method in class org.assertj.core.api.AbstractShortAssert
-
Verifies that the actual value is greater than the given one.
- isGreaterThan(A) - Method in interface org.assertj.core.api.ComparableAssert
-
Verifies that the actual value is greater than the given one.
- isGreaterThan(Object, Object) - Method in class org.assertj.core.internal.ComparatorBasedComparisonStrategy
-
- isGreaterThan(Object, Object) - Method in interface org.assertj.core.internal.ComparisonStrategy
-
Returns true if actual is greater than other, false otherwise.
- isGreaterThan(Object, Object) - Method in class org.assertj.core.internal.StandardComparisonStrategy
-
- isGreaterThanOrEqualTo(byte) - Method in class org.assertj.core.api.AbstractByteAssert
-
Verifies that the actual value is greater than or equal to the given one.
- isGreaterThanOrEqualTo(char) - Method in class org.assertj.core.api.AbstractCharacterAssert
-
Verifies that the actual value is greater than or equal to the given one.
- isGreaterThanOrEqualTo(A) - Method in class org.assertj.core.api.AbstractComparableAssert
-
Verifies that the actual value is greater than or equal to the given one.
- isGreaterThanOrEqualTo(double) - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual value is greater than or equal to the given one.
- isGreaterThanOrEqualTo(float) - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual value is greater than or equal to the given one.
- isGreaterThanOrEqualTo(int) - Method in class org.assertj.core.api.AbstractIntegerAssert
-
Verifies that the actual value is greater than or equal to the given one.
- isGreaterThanOrEqualTo(long) - Method in class org.assertj.core.api.AbstractLongAssert
-
Verifies that the actual value is greater than or equal to the given one.
- isGreaterThanOrEqualTo(short) - Method in class org.assertj.core.api.AbstractShortAssert
-
Verifies that the actual value is greater than or equal to the given one.
- isGreaterThanOrEqualTo(A) - Method in interface org.assertj.core.api.ComparableAssert
-
Verifies that the actual value is greater than or equal to the given one.
- isGreaterThanOrEqualTo(Object, Object) - Method in class org.assertj.core.internal.AbstractComparisonStrategy
-
- isGreaterThanOrEqualTo(Object, Object) - Method in interface org.assertj.core.internal.ComparisonStrategy
-
Returns true if actual is greater than or equal to other, false otherwise.
- isIn(Object...) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is present in the given array of values.
- isIn(Iterable<?>) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is present in the given values.
- isIn(String...) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isIn(Object...) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is present in the given array of values.
- isIn(Iterable<?>) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is present in the given values.
- isInSameDayAs(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual and given Date
have the same day of month, month and year fields values.
- isInSameDayAs(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isInSameHourAs(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual and given Date
have same hour, day, month and year fields values.
- isInSameHourAs(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isInSameHourWindowAs(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual and given Date
are chronologically in the same hour (i.e.
- isInSameHourWindowAs(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isInSameMinuteAs(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual and given Date
have same minute, same hour, day, month and year fields values.
- isInSameMinuteAs(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isInSameMinuteWindowAs(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual and given Date
are chronologically in the same hour (i.e.
- isInSameMinuteWindowAs(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isInSameMonthAs(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual and given Date
have same month and year fields.
- isInSameMonthAs(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isInSameSecondAs(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual and given Date
have same second, minute, hour, day, month and year fields values.
- isInSameSecondAs(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isInSameSecondWindowAs(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual and given Date
are chronologically strictly in the same second (i.e.
- isInSameSecondWindowAs(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isInSameYearAs(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual and given Date
are in the same year.
- isInSameYearAs(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isInstanceOf(Class<?>) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is an instance of the given type.
- isInstanceOf(Class<?>) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is an instance of the given type.
- isInstanceOfAny(Class<?>...) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is an instance of any of the given types.
- isInstanceOfAny(Class<?>...) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is an instance of any of the given types.
- isInterface() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual Class
is an interface.
- isInTheFuture() - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual Date
is strictly in the future.
- isInThePast() - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual Date
is strictly in the past.
- isInWithStringDateCollection(Collection<String>) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isLessThan(byte) - Method in class org.assertj.core.api.AbstractByteAssert
-
Verifies that the actual value is less than the given one.
- isLessThan(char) - Method in class org.assertj.core.api.AbstractCharacterAssert
-
Verifies that the actual value is less than the given one.
- isLessThan(A) - Method in class org.assertj.core.api.AbstractComparableAssert
-
Verifies that the actual value is less than the given one.
- isLessThan(double) - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual value is less than the given one.
- isLessThan(float) - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual value is less than the given one.
- isLessThan(int) - Method in class org.assertj.core.api.AbstractIntegerAssert
-
Verifies that the actual value is less than the given one.
- isLessThan(long) - Method in class org.assertj.core.api.AbstractLongAssert
-
Verifies that the actual value is less than the given one.
- isLessThan(short) - Method in class org.assertj.core.api.AbstractShortAssert
-
Verifies that the actual value is less than the given one.
- isLessThan(A) - Method in interface org.assertj.core.api.ComparableAssert
-
Verifies that the actual value is less than the given one.
- isLessThan(Object, Object) - Method in class org.assertj.core.internal.AbstractComparisonStrategy
-
- isLessThan(Object, Object) - Method in interface org.assertj.core.internal.ComparisonStrategy
-
Returns true if actual is less than other, false otherwise.
- isLessThan(Object, Object) - Method in class org.assertj.core.internal.StandardComparisonStrategy
-
- isLessThanOrEqualTo(byte) - Method in class org.assertj.core.api.AbstractByteAssert
-
Verifies that the actual value is less than or equal to the given one.
- isLessThanOrEqualTo(char) - Method in class org.assertj.core.api.AbstractCharacterAssert
-
Verifies that the actual value is less than or equal to the given one.
- isLessThanOrEqualTo(A) - Method in class org.assertj.core.api.AbstractComparableAssert
-
Verifies that the actual value is less than or equal to the given one.
- isLessThanOrEqualTo(double) - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual value is less than or equal to the given one.
- isLessThanOrEqualTo(float) - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual value is less than or equal to the given one.
- isLessThanOrEqualTo(int) - Method in class org.assertj.core.api.AbstractIntegerAssert
-
Verifies that the actual value is less than or equal to the given one.
- isLessThanOrEqualTo(long) - Method in class org.assertj.core.api.AbstractLongAssert
-
Verifies that the actual value is less than or equal to the given one.
- isLessThanOrEqualTo(short) - Method in class org.assertj.core.api.AbstractShortAssert
-
Verifies that the actual value is less than or equal to the given one.
- isLessThanOrEqualTo(A) - Method in interface org.assertj.core.api.ComparableAssert
-
Verifies that the actual value is less than or equal to the given one.
- isLessThanOrEqualTo(Object, Object) - Method in class org.assertj.core.internal.AbstractComparisonStrategy
-
- isLessThanOrEqualTo(Object, Object) - Method in interface org.assertj.core.internal.ComparisonStrategy
-
Returns true if actual is less than or equal to other, false otherwise.
- isLowerCase() - Method in class org.assertj.core.api.AbstractCharacterAssert
-
Verifies that the actual value is a lowercase character.
- isNaN() - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual value is equal to NaN
.
- isNaN() - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual value is equal to NaN
.
- isNaN() - Method in interface org.assertj.core.api.FloatingPointNumberAssert
-
Verifies that the actual value is equal to NaN
.
- isNegative() - Method in class org.assertj.core.api.AbstractBigDecimalAssert
-
Verifies that the actual value is negative.
- isNegative() - Method in class org.assertj.core.api.AbstractByteAssert
-
Verifies that the actual value is negative.
- isNegative() - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual value is negative.
- isNegative() - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual value is negative.
- isNegative() - Method in class org.assertj.core.api.AbstractIntegerAssert
-
Verifies that the actual value is negative.
- isNegative() - Method in class org.assertj.core.api.AbstractLongAssert
-
Verifies that the actual value is negative.
- isNegative() - Method in class org.assertj.core.api.AbstractShortAssert
-
Verifies that the actual value is negative.
- isNegative() - Method in interface org.assertj.core.api.NumberAssert
-
Verifies that the actual value is negative.
- isNormalized() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
is normalized.
- isNot(Condition<? super A>) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value does not satisfy the given condition.
- isNot(Condition<? super A>) - Method in interface org.assertj.core.api.ExtensionPoints
-
Verifies that the actual value does not satisfy the given condition.
- isNotAnnotation() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual Class
is not an annotation.
- isNotBetween(Date, Date, boolean, boolean) - Method in class org.assertj.core.api.AbstractDateAssert
-
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 to true
.
To include end in the period set
inclusiveEnd parameter to true
.
- isNotBetween(String, String, boolean, boolean) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isNotBetween(Date, Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual Date
is not in [start, end[ period
- isNotBetween(String, String) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isNotEmpty() - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual group of values is not empty.
- isNotEmpty() - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual group of values is not empty.
- isNotEmpty() - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual group of values is not empty.
- isNotEmpty() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual CharSequence
is not empty, i.e., is not null
and has a length of 1 or
more.
- isNotEmpty() - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual group of values is not empty.
- isNotEmpty() - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual group of values is not empty.
- isNotEmpty() - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual group of values is not empty.
- isNotEmpty() - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group of values is not empty.
- isNotEmpty() - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual group of values is not empty.
- isNotEmpty() - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual group of values is not empty.
- isNotEmpty() - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual group of values is not empty.
- isNotEmpty() - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual group of values is not empty.
- isNotEmpty() - Method in interface org.assertj.core.api.EnumerableAssert
-
Verifies that the actual group of values is not empty.
- isNotEqualByComparingTo(A) - Method in class org.assertj.core.api.AbstractUnevenComparableAssert
-
- isNotEqualByComparingTo(T) - Method in interface org.assertj.core.api.UnevenComparableAssert
-
- isNotEqualTo(Object) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is not equal to the given one.
- isNotEqualTo(boolean) - Method in class org.assertj.core.api.AbstractBooleanAssert
-
Verifies that the actual value is not equal to the given one.
- isNotEqualTo(byte) - Method in class org.assertj.core.api.AbstractByteAssert
-
Verifies that the actual value is not equal to the given one.
- isNotEqualTo(char) - Method in class org.assertj.core.api.AbstractCharacterAssert
-
Verifies that the actual value is not equal to the given one.
- isNotEqualTo(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isNotEqualTo(double) - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual value is not equal to the given one.
- isNotEqualTo(float) - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual value is not equal to the given one.
- isNotEqualTo(int) - Method in class org.assertj.core.api.AbstractIntegerAssert
-
Verifies that the actual value is not equal to the given one.
- isNotEqualTo(long) - Method in class org.assertj.core.api.AbstractLongAssert
-
Verifies that the actual value is not equal to the given one.
- isNotEqualTo(short) - Method in class org.assertj.core.api.AbstractShortAssert
-
Verifies that the actual value is not equal to the given one.
- isNotEqualTo(Object) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is not equal to the given one.
- isNotExactlyInstanceOf(Class<?>) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is not exactly an instance of given type.
- isNotExactlyInstanceOf(Class<?>) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is not exactly an instance of given type.
- isNotIn(Object...) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is not present in the given array of values.
- isNotIn(Iterable<?>) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is not present in the given values.
- isNotIn(String...) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isNotIn(Object...) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is not present in the given array of values.
- isNotIn(Iterable<?>) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is not present in the given values.
- isNotInstanceOf(Class<?>) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is not an instance of the given type.
- isNotInstanceOf(Class<?>) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is not an instance of the given type.
- isNotInstanceOfAny(Class<?>...) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is not an instance of any of the given types.
- isNotInstanceOfAny(Class<?>...) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is not an instance of any of the given types.
- isNotInterface() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual Class
is not an interface.
- isNotInWithStringDateCollection(Collection<String>) - Method in class org.assertj.core.api.AbstractDateAssert
-
- isNotNaN() - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual value is not equal to NaN
.
- isNotNaN() - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual value is not equal to NaN
.
- isNotNaN() - Method in interface org.assertj.core.api.FloatingPointNumberAssert
-
Verifies that the actual value is not equal to NaN
.
- isNotNegative() - Method in class org.assertj.core.api.AbstractBigDecimalAssert
-
Verifies that the actual value is non negative (positive or equal zero).
- isNotNegative() - Method in class org.assertj.core.api.AbstractByteAssert
-
Verifies that the actual value is non negative (positive or equal zero).
- isNotNegative() - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual value is non negative (positive or equal zero).
- isNotNegative() - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual value is non negative (positive or equal zero).
- isNotNegative() - Method in class org.assertj.core.api.AbstractIntegerAssert
-
Verifies that the actual value is non negative (positive or equal zero).
- isNotNegative() - Method in class org.assertj.core.api.AbstractLongAssert
-
Verifies that the actual value is non negative (positive or equal zero).
- isNotNegative() - Method in class org.assertj.core.api.AbstractShortAssert
-
Verifies that the actual value is non negative (positive or equal zero).
- isNotNegative() - Method in interface org.assertj.core.api.NumberAssert
-
Verifies that the actual value is non negative (positive or equal zero).
- isNotNull() - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is not null
.
- isNotNull() - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is not null
.
- isNotOfAnyClassIn(Class<?>...) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value type is not in given types.
- isNotOfAnyClassIn(Class<?>...) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value type is not in given types.
- isNotPositive() - Method in class org.assertj.core.api.AbstractBigDecimalAssert
-
Verifies that the actual value is non positive (negative or equal zero).
- isNotPositive() - Method in class org.assertj.core.api.AbstractByteAssert
-
Verifies that the actual value is non positive (negative or equal zero).
- isNotPositive() - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual value is non positive (negative or equal zero).
- isNotPositive() - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual value is non positive (negative or equal zero).
- isNotPositive() - Method in class org.assertj.core.api.AbstractIntegerAssert
-
Verifies that the actual value is non positive (negative or equal zero).
- isNotPositive() - Method in class org.assertj.core.api.AbstractLongAssert
-
Verifies that the actual value is non positive (negative or equal zero).
- isNotPositive() - Method in class org.assertj.core.api.AbstractShortAssert
-
Verifies that the actual value is non positive (negative or equal zero).
- isNotPositive() - Method in interface org.assertj.core.api.NumberAssert
-
Verifies that the actual value is non positive (negative or equal zero).
- isNotSameAs(Object) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is not the same as the given one.
- isNotSameAs(Object) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is not the same as the given one.
- isNotZero() - Method in class org.assertj.core.api.AbstractBigDecimalAssert
-
Verifies that the actual value is not equal to zero.
- isNotZero() - Method in class org.assertj.core.api.AbstractByteAssert
-
Verifies that the actual value is not equal to zero.
- isNotZero() - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual value is not equal to zero.
- isNotZero() - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual value is not equal to zero.
- isNotZero() - Method in class org.assertj.core.api.AbstractIntegerAssert
-
Verifies that the actual value is not equal to zero.
- isNotZero() - Method in class org.assertj.core.api.AbstractLongAssert
-
Verifies that the actual value is not equal to zero.
- isNotZero() - Method in class org.assertj.core.api.AbstractShortAssert
-
Verifies that the actual value is not equal to zero.
- isNotZero() - Method in interface org.assertj.core.api.NumberAssert
-
Verifies that the actual value is not equal to zero.
- isNull() - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is null
.
- isNull() - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is null
.
- isNullOrEmpty() - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual group of values is null
or empty.
- isNullOrEmpty() - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual group of values is null
or empty.
- isNullOrEmpty() - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual group of values is null
or empty.
- isNullOrEmpty() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual CharSequence
is empty, i.e., it has a length of 0, or is null
.
- isNullOrEmpty() - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual group of values is null
or empty.
- isNullOrEmpty() - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual group of values is null
or empty.
- isNullOrEmpty() - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual group of values is null
or empty.
- isNullOrEmpty() - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group of values is null
or empty.
- isNullOrEmpty() - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual group of values is null
or empty.
- isNullOrEmpty() - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual group of values is null
or empty.
- isNullOrEmpty() - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual group of values is null
or empty.
- isNullOrEmpty() - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual group of values is null
or empty.
- isNullOrEmpty() - Method in interface org.assertj.core.api.EnumerableAssert
-
Verifies that the actual group of values is null
or empty.
- isNullOrEmpty(T[]) - Static method in class org.assertj.core.util.Arrays
-
Indicates whether the given array is null
or empty.
- isNullOrEmpty(Collection<?>) - Static method in class org.assertj.core.util.Collections
-
Indicates whether the given Collection
is null
or empty.
- isNullOrEmpty(Iterable<?>) - Static method in class org.assertj.core.util.Iterables
-
Indicates whether the given
Iterable
is
null
or empty.
- isNullOrEmpty(Map<?, ?>) - Static method in class org.assertj.core.util.Maps
-
Indicates whether the given Map
is null
or empty.
- isNullOrEmpty(String) - Static method in class org.assertj.core.util.Strings
-
Indicates whether the given String
is null
or empty.
- isOfAnyClassIn(Class<?>...) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value type is in given types.
- isOfAnyClassIn(Class<?>...) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value type is in given types.
- isPositive() - Method in class org.assertj.core.api.AbstractBigDecimalAssert
-
Verifies that the actual value is positive.
- isPositive() - Method in class org.assertj.core.api.AbstractByteAssert
-
Verifies that the actual value is positive.
- isPositive() - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual value is positive.
- isPositive() - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual value is positive.
- isPositive() - Method in class org.assertj.core.api.AbstractIntegerAssert
-
Verifies that the actual value is positive.
- isPositive() - Method in class org.assertj.core.api.AbstractLongAssert
-
Verifies that the actual value is positive.
- isPositive() - Method in class org.assertj.core.api.AbstractShortAssert
-
Verifies that the actual value is positive.
- isPositive() - Method in interface org.assertj.core.api.NumberAssert
-
Verifies that the actual value is positive.
- isReadable() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
is a readable file, it checks that the file exists (according to
Files.exists(Path, LinkOption...)
) and that it is readable(according to
Files.isReadable(Path)
).
- isReadable(Path) - Method in class org.assertj.core.internal.NioFilesWrapper
-
- isRegularFile() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
is a regular file.
- isRegularFile(Path) - Method in class org.assertj.core.internal.NioFilesWrapper
-
- isRelative() - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the actual File
is a relative path.
- isRelative() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
is relative (opposite to
Path.isAbsolute()
).
- isSameAs(Object) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is the same as the given one.
- isSameAs(Object) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is the same as the given one.
- isSorted() - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual array is sorted into ascending order according to the natural ordering of its elements.
- isSorted() - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual array is sorted into ascending order according to the natural ordering of its elements.
- isSorted() - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual array is sorted into ascending order according to the natural ordering of its elements.
- isSorted() - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array is sorted into ascending order according to the natural ordering of its elements.
- isSorted() - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array is sorted into ascending order according to the natural ordering of its elements.
- isSorted() - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual array is sorted into ascending order according to the natural ordering of its elements.
- isSorted() - Method in class org.assertj.core.api.AbstractListAssert
-
Verifies that the actual list is sorted into ascending order according to the natural ordering of its elements.
- isSorted() - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual array is sorted into ascending order according to the natural ordering of its elements.
- isSorted() - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array is sorted into ascending order according to the natural ordering of its elements.
- isSorted() - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array is sorted into ascending order according to the natural ordering of its elements.
- isSorted() - Method in interface org.assertj.core.api.ArraySortedAssert
-
Verifies that the actual array is sorted into ascending order according to the natural ordering of its elements.
- isSortedAccordingTo(Comparator<? super Boolean>) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
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.assertj.core.api.AbstractByteArrayAssert
-
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.assertj.core.api.AbstractCharArrayAssert
-
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.assertj.core.api.AbstractDoubleArrayAssert
-
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.assertj.core.api.AbstractFloatArrayAssert
-
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.assertj.core.api.AbstractIntArrayAssert
-
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.assertj.core.api.AbstractListAssert
-
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 Long>) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
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.assertj.core.api.AbstractObjectArrayAssert
-
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.assertj.core.api.AbstractShortArrayAssert
-
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 E>) - Method in interface org.assertj.core.api.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.
- isStandard() - Method in class org.assertj.core.internal.AbstractComparisonStrategy
-
- isStandard() - Method in class org.assertj.core.internal.ComparatorBasedComparisonStrategy
-
- isStandard() - Method in interface org.assertj.core.internal.ComparisonStrategy
-
Return true if comparison strategy is default/standard, false otherwise
- isStandard() - Method in class org.assertj.core.internal.IterableElementComparisonStrategy
-
- isStandard() - Method in class org.assertj.core.internal.StandardComparisonStrategy
-
- isStrictlyBetween(BigDecimal, BigDecimal) - Method in class org.assertj.core.api.AbstractBigDecimalAssert
-
Verifies that the actual value is in ]start, end[ range (start excluded, end excluded).
- isStrictlyBetween(Byte, Byte) - Method in class org.assertj.core.api.AbstractByteAssert
-
Verifies that the actual value is in ]start, end[ range (start excluded, end excluded).
- isStrictlyBetween(Double, Double) - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual value is in ]start, end[ range (start excluded, end excluded).
- isStrictlyBetween(Float, Float) - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual value is in ]start, end[ range (start excluded, end excluded).
- isStrictlyBetween(Integer, Integer) - Method in class org.assertj.core.api.AbstractIntegerAssert
-
Verifies that the actual value is in ]start, end[ range (start excluded, end excluded).
- isStrictlyBetween(Long, Long) - Method in class org.assertj.core.api.AbstractLongAssert
-
Verifies that the actual value is in ]start, end[ range (start excluded, end excluded).
- isStrictlyBetween(Short, Short) - Method in class org.assertj.core.api.AbstractShortAssert
-
Verifies that the actual value is in ]start, end[ range (start excluded, end excluded).
- isStrictlyBetween(A, A) - Method in interface org.assertj.core.api.NumberAssert
-
Verifies that the actual value is in ]start, end[ range (start excluded, end excluded).
- isSubsetOf(Iterable<? extends T>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that all the elements of actual are present in the given Iterable
.
- isSubsetOf(Iterable<? extends T>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that all the elements of actual are present in the given Iterable
.
- isSubsetOf(Iterable<? extends T>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that all the elements of actual are present in the given Iterable
.
- isSymbolicLink() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
is a symbolic link.
- isSymbolicLink(Path) - Method in class org.assertj.core.internal.NioFilesWrapper
-
- isToday() - Method in class org.assertj.core.api.AbstractDateAssert
-
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.assertj.core.api.AbstractBooleanAssert
-
Verifies that the actual value is true
.
- isUpperCase() - Method in class org.assertj.core.api.AbstractCharacterAssert
-
Verifies that the actual value is a uppercase character.
- isWithinDayOfMonth(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual Date
day of month is equal to the given day of month.
- isWithinDayOfWeek(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Date
day of week is equal to the given day of week (see
Calendar.DAY_OF_WEEK
for valid values).
- isWithinHourOfDay(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual Date
hour of day is equal to the given hour of day (24-hour clock).
- isWithinMillisecond(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual Date
millisecond is equal to the given millisecond.
- isWithinMinute(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual Date
minute is equal to the given minute.
- isWithinMonth(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
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.assertj.core.api.AbstractDateAssert
-
Verifies that the actual Date
second is equal to the given second.
- isWithinYear(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual Date
year is equal to the given year.
- isWritable() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
is a writable file, it checks that the file exists (according to
Files.exists(Path, LinkOption...)
) and that it is writable(according to
Files.isWritable(Path)
).
- isWritable(Path) - Method in class org.assertj.core.internal.NioFilesWrapper
-
- isXmlEqualTo(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual CharSequence
is equal to the given XML CharSequence
after both have been
formatted the same way.
- isXmlEqualToContentOf(File) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual CharSequence
is equal to the content of the given file.
- isZero() - Method in class org.assertj.core.api.AbstractBigDecimalAssert
-
Verifies that the actual value is equal to zero.
- isZero() - Method in class org.assertj.core.api.AbstractByteAssert
-
Verifies that the actual value is equal to zero.
- isZero() - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual value is equal to zero.
- isZero() - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual value is equal to zero.
- isZero() - Method in class org.assertj.core.api.AbstractIntegerAssert
-
Verifies that the actual value is equal to zero.
- isZero() - Method in class org.assertj.core.api.AbstractLongAssert
-
Verifies that the actual value is equal to zero.
- isZero() - Method in class org.assertj.core.api.AbstractShortAssert
-
Verifies that the actual value is equal to zero.
- isZero() - Method in interface org.assertj.core.api.NumberAssert
-
Verifies that the actual value is equal to zero.
- IterableAssert<T> - Class in org.assertj.core.api
-
- IterableAssert(Iterable<? extends T>) - Constructor for class org.assertj.core.api.IterableAssert
-
- IterableAssert(Iterator<? extends T>) - Constructor for class org.assertj.core.api.IterableAssert
-
- iterableContains(Iterable<?>, Object) - Method in class org.assertj.core.internal.ComparatorBasedComparisonStrategy
-
- iterableContains(Iterable<?>, Object) - Method in interface org.assertj.core.internal.ComparisonStrategy
-
Returns true if given
Iterable
contains given value according to the implemented comparison strategy, false
otherwise.
If given
Iterable
is null, return false.
- iterableContains(Iterable<?>, Object) - Method in class org.assertj.core.internal.StandardComparisonStrategy
-
- IterableElementComparisonStrategy<T> - Class in org.assertj.core.internal
-
- IterableElementComparisonStrategy(Comparator<? super T>) - Constructor for class org.assertj.core.internal.IterableElementComparisonStrategy
-
- iterableRemoves(Iterable<?>, Object) - Method in class org.assertj.core.internal.ComparatorBasedComparisonStrategy
-
Look for given value in given
Iterable
according to the
Comparator
, if value is found it is removed
from it.
Does nothing if given
Iterable
is null (meaning no exception thrown).
- iterableRemoves(Iterable<?>, Object) - Method in interface org.assertj.core.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 given
Iterable
is null, does nothing.
- iterableRemoves(Iterable<?>, Object) - Method in class org.assertj.core.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 given
Iterable
is null, does nothing.
- Iterables - Class in org.assertj.core.internal
-
- Iterables(ComparisonStrategy) - Constructor for class org.assertj.core.internal.Iterables
-
- Iterables - Class in org.assertj.core.util
-
Utility methods related to Iterable
s.
- iterableToLookForIsEmpty() - Static method in class org.assertj.core.internal.Iterables
-
- iterableToLookForIsNull() - Static method in class org.assertj.core.internal.Iterables
-
- secondOf(Date) - Static method in class org.assertj.core.util.Dates
-
Extracts the second of the given Date.
- setAllowComparingPrivateFields(boolean) - Static method in class org.assertj.core.api.Assertions
-
Globally sets whether the use of private fields is allowed for comparison.
- setAllowExtractingPrivateFields(boolean) - Static method in class org.assertj.core.api.Assertions
-
- setAllowUsingPrivateFields(boolean) - Method in enum org.assertj.core.util.introspection.FieldSupport
-
Sets whether the use of private fields is allowed.
- setRemoveAssertJRelatedElementsFromStackTrace(boolean) - Static method in class org.assertj.core.api.Assertions
-
- setRemoveAssertJRelatedElementsFromStackTrace(boolean) - Static method in class org.assertj.core.api.Fail
-
Sets whether we remove elements related to AssertJ from assertion error stack trace.
- setRemoveAssertJRelatedElementsFromStackTrace(boolean) - Method in class org.assertj.core.internal.Failures
-
Sets whether we remove elements related to AssertJ from assertion error stack trace.
- Sets - Class in org.assertj.core.util
-
Utility methods related to
Set
s.
- ShortArrayAssert - Class in org.assertj.core.api
-
Assertion methods for arrays of short
s.
- ShortArrayAssert(short[]) - Constructor for class org.assertj.core.api.ShortArrayAssert
-
- ShortArrays - Class in org.assertj.core.internal
-
Reusable assertions for arrays of short
s.
- ShortArrays(ComparisonStrategy) - Constructor for class org.assertj.core.internal.ShortArrays
-
- ShortAssert - Class in org.assertj.core.api
-
Assertion methods for
Short
s.
- ShortAssert(Short) - Constructor for class org.assertj.core.api.ShortAssert
-
- Shorts - Class in org.assertj.core.internal
-
Reusable assertions for
Short
s.
- Shorts(ComparisonStrategy) - Constructor for class org.assertj.core.internal.Shorts
-
- SHOULD_BE_ABSOLUTE_PATH - Static variable in class org.assertj.core.error.ShouldBeAbsolutePath
-
- SHOULD_BE_CANONICAL - Static variable in class org.assertj.core.error.ShouldBeCanonicalPath
-
- SHOULD_BE_NORMALIZED - Static variable in class org.assertj.core.error.ShouldBeNormalized
-
- SHOULD_BE_REGULAR_FILE - Static variable in class org.assertj.core.error.ShouldBeRegularFile
-
- SHOULD_BE_RELATIVE_PATH - Static variable in class org.assertj.core.error.ShouldBeRelativePath
-
- SHOULD_BE_SYMBOLIC_LINK - Static variable in class org.assertj.core.error.ShouldBeSymbolicLink
-
- ShouldBe - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a value satisfies a
Condition
failed.
- shouldBe(T, Condition<? super T>) - Static method in class org.assertj.core.error.ShouldBe
-
- ShouldBeAbsolutePath - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
File
or
Path
is an absolute path
failed.
- shouldBeAbsolutePath(File) - Static method in class org.assertj.core.error.ShouldBeAbsolutePath
-
- shouldBeAbsolutePath(Path) - Static method in class org.assertj.core.error.ShouldBeAbsolutePath
-
- ShouldBeAfter - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is after another one failed.
- shouldBeAfter(Date, Date, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeAfter
-
- shouldBeAfter(Date, Date) - Static method in class org.assertj.core.error.ShouldBeAfter
-
- shouldBeAfter(Date, int) - Static method in class org.assertj.core.error.ShouldBeAfter
-
- ShouldBeAfterOrEqualsTo - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is after or equals to another one
failed.
- shouldBeAfterOrEqualsTo(Date, Date, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeAfterOrEqualsTo
-
- shouldBeAfterOrEqualsTo(Date, Date) - Static method in class org.assertj.core.error.ShouldBeAfterOrEqualsTo
-
- ShouldBeAfterYear - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is after given year failed.
- shouldBeAfterYear(Date, int, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeAfterYear
-
- shouldBeAfterYear(Date, int) - Static method in class org.assertj.core.error.ShouldBeAfterYear
-
- ShouldBeAnArray - Class in org.assertj.core.error
-
Creates an error message indicating that a group of elements should have been an array.
- shouldBeAnArray(Object) - Static method in class org.assertj.core.error.ShouldBeAnArray
-
- ShouldBeAnnotation - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a class is (or not) an annotation.
- shouldBeAnnotation(Class<?>) - Static method in class org.assertj.core.error.ShouldBeAnnotation
-
- ShouldBeAssignableFrom - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a class is assignable from.
- shouldBeAssignableFrom(Class<?>, Set<Class<?>>, Set<Class<?>>) - Static method in class org.assertj.core.error.ShouldBeAssignableFrom
-
- ShouldBeAtIndex - Class in org.assertj.core.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
Condition
failed.
- shouldBeAtIndex(List<? extends T>, Condition<? super T>, Index, T) - Static method in class org.assertj.core.error.ShouldBeAtIndex
-
- ShouldBeBefore - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is before another one failed.
- shouldBeBefore(Date, Date, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeBefore
-
- shouldBeBefore(Date, Date) - Static method in class org.assertj.core.error.ShouldBeBefore
-
- ShouldBeBeforeOrEqualsTo - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is before or equals to another one
failed.
- shouldBeBeforeOrEqualsTo(Date, Date, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeBeforeOrEqualsTo
-
- shouldBeBeforeOrEqualsTo(Date, Date) - Static method in class org.assertj.core.error.ShouldBeBeforeOrEqualsTo
-
- ShouldBeBeforeYear - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is before given year failed.
- shouldBeBeforeYear(Date, int, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeBeforeYear
-
- shouldBeBeforeYear(Date, int) - Static method in class org.assertj.core.error.ShouldBeBeforeYear
-
- ShouldBeBetween - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is between start - end dates (inclusive
or not) failed.
- shouldBeBetween(Date, Date, Date, boolean, boolean, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeBetween
-
- shouldBeBetween(Date, Date, Date, boolean, boolean) - Static method in class org.assertj.core.error.ShouldBeBetween
-
- shouldBeBetween(T, T, T, boolean, boolean, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeBetween
-
- shouldBeBetween(T, T, T, boolean, boolean) - Static method in class org.assertj.core.error.ShouldBeBetween
-
- ShouldBeCanonicalPath - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Path
is canonical has failed.
- shouldBeCanonicalPath(Path) - Static method in class org.assertj.core.error.ShouldBeCanonicalPath
-
- ShouldBeCloseTo - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is close to another one from some delta
failed.
- shouldBeCloseTo(Date, Date, long, long) - Static method in class org.assertj.core.error.ShouldBeCloseTo
-
- ShouldBeDirectory - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
File
or
Path
is an
existing directory failed
- shouldBeDirectory(Path) - Static method in class org.assertj.core.error.ShouldBeDirectory
-
- shouldBeDirectory(File) - Static method in class org.assertj.core.error.ShouldBeDirectory
-
- ShouldBeEmpty - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a group of elements is empty failed.
- shouldBeEmpty(Object) - Static method in class org.assertj.core.error.ShouldBeEmpty
-
- ShouldBeEqual - Class in org.assertj.core.error
-
Creates an
AssertionError
indicating that an assertion that verifies that two objects are equal
failed.
- shouldBeEqual(Object, Object, Representation) - Static method in class org.assertj.core.error.ShouldBeEqual
-
- shouldBeEqual(Object, Object, ComparisonStrategy, Representation) - Static method in class org.assertj.core.error.ShouldBeEqual
-
- shouldBeEqual(CharSequence, CharSequence) - Static method in class org.assertj.core.error.ShouldBeEqualIgnoringCase
-
- shouldBeEqual(T, T, Offset<T>, T) - Static method in class org.assertj.core.error.ShouldBeEqualWithinOffset
-
- shouldBeEqual(Date, Date, TimeUnit) - Static method in class org.assertj.core.error.ShouldBeEqualWithTimePrecision
-
- ShouldBeEqualByComparingOnlyGivenFields - Class in org.assertj.core.error
-
Creates an
AssertionError
indicating that an assertion that verifies that two objects are
lenient equal by accepting fields failed.
- shouldBeEqualComparingOnlyGivenFields(Object, List<String>, List<Object>, List<Object>, List<String>) - Static method in class org.assertj.core.error.ShouldBeEqualByComparingOnlyGivenFields
-
- ShouldBeEqualIgnoringCase - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that two CharSequence
s are equal, ignoring case
considerations, failed.
- ShouldBeEqualToIgnoringFields - Class in org.assertj.core.error
-
Creates an
AssertionError
indicating that an assertion that verifies that two objects are lenient equal by
ignoring fields failed.
- shouldBeEqualToIgnoringGivenFields(Object, List<String>, List<Object>, List<Object>, List<String>) - Static method in class org.assertj.core.error.ShouldBeEqualToIgnoringFields
-
- ShouldBeEqualWithinOffset - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that two numbers are equal within a positive offset failed.
- ShouldBeEqualWithTimePrecision - Class in org.assertj.core.error
-
Creates an
AssertionError
indicating that an assertion that verifies that two dates are equals
up to a given precision failed.
- shouldBeExactlyInstance(Object, Class<?>) - Static method in class org.assertj.core.error.ShouldBeExactlyInstanceOf
-
- ShouldBeExactlyInstanceOf - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that an object is exactly an instance of some
type failed.
- ShouldBeExecutable - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
File
is executable
failed.
- shouldBeExecutable(File) - Static method in class org.assertj.core.error.ShouldBeExecutable
-
- shouldBeExecutable(Path) - Static method in class org.assertj.core.error.ShouldBeExecutable
-
- ShouldBeFile - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
File
is an existing file
failed.
- shouldBeFile(File) - Static method in class org.assertj.core.error.ShouldBeFile
-
- ShouldBeGreater - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a value is greater than another one failed.
- shouldBeGreater(T, T) - Static method in class org.assertj.core.error.ShouldBeGreater
-
- shouldBeGreater(T, T, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeGreater
-
- ShouldBeGreaterOrEqual - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a value is greater than or equal to another one
failed.
- shouldBeGreaterOrEqual(T, T) - Static method in class org.assertj.core.error.ShouldBeGreaterOrEqual
-
- shouldBeGreaterOrEqual(T, T, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeGreaterOrEqual
-
- ShouldBeIn - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a value is in a group of values (e.g.
- shouldBeIn(Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeIn
-
- shouldBeIn(Object, Object) - Static method in class org.assertj.core.error.ShouldBeIn
-
- ShouldBeInSameDay - Class in org.assertj.core.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.
- shouldBeInSameDay(Date, Date) - Static method in class org.assertj.core.error.ShouldBeInSameDay
-
- ShouldBeInSameHour - Class in org.assertj.core.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.
- shouldBeInSameHour(Date, Date) - Static method in class org.assertj.core.error.ShouldBeInSameHour
-
- ShouldBeInSameHourWindow - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is in same hour window as
another one failed.
- shouldBeInSameHourWindow(Date, Date) - Static method in class org.assertj.core.error.ShouldBeInSameHourWindow
-
- ShouldBeInSameMinute - Class in org.assertj.core.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.
- shouldBeInSameMinute(Date, Date) - Static method in class org.assertj.core.error.ShouldBeInSameMinute
-
- ShouldBeInSameMinuteWindow - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is in minute window as
another one failed.
- shouldBeInSameMinuteWindow(Date, Date) - Static method in class org.assertj.core.error.ShouldBeInSameMinuteWindow
-
- ShouldBeInSameMonth - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is in same year and month as another
one failed.
- shouldBeInSameMonth(Date, Date) - Static method in class org.assertj.core.error.ShouldBeInSameMonth
-
- ShouldBeInSameSecond - Class in org.assertj.core.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.
- shouldBeInSameSecond(Date, Date) - Static method in class org.assertj.core.error.ShouldBeInSameSecond
-
- ShouldBeInSameSecondWindow - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is in second window as
another one failed.
- shouldBeInSameSecondWindow(Date, Date) - Static method in class org.assertj.core.error.ShouldBeInSameSecondWindow
-
- ShouldBeInSameYear - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is in same year as another one failed.
- shouldBeInSameYear(Date, Date) - Static method in class org.assertj.core.error.ShouldBeInSameYear
-
- ShouldBeInstance - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that an object is an instance of some type
failed.
- shouldBeInstance(Object, Class<?>) - Static method in class org.assertj.core.error.ShouldBeInstance
-
- shouldBeInstanceButWasNull(String, Class<?>) - Static method in class org.assertj.core.error.ShouldBeInstance
-
- ShouldBeInstanceOfAny - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that an object is an instance of one or more
types failed.
- shouldBeInstanceOfAny(Object, Class<?>[]) - Static method in class org.assertj.core.error.ShouldBeInstanceOfAny
-
- ShouldBeInterface - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a class is (or not) an interface.
- shouldBeInterface(Class<?>) - Static method in class org.assertj.core.error.ShouldBeInterface
-
- ShouldBeInTheFuture - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is in the future failed.
- shouldBeInTheFuture(Date, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeInTheFuture
-
- shouldBeInTheFuture(Date) - Static method in class org.assertj.core.error.ShouldBeInTheFuture
-
- ShouldBeInThePast - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is in the past failed.
- shouldBeInThePast(Date, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeInThePast
-
- shouldBeInThePast(Date) - Static method in class org.assertj.core.error.ShouldBeInThePast
-
- ShouldBeLess - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a value is less than another one failed.
- shouldBeLess(T, T) - Static method in class org.assertj.core.error.ShouldBeLess
-
- shouldBeLess(T, T, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeLess
-
- ShouldBeLessOrEqual - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a value is less than or equal to another one failed.
- shouldBeLessOrEqual(T, T) - Static method in class org.assertj.core.error.ShouldBeLessOrEqual
-
- shouldBeLessOrEqual(T, T, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeLessOrEqual
-
- ShouldBeLowerCase - Class in org.assertj.core.error
-
Creates an error message that indicates an assertion that verifies that a character is lowercase failed.
- shouldBeLowerCase(Character) - Static method in class org.assertj.core.error.ShouldBeLowerCase
-
- ShouldBeNormalized - Class in org.assertj.core.error
-
Assertion error message delivered when a
Path
is not normalized
- shouldBeNormalized(Path) - Static method in class org.assertj.core.error.ShouldBeNormalized
-
- ShouldBeNullOrEmpty - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a group of elements is null
or empty failed.
- shouldBeNullOrEmpty(Object) - Static method in class org.assertj.core.error.ShouldBeNullOrEmpty
-
- ShouldBeOfClassIn - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that an object is of type in group of types failed.
- shouldBeOfClassIn(Object, Object) - Static method in class org.assertj.core.error.ShouldBeOfClassIn
-
- ShouldBeReadable - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
File
or a a
Path
is readable failed.
- shouldBeReadable(File) - Static method in class org.assertj.core.error.ShouldBeReadable
-
- shouldBeReadable(Path) - Static method in class org.assertj.core.error.ShouldBeReadable
-
- ShouldBeRegularFile - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Path
is a regular file has failed.
- shouldBeRegularFile(Path) - Static method in class org.assertj.core.error.ShouldBeRegularFile
-
- ShouldBeRelativePath - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
File
or a
Path
is a relative path failed.
- shouldBeRelativePath(File) - Static method in class org.assertj.core.error.ShouldBeRelativePath
-
- shouldBeRelativePath(Path) - Static method in class org.assertj.core.error.ShouldBeRelativePath
-
- ShouldBeSame - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that two object refer to same object failed.
- shouldBeSame(Object, Object) - Static method in class org.assertj.core.error.ShouldBeSame
-
- shouldBeSameGenericBetweenIterableAndCondition(Object, Condition<?>) - Static method in class org.assertj.core.error.ConditionAndGroupGenericParameterTypeShouldBeTheSame
-
- ShouldBeSorted - Class in org.assertj.core.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.
- shouldBeSorted(int, Object) - Static method in class org.assertj.core.error.ShouldBeSorted
-
- shouldBeSortedAccordingToGivenComparator(int, Object, Comparator<?>) - Static method in class org.assertj.core.error.ShouldBeSorted
-
- ShouldBeSubsetOf - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that an Iterable
is a subset of an other set
Iterable
failed.
- shouldBeSubsetOf(Object, Object, Iterable<?>, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeSubsetOf
-
- shouldBeSubsetOf(Object, Object, Iterable<?>) - Static method in class org.assertj.core.error.ShouldBeSubsetOf
-
- ShouldBeSymbolicLink - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Path
is a regular file has failed.
- shouldBeSymbolicLink(Path) - Static method in class org.assertj.core.error.ShouldBeSymbolicLink
-
- ShouldBeToday - Class in org.assertj.core.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).
- shouldBeToday(Date, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeToday
-
- shouldBeToday(Date) - Static method in class org.assertj.core.error.ShouldBeToday
-
- ShouldBeUpperCase - Class in org.assertj.core.error
-
Creates an error message that indicates an assertion that verifies that a character is uppercase failed.
- shouldBeUpperCase(Character) - Static method in class org.assertj.core.error.ShouldBeUpperCase
-
- ShouldBeWithin - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is within a year, month, day, ...
- shouldBeWithin(Date, String, int) - Static method in class org.assertj.core.error.ShouldBeWithin
-
- ShouldBeWritable - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
File
is writable
failed.
- shouldBeWritable(File) - Static method in class org.assertj.core.error.ShouldBeWritable
-
- shouldBeWritable(Path) - Static method in class org.assertj.core.error.ShouldBeWritable
-
- ShouldContain - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a group of elements contains a given set of values failed.
- shouldContain(Object, Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContain
-
- shouldContain(Object, Object, Object) - Static method in class org.assertj.core.error.ShouldContain
-
- shouldContain(CharSequence, CharSequence) - Static method in class org.assertj.core.error.ShouldContainCharSequence
-
- shouldContain(CharSequence, CharSequence, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainCharSequence
-
- shouldContain(CharSequence, CharSequence[], Set<? extends CharSequence>, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainCharSequence
-
- shouldContain(CharSequence, CharSequence[], Set<? extends CharSequence>) - Static method in class org.assertj.core.error.ShouldContainCharSequence
-
- ShouldContainAtIndex - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a group of elements contains a value at a given index
failed.
- shouldContainAtIndex(Object, Object, Index, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainAtIndex
-
- shouldContainAtIndex(Object, Object, Index, Object) - Static method in class org.assertj.core.error.ShouldContainAtIndex
-
- ShouldContainCharSequence - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a CharSequence
contains another
CharSequence
failed.
- ShouldContainCharSequenceOnlyOnce - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a CharSequence
contains another CharSequence
only
once failed.
- ShouldContainCharSequenceSequence - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a CharSequence
contains a sequence of
several CharSequence
s in order failed.
- ShouldContainExactly - Class in org.assertj.core.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.
- shouldContainExactly(Object, Object, Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainExactly
-
- shouldContainExactly(Object, Object, Object, Iterable<?>, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainExactly
-
- shouldContainExactly(Object, Object, Object, Object) - Static method in class org.assertj.core.error.ShouldContainExactly
-
- shouldContainExactly(Object, Object, Object, Iterable<?>) - Static method in class org.assertj.core.error.ShouldContainExactly
-
- shouldContainIgnoringCase(CharSequence, CharSequence) - Static method in class org.assertj.core.error.ShouldContainCharSequence
-
- ShouldContainKeys - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a map contains a key..
- shouldContainKeys(Object, Set<K>) - Static method in class org.assertj.core.error.ShouldContainKeys
-
- ShouldContainNull - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a group of elements contains a null element failed.
- shouldContainNull(Object) - Static method in class org.assertj.core.error.ShouldContainNull
-
- ShouldContainOnly - Class in org.assertj.core.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.
- shouldContainOnly(Object, Object, Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainOnly
-
- shouldContainOnly(Object, Object, Object, Iterable<?>, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainOnly
-
- shouldContainOnly(Object, Object, Object, Object) - Static method in class org.assertj.core.error.ShouldContainOnly
-
- shouldContainOnly(Object, Object, Object, Iterable<?>) - Static method in class org.assertj.core.error.ShouldContainOnly
-
- ShouldContainOnlyKeys - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies map contains only a given set of keys and
nothing else failed.
- shouldContainOnlyKeys(Object, Object, Object, Object) - Static method in class org.assertj.core.error.ShouldContainOnlyKeys
-
- shouldContainOnlyKeys(Object, Object, Object, Iterable<?>) - Static method in class org.assertj.core.error.ShouldContainOnlyKeys
-
- shouldContainOnlyOnce(CharSequence, CharSequence, int, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainCharSequenceOnlyOnce
-
- shouldContainOnlyOnce(CharSequence, CharSequence, int) - Static method in class org.assertj.core.error.ShouldContainCharSequenceOnlyOnce
-
- shouldContainSequence(CharSequence, CharSequence[], int) - Static method in class org.assertj.core.error.ShouldContainCharSequenceSequence
-
- shouldContainSequence(CharSequence, CharSequence[], int, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainCharSequenceSequence
-
- ShouldContainSequence - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a group of elements contains a sequence of values
failed.
- shouldContainSequence(Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainSequence
-
- shouldContainSequence(Object, Object) - Static method in class org.assertj.core.error.ShouldContainSequence
-
- ShouldContainsOnlyOnce - Class in org.assertj.core.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.
- shouldContainsOnlyOnce(Object, Object, Set<?>, Set<?>, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainsOnlyOnce
-
- shouldContainsOnlyOnce(Object, Object, Set<?>, Set<?>) - Static method in class org.assertj.core.error.ShouldContainsOnlyOnce
-
- ShouldContainSubsequence - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a group of elements contains a subsequence
of values failed.
- shouldContainSubsequence(Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainSubsequence
-
- shouldContainSubsequence(Object, Object) - Static method in class org.assertj.core.error.ShouldContainSubsequence
-
- ShouldContainValue - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a map contains a value.
- shouldContainValue(Object, Object) - Static method in class org.assertj.core.error.ShouldContainValue
-
- ShouldContainValues - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a map contains a values.
- shouldContainValues(Object, Set<V>) - Static method in class org.assertj.core.error.ShouldContainValues
-
- ShouldEndWith - Class in org.assertj.core.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.
- shouldEndWith(Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldEndWith
-
- shouldEndWith(Object, Object) - Static method in class org.assertj.core.error.ShouldEndWith
-
- shouldEndWith(Path, Path) - Static method in class org.assertj.core.error.ShouldEndWithPath
-
- ShouldEndWithPath - Class in org.assertj.core.error
-
- ShouldExist - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
File
or
Path
exists
failed.
- shouldExist(File) - Static method in class org.assertj.core.error.ShouldExist
-
- shouldExist(Path) - Static method in class org.assertj.core.error.ShouldExist
-
- shouldExistNoFollowLinks(Path) - Static method in class org.assertj.core.error.ShouldExist
-
- shouldExistNoFollowLinks(Path) - Static method in class org.assertj.core.error.ShouldNotExist
-
- ShouldHave - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a value satisfies a
Condition
failed.
- shouldHave(T, Condition<? super T>) - Static method in class org.assertj.core.error.ShouldHave
-
- ShouldHaveAnnotations - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a class have an annotation.
- shouldHaveAnnotations(Class<?>, Collection<Class<? extends Annotation>>, Collection<Class<? extends Annotation>>) - Static method in class org.assertj.core.error.ShouldHaveAnnotations
-
- ShouldHaveAtIndex - Class in org.assertj.core.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
Condition
failed.
- shouldHaveAtIndex(List<? extends T>, Condition<? super T>, Index, T) - Static method in class org.assertj.core.error.ShouldHaveAtIndex
-
- ShouldHaveAtLeastOneElementOfType - Class in org.assertj.core.error
-
Creates an error message indicating that a group does not have an element of the given type.
- shouldHaveAtLeastOneElementOfType(Object, Class<?>) - Static method in class org.assertj.core.error.ShouldHaveAtLeastOneElementOfType
-
- ShouldHaveBinaryContent - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a file has a given binary content failed.
- shouldHaveBinaryContent(File, BinaryDiffResult) - Static method in class org.assertj.core.error.ShouldHaveBinaryContent
-
- ShouldHaveCause - Class in org.assertj.core.error
-
- shouldHaveCause(Throwable, Throwable) - Static method in class org.assertj.core.error.ShouldHaveCause
-
- ShouldHaveCauseExactlyInstance - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Throwable
have a cause
exactly instance of a certain type.
- shouldHaveCauseExactlyInstance(Throwable, Class<? extends Throwable>) - Static method in class org.assertj.core.error.ShouldHaveCauseExactlyInstance
-
- ShouldHaveCauseInstance - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Throwable
have a cause instance of
a certain type.
- shouldHaveCauseInstance(Throwable, Class<? extends Throwable>) - Static method in class org.assertj.core.error.ShouldHaveCauseInstance
-
- shouldHaveComparableElementsAccordingToGivenComparator(Object, Comparator<?>) - Static method in class org.assertj.core.error.ShouldBeSorted
-
- ShouldHaveContent - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a file has a given text content failed.
- shouldHaveContent(File, Charset, List<String>) - Static method in class org.assertj.core.error.ShouldHaveContent
-
- shouldHaveDeclaredFields(Class<?>, Set<String>, Set<String>) - Static method in class org.assertj.core.error.ShouldHaveFields
-
- ShouldHaveEqualContent - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that two files/inputStreams have equal content failed.
- shouldHaveEqualContent(File, File, List<String>) - Static method in class org.assertj.core.error.ShouldHaveEqualContent
-
- shouldHaveEqualContent(InputStream, InputStream, List<String>) - Static method in class org.assertj.core.error.ShouldHaveEqualContent
-
- ShouldHaveExtension - Class in org.assertj.core.error
-
Creates an error message indicating that a File
should have extension.
- shouldHaveExtension(File, String, String) - Static method in class org.assertj.core.error.ShouldHaveExtension
-
- ShouldHaveFields - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a class have field.
- shouldHaveFields(Class<?>, Set<String>, Set<String>) - Static method in class org.assertj.core.error.ShouldHaveFields
-
- ShouldHaveLineCount - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a value have certain number of lines failed.
- shouldHaveLinesCount(Object, int, int) - Static method in class org.assertj.core.error.ShouldHaveLineCount
-
- ShouldHaveMessage - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Throwable
have certain message failed.
- shouldHaveMessage(Throwable, String) - Static method in class org.assertj.core.error.ShouldHaveMessage
-
- shouldHaveMutuallyComparableElements(Object) - Static method in class org.assertj.core.error.ShouldBeSorted
-
- ShouldHaveName - Class in org.assertj.core.error
-
Creates an error message indicating that a File
should have name.
- shouldHaveName(File, String) - Static method in class org.assertj.core.error.ShouldHaveName
-
- shouldHaveName(Path, String) - Static method in class org.assertj.core.error.ShouldHaveName
-
- ShouldHaveNoCause - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that an
Throwable
has no cause failed.
- shouldHaveNoCause(Throwable) - Static method in class org.assertj.core.error.ShouldHaveNoCause
-
- ShouldHaveNoParent - Class in org.assertj.core.error
-
Creates an error message when a File
should not have a parent.
- shouldHaveNoParent(File) - Static method in class org.assertj.core.error.ShouldHaveNoParent
-
- shouldHaveNoParent(Path) - Static method in class org.assertj.core.error.ShouldHaveNoParent
-
- ShouldHaveOnlyElementsOfType - Class in org.assertj.core.error
-
Creates an error message indicating that a group does not have an element of the given type.
- shouldHaveOnlyElementsOfType(Object, Class<?>, Class<?>) - Static method in class org.assertj.core.error.ShouldHaveOnlyElementsOfType
-
- ShouldHaveParent - Class in org.assertj.core.error
-
Creates an error message indicating that a File
should have a parent.
- shouldHaveParent(File, File) - Static method in class org.assertj.core.error.ShouldHaveParent
-
- shouldHaveParent(Path, Path) - Static method in class org.assertj.core.error.ShouldHaveParent
-
- shouldHaveParent(Path, Path, Path) - Static method in class org.assertj.core.error.ShouldHaveParent
-
- ShouldHaveRootCauseExactlyInstance - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Throwable
have a root cause
exactly instance of a certain type.
- shouldHaveRootCauseExactlyInstance(Throwable, Class<? extends Throwable>) - Static method in class org.assertj.core.error.ShouldHaveRootCauseExactlyInstance
-
- ShouldHaveRootCauseInstance - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Throwable
have a root cause
instance of a certain type.
- shouldHaveRootCauseInstance(Throwable, Class<? extends Throwable>) - Static method in class org.assertj.core.error.ShouldHaveRootCauseInstance
-
- ShouldHaveSameClass - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that an object have same class as another instance failed.
- shouldHaveSameClass(Object, Object) - Static method in class org.assertj.core.error.ShouldHaveSameClass
-
- ShouldHaveSameSizeAs - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a value have certain size failed.
- shouldHaveSameSizeAs(Object, Object, Object) - Static method in class org.assertj.core.error.ShouldHaveSameSizeAs
-
- ShouldHaveSize - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a value have certain size failed.
- shouldHaveSize(Object, int, int) - Static method in class org.assertj.core.error.ShouldHaveSize
-
- shouldHaveThrown(Class<? extends Throwable>) - Static method in class org.assertj.core.api.Assertions
-
Only delegate to
Fail.shouldHaveThrown(Class)
so that Assertions offers a full feature
entry point to all AssertJ features (but you can use Fail if you prefer).
- shouldHaveThrown(Class<? extends Throwable>) - Static method in class org.assertj.core.api.Fail
-
Throws an
AssertionError
with a message explaining that a
Throwable
of given class was expected to be thrown
but had not been.
- ShouldHaveTime - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a date have a certain timestamp.
- shouldHaveTime(Date, long) - Static method in class org.assertj.core.error.ShouldHaveTime
-
- shouldMatch(CharSequence, CharSequence) - Static method in class org.assertj.core.error.ShouldMatchPattern
-
- ShouldMatchPattern - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a CharSequence
matches a pattern failed.
- ShouldNotBe - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a value does not satisfy a
Condition
failed.
- shouldNotBe(T, Condition<? super T>) - Static method in class org.assertj.core.error.ShouldNotBe
-
- shouldNotBeAnnotation(Class<?>) - Static method in class org.assertj.core.error.ShouldBeAnnotation
-
- ShouldNotBeBetween - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Date
is not between start - end dates
(inclusive or not) failed.
- shouldNotBeBetween(Date, Date, Date, boolean, boolean, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldNotBeBetween
-
- shouldNotBeBetween(Date, Date, Date, boolean, boolean) - Static method in class org.assertj.core.error.ShouldNotBeBetween
-
- ShouldNotBeEmpty - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a group of elements is not empty failed.
- shouldNotBeEmpty() - Static method in class org.assertj.core.error.ShouldNotBeEmpty
-
Returns the singleton instance of this class.
- ShouldNotBeEqual - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that two objects are not equal failed.
- shouldNotBeEqual(Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldNotBeEqual
-
- shouldNotBeEqual(Object, Object) - Static method in class org.assertj.core.error.ShouldNotBeEqual
-
- shouldNotBeExactlyInstance(Object, Class<?>) - Static method in class org.assertj.core.error.ShouldNotBeExactlyInstanceOf
-
- ShouldNotBeExactlyInstanceOf - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that an object is not exactly an instance of some type
failed.
- ShouldNotBeIn - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a value is not in a group of values (e.g.
- shouldNotBeIn(Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldNotBeIn
-
- shouldNotBeIn(Object, Object) - Static method in class org.assertj.core.error.ShouldNotBeIn
-
- ShouldNotBeInstance - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that an object is not an instance of some type failed.
- shouldNotBeInstance(Object, Class<?>) - Static method in class org.assertj.core.error.ShouldNotBeInstance
-
- ShouldNotBeInstanceOfAny - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that an object is not an instance of one or more types
failed.
- shouldNotBeInstanceOfAny(Object, Class<?>[]) - Static method in class org.assertj.core.error.ShouldNotBeInstanceOfAny
-
- shouldNotBeInterface(Class<?>) - Static method in class org.assertj.core.error.ShouldBeInterface
-
- ShouldNotBeNull - Class in org.assertj.core.error
-
Creates an error message that indicates an assertion that verifies that an object is not null
failed.
- shouldNotBeNull() - Static method in class org.assertj.core.error.ShouldNotBeNull
-
Returns the singleton instance of this class.
- ShouldNotBeOfClassIn - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that an object is not of type in group of types failed.
- shouldNotBeOfClassIn(Object, Object) - Static method in class org.assertj.core.error.ShouldNotBeOfClassIn
-
- ShouldNotBeSame - Class in org.assertj.core.error
-
Creates an error message indicating an assertion that verifies that two objects do not refer to the same object failed.
- shouldNotBeSame(Object) - Static method in class org.assertj.core.error.ShouldNotBeSame
-
- ShouldNotContain - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a group of elements does not contain a given set of values
failed.
- shouldNotContain(Object, Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldNotContain
-
- shouldNotContain(Object, Object, Object) - Static method in class org.assertj.core.error.ShouldNotContain
-
- shouldNotContain(CharSequence, CharSequence) - Static method in class org.assertj.core.error.ShouldNotContainCharSequence
-
- shouldNotContain(CharSequence, CharSequence, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldNotContainCharSequence
-
- ShouldNotContainAtIndex - Class in org.assertj.core.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.
- shouldNotContainAtIndex(Object, Object, Index, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldNotContainAtIndex
-
- shouldNotContainAtIndex(Object, Object, Index) - Static method in class org.assertj.core.error.ShouldNotContainAtIndex
-
- ShouldNotContainCharSequence - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a CharSequence
does not contain another
CharSequence
failed.
- ShouldNotContainKey - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a map does not contains a key failed.
- shouldNotContainKey(Object, Object) - Static method in class org.assertj.core.error.ShouldNotContainKey
-
- ShouldNotContainKeys - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a map does not contain keys.
- shouldNotContainKeys(Object, Set<K>) - Static method in class org.assertj.core.error.ShouldNotContainKeys
-
- ShouldNotContainNull - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a group of elements does not contain null elements failed.
- shouldNotContainNull(Object) - Static method in class org.assertj.core.error.ShouldNotContainNull
-
- ShouldNotContainValue - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a map does not contains a value.
- shouldNotContainValue(Object, Object) - Static method in class org.assertj.core.error.ShouldNotContainValue
-
- ShouldNotExist - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
File
or
Path
does not
exist failed.
- shouldNotExist(File) - Static method in class org.assertj.core.error.ShouldNotExist
-
- shouldNotExist(Path) - Static method in class org.assertj.core.error.ShouldNotExist
-
- ShouldNotHave - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a value does not satisfy a
Condition
failed.
- shouldNotHave(T, Condition<? super T>) - Static method in class org.assertj.core.error.ShouldNotHave
-
- ShouldNotHaveDuplicates - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a group of elements is does not have duplicates failed.
- shouldNotHaveDuplicates(Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldNotHaveDuplicates
-
- shouldNotHaveDuplicates(Object, Object) - Static method in class org.assertj.core.error.ShouldNotHaveDuplicates
-
- ShouldNotHaveSameClass - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that an object has same class as another instance failed.
- shouldNotHaveSameClass(Object, Object) - Static method in class org.assertj.core.error.ShouldNotHaveSameClass
-
- shouldNotMatch(CharSequence, CharSequence) - Static method in class org.assertj.core.error.ShouldNotMatchPattern
-
- ShouldNotMatchPattern - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a CharSequence
does not match a pattern failed.
- ShouldStartWith - Class in org.assertj.core.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.
- shouldStartWith(Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldStartWith
-
- shouldStartWith(Object, Object) - Static method in class org.assertj.core.error.ShouldStartWith
-
- shouldStartWith(Path, Path) - Static method in class org.assertj.core.error.ShouldStartWithPath
-
- ShouldStartWithPath - Class in org.assertj.core.error
-
- size() - Method in class org.assertj.core.util.ArrayWrapperList
- sizeOf(Iterable<?>) - Static method in class org.assertj.core.util.Iterables
-
- SoftAssertionClassAssert - Class in org.assertj.core.api
-
Concrete assertions for
Class
s without any final methods to allow proxying.
- SoftAssertionClassAssert(Class<?>) - Constructor for class org.assertj.core.api.SoftAssertionClassAssert
-
- SoftAssertionError - Error in org.assertj.core.api
-
An AssertionError that contains the error messages of the one or more AssertionErrors that caused this exception to
be thrown.
- SoftAssertionError(List<String>) - Constructor for error org.assertj.core.api.SoftAssertionError
-
Creates a new SoftAssertionError.
- SoftAssertionMapAssert<K,V> - Class in org.assertj.core.api
-
Concrete assertions for
Map
s without any final methods to allow proxying.
- SoftAssertionMapAssert(Map<K, V>) - Constructor for class org.assertj.core.api.SoftAssertionMapAssert
-
- SoftAssertions - Class in org.assertj.core.api
-
Suppose we have a test case and in it we'd like to make numerous assertions.
- SoftAssertions() - Constructor for class org.assertj.core.api.SoftAssertions
-
- StandardComparisonStrategy - Class in org.assertj.core.internal
-
- StandardComparisonStrategy() - Constructor for class org.assertj.core.internal.StandardComparisonStrategy
-
- StandardRepresentation - Class in org.assertj.core.presentation
-
Standard java object representation.
- StandardRepresentation() - Constructor for class org.assertj.core.presentation.StandardRepresentation
-
- startsWith(boolean...) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual array starts with the given sequence of values, without any other values between them.
- startsWith(byte...) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual array starts with the given sequence of values, without any other values between them.
- startsWith(char...) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual array starts with the given sequence of values, without any other values between them.
- startsWith(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual CharSequence
starts with the given prefix.
- startsWith(double...) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array starts with the given sequence of values, without any other values between them.
- startsWith(float...) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array starts with the given sequence of values, without any other values between them.
- startsWith(int...) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual array starts with the given sequence of values, without any other values between them.
- startsWith(T...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group starts with the given sequence of objects, without any other objects between them.
- startsWith(long...) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual array starts with the given sequence of values, without any other values between them.
- startsWith(T...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual group starts with the given sequence of objects, without any other objects between them.
- startsWith(Path) - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
starts with the given path.
- startsWith(short...) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array starts with the given sequence of values, without any other values between them.
- startsWith(T...) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group starts with the given sequence of objects, without any other objects between them.
- startsWithRaw(Path) - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
starts with the given path.
- StringAssert - Class in org.assertj.core.api
-
Assertion methods for String
s.
- StringAssert(String) - Constructor for class org.assertj.core.api.StringAssert
-
- stringContains(String, String) - Method in class org.assertj.core.internal.ComparatorBasedComparisonStrategy
-
- stringContains(String, String) - Method in interface org.assertj.core.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.assertj.core.internal.StandardComparisonStrategy
-
- stringEndsWith(String, String) - Method in class org.assertj.core.internal.ComparatorBasedComparisonStrategy
-
- stringEndsWith(String, String) - Method in interface org.assertj.core.internal.ComparisonStrategy
-
Returns true if sstring ends with suffix according to the implemented comparison strategy, false otherwise.
- stringEndsWith(String, String) - Method in class org.assertj.core.internal.StandardComparisonStrategy
-
- Strings - Class in org.assertj.core.internal
-
- Strings(ComparisonStrategy) - Constructor for class org.assertj.core.internal.Strings
-
- Strings - Class in org.assertj.core.util
-
Utility methods related to String
s.
- Strings.StringsToJoin - Class in org.assertj.core.util
-
Knows how to join String
s using a given delimiter.
- Strings.StringToAppend - Class in org.assertj.core.util
-
Knows how to append a given String
to the given target, only if the target does not end with the given
String
to append.
- stringStartsWith(String, String) - Method in class org.assertj.core.internal.ComparatorBasedComparisonStrategy
-
- stringStartsWith(String, String) - Method in interface org.assertj.core.internal.ComparisonStrategy
-
Returns true if string starts with prefix according to the implemented comparison strategy, false otherwise.
- stringStartsWith(String, String) - Method in class org.assertj.core.internal.StandardComparisonStrategy
-
- SystemProperties - Class in org.assertj.core.util
-
System properties.