Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- Abstract2DArrayAssert<SELF extends Abstract2DArrayAssert<SELF,
ACTUAL, ELEMENT>, ACTUAL, ELEMENT> - Class in org.assertj.core.api -
Base class for all two-dimensional array assertions.
- Abstract2DArrayAssert(ACTUAL, Class<?>) - Constructor for class org.assertj.core.api.Abstract2DArrayAssert
- AbstractArrayAssert<SELF extends AbstractArrayAssert<SELF,
ACTUAL, ELEMENT>, ACTUAL, ELEMENT> - Class in org.assertj.core.api -
Base class for all array assertions.
- AbstractArrayAssert(ACTUAL, Class<?>) - Constructor for class org.assertj.core.api.AbstractArrayAssert
- AbstractAssert<SELF extends AbstractAssert<SELF,
ACTUAL>, ACTUAL> - Class in org.assertj.core.api -
Base class for all assertions.
- AbstractAssert(ACTUAL, Class<?>) - Constructor for class org.assertj.core.api.AbstractAssert
- AbstractAtomicFieldUpdaterAssert<SELF extends AbstractAtomicFieldUpdaterAssert<SELF,
VALUE, ATOMIC, OBJECT>, VALUE, ATOMIC, OBJECT> - Class in org.assertj.core.api -
Base class for all fieldupdater assertions.
- AbstractAtomicFieldUpdaterAssert(ATOMIC, Class<?>, boolean) - Constructor for class org.assertj.core.api.AbstractAtomicFieldUpdaterAssert
- AbstractAtomicReferenceAssert<SELF extends AbstractAtomicReferenceAssert<SELF,
VALUE, ATOMIC>, VALUE, ATOMIC> - Class in org.assertj.core.api -
Base class for atomic assertions.
- AbstractAtomicReferenceAssert(ATOMIC, Class<?>) - Constructor for class org.assertj.core.api.AbstractAtomicReferenceAssert
- AbstractBigDecimalAssert<SELF extends AbstractBigDecimalAssert<SELF>> - 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
- AbstractBigDecimalScaleAssert<SELF extends AbstractBigDecimalAssert<SELF>> - Class in org.assertj.core.api
-
Base class for BigDecimal scale assertions.
- AbstractBigDecimalScaleAssert(Integer, Class<?>) - Constructor for class org.assertj.core.api.AbstractBigDecimalScaleAssert
- AbstractBigIntegerAssert<SELF extends AbstractBigIntegerAssert<SELF>> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
BigInteger
s. - AbstractBigIntegerAssert(BigInteger, Class<?>) - Constructor for class org.assertj.core.api.AbstractBigIntegerAssert
- AbstractBooleanArrayAssert<SELF extends AbstractBooleanArrayAssert<SELF>> - Class in org.assertj.core.api
- AbstractBooleanArrayAssert(boolean[], Class<?>) - Constructor for class org.assertj.core.api.AbstractBooleanArrayAssert
- AbstractBooleanAssert<SELF extends AbstractBooleanAssert<SELF>> - 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<SELF extends AbstractByteArrayAssert<SELF>> - Class in org.assertj.core.api
- AbstractByteArrayAssert(byte[], Class<?>) - Constructor for class org.assertj.core.api.AbstractByteArrayAssert
- AbstractByteAssert<SELF extends AbstractByteAssert<SELF>> - 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<SELF extends AbstractCharacterAssert<SELF>> - 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<SELF extends AbstractCharArrayAssert<SELF>> - Class in org.assertj.core.api
- AbstractCharArrayAssert(char[], Class<?>) - Constructor for class org.assertj.core.api.AbstractCharArrayAssert
- AbstractCharSequenceAssert<SELF extends AbstractCharSequenceAssert<SELF,
ACTUAL>, ACTUAL extends CharSequence> - Class in org.assertj.core.api -
Base class for all implementations of assertions for
CharSequence
s. - AbstractCharSequenceAssert(ACTUAL, Class<?>) - Constructor for class org.assertj.core.api.AbstractCharSequenceAssert
- AbstractClassAssert<SELF extends AbstractClassAssert<SELF>> - 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
- AbstractCollectionAssert<SELF extends AbstractCollectionAssert<SELF,
ACTUAL, ELEMENT, ELEMENT_ASSERT>, ACTUAL extends Collection<? extends ELEMENT>, ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> - Class in org.assertj.core.api -
Base class for all implementations of assertions for
Collection
s. - AbstractCollectionAssert(ACTUAL, Class<?>) - Constructor for class org.assertj.core.api.AbstractCollectionAssert
- AbstractComparableAssert<SELF extends AbstractComparableAssert<SELF,
ACTUAL>, ACTUAL extends Comparable<? super ACTUAL>> - Class in org.assertj.core.api -
Base class for all implementations of
.ComparableAssert
- AbstractComparableAssert(ACTUAL, Class<?>) - Constructor for class org.assertj.core.api.AbstractComparableAssert
- AbstractComparableNumberComparator<T extends Number & Comparable<T>> - Class in org.assertj.core.util
- AbstractComparableNumberComparator() - Constructor for class org.assertj.core.util.AbstractComparableNumberComparator
- AbstractCompletableFutureAssert<SELF extends AbstractCompletableFutureAssert<SELF,
RESULT>, RESULT> - Class in org.assertj.core.api -
Assertions for
CompletableFuture
. - AbstractCompletableFutureAssert(CompletableFuture<RESULT>, Class<?>) - Constructor for class org.assertj.core.api.AbstractCompletableFutureAssert
- AbstractDateAssert<SELF extends AbstractDateAssert<SELF>> - 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<SELF extends AbstractDoubleArrayAssert<SELF>> - Class in org.assertj.core.api
- AbstractDoubleArrayAssert(double[], Class<?>) - Constructor for class org.assertj.core.api.AbstractDoubleArrayAssert
- AbstractDoubleAssert<SELF extends AbstractDoubleAssert<SELF>> - 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
- AbstractDoubleAssert(Double, Class<?>) - Constructor for class org.assertj.core.api.AbstractDoubleAssert
- AbstractDurationAssert<SELF extends AbstractDurationAssert<SELF>> - Class in org.assertj.core.api
-
Assertions for
Duration
type. - AbstractDurationAssert(Duration, Class<?>) - Constructor for class org.assertj.core.api.AbstractDurationAssert
-
Creates a new
AbstractDurationAssert
- AbstractEnumerableAssert<SELF extends AbstractEnumerableAssert<SELF,
ACTUAL, ELEMENT>, ACTUAL, ELEMENT> - Class in org.assertj.core.api -
Base implementation for Enumerable class assertions.
- AbstractEnumerableAssert(ACTUAL, Class<?>) - Constructor for class org.assertj.core.api.AbstractEnumerableAssert
- AbstractFileAssert<SELF extends AbstractFileAssert<SELF>> - 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
- AbstractFileSizeAssert<SELF extends AbstractFileAssert<SELF>> - Class in org.assertj.core.api
-
Base class for file size assertions.
- AbstractFileSizeAssert(Long, Class<?>) - Constructor for class org.assertj.core.api.AbstractFileSizeAssert
- AbstractFloatArrayAssert<SELF extends AbstractFloatArrayAssert<SELF>> - Class in org.assertj.core.api
- AbstractFloatArrayAssert(float[], Class<?>) - Constructor for class org.assertj.core.api.AbstractFloatArrayAssert
- AbstractFloatAssert<SELF extends AbstractFloatAssert<SELF>> - 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
- AbstractFloatAssert(Float, Class<?>) - Constructor for class org.assertj.core.api.AbstractFloatAssert
- AbstractFutureAssert<SELF extends AbstractFutureAssert<SELF,
ACTUAL, RESULT>, ACTUAL extends Future<RESULT>, RESULT> - Class in org.assertj.core.api - AbstractFutureAssert(ACTUAL, Class<?>) - Constructor for class org.assertj.core.api.AbstractFutureAssert
- AbstractInputStreamAssert<SELF extends AbstractInputStreamAssert<SELF,
ACTUAL>, ACTUAL extends InputStream> - Class in org.assertj.core.api -
Base class for all implementations of assertions for
InputStream
s. - AbstractInputStreamAssert(ACTUAL, Class<?>) - Constructor for class org.assertj.core.api.AbstractInputStreamAssert
- AbstractInstantAssert<SELF extends AbstractInstantAssert<SELF>> - Class in org.assertj.core.api
-
Assertions for
Instant
type from new Date & Time API introduced in Java 8. - AbstractInstantAssert(Instant, Class<?>) - Constructor for class org.assertj.core.api.AbstractInstantAssert
-
Creates a new
.AbstractInstantAssert
- AbstractIntArrayAssert<SELF extends AbstractIntArrayAssert<SELF>> - Class in org.assertj.core.api
- AbstractIntArrayAssert(int[], Class<?>) - Constructor for class org.assertj.core.api.AbstractIntArrayAssert
- AbstractIntegerAssert<SELF extends AbstractIntegerAssert<SELF>> - 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<SELF extends AbstractIterableAssert<SELF,
ACTUAL, ELEMENT, ELEMENT_ASSERT>, ACTUAL extends Iterable<? extends ELEMENT>, ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> - Class in org.assertj.core.api -
Base class for implementations of
whose actual value type isObjectEnumerableAssert
.Collection
- AbstractIterableAssert(ACTUAL, Class<?>) - Constructor for class org.assertj.core.api.AbstractIterableAssert
- AbstractIterableSizeAssert<SELF extends AbstractIterableAssert<SELF,
ACTUAL, ELEMENT, ELEMENT_ASSERT>, ACTUAL extends Iterable<? extends ELEMENT>, ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> - Class in org.assertj.core.api - AbstractIterableSizeAssert(Integer, Class<?>) - Constructor for class org.assertj.core.api.AbstractIterableSizeAssert
- AbstractIteratorAssert<SELF extends AbstractIteratorAssert<SELF,
ELEMENT>, ELEMENT> - Class in org.assertj.core.api -
Base class for all implementations of assertions for
Iterator
s. - AbstractIteratorAssert(Iterator<? extends ELEMENT>, Class<?>) - Constructor for class org.assertj.core.api.AbstractIteratorAssert
-
Creates a new
.AbstractIteratorAssert
- AbstractListAssert<SELF extends AbstractListAssert<SELF,
ACTUAL, ELEMENT, ELEMENT_ASSERT>, ACTUAL extends List<? extends ELEMENT>, ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> - Class in org.assertj.core.api -
Base class for all implementations of assertions for
List
s. - AbstractListAssert(ACTUAL, Class<?>) - Constructor for class org.assertj.core.api.AbstractListAssert
- AbstractLocalDateAssert<SELF extends AbstractLocalDateAssert<SELF>> - Class in org.assertj.core.api
-
Assertions for
LocalDate
type from new Date & Time API introduced in Java 8. - AbstractLocalDateAssert(LocalDate, Class<?>) - Constructor for class org.assertj.core.api.AbstractLocalDateAssert
-
Creates a new
.AbstractLocalDateAssert
- AbstractLocalDateTimeAssert<SELF extends AbstractLocalDateTimeAssert<SELF>> - Class in org.assertj.core.api
-
Assertions for
LocalDateTime
type from new Date & Time API introduced in Java 8. - AbstractLocalDateTimeAssert(LocalDateTime, Class<?>) - Constructor for class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Creates a new
.AbstractLocalDateTimeAssert
- AbstractLocalTimeAssert<SELF extends AbstractLocalTimeAssert<SELF>> - Class in org.assertj.core.api
-
Assertions for
LocalTime
type from new Date & Time API introduced in Java 8. - AbstractLocalTimeAssert(LocalTime, Class<?>) - Constructor for class org.assertj.core.api.AbstractLocalTimeAssert
-
Creates a new
.AbstractLocalTimeAssert
- AbstractLongAdderAssert<SELF extends AbstractLongAdderAssert<SELF>> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
LongAdder
s. - AbstractLongAdderAssert(LongAdder, Class<?>) - Constructor for class org.assertj.core.api.AbstractLongAdderAssert
- AbstractLongArrayAssert<SELF extends AbstractLongArrayAssert<SELF>> - Class in org.assertj.core.api
- AbstractLongArrayAssert(long[], Class<?>) - Constructor for class org.assertj.core.api.AbstractLongArrayAssert
- AbstractLongAssert<SELF extends AbstractLongAssert<SELF>> - 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<SELF extends AbstractMapAssert<SELF,
ACTUAL, K, V>, ACTUAL extends Map<K, V>, K, V> - Class in org.assertj.core.api -
Base class for all implementations of assertions for
Map
s. - AbstractMapAssert(ACTUAL, Class<?>) - Constructor for class org.assertj.core.api.AbstractMapAssert
- AbstractMapSizeAssert<SELF extends AbstractMapAssert<SELF,
A, KEY, VALUE>, A extends Map<KEY, VALUE>, KEY, VALUE> - Class in org.assertj.core.api - AbstractMapSizeAssert(Integer, Class<?>) - Constructor for class org.assertj.core.api.AbstractMapSizeAssert
- AbstractMatcherAssert<SELF extends AbstractMatcherAssert<SELF>> - Class in org.assertj.core.api
-
Assertions for
Matcher
- AbstractMatcherAssert(Matcher, Class<?>) - Constructor for class org.assertj.core.api.AbstractMatcherAssert
- AbstractObjectArrayAssert<SELF extends AbstractObjectArrayAssert<SELF,
ELEMENT>, ELEMENT> - Class in org.assertj.core.api -
Assertion methods for arrays of objects.
- AbstractObjectArrayAssert(ELEMENT[], Class<?>) - Constructor for class org.assertj.core.api.AbstractObjectArrayAssert
- AbstractObjectAssert<SELF extends AbstractObjectAssert<SELF,
ACTUAL>, ACTUAL> - Class in org.assertj.core.api -
Base class for all implementations of assertions for
Object
s. - AbstractObjectAssert(ACTUAL, Class<?>) - Constructor for class org.assertj.core.api.AbstractObjectAssert
- AbstractOffsetDateTimeAssert<SELF extends AbstractOffsetDateTimeAssert<SELF>> - Class in org.assertj.core.api
-
Assertions for
OffsetDateTime
type from new Date & Time API introduced in Java 8. - AbstractOffsetDateTimeAssert(OffsetDateTime, Class<?>) - Constructor for class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Creates a new
.AbstractOffsetDateTimeAssert
- AbstractOffsetTimeAssert<SELF extends AbstractOffsetTimeAssert<SELF>> - Class in org.assertj.core.api
-
Assertions for
OffsetTime
type from new Date & Time API introduced in Java 8. - AbstractOffsetTimeAssert(OffsetTime, Class<?>) - Constructor for class org.assertj.core.api.AbstractOffsetTimeAssert
-
Creates a new
.AbstractOffsetTimeAssert
- AbstractOptionalAssert<SELF extends AbstractOptionalAssert<SELF,
VALUE>, VALUE> - Class in org.assertj.core.api -
Assertions for
Optional
. - AbstractOptionalAssert(Optional<VALUE>, Class<?>) - Constructor for class org.assertj.core.api.AbstractOptionalAssert
- AbstractOptionalDoubleAssert<SELF extends AbstractOptionalDoubleAssert<SELF>> - Class in org.assertj.core.api
-
Assertions for
OptionalDouble
. - AbstractOptionalDoubleAssert(OptionalDouble, Class<?>) - Constructor for class org.assertj.core.api.AbstractOptionalDoubleAssert
- AbstractOptionalIntAssert<SELF extends AbstractOptionalIntAssert<SELF>> - Class in org.assertj.core.api
-
Assertions for
OptionalInt
. - AbstractOptionalIntAssert(OptionalInt, Class<?>) - Constructor for class org.assertj.core.api.AbstractOptionalIntAssert
- AbstractOptionalLongAssert<SELF extends AbstractOptionalLongAssert<SELF>> - Class in org.assertj.core.api
-
Assertions for
OptionalLong
. - AbstractOptionalLongAssert(OptionalLong, Class<?>) - Constructor for class org.assertj.core.api.AbstractOptionalLongAssert
- AbstractPathAssert<SELF extends AbstractPathAssert<SELF>> - Class in org.assertj.core.api
-
Assertions for
Path
objects - AbstractPathAssert(Path, Class<?>) - Constructor for class org.assertj.core.api.AbstractPathAssert
- AbstractPeriodAssert<SELF extends AbstractPeriodAssert<SELF>> - Class in org.assertj.core.api
-
Assertions for
Period
type. - AbstractPeriodAssert(Period, Class<?>) - Constructor for class org.assertj.core.api.AbstractPeriodAssert
-
Creates a new
AbstractPeriodAssert
- AbstractPredicateAssert<SELF extends AbstractPredicateAssert<SELF,
T>, T> - Class in org.assertj.core.api -
Assertions for
Predicate
. - AbstractPredicateAssert(Predicate<T>, Class<?>) - Constructor for class org.assertj.core.api.AbstractPredicateAssert
- AbstractShortArrayAssert<SELF extends AbstractShortArrayAssert<SELF>> - Class in org.assertj.core.api
- AbstractShortArrayAssert(short[], Class<?>) - Constructor for class org.assertj.core.api.AbstractShortArrayAssert
- AbstractShortAssert<SELF extends AbstractShortAssert<SELF>> - 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
- AbstractSpliteratorAssert<SELF extends AbstractSpliteratorAssert<SELF,
ELEMENT>, ELEMENT> - Class in org.assertj.core.api -
Assertions for
Spliterator
type. - AbstractSpliteratorAssert(Spliterator<ELEMENT>, Class<?>) - Constructor for class org.assertj.core.api.AbstractSpliteratorAssert
- AbstractStringAssert<SELF extends AbstractStringAssert<SELF>> - Class in org.assertj.core.api
- AbstractStringAssert(String, Class<?>) - Constructor for class org.assertj.core.api.AbstractStringAssert
- AbstractTemporalAssert<SELF extends AbstractTemporalAssert<SELF,
TEMPORAL>, TEMPORAL extends Temporal> - Class in org.assertj.core.api -
Base class for all implementations of assertions for
Temporal
s. - AbstractTemporalAssert(TEMPORAL, Class<?>) - Constructor for class org.assertj.core.api.AbstractTemporalAssert
-
Creates a new
.AbstractTemporalAssert
- AbstractThrowableAssert<SELF extends AbstractThrowableAssert<SELF,
ACTUAL>, ACTUAL extends Throwable> - Class in org.assertj.core.api -
Base class for all implementations of assertions for
Throwable
s. - AbstractThrowableAssert(ACTUAL, Class<?>) - Constructor for class org.assertj.core.api.AbstractThrowableAssert
- AbstractUniversalComparableAssert<SELF extends AbstractUniversalComparableAssert<SELF,
T>, T> - Class in org.assertj.core.api -
Base class for
Comparable
assertions. - AbstractUniversalComparableAssert(Comparable<T>, Class<?>) - Constructor for class org.assertj.core.api.AbstractUniversalComparableAssert
- AbstractUriAssert<SELF extends AbstractUriAssert<SELF>> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
URI
s. - AbstractUriAssert(URI, Class<?>) - Constructor for class org.assertj.core.api.AbstractUriAssert
- AbstractUrlAssert<SELF extends AbstractUrlAssert<SELF>> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
URL
s. - AbstractUrlAssert(URL, Class<?>) - Constructor for class org.assertj.core.api.AbstractUrlAssert
- AbstractZonedDateTimeAssert<SELF extends AbstractZonedDateTimeAssert<SELF>> - Class in org.assertj.core.api
- AbstractZonedDateTimeAssert(ZonedDateTime, Class<?>) - Constructor for class org.assertj.core.api.AbstractZonedDateTimeAssert
- accept(T) - Method in interface org.assertj.core.api.ThrowingConsumer
- accepts(double...) - Method in class org.assertj.core.api.DoublePredicateAssert
-
Verifies that
DoublePredicate
evaluates all the given values totrue
. - accepts(int...) - Method in class org.assertj.core.api.IntPredicateAssert
-
Verifies that
IntPredicate
evaluates all the given values totrue
. - accepts(long...) - Method in class org.assertj.core.api.LongPredicateAssert
-
Verifies that
LongPredicate
evaluates all the given values totrue
. - accepts(T...) - Method in class org.assertj.core.api.AbstractPredicateAssert
-
Verifies that the
Predicate
evaluates all given values totrue
. - acceptsAll(Iterable<? extends T>) - Method in class org.assertj.core.api.AbstractPredicateAssert
- acceptsAllInternal(Iterable<? extends Long>) - Method in class org.assertj.core.api.LongPredicateAssert
- acceptsForProxy(T[]) - Method in class org.assertj.core.api.AbstractPredicateAssert
- acceptsInternal(Long) - Method in class org.assertj.core.api.LongPredicateAssert
- acceptThrows(T) - Method in interface org.assertj.core.api.ThrowingConsumer
- actual - Variable in class org.assertj.core.api.AbstractAssert
- actual - Variable in class org.assertj.core.error.ShouldBeEqual
- actualAndExpectedHaveSameStringRepresentation() - Method in class org.assertj.core.error.ShouldBeEqual
- actualDoesNotHaveEnoughElementsLeftToContainSubsequence(Object, Object, int, int) - Static method in class org.assertj.core.error.ShouldContainSubsequence
- actualDoesNotHaveEnoughElementsToContainSubsequence(Object, Object) - Static method in class org.assertj.core.error.ShouldContainSubsequence
- actualElement - Variable in class org.assertj.core.error.ZippedElementsShouldSatisfy.ZipSatisfyError
- actualIsEmpty() - Static method in class org.assertj.core.util.FailureMessages
- actualIsNull() - Static method in class org.assertj.core.util.FailureMessages
- addAdditionalDateFormats(DateFormat...) - Method in class org.assertj.core.configuration.Configuration
-
Add the given date formats AssertJ will use in date assertions.
- addDelta(Delta<T>) - Method in class org.assertj.core.util.diff.Patch
-
Add the given delta to this patch
- additionalDateFormats() - Method in class org.assertj.core.configuration.Configuration
-
AssertJ uses defaults date formats in date assertions, this property let's you register additional ones (default there are no additional date formats).
- addLineNumberToErrorMessages(List<? extends T>) - Static method in class org.assertj.core.util.Throwables
- ADVICE - Static variable in class org.assertj.core.error.ShouldMatch
- ADVICE - Static variable in class org.assertj.core.error.ShouldNotMatch
- AfterAssertionErrorCollected - Interface in org.assertj.core.api
- afterEach(ExtensionContext) - Method in class org.assertj.core.api.JUnitJupiterBDDSoftAssertions
-
Deprecated.
- afterEach(ExtensionContext) - Method in class org.assertj.core.api.JUnitJupiterSoftAssertions
-
Deprecated.
- afterTestExecution(ExtensionContext) - Method in class org.assertj.core.api.junit.jupiter.SoftAssertionsExtension
- afterTestExecution(ExtensionContext) - Method in class org.assertj.core.api.junit.jupiter.SoftlyExtension
-
Deprecated.
- aggregateErrorMessages(List<String>) - Static method in class org.assertj.core.error.AssertionErrorMessagesAggregator
- aggregrateErrorMessages(List<String>) - Static method in class org.assertj.core.error.AssertionErrorMessagesAggregrator
-
Deprecated.
- allMatch(Predicate<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that all the elements of actual match the given
Predicate
. - allMatch(Predicate<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that all elements match the given
Predicate
. - allMatch(Predicate<? super ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that all the elements of actual match the given
Predicate
. - allMatch(Predicate<? super ELEMENT>, String) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that all the elements of actual match the given
Predicate
. - allMatch(Predicate<? super ELEMENT>, String) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that all the elements of actual match the given
Predicate
. - allMatch(Predicate<? super ELEMENT>, String) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that all the elements of actual match the given
Predicate
. - allMatch(Predicate<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that all elements match the given
Predicate
. - allMatch(Predicate<? super T>, String) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that all the elements of actual's array match the given
Predicate
. - allOf(Iterable<? extends Condition<? super T>>) - Static method in class org.assertj.core.api.Assertions
-
Creates a new
AllOf
- allOf(Iterable<? extends Condition<? super T>>) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new
AllOf
- allOf(Iterable<? extends Condition<? super T>>) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new
AllOf
- allOf(Iterable<? extends Condition<? super T>>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new
AllOf
- allOf(Iterable<? extends Condition<? super T>>) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new
AllOf
- allOf(Iterable<? extends Condition<? super T>>) - Static method in class org.assertj.core.condition.AllOf
-
Creates a new
AllOf
- allOf(Condition<? super T>...) - Static method in class org.assertj.core.api.Assertions
-
Creates a new
AllOf
- allOf(Condition<? super T>...) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new
AllOf
- allOf(Condition<? super T>...) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new
AllOf
- allOf(Condition<? super T>...) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new
AllOf
- allOf(Condition<? super T>...) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new
AllOf
- allOf(Condition<? super T>...) - Static method in class org.assertj.core.condition.AllOf
-
Creates a new
AllOf
- AllOf<T> - Class in org.assertj.core.condition
-
Returns
true
if all of the joined conditions are satisfied. - ALLOW_COMPARING_PRIVATE_FIELDS - Static variable in class org.assertj.core.configuration.Configuration
- ALLOW_EXTRACTING_PRIVATE_FIELDS - Static variable in class org.assertj.core.configuration.Configuration
- allSatisfy(BiConsumer<? super K, ? super V>) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that all the actual map entries satisfy the given
entryRequirements
. - allSatisfy(Consumer<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that all the elements satisfy the given requirements expressed as a
Consumer
. - allSatisfy(Consumer<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that all the elements satisfy the given requirements expressed as a
Consumer
. - allSatisfy(Consumer<? super ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that all the elements satisfy the given requirements expressed as a
Consumer
. - allSatisfy(Consumer<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that all the elements satisfy given requirements expressed as a
Consumer
. - allSatisfy(ThrowingConsumer<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that all the elements satisfy the given requirements expressed as a
ThrowingConsumer
. - allSatisfy(ThrowingConsumer<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that all the elements satisfy the given requirements expressed as a
ThrowingConsumer
. - allSatisfy(ThrowingConsumer<? super ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that all the elements satisfy the given requirements expressed as a
ThrowingConsumer
. - allSatisfy(ThrowingConsumer<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that all the elements satisfy the given requirements expressed as a
ThrowingConsumer
. - and - Static variable in class org.assertj.core.api.BDDAssertions
-
A
BDDAssertions
which allows to blend assertions with other libraries when the name 'then
' cause clash. - and(String) - Method in class org.assertj.core.api.filter.Filters
-
Alias of
Filters.with(String)
for synthetic sugar to write things like : - anyElementShouldMatch(Object, PredicateDescription) - Static method in class org.assertj.core.error.AnyElementShouldMatch
- AnyElementShouldMatch - Class in org.assertj.core.error
- anyMatch(Predicate<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies whether any elements match the provided
Predicate
. - anyMatch(Predicate<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies whether any elements match the provided
Predicate
. - anyMatch(Predicate<? super ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies whether any elements match the provided
Predicate
. - anyMatch(Predicate<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies whether any elements match the provided
Predicate
. - anyOf(Iterable<? extends Condition<? super T>>) - Static method in class org.assertj.core.api.Assertions
-
Creates a new
AnyOf
- anyOf(Iterable<? extends Condition<? super T>>) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new
AnyOf
- anyOf(Iterable<? extends Condition<? super T>>) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new
AnyOf
- anyOf(Iterable<? extends Condition<? super T>>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new
AnyOf
- anyOf(Iterable<? extends Condition<? super T>>) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new
AnyOf
- anyOf(Iterable<? extends Condition<? super T>>) - Static method in class org.assertj.core.condition.AnyOf
-
Creates a new
AnyOf
- 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 useAnyOf
if you prefer). - anyOf(Condition<? super T>...) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Only delegate to
AnyOf.anyOf(Condition...)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useAnyOf
if you prefer). - anyOf(Condition<? super T>...) - Static method in class org.assertj.core.api.BDDAssertions
-
Only delegate to
AnyOf.anyOf(Condition...)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useAnyOf
if you prefer). - anyOf(Condition<? super T>...) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Only delegate to
AnyOf.anyOf(Condition...)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useAnyOf
if you prefer). - anyOf(Condition<? super T>...) - Method in interface org.assertj.core.api.WithAssertions
-
Only delegate to
AnyOf.anyOf(Condition...)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useAnyOf
if you prefer). - anyOf(Condition<? super T>...) - Static method in class org.assertj.core.condition.AnyOf
-
Creates a new
AnyOf
- AnyOf<T> - Class in org.assertj.core.condition
-
Returns
true
if any of the joined conditions is satisfied. - anySatisfy(BiConsumer<? super K, ? super V>) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that at least one map entry satisfies the given
entryRequirements
. - anySatisfy(Consumer<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that at least one element satisfies the given requirements expressed as a
Consumer
. - anySatisfy(Consumer<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that at least one element satisfies the given requirements expressed as a
Consumer
. - anySatisfy(Consumer<? super ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that at least one element satisfies the given requirements expressed as a
Consumer
. - anySatisfy(Consumer<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that at least one element satisfies the given requirements expressed as a
Consumer
. - anySatisfy(ThrowingConsumer<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that at least one element satisfies the given requirements expressed as a
ThrowingConsumer
. - anySatisfy(ThrowingConsumer<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that at least one element satisfies the given requirements expressed as a
ThrowingConsumer
. - anySatisfy(ThrowingConsumer<? super ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that at least one element satisfies the given requirements expressed as a
ThrowingConsumer
. - anySatisfy(ThrowingConsumer<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that at least one element satisfies the given requirements expressed as a
ThrowingConsumer
. - 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 givenString
to append. - appendStackTraceInCurrentThreadToThrowable(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() - Method in class org.assertj.core.configuration.Configuration
-
Applies this configuration to AssertJ.
- apply(A, B, C) - Method in interface org.assertj.core.util.TriFunction
- apply(F) - Method in interface org.assertj.core.api.iterable.Extractor
-
Deprecated.
- apply(F) - Method in interface org.assertj.core.api.iterable.ThrowingExtractor
- apply(Statement, Description) - Method in class org.assertj.core.api.Java6JUnitSoftAssertions
-
Deprecated.
- apply(Statement, Description) - Method in interface org.assertj.core.api.SoftAssertionsRule
- applyAndDisplay() - Method in class org.assertj.core.configuration.Configuration
-
Applies this configuration to AssertJ and prints it.
- applyOn(Filters<E>) - Method in class org.assertj.core.api.filter.FilterOperator
- applyOn(Filters<E>) - Method in class org.assertj.core.api.filter.InFilter
- applyOn(Filters<E>) - Method in class org.assertj.core.api.filter.NotFilter
- applyOn(Filters<E>) - Method in class org.assertj.core.api.filter.NotInFilter
- applyTo(List<T>) - Method in class org.assertj.core.util.diff.ChangeDelta
-
Applies this delta as the patch for a given target
- applyTo(List<T>) - Method in class org.assertj.core.util.diff.DeleteDelta
-
Applies this delta as the patch for a given target
- applyTo(List<T>) - Method in class org.assertj.core.util.diff.Delta
-
Applies this delta as the patch for a given target
- applyTo(List<T>) - Method in class org.assertj.core.util.diff.InsertDelta
-
Applies this delta as the patch for a given target
- applyTo(List<T>) - Method in class org.assertj.core.util.diff.Patch
-
Apply this patch to the given target
- are(Condition<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that each element value satisfies the given condition.
- are(Condition<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that each element value satisfies the given condition
- are(Condition<? super ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that each element value satisfies the given condition.
- are(Condition<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that each element value satisfies the given condition
- areAtLeast(int, Condition<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that there are at least n elements in the actual group satisfying the given condition.
- areAtLeast(int, Condition<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that there are at least n elements in the actual array satisfying the given condition.
- areAtLeast(int, Condition<? super ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that there are at least n elements in the actual group satisfying the given condition.
- areAtLeast(int, Condition<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that there are at least n elements in the actual AtomicReferenceArray satisfying the given condition.
- areAtLeastOne(Condition<? super ELEMENT>) - 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 ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that there is at least one element in the actual array satisfying the given condition.
- areAtLeastOne(Condition<? super ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
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.AtomicReferenceArrayAssert
-
Verifies that there is at least one element in the actual AtomicReferenceArray satisfying the given condition.
- areAtMost(int, Condition<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that there are at most n elements in the actual group satisfying the given condition.
- areAtMost(int, Condition<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that there are at most n elements in the actual array satisfying the given condition.
- areAtMost(int, Condition<? super ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that there are at most n elements in the actual group satisfying the given condition.
- areAtMost(int, Condition<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that there are at most n elements in the actual AtomicReferenceArray satisfying the given condition.
- areEqual(Object, Object) - Method in class org.assertj.core.api.AbstractAssert
-
Deprecated.
- areEqual(Object, Object) - Static method in class org.assertj.core.util.Objects
-
Deprecated.Use
Objects.deepEquals(Object, Object)
instead. - areEqualArrays(Object, Object) - Static method in class org.assertj.core.util.Objects
-
Deprecated.
- areExactly(int, Condition<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that there are exactly n elements in the actual group satisfying the given condition.
- areExactly(int, Condition<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that there are exactly n elements in the actual array satisfying the given condition.
- areExactly(int, Condition<? super ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that there are exactly n elements in the actual group satisfying the given condition.
- areExactly(int, Condition<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that there are exactly n elements in the actual AtomicReferenceArray satisfying the given condition.
- areNot(Condition<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that each element value does not satisfy the given condition.
- areNot(Condition<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that each element value does not satisfy the given condition
- areNot(Condition<? super ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that each element value does not satisfy the given condition.
- areNot(Condition<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
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(Class<ELEMENT[]>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for an array of elements. - array(AtomicIntegerArray) - Static method in class org.assertj.core.util.Arrays
-
Returns an int[] from the
AtomicIntegerArray
, null if the given atomic array is null. - array(AtomicLongArray) - Static method in class org.assertj.core.util.Arrays
-
Returns an long[] from the
AtomicLongArray
, null if the given atomic array is null. - array(AtomicReferenceArray<T>) - Static method in class org.assertj.core.util.Arrays
-
Returns an T[] from the
AtomicReferenceArray
, null if the given atomic array is null. - array(T...) - Static method in class org.assertj.core.util.Arrays
-
Returns an array containing the given arguments.
- ARRAY - Enum constant in enum org.assertj.core.presentation.StandardRepresentation.GroupType
- ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for an array ofObject
. - ARRAY_2D - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for an two-dimensional array ofObject
. - array2D(Class<ELEMENT[][]>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for an two-dimensional array of elements. - Array2DAssert<SELF extends Array2DAssert<SELF,
ELEMENT>, ELEMENT> - Interface in org.assertj.core.api -
Assertions applicable to two-dimensional arrays.
- 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 - Variable in class org.assertj.core.api.AtomicIntegerArrayAssert
- arrays - Variable in class org.assertj.core.api.AtomicLongArrayAssert
- Arrays - Class in org.assertj.core.util
-
Utility methods related to arrays.
- ArraySortedAssert<SELF extends ArraySortedAssert<SELF,
ELEMENT>, ELEMENT> - Interface in org.assertj.core.api -
Assertions applicable to primitive arrays or arrays of elements either naturally
Comparable
or according to a givenComparator
. - ArrayWrapperList - Class in org.assertj.core.util
-
A list-like wrapper for arrays.
- as(String, Object...) - Method in class org.assertj.core.api.AbstractIterableAssert
- as(String, Object...) - Method in class org.assertj.core.api.AbstractListAssert
- as(String, Object...) - Method in class org.assertj.core.api.AbstractMapAssert
- as(String, Object...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
- as(String, Object...) - Method in class org.assertj.core.api.AbstractObjectAssert
- as(String, Object...) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
- as(String, Object...) - Method in interface org.assertj.core.api.Descriptable
-
Sets the description of the assertion that is going to be called after.
- as(Supplier<String>) - Method in interface org.assertj.core.api.Descriptable
-
Lazily specifies the description of the assertion that is going to be called, the given description is not evaluated if the assertion succeeds.
- as(InstanceOfAssertFactory<T, ASSERT>) - Static method in class org.assertj.core.api.Assertions
-
A syntax sugar to write fluent assertion with methods having an
InstanceOfAssertFactory
parameter. - as(InstanceOfAssertFactory<T, ASSERT>) - Static method in class org.assertj.core.api.BDDAssertions
-
A syntax sugar to write fluent assertion with methods having an
InstanceOfAssertFactory
parameter. - as(InstanceOfAssertFactory<T, ASSERT>) - Method in interface org.assertj.core.api.WithAssertions
-
A syntax sugar to write fluent assertion with methods having an
InstanceOfAssertFactory
parameter. - as(Description) - Method in class org.assertj.core.api.AbstractIterableAssert
- as(Description) - Method in class org.assertj.core.api.AbstractListAssert
- as(Description) - Method in class org.assertj.core.api.AbstractMapAssert
- as(Description) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
- as(Description) - Method in class org.assertj.core.api.AbstractObjectAssert
- as(Description) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
- as(Description) - Method in interface org.assertj.core.api.Descriptable
-
Sets the description of the assertion that is going to be called after.
- as(Description) - Method in class org.assertj.core.api.SoftThrowableAssertAlternative
- as(Description) - Method in class org.assertj.core.api.ThrowableAssertAlternative
- asBase64Decoded() - Method in class org.assertj.core.api.AbstractStringAssert
-
Decodes the actual value as a Base64 encoded string, the decoded bytes becoming the new array under test.
- asBase64Encoded() - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Encodes the actual array into a Base64 string, the encoded string becoming the new object under test.
- asHexString() - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Converts the actual byte array under test to an hexadecimal String and returns assertions for the computed String allowing String specific assertions from this call.
- asInstanceOf(InstanceOfAssertFactory<?, ASSERT>) - Method in class org.assertj.core.api.AbstractAssert
-
Uses an
InstanceOfAssertFactory
to verify that the actual value is an instance of a given type and to produce a newAssert
narrowed to that type. - asInstanceOf(InstanceOfAssertFactory<?, ASSERT>) - Method in interface org.assertj.core.api.Assert
-
Uses an
InstanceOfAssertFactory
to verify that the actual value is an instance of a given type and to produce a newAssert
narrowed to that type. - 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.
- asList(Object) - Static method in class org.assertj.core.util.Arrays
-
Get the values of any array (primitive or not) into a
List<Object>
. - asObjectArray(Object) - Static method in class org.assertj.core.util.Arrays
-
Get the values of any array (primitive or not) into a
Object[]
. - Assert<SELF extends Assert<SELF,
ACTUAL>, ACTUAL> - 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.AbstractSoftAssertions
- assertAll() - Method in interface org.assertj.core.api.SoftAssertionsProvider
-
Verifies that no soft assertions have failed.
- assertAll(AssertionErrorCollector) - Static method in class org.assertj.core.api.AbstractSoftAssertions
- assertAlso(AssertionErrorCollector) - Method in interface org.assertj.core.api.SoftAssertionsProvider
-
Add all errors of
collector
argument to current
instance.SoftAssertionsProvider
- AssertDelegateTarget - Interface in org.assertj.core.api
-
A marker interface that can be used to wrap your assertion within assertThat method for better readability.
- AssertFactory<T,
ASSERT extends Assert<?, ?>> - Interface in org.assertj.core.api -
A single method factory interface to create an
Assert
for a given value. - assertion(T) - Method in class org.assertj.core.matcher.AssertionMatcher
-
Perform the assertions implemented in this method when the
AssertionMatcher
is used as an HamcrestMatcher
. - assertionError(String) - Method in class org.assertj.core.error.AssertionErrorCreator
- assertionError(String, Object, Object, Representation) - Method in class org.assertj.core.error.AssertionErrorCreator
- assertionError(ErrorMessageFactory) - Method in class org.assertj.core.api.AbstractAssert
- AssertionErrorCollector - Interface in org.assertj.core.api
- AssertionErrorCreator - Class in org.assertj.core.error
- AssertionErrorCreator() - Constructor for class org.assertj.core.error.AssertionErrorCreator
- AssertionErrorCreator(ConstructorInvoker) - Constructor for class org.assertj.core.error.AssertionErrorCreator
- AssertionErrorFactory - Interface in org.assertj.core.error
-
Factory of
s.AssertionError
- AssertionErrorMessagesAggregator - Class in org.assertj.core.error
- AssertionErrorMessagesAggregator() - Constructor for class org.assertj.core.error.AssertionErrorMessagesAggregator
- AssertionErrorMessagesAggregrator - Class in org.assertj.core.error
-
Deprecated.use
AssertionErrorMessagesAggregator
instead - AssertionErrorMessagesAggregrator() - Constructor for class org.assertj.core.error.AssertionErrorMessagesAggregrator
-
Deprecated.
- assertionErrorsCollected() - Method in interface org.assertj.core.api.AssertionErrorCollector
- assertionErrorsCollected() - Method in class org.assertj.core.api.DefaultAssertionErrorCollector
-
Returns a list of soft assertions collected errors.
- AssertionInfo - Interface in org.assertj.core.api
-
Information about an assertion.
- AssertionMatcher<T> - Class in org.assertj.core.matcher
-
Generic Hamcrest
Matcher
that reuses AssertJ assertions. - AssertionMatcher() - Constructor for class org.assertj.core.matcher.AssertionMatcher
- Assertions - Class in org.assertj.core.api
-
Entry point for assertion methods for different types.
- Assertions() - Constructor for class org.assertj.core.api.Assertions
-
Creates a new
.Assertions
- AssertionsForClassTypes - Class in org.assertj.core.api
-
Java 8 is picky when choosing the right
assertThat
method if the object under test is generic and bounded, for example if foo is instance of T that extends Exception, java 8 will complain that it can't resolve the properassertThat
method (normallyassertThat(Throwable)
as foo might implement an interface like List, if that occurredassertThat(List)
would also be a possible choice - thus confusing java 8. - AssertionsForClassTypes() - Constructor for class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new
.AssertionsForClassTypes
- AssertionsForInterfaceTypes - Class in org.assertj.core.api
-
Entry point for assertion methods for different data types.
- AssertionsForInterfaceTypes() - Constructor for class org.assertj.core.api.AssertionsForInterfaceTypes
-
Creates a new
.Assertions
- assertj$setup(ProxifyMethodChangingTheObjectUnderTest, ErrorCollector) - Method in interface org.assertj.core.api.AssertJProxySetup
- AssertJMultipleFailuresError - Error in org.assertj.core.error
-
AssertJ version of
MultipleFailuresError
to get more control on the error formatting. - AssertJMultipleFailuresError(String, List<? extends Throwable>) - Constructor for error org.assertj.core.error.AssertJMultipleFailuresError
- AssertJProxySetup - Interface in org.assertj.core.api
-
Interface implemented by all proxies and serves as a type safe setter.
- AssertProvider<A> - Interface in org.assertj.core.api
-
Provides a
Assert
for the current object. - assertSoftly(Class<S>, Consumer<S>) - Static method in interface org.assertj.core.api.SoftAssertionsProvider
-
Use this to avoid having to call assertAll manually.
- assertSoftly(Consumer<SoftAssertions>) - Static method in class org.assertj.core.api.SoftAssertions
-
Convenience method for calling
SoftAssertionsProvider.assertSoftly(java.lang.Class<S>, java.util.function.Consumer<S>)
for these assertion types. - assertThat() - Method in interface org.assertj.core.api.AssertProvider
-
Returns the associated
Assert
for this object. - assertThat(boolean) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.BooleanAssert
- assertThat(boolean) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.BooleanAssert
- assertThat(boolean) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.BooleanAssert
- assertThat(boolean) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.BooleanAssert
- assertThat(boolean) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.BooleanAssert
- assertThat(boolean[]) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.BooleanArrayAssert
- assertThat(boolean[]) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.BooleanArrayAssert
- assertThat(boolean[]) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.BooleanArrayAssert
- assertThat(boolean[]) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.BooleanArrayAssert
- assertThat(boolean[]) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.BooleanArrayAssert
- assertThat(boolean[][]) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.Boolean2DArrayAssert
- assertThat(boolean[][]) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.Boolean2DArrayAssert
- assertThat(boolean[][]) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.Boolean2DArrayAssert
- assertThat(boolean[][]) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.Boolean2DArrayAssert
- assertThat(boolean[][]) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.Boolean2DArrayAssert
- assertThat(byte) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.ByteAssert
- assertThat(byte) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.ByteAssert
- assertThat(byte) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.ByteAssert
- assertThat(byte) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.ByteAssert
- assertThat(byte) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.ByteAssert
- assertThat(byte[]) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.ByteArrayAssert
- assertThat(byte[]) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.ByteArrayAssert
- assertThat(byte[]) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.ByteArrayAssert
- assertThat(byte[]) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.ByteArrayAssert
- assertThat(byte[]) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.ByteArrayAssert
- assertThat(byte[][]) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.Byte2DArrayAssert
- assertThat(byte[][]) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.Byte2DArrayAssert
- assertThat(byte[][]) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.Byte2DArrayAssert
- assertThat(byte[][]) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.Byte2DArrayAssert
- assertThat(byte[][]) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.Byte2DArrayAssert
- assertThat(char) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.CharacterAssert
- assertThat(char) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.CharacterAssert
- assertThat(char) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.CharacterAssert
- assertThat(char) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.CharacterAssert
- assertThat(char) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.CharacterAssert
- assertThat(char[]) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.CharArrayAssert
- assertThat(char[]) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.CharArrayAssert
- assertThat(char[]) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.CharArrayAssert
- assertThat(char[]) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.CharArrayAssert
- assertThat(char[]) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.CharArrayAssert
- assertThat(char[][]) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.CharArrayAssert
- assertThat(char[][]) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.Char2DArrayAssert
- assertThat(char[][]) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.Char2DArrayAssert
- assertThat(char[][]) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.Char2DArrayAssert
- assertThat(char[][]) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.Char2DArrayAssert
- assertThat(double) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.DoubleAssert
- assertThat(double) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.DoubleAssert
- assertThat(double) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.DoubleAssert
- assertThat(double) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.DoubleAssert
- assertThat(double) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.DoubleAssert
- assertThat(double[]) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.DoubleArrayAssert
- assertThat(double[]) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.DoubleArrayAssert
- assertThat(double[]) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.DoubleArrayAssert
- assertThat(double[]) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.DoubleArrayAssert
- assertThat(double[]) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.DoubleArrayAssert
- assertThat(double[][]) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.Double2DArrayAssert
- assertThat(double[][]) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.Double2DArrayAssert
- assertThat(double[][]) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.Double2DArrayAssert
- assertThat(double[][]) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.Double2DArrayAssert
- assertThat(double[][]) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.Double2DArrayAssert
- assertThat(float) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.FloatAssert
- assertThat(float) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.FloatAssert
- assertThat(float) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.FloatAssert
- assertThat(float) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.FloatAssert
- assertThat(float) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.FloatAssert
- assertThat(float[]) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.FloatArrayAssert
- assertThat(float[]) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.FloatArrayAssert
- assertThat(float[]) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.FloatArrayAssert
- assertThat(float[]) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.FloatArrayAssert
- assertThat(float[]) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.FloatArrayAssert
- assertThat(float[][]) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.Float2DArrayAssert
- assertThat(float[][]) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.Float2DArrayAssert
- assertThat(float[][]) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.Float2DArrayAssert
- assertThat(float[][]) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.Float2DArrayAssert
- assertThat(float[][]) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.Float2DArrayAssert
- assertThat(int) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.IntegerAssert
- assertThat(int) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.IntegerAssert
- assertThat(int) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.IntegerAssert
- assertThat(int) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.IntegerAssert
- assertThat(int) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.IntegerAssert
- assertThat(int[]) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.IntArrayAssert
- assertThat(int[]) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.IntArrayAssert
- assertThat(int[]) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.IntArrayAssert
- assertThat(int[]) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.IntArrayAssert
- assertThat(int[]) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.IntArrayAssert
- assertThat(int[][]) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.Int2DArrayAssert
- assertThat(int[][]) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.Int2DArrayAssert
- assertThat(int[][]) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.Int2DArrayAssert
- assertThat(int[][]) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.Int2DArrayAssert
- assertThat(int[][]) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.Int2DArrayAssert
- assertThat(long) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.LongAssert
- assertThat(long) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.LongAssert
- assertThat(long) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.LongAssert
- assertThat(long) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.LongAssert
- assertThat(long) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.LongAssert
- assertThat(long[]) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.LongArrayAssert
- assertThat(long[]) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.LongArrayAssert
- assertThat(long[]) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.LongArrayAssert
- assertThat(long[]) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.LongArrayAssert
- assertThat(long[]) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.LongArrayAssert
- assertThat(long[][]) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.Long2DArrayAssert
- assertThat(long[][]) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.Long2DArrayAssert
- assertThat(long[][]) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.Long2DArrayAssert
- assertThat(long[][]) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.Long2DArrayAssert
- assertThat(long[][]) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.Long2DArrayAssert
- assertThat(short) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.ShortAssert
- assertThat(short) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.ShortAssert
- assertThat(short) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.ShortAssert
- assertThat(short) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.ShortAssert
- assertThat(short) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.ShortAssert
- assertThat(short[]) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.ShortArrayAssert
- assertThat(short[]) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.ShortArrayAssert
- assertThat(short[]) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.ShortArrayAssert
- assertThat(short[]) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.ShortArrayAssert
- assertThat(short[]) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.ShortArrayAssert
- assertThat(short[][]) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.Short2DArrayAssert
- assertThat(short[][]) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.Short2DArrayAssert
- assertThat(short[][]) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.Short2DArrayAssert
- assertThat(short[][]) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.Short2DArrayAssert
- assertThat(short[][]) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.Short2DArrayAssert
- assertThat(ACTUAL, Class<ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
allowing to navigate to anyClassBasedNavigableIterableAssert
Iterable
element in order to perform assertions on it. - assertThat(ACTUAL, Class<ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
- assertThat(ACTUAL, Class<ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.ClassBasedNavigableIterableAssert
- assertThat(ACTUAL, Class<ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
allowing to navigate to anyClassBasedNavigableIterableAssert
Iterable
element in order to perform assertions on it. - assertThat(ACTUAL, Class<ELEMENT_ASSERT>) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
allowing to navigate to anyClassBasedNavigableIterableAssert
Iterable
element in order to perform assertions on it. - assertThat(File) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.FileAssert
- assertThat(File) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.FileAssert
- assertThat(File) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.FileAssert
- assertThat(File) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.FileAssert
- assertThat(File) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.FileAssert
- assertThat(InputStream) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.InputStreamAssert
- assertThat(InputStream) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.InputStreamAssert
- assertThat(InputStream) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.InputStreamAssert
- assertThat(InputStream) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.InputStreamAssert
- assertThat(InputStream) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.InputStreamAssert
- assertThat(Boolean) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.BooleanAssert
- assertThat(Boolean) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.BooleanAssert
- assertThat(Boolean) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.BooleanAssert
- assertThat(Boolean) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.BooleanAssert
- assertThat(Boolean) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.BooleanAssert
- assertThat(Byte) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.ByteAssert
- assertThat(Byte) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.ByteAssert
- assertThat(Byte) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.ByteAssert
- assertThat(Byte) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.ByteAssert
- assertThat(Byte) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.ByteAssert
- assertThat(Character) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.CharacterAssert
- assertThat(Character) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.CharacterAssert
- assertThat(Character) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.CharacterAssert
- assertThat(Character) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.CharacterAssert
- assertThat(Character) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.CharacterAssert
- assertThat(CharSequence) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.CharSequenceAssert
- assertThat(CharSequence) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Creates a new instance of
.CharSequenceAssert
- assertThat(CharSequence) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.CharSequenceAssert
- assertThat(CharSequence) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.CharSequenceAssert
- assertThat(CharSequence) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.CharSequenceAssert
- assertThat(Class<?>) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
ClassAssert
- assertThat(Class<?>) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
ClassAssert
- assertThat(Class<?>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
ClassAssert
- assertThat(Class<?>) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
ClassAssert
- assertThat(Class<?>) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
ClassAssert
- assertThat(Double) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.DoubleAssert
- assertThat(Double) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.DoubleAssert
- assertThat(Double) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.DoubleAssert
- assertThat(Double) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.DoubleAssert
- assertThat(Double) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.DoubleAssert
- assertThat(Float) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.FloatAssert
- assertThat(Float) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.FloatAssert
- assertThat(Float) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.FloatAssert
- assertThat(Float) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.FloatAssert
- assertThat(Float) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.FloatAssert
- assertThat(Integer) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.IntegerAssert
- assertThat(Integer) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.IntegerAssert
- assertThat(Integer) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.IntegerAssert
- assertThat(Integer) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.IntegerAssert
- assertThat(Integer) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.IntegerAssert
- assertThat(Iterable<? extends ELEMENT>) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.IterableAssert
- assertThat(Iterable<? extends ELEMENT>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Creates a new instance of
.IterableAssert
- assertThat(Iterable<? extends ELEMENT>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
allowing to navigate to anyFactoryBasedNavigableIterableAssert
Iterable
element in order to perform assertions on it. - assertThat(Iterable<? extends ELEMENT>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Creates a new instance of
.IterableAssert
- assertThat(Iterable<? extends ELEMENT>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.FactoryBasedNavigableIterableAssert
- assertThat(Iterable<? extends ELEMENT>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
allowing to navigate to anyFactoryBasedNavigableIterableAssert
Iterable
element in order to perform assertions on it. - assertThat(Iterable<? extends ELEMENT>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
allowing to navigate to anyFactoryBasedNavigableIterableAssert
Iterable
element in order to perform assertions on it. - assertThat(Iterable<? extends T>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.IterableAssert
- assertThat(Iterable<? extends T>) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.IterableAssert
- assertThat(Iterable<? extends T>) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.IterableAssert
- assertThat(Long) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.LongAssert
- assertThat(Long) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.LongAssert
- assertThat(Long) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.LongAssert
- assertThat(Long) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.LongAssert
- assertThat(Long) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.LongAssert
- assertThat(Short) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.ShortAssert
- assertThat(Short) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.ShortAssert
- assertThat(Short) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.ShortAssert
- assertThat(Short) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.ShortAssert
- assertThat(Short) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.ShortAssert
- assertThat(String) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.StringAssert
from aString
- assertThat(String) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.StringAssert
- assertThat(String) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.StringAssert
- assertThat(String) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.StringAssert
- assertThat(String) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.CharSequenceAssert
from aString
- assertThat(StringBuffer) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
from aCharSequenceAssert
StringBuffer
. - assertThat(StringBuffer) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
from aCharSequenceAssert
StringBuffer
. - assertThat(StringBuffer) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
from aCharSequenceAssert
StringBuffer
. - assertThat(StringBuffer) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
from aCharSequenceAssert
StringBuffer
. - assertThat(StringBuffer) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
from aCharSequenceAssert
StringBuffer
. - assertThat(StringBuilder) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
from aCharSequenceAssert
StringBuilder
. - assertThat(StringBuilder) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
from aCharSequenceAssert
StringBuilder
. - assertThat(StringBuilder) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
from aCharSequenceAssert
StringBuilder
. - assertThat(StringBuilder) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
from aCharSequenceAssert
StringBuilder
. - assertThat(StringBuilder) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
from aCharSequenceAssert
StringBuilder
. - assertThat(BigDecimal) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.BigDecimalAssert
- assertThat(BigDecimal) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.BigDecimalAssert
- assertThat(BigDecimal) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.BigDecimalAssert
- assertThat(BigDecimal) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.BigDecimalAssert
- assertThat(BigDecimal) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.BigDecimalAssert
- assertThat(BigInteger) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.BigIntegerAssert
- assertThat(BigInteger) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.BigIntegerAssert
- assertThat(BigInteger) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.BigInteger
- assertThat(BigInteger) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.BigIntegerAssert
- assertThat(URI) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.UriAssert
- assertThat(URI) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.UriAssert
- assertThat(URI) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.UriAssert
- assertThat(URI) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.UriAssert
- assertThat(URI) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.UriAssert
- assertThat(URL) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.UrlAssert
- assertThat(URL) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.UrlAssert
- assertThat(URL) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.UrlAssert
- assertThat(URL) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.UrlAssert
- assertThat(URL) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.UrlAssert
- assertThat(Path) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
PathAssert
- assertThat(Path) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Creates a new instance of
PathAssert
- assertThat(Path) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Creates a new, proxied instance of a
PathAssert
- assertThat(Path) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
PathAssert
- assertThat(Duration) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.DurationAssert
- assertThat(Duration) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.DurationAssert
- assertThat(Duration) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Creates a new instance of
.DurationAssert
- assertThat(Duration) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.DurationAssert
- assertThat(Instant) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.InstantAssert
- assertThat(Instant) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.InstantAssert
- assertThat(Instant) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Creates a new instance of
.InstantAssert
- assertThat(Instant) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.InstantAssert
- assertThat(LocalDate) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.LocalDateAssert
- assertThat(LocalDate) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.LocalDateAssert
- assertThat(LocalDate) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Creates a new instance of
.LocalDateAssert
- assertThat(LocalDate) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.LocalDateAssert
- assertThat(LocalDateTime) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.LocalDateTimeAssert
- assertThat(LocalDateTime) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.LocalDateTimeAssert
- assertThat(LocalDateTime) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Creates a new instance of
.LocalDateTimeAssert
- assertThat(LocalDateTime) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.LocalDateTimeAssert
- assertThat(LocalTime) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.LocalTimeAssert
- assertThat(LocalTime) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.LocalTimeAssert
- assertThat(LocalTime) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Creates a new instance of
.LocalTimeAssert
- assertThat(LocalTime) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.LocalTimeAssert
- assertThat(OffsetDateTime) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.OffsetDateTime
- assertThat(OffsetDateTime) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.OffsetDateTime
- assertThat(OffsetDateTime) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Creates a new instance of
.OffsetDateTimeAssert
- assertThat(OffsetDateTime) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.OffsetTimeAssert
- assertThat(OffsetTime) - Static method in class org.assertj.core.api.Assertions
-
Create assertion for
OffsetTime
. - assertThat(OffsetTime) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Create assertion for
OffsetTime
. - assertThat(OffsetTime) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Creates a new instance of
.OffsetTimeAssert
- assertThat(OffsetTime) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.OffsetTimeAssert
- assertThat(Period) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.PeriodAssert
- assertThat(Period) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.PeriodAssert
- assertThat(Period) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Creates a new instance of
.PeriodAssert
- assertThat(Period) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.PeriodAssert
- assertThat(ZonedDateTime) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.ZonedDateTimeAssert
- assertThat(ZonedDateTime) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.ZonedDateTimeAssert
- assertThat(ZonedDateTime) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Creates a new instance of
.ZonedDateTimeAssert
- assertThat(ZonedDateTime) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.ZonedDateTimeAssert
- assertThat(Collection<? extends E>) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.CollectionAssert
- assertThat(Collection<? extends E>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Creates a new instance of
.CollectionAssert
- assertThat(Collection<? extends E>) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.CollectionAssert
- assertThat(Collection<? extends T>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.CollectionAssert
- assertThat(Collection<? extends T>) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.CollectionAssert
- assertThat(AtomicBoolean) - Static method in class org.assertj.core.api.Assertions
-
Create assertion for
AtomicBoolean
. - assertThat(AtomicBoolean) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Create assertion for
AtomicBoolean
. - assertThat(AtomicBoolean) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Create assertion for
AtomicBoolean
. - assertThat(AtomicBoolean) - Method in interface org.assertj.core.api.WithAssertions
-
Create assertion for
AtomicBoolean
. - assertThat(AtomicInteger) - Static method in class org.assertj.core.api.Assertions
-
Create assertion for
AtomicInteger
. - assertThat(AtomicInteger) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Create assertion for
AtomicInteger
. - assertThat(AtomicInteger) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Create assertion for
AtomicInteger
. - assertThat(AtomicInteger) - Method in interface org.assertj.core.api.WithAssertions
-
Create assertion for
AtomicInteger
. - assertThat(AtomicIntegerArray) - Static method in class org.assertj.core.api.Assertions
-
Create int[] assertion for
AtomicIntegerArray
. - assertThat(AtomicIntegerArray) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Create int[] assertion for
AtomicIntegerArray
. - assertThat(AtomicIntegerArray) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Create assertion for
AtomicIntegerArray
. - assertThat(AtomicIntegerArray) - Method in interface org.assertj.core.api.WithAssertions
-
Create int[] assertion for
AtomicIntegerArray
. - assertThat(AtomicIntegerFieldUpdater<OBJECT>) - Static method in class org.assertj.core.api.Assertions
-
Create assertion for
AtomicIntegerFieldUpdater
. - assertThat(AtomicIntegerFieldUpdater<OBJECT>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Create assertion for
AtomicIntegerFieldUpdater
. - assertThat(AtomicIntegerFieldUpdater<OBJECT>) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Create assertion for
AtomicIntegerFieldUpdater
. - assertThat(AtomicIntegerFieldUpdater<OBJECT>) - Method in interface org.assertj.core.api.WithAssertions
-
Create assertion for
AtomicIntegerFieldUpdater
. - assertThat(AtomicLong) - Static method in class org.assertj.core.api.Assertions
-
Create assertion for
AtomicLong
. - assertThat(AtomicLong) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Create assertion for
AtomicLong
. - assertThat(AtomicLong) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Create assertion for
AtomicLong
. - assertThat(AtomicLong) - Method in interface org.assertj.core.api.WithAssertions
-
Create assertion for
AtomicLong
. - assertThat(AtomicLongArray) - Static method in class org.assertj.core.api.Assertions
-
Create assertion for
AtomicLongArray
. - assertThat(AtomicLongArray) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Create assertion for
AtomicLongArray
. - assertThat(AtomicLongArray) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Create assertion for
AtomicLongArray
. - assertThat(AtomicLongArray) - Method in interface org.assertj.core.api.WithAssertions
-
Create assertion for
AtomicLongArray
. - assertThat(AtomicLongFieldUpdater<OBJECT>) - Static method in class org.assertj.core.api.Assertions
-
Create assertion for
AtomicLongFieldUpdater
. - assertThat(AtomicLongFieldUpdater<OBJECT>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Create assertion for
AtomicLongFieldUpdater
. - assertThat(AtomicLongFieldUpdater<OBJECT>) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Create assertion for
AtomicLongFieldUpdater
. - assertThat(AtomicLongFieldUpdater<OBJECT>) - Method in interface org.assertj.core.api.WithAssertions
-
Create assertion for
AtomicLongFieldUpdater
. - assertThat(AtomicMarkableReference<VALUE>) - Static method in class org.assertj.core.api.Assertions
-
Create assertion for
AtomicMarkableReference
. - assertThat(AtomicMarkableReference<VALUE>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Create assertion for
AtomicMarkableReference
. - assertThat(AtomicMarkableReference<VALUE>) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Create assertion for
AtomicMarkableReference
. - assertThat(AtomicMarkableReference<VALUE>) - Method in interface org.assertj.core.api.WithAssertions
-
Create assertion for
AtomicMarkableReference
. - assertThat(AtomicReference<VALUE>) - Static method in class org.assertj.core.api.Assertions
-
Create assertion for
AtomicReference
. - assertThat(AtomicReference<VALUE>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Create assertion for
AtomicReference
. - assertThat(AtomicReference<VALUE>) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Create assertion for
AtomicReference
. - assertThat(AtomicReference<VALUE>) - Method in interface org.assertj.core.api.WithAssertions
-
Create assertion for
AtomicReference
. - assertThat(AtomicReferenceArray<ELEMENT>) - Static method in class org.assertj.core.api.Assertions
-
Create assertion for
AtomicReferenceArray
. - assertThat(AtomicReferenceArray<ELEMENT>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Create assertion for
AtomicReferenceArray
. - assertThat(AtomicReferenceArray<ELEMENT>) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Create assertion for
AtomicReferenceArray
. - assertThat(AtomicReferenceArray<ELEMENT>) - Method in interface org.assertj.core.api.WithAssertions
-
Create assertion for
AtomicReferenceArray
. - assertThat(AtomicReferenceFieldUpdater<OBJECT, FIELD>) - Static method in class org.assertj.core.api.Assertions
-
Create assertion for
AtomicReferenceFieldUpdater
. - assertThat(AtomicReferenceFieldUpdater<OBJECT, FIELD>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Create assertion for
AtomicReferenceFieldUpdater
. - assertThat(AtomicReferenceFieldUpdater<OBJECT, FIELD>) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Create assertion for
AtomicReferenceFieldUpdater
. - assertThat(AtomicReferenceFieldUpdater<OBJECT, FIELD>) - Method in interface org.assertj.core.api.WithAssertions
-
Create assertion for
AtomicReferenceFieldUpdater
. - assertThat(AtomicStampedReference<VALUE>) - Static method in class org.assertj.core.api.Assertions
-
Create assertion for
AtomicStampedReference
. - assertThat(AtomicStampedReference<VALUE>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Create assertion for
AtomicStampedReference
. - assertThat(AtomicStampedReference<VALUE>) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Create assertion for
AtomicStampedReference
. - assertThat(AtomicStampedReference<VALUE>) - Method in interface org.assertj.core.api.WithAssertions
-
Create assertion for
AtomicStampedReference
. - assertThat(LongAdder) - Static method in class org.assertj.core.api.Assertions
-
Create assertion for
LongAdder
. - assertThat(LongAdder) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Create assertion for
LongAdder
. - assertThat(LongAdder) - Method in interface org.assertj.core.api.WithAssertions
-
Create assertion for
LongAdder
. - assertThat(CompletableFuture<RESULT>) - Static method in class org.assertj.core.api.Assertions
-
Create assertion for
CompletableFuture
. - assertThat(CompletableFuture<RESULT>) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Create assertion for
CompletableFuture
. - assertThat(CompletableFuture<RESULT>) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Create assertion for
CompletableFuture
. - assertThat(CompletableFuture<RESULT>) - Method in interface org.assertj.core.api.WithAssertions
-
Create assertion for
CompletableFuture
. - assertThat(CompletionStage<RESULT>) - Static method in class org.assertj.core.api.Assertions
-
Create assertion for
CompletionStage
by converting it to aCompletableFuture
and returning aCompletableFutureAssert
. - assertThat(CompletionStage<RESULT>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Create assertion for
CompletionStage
by converting it to aCompletableFuture
and returning aCompletableFutureAssert
. - assertThat(CompletionStage<RESULT>) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Create assertion for
CompletionStage
by converting it to aCompletableFuture
and returning aCompletableFutureAssert
. - assertThat(CompletionStage<RESULT>) - Method in interface org.assertj.core.api.WithAssertions
-
Create assertion for
CompletionStage
by converting it to aCompletableFuture
and returning aCompletableFutureAssert
. - assertThat(Future<RESULT>) - Static method in class org.assertj.core.api.Assertions
-
Create assertion for
Future
. - assertThat(Future<RESULT>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Create assertion for
Future
. - assertThat(Future<RESULT>) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.FutureAssert
- assertThat(Future<RESULT>) - Method in interface org.assertj.core.api.WithAssertions
-
Create assertion for
Future
. - assertThat(Date) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.DateAssert
- assertThat(Date) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.DateAssert
- assertThat(Date) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.DateAssert
- assertThat(Date) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.DateAssert
- assertThat(Date) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.DateAssert
- assertThat(DoublePredicate) - Static method in class org.assertj.core.api.Assertions
-
Create assertion for
DoublePredicate
. - assertThat(DoublePredicate) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Create assertion for
DoublePredicate
. - assertThat(DoublePredicate) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Create assertion for
DoublePredicate
. - assertThat(DoublePredicate) - Method in interface org.assertj.core.api.WithAssertions
-
Create assertion for
DoublePredicate
. - assertThat(IntPredicate) - Static method in class org.assertj.core.api.Assertions
-
Create assertion for
IntPredicate
. - assertThat(IntPredicate) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Create assertion for
IntPredicate
. - assertThat(IntPredicate) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Create assertion for
IntPredicate
. - assertThat(IntPredicate) - Method in interface org.assertj.core.api.WithAssertions
-
Create assertion for
IntPredicate
. - assertThat(LongPredicate) - Static method in class org.assertj.core.api.Assertions
-
Create assertion for
LongPredicate
. - assertThat(LongPredicate) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Create assertion for
LongPredicate
. - assertThat(LongPredicate) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Create assertion for
DoublePredicate
. - assertThat(LongPredicate) - Method in interface org.assertj.core.api.WithAssertions
-
Create assertion for
LongPredicate
. - assertThat(Predicate<T>) - Static method in class org.assertj.core.api.Assertions
-
Create assertion for
Predicate
. - assertThat(Predicate<T>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Create assertion for
Predicate
. - assertThat(Predicate<T>) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Create assertion for
Predicate
. - assertThat(Predicate<T>) - Method in interface org.assertj.core.api.WithAssertions
-
Create assertion for
Predicate
. - assertThat(Iterator<? extends ELEMENT>) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.IteratorAssert
- assertThat(Iterator<? extends ELEMENT>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Creates a new instance of
.IteratorAssert
- assertThat(Iterator<? extends T>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.IteratorAssert
- assertThat(Iterator<? extends T>) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.IteratorAssert
- assertThat(Iterator<? extends T>) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.IteratorAssert
- assertThat(List<? extends ELEMENT>) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.ListAssert
- assertThat(List<? extends ELEMENT>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Creates a new instance of
.ListAssert
- assertThat(List<? extends ELEMENT>, Class<ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
allowing to navigate to anyClassBasedNavigableListAssert
List
element in order to perform assertions on it. - assertThat(List<? extends ELEMENT>, Class<ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
- assertThat(List<? extends ELEMENT>, Class<ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.ClassBasedNavigableListAssert
- assertThat(List<? extends ELEMENT>, Class<ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
allowing to navigate to anyClassBasedNavigableListAssert
List
element in order to perform assertions on it. - assertThat(List<? extends ELEMENT>, Class<ELEMENT_ASSERT>) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
allowing to navigate to anyClassBasedNavigableListAssert
List
element in order to perform assertions on it. - assertThat(List<? extends ELEMENT>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
allowing to navigate to anyFactoryBasedNavigableListAssert
List
element in order to perform assertions on it. - assertThat(List<? extends ELEMENT>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
- assertThat(List<? extends ELEMENT>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.FactoryBasedNavigableListAssert
- assertThat(List<? extends ELEMENT>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
allowing to navigate to anyFactoryBasedNavigableListAssert
List
element in order to perform assertions on it. - assertThat(List<? extends ELEMENT>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
allowing to navigate to anyFactoryBasedNavigableListAssert
List
element in order to perform assertions on it. - assertThat(List<? extends T>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.ListAssert
- assertThat(List<? extends T>) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.ListAssert
- assertThat(List<? extends T>) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.ListAssert
- assertThat(Map<K, V>) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.MapAssert
- assertThat(Map<K, V>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Creates a new instance of
.MapAssert
- assertThat(Map<K, V>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.MapAssert
- assertThat(Map<K, V>) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.MapAssert
- assertThat(Map<K, V>) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.MapAssert
- assertThat(Optional<VALUE>) - Static method in class org.assertj.core.api.Assertions
-
Create assertion for
Optional
. - assertThat(Optional<VALUE>) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Create assertion for
Optional
. - assertThat(Optional<VALUE>) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Create assertion for
Optional
. - assertThat(Optional<VALUE>) - Method in interface org.assertj.core.api.WithAssertions
-
Create assertion for
Optional
. - assertThat(OptionalDouble) - Static method in class org.assertj.core.api.Assertions
-
Create assertion for
OptionalDouble
. - assertThat(OptionalDouble) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Create assertion for
OptionalDouble
. - assertThat(OptionalDouble) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Create assertion for
OptionalDouble
. - assertThat(OptionalDouble) - Method in interface org.assertj.core.api.WithAssertions
-
Create assertion for
OptionalDouble
. - assertThat(OptionalInt) - Static method in class org.assertj.core.api.Assertions
-
Create assertion for
OptionalInt
. - assertThat(OptionalInt) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Create assertion for
OptionalInt
. - assertThat(OptionalInt) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Create assertion for
OptionalInt
. - assertThat(OptionalInt) - Method in interface org.assertj.core.api.WithAssertions
-
Create assertion for
OptionalInt
. - assertThat(OptionalLong) - Static method in class org.assertj.core.api.Assertions
-
Create assertion for
OptionalInt
. - assertThat(OptionalLong) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Create assertion for
OptionalInt
. - assertThat(OptionalLong) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Create assertion for
OptionalLong
. - assertThat(OptionalLong) - Method in interface org.assertj.core.api.WithAssertions
-
Create assertion for
OptionalLong
. - assertThat(Matcher) - Static method in class org.assertj.core.api.Assertions
-
Create assertion for
Matcher
. - assertThat(Matcher) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Create assertion for
Matcher
- assertThat(Matcher) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Create assertion for
Matcher
- assertThat(Matcher) - Method in interface org.assertj.core.api.WithAssertions
-
Create assertion for
Matcher
- assertThat(Spliterator<ELEMENT>) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
from the givenSpliteratorAssert
Spliterator
. - assertThat(Spliterator<ELEMENT>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Create assertion for
SpliteratorAssert
. - assertThat(Spliterator<ELEMENT>) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Creates a new instance of
from the givenSpliteratorAssert
Spliterator
. - assertThat(Spliterator<ELEMENT>) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.SpliteratorAssert
- assertThat(DoubleStream) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
from the givenListAssert
DoubleStream
. - assertThat(DoubleStream) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Creates a new instance of
from the givenListAssert
DoubleStream
. - assertThat(DoubleStream) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Creates a new instance of
from the givenListAssert
DoubleStream
. - assertThat(DoubleStream) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
from the givenListAssert
DoubleStream
. - assertThat(IntStream) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
from the givenListAssert
IntStream
. - assertThat(IntStream) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Creates a new instance of
from the givenListAssert
IntStream
. - assertThat(IntStream) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Creates a new instance of
from the givenListAssert
IntStream
. - assertThat(IntStream) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
from the givenListAssert
IntStream
. - assertThat(LongStream) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
from the givenListAssert
LongStream
. - assertThat(LongStream) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Creates a new instance of
from the givenListAssert
LongStream
. - assertThat(LongStream) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Creates a new instance of
from the givenListAssert
LongStream
. - assertThat(LongStream) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
from the givenListAssert
LongStream
. - assertThat(Stream<? extends ELEMENT>) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
from the givenListAssert
Stream
. - assertThat(Stream<? extends ELEMENT>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Creates a new instance of
from the givenListAssert
Stream
. - assertThat(Stream<? extends ELEMENT>) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Creates a new instance of
from the givenListAssert
Stream
. - assertThat(Stream<? extends ELEMENT>) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
from the givenListAssert
Stream
. - assertThat(AssertProvider<T>) - Static method in class org.assertj.core.api.Assertions
-
Delegates the creation of the
Assert
to theAssertProvider.assertThat()
of the given component. - assertThat(AssertProvider<T>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Delegates the creation of the
Assert
to theAssertProvider.assertThat()
of the given component. - assertThat(AssertProvider<T>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Delegates the creation of the
Assert
to theAssertProvider.assertThat()
of the given component. - assertThat(AssertProvider<T>) - Method in interface org.assertj.core.api.WithAssertions
-
Delegates the creation of the
Assert
to theAssertProvider.assertThat()
of the given component. - assertThat(T) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.ObjectAssert
- assertThat(T) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.ObjectAssert
- assertThat(T) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Creates a new instance of
with standard comparison semantics.GenericComparableAssert
- assertThat(T) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
with standard comparison semantics.GenericComparableAssert
- assertThat(T) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
with standard comparison semantics.GenericComparableAssert
- assertThat(T) - Method in interface org.assertj.core.api.WithAssertions
-
Returns the given assertion.
- assertThat(T[]) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.ObjectArrayAssert
- assertThat(T[]) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.ObjectArrayAssert
- assertThat(T[]) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.ObjectArrayAssert
- assertThat(T[]) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.ObjectArrayAssert
- assertThat(T[]) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.ObjectArrayAssert
- assertThat(T[][]) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.Object2DArrayAssert
- assertThat(T[][]) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.Object2DArrayAssert
- assertThat(T[][]) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.Object2DArrayAssert
- assertThat(T[][]) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.Object2DArrayAssert
- assertThat(T[][]) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.Object2DArrayAssert
- assertThatCharSequence(CharSequence) - Static method in class org.assertj.core.api.CharSequenceAssert
- assertThatCode(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.Assertions
-
Allows to capture and then assert on a
Throwable
(easier done with lambdas). - assertThatCode(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Allows to capture and then assert on a
Throwable
more easily when used with Java 8 lambdas. - assertThatCode(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Allows to capture and then assert on a
Throwable
. - assertThatCode(ThrowableAssert.ThrowingCallable) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Allows to capture and then assert on a
Throwable
more easily when used with Java 8 lambdas. - assertThatCode(ThrowableAssert.ThrowingCallable) - Method in interface org.assertj.core.api.WithAssertions
-
Allows to capture and then assert on a
Throwable
more easily when used with Java 8 lambdas. - assertThatCollection(Collection<? extends E>) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.CollectionAssert
- assertThatCollection(Collection<? extends E>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Creates a new instance of
.CollectionAssert
- assertThatCollection(Collection<? extends E>) - Static method in class org.assertj.core.api.CollectionAssert
- assertThatCollection(Collection<? extends E>) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.CollectionAssert
- assertThatCollection(Collection<? extends T>) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.CollectionAssert
- assertThatComparable(Comparable<T>) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
with standard comparison semantics.UniversalComparableAssert
- assertThatComparable(Comparable<T>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Creates a new instance of
with standard comparison semantics.UniversalComparableAssert
- assertThatComparable(Comparable<T>) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
with standard comparison semantics.UniversalComparableAssert
- assertThatComparable(Comparable<T>) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
with standard comparison semantics.UniversalComparableAssert
- assertThatCompletionStage(CompletionStage<RESULT>) - Static method in class org.assertj.core.api.CompletableFutureAssert
- assertThatDoublePredicate(DoublePredicate) - Static method in class org.assertj.core.api.DoublePredicateAssert
- assertThatDoubleStream(DoubleStream) - Static method in class org.assertj.core.api.ListAssert
- assertThatException() - Static method in class org.assertj.core.api.Assertions
-
Alias for
Assertions.assertThatExceptionOfType(Class)
forException
. - assertThatException() - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
- assertThatException() - Method in interface org.assertj.core.api.WithAssertions
-
Alias for
WithAssertions.assertThatExceptionOfType(Class)
forException
. - assertThatExceptionOfType(Class<? extends T>) - Static method in class org.assertj.core.api.Assertions
-
Entry point to check that an exception of type T is thrown by a given
throwingCallable
which allows to chain assertions on the thrown exception. - assertThatExceptionOfType(Class<? extends T>) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Entry point to check that an exception of type T is thrown by a given
throwingCallable
which allows to chain assertions on the thrown exception. - assertThatExceptionOfType(Class<? extends T>) - Method in interface org.assertj.core.api.WithAssertions
-
Entry point to check that an exception of type T is thrown by a given
throwingCallable
which allows to chain assertions on the thrown exception. - assertThatExceptionOfType(Class<T>) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Entry point to check that an exception of type T is thrown by a given
throwingCallable
which allows to chain assertions on the thrown exception. - assertThatIllegalArgumentException() - Static method in class org.assertj.core.api.Assertions
- assertThatIllegalArgumentException() - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
- assertThatIllegalArgumentException() - Method in interface org.assertj.core.api.WithAssertions
- assertThatIllegalStateException() - Static method in class org.assertj.core.api.Assertions
-
Alias for
Assertions.assertThatExceptionOfType(Class)
forIllegalStateException
. - assertThatIllegalStateException() - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
- assertThatIllegalStateException() - Method in interface org.assertj.core.api.WithAssertions
- assertThatIndexOutOfBoundsException() - Static method in class org.assertj.core.api.Assertions
- assertThatIndexOutOfBoundsException() - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
- assertThatIndexOutOfBoundsException() - Method in interface org.assertj.core.api.WithAssertions
- assertThatIntPredicate(IntPredicate) - Static method in class org.assertj.core.api.IntPredicateAssert
- assertThatIntStream(IntStream) - Static method in class org.assertj.core.api.ListAssert
- assertThatIOException() - Static method in class org.assertj.core.api.Assertions
-
Alias for
Assertions.assertThatExceptionOfType(Class)
forIOException
. - assertThatIOException() - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
- assertThatIOException() - Method in interface org.assertj.core.api.WithAssertions
-
Alias for
WithAssertions.assertThatExceptionOfType(Class)
forIOException
. - assertThatIterable(Iterable<? extends ELEMENT>) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.IterableAssert
- assertThatIterable(Iterable<? extends ELEMENT>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Creates a new instance of
.IterableAssert
- assertThatIterable(Iterable<? extends ELEMENT>) - Static method in class org.assertj.core.api.IterableAssert
- assertThatIterable(Iterable<? extends ELEMENT>) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.IterableAssert
- assertThatIterable(Iterable<? extends ELEMENT>) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.IterableAssert
- assertThatIterator(Iterator<? extends ELEMENT>) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.IteratorAssert
- assertThatIterator(Iterator<? extends ELEMENT>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Creates a new instance of
.IteratorAssert
- assertThatIterator(Iterator<? extends ELEMENT>) - Static method in class org.assertj.core.api.IteratorAssert
- assertThatIterator(Iterator<? extends ELEMENT>) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.IteratorAssert
- assertThatIterator(Iterator<? extends ELEMENT>) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.IteratorAssert
- assertThatList(List<? extends ELEMENT>) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.ListAssert
- assertThatList(List<? extends ELEMENT>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Creates a new instance of
.ListAssert
- assertThatList(List<? extends ELEMENT>) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.ListAssert
- assertThatList(List<? extends ELEMENT>) - Static method in class org.assertj.core.api.ListAssert
- assertThatList(List<? extends ELEMENT>) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.ListAssert
- assertThatLongPredicate(LongPredicate) - Static method in class org.assertj.core.api.LongPredicateAssert
- assertThatLongStream(LongStream) - Static method in class org.assertj.core.api.ListAssert
- assertThatMap(Map<K, V>) - Static method in class org.assertj.core.api.MapAssert
- assertThatNoException() - Static method in class org.assertj.core.api.Assertions
-
Entry point to check that no exception of any type is thrown by a given
throwingCallable
. - assertThatNoException() - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Entry point to check that no exception of any type is thrown by a given
throwingCallable
. - assertThatNoException() - Method in interface org.assertj.core.api.WithAssertions
-
Entry point to check that no exception of any type is thrown by a given
throwingCallable
. - assertThatNullPointerException() - Static method in class org.assertj.core.api.Assertions
-
Alias for
Assertions.assertThatExceptionOfType(Class)
forNullPointerException
. - assertThatNullPointerException() - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
- assertThatNullPointerException() - Method in interface org.assertj.core.api.WithAssertions
- assertThatObject(T) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
for any object.ObjectAssert
- assertThatObject(T) - Method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
for any object.ObjectAssert
- assertThatObject(T) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
for any object.ObjectAssert
- assertThatObject(T) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
for any object.ObjectAssert
- assertThatPath(Path) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
PathAssert
- assertThatPath(Path) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Creates a new instance of
PathAssert
- assertThatPath(Path) - Static method in class org.assertj.core.api.PathAssert
- assertThatPath(Path) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Creates a new, proxied instance of a
PathAssert
- assertThatPath(Path) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
PathAssert
- assertThatPredicate(Predicate<T>) - Static method in class org.assertj.core.api.Assertions
-
Create assertion for
Predicate
. - assertThatPredicate(Predicate<T>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Create assertion for
Predicate
. - assertThatPredicate(Predicate<T>) - Static method in class org.assertj.core.api.PredicateAssert
- assertThatPredicate(Predicate<T>) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Create assertion for
Predicate
. - assertThatPredicate(Predicate<T>) - Method in interface org.assertj.core.api.WithAssertions
-
Create assertion for
Predicate
. - assertThatReflectiveOperationException() - Static method in class org.assertj.core.api.Assertions
- assertThatReflectiveOperationException() - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
- assertThatReflectiveOperationException() - Method in interface org.assertj.core.api.WithAssertions
- assertThatRuntimeException() - Static method in class org.assertj.core.api.Assertions
-
Alias for
Assertions.assertThatExceptionOfType(Class)
forRuntimeException
. - assertThatRuntimeException() - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
- assertThatRuntimeException() - Method in interface org.assertj.core.api.WithAssertions
-
Alias for
WithAssertions.assertThatExceptionOfType(Class)
forRuntimeException
. - assertThatSpliterator(Spliterator<ELEMENT>) - Static method in class org.assertj.core.api.SpliteratorAssert
- assertThatStream(Stream<? extends ELEMENT>) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
from the givenListAssert
Stream
. - assertThatStream(Stream<? extends ELEMENT>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Creates a new instance of
from the givenListAssert
Stream
. - assertThatStream(Stream<? extends ELEMENT>) - Static method in class org.assertj.core.api.ListAssert
- assertThatStream(Stream<? extends ELEMENT>) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Creates a new instance of
from the givenListAssert
Stream
. - assertThatStream(Stream<? extends ELEMENT>) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
from the givenListAssert
Stream
. - assertThatThrownBy(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.Assertions
-
Allows to capture and then assert on a
Throwable
(easier done with lambdas). - assertThatThrownBy(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Allows to capture and then assert on a
Throwable
(easier done with lambdas). - assertThatThrownBy(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Allows to capture and then assert on a
Throwable
more easily when used with Java 8 lambdas. - assertThatThrownBy(ThrowableAssert.ThrowingCallable) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Allows to capture and then assert on a
Throwable
more easily when used with Java 8 lambdas. - assertThatThrownBy(ThrowableAssert.ThrowingCallable) - Method in interface org.assertj.core.api.WithAssertions
-
Allows to capture and then assert on a
Throwable
(easier done with lambdas). - assertThatThrownBy(ThrowableAssert.ThrowingCallable, String, Object...) - Static method in class org.assertj.core.api.Assertions
-
Allows to capture and then assert on a
Throwable
likeassertThatThrownBy(ThrowingCallable)
but this method let you set the assertion description the same way you do withas(String, Object...)
. - assertThatThrownBy(ThrowableAssert.ThrowingCallable, String, Object...) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Allows to capture and then assert on a
Throwable
likeassertThatThrownBy(ThrowingCallable)
but this method let you set the assertion description the same way you do withas(String, Object...)
. - assertThatThrownBy(ThrowableAssert.ThrowingCallable, String, Object...) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Allows to capture and then assert on a
Throwable
likeassertThatThrownBy(ThrowingCallable)
but this method let you set the assertion description the same way you do withas(String, Object...)
. - assertThatThrownBy(ThrowableAssert.ThrowingCallable, String, Object...) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Allows to capture and then assert on a
Throwable
likeassertThatThrownBy(ThrowingCallable)
but this method let you set the assertion description the same way you do withas(String, Object...)
. - assertThatThrownBy(ThrowableAssert.ThrowingCallable, String, Object...) - Method in interface org.assertj.core.api.WithAssertions
-
Allows to capture and then assert on a
Throwable
likeassertThatThrownBy(ThrowingCallable)
but this method let you set the assertion description the same way you do withas(String, Object...)
. - assertWith(T, Consumer<T>...) - Static method in class org.assertj.core.api.Assertions
-
Uses the given instance as the instance under test for all the assertions expressed as the passed
Consumer
. - assertWith(T, Consumer<T>...) - Method in interface org.assertj.core.api.WithAssertions
-
Uses the given instance as the instance under test for all the assertions expressed as the passed
Consumer
. - asString() - Method in class org.assertj.core.api.AbstractAssert
-
Returns a String assertion for the
toString()
of the actual value, to allow chaining of String-specific assertions from this call. - asString() - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Converts the actual byte[] under test to a String and returns assertions for the computed String allowing String specific assertions from this call.
- asString() - Method in interface org.assertj.core.api.Assert
-
Returns a String assertion for the
toString()
of the actual value, to allow chaining of String-specific assertions from this call. - asString(Charset) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Converts the actual byte[] under test to a String by decoding the specified bytes using the given charset and returns assertions for the computed String allowing String specific assertions from this call.
- asString(Charset) - Method in class org.assertj.core.api.AbstractInputStreamAssert
-
Converts the content of the actual
InputStream
to aString
by decoding its bytes using the given charset and returns assertions for the computed String allowing String specific assertions from this call. - assumeThat(boolean) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.BooleanAssert
- assumeThat(boolean) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.BooleanAssert
- assumeThat(boolean[]) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.BooleanArrayAssert
- assumeThat(boolean[]) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.BooleanArrayAssert
- assumeThat(boolean[][]) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.Boolean2DArrayAssert
- assumeThat(boolean[][]) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.Boolean2DArrayAssert
- assumeThat(byte) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.ByteAssert
- assumeThat(byte) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.ByteAssert
- assumeThat(byte[]) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.ByteArrayAssert
- assumeThat(byte[]) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.ByteArrayAssert
- assumeThat(byte[][]) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.Byte2DArrayAssert
- assumeThat(byte[][]) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.Byte2DArrayAssert
- assumeThat(char) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.CharacterAssert
- assumeThat(char) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.CharacterAssert
- assumeThat(char[]) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.CharArrayAssert
- assumeThat(char[]) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.CharArrayAssert
- assumeThat(char[][]) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.Char2DArrayAssert
- assumeThat(char[][]) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.Char2DArrayAssert
- assumeThat(double) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.DoubleAssert
- assumeThat(double) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.DoubleAssert
- assumeThat(double[]) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.DoubleArrayAssert
- assumeThat(double[]) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.DoubleArrayAssert
- assumeThat(double[][]) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.Double2DArrayAssert
- assumeThat(double[][]) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.Double2DArrayAssert
- assumeThat(float) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.FloatAssert
- assumeThat(float) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.FloatAssert
- assumeThat(float[]) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.FloatArrayAssert
- assumeThat(float[]) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.FloatArrayAssert
- assumeThat(float[][]) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.Float2DArrayAssert
- assumeThat(float[][]) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.Float2DArrayAssert
- assumeThat(int) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.IntegerAssert
- assumeThat(int) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.IntegerAssert
- assumeThat(int[]) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.IntArrayAssert
- assumeThat(int[]) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.IntArrayAssert
- assumeThat(int[][]) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.Int2DArrayAssert
- assumeThat(int[][]) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.Int2DArrayAssert
- assumeThat(long) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.LongAssert
- assumeThat(long) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.LongAssert
- assumeThat(long[]) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.LongArrayAssert
- assumeThat(long[]) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.LongArrayAssert
- assumeThat(long[][]) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.Long2DArrayAssert
- assumeThat(long[][]) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.Long2DArrayAssert
- assumeThat(short) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.ShortAssert
- assumeThat(short) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.ShortAssert
- assumeThat(short[]) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.ShortArrayAssert
- assumeThat(short[]) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.ShortArrayAssert
- assumeThat(short[][]) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.Short2DArrayAssert
- assumeThat(short[][]) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.Short2DArrayAssert
- assumeThat(File) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.FileAssert
- assumeThat(File) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.FileAssert
- assumeThat(InputStream) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.InputStreamAssert
- assumeThat(InputStream) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.InputStreamAssert
- assumeThat(Boolean) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.BooleanAssert
- assumeThat(Boolean) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.BooleanAssert
- assumeThat(Byte) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.ByteAssert
- assumeThat(Byte) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.ByteAssert
- assumeThat(Character) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.CharacterAssert
- assumeThat(Character) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.CharacterAssert
- assumeThat(CharSequence) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.CharSequenceAssert
- assumeThat(CharSequence) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.CharSequenceAssert
- assumeThat(Class<?>) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.ClassAssert
- assumeThat(Class<?>) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.ClassAssert
- assumeThat(Double) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.DoubleAssert
- assumeThat(Double) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.DoubleAssert
- assumeThat(Float) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.FloatAssert
- assumeThat(Float) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.FloatAssert
- assumeThat(Integer) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.IntegerAssert
- assumeThat(Integer) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.IntegerAssert
- assumeThat(Iterable<? extends ELEMENT>) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.IterableAssert
- assumeThat(Iterable<? extends ELEMENT>) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.IterableAssert
- assumeThat(Long) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.LongAssert
- assumeThat(Long) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.LongAssert
- assumeThat(Short) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.ShortAssert
- assumeThat(Short) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.ShortAssert
- assumeThat(String) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.StringAssert
- assumeThat(String) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.StringAssert
- assumeThat(StringBuffer) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption from aCharSequenceAssert
StringBuffer
. - assumeThat(StringBuffer) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption from aCharSequenceAssert
StringBuffer
. - assumeThat(StringBuilder) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption from aCharSequenceAssert
StringBuilder
. - assumeThat(StringBuilder) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption from aCharSequenceAssert
StringBuilder
. - assumeThat(BigDecimal) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.BigDecimalAssert
- assumeThat(BigDecimal) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.BigDecimalAssert
- assumeThat(BigInteger) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.BigIntegerAssert
- assumeThat(BigInteger) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.BigIntegerAssert
- assumeThat(URI) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.UriAssert
- assumeThat(URI) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.UriAssert
- assumeThat(URL) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.UrlAssert
- assumeThat(URL) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.UrlAssert
- assumeThat(Path) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
PathAssert
assumption. - assumeThat(Path) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.PathAssert
- assumeThat(Duration) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
DurationAssert
assumption. - assumeThat(Duration) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.DurationAssert
- assumeThat(Instant) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
InstantAssert
assumption. - assumeThat(Instant) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.InstantAssert
- assumeThat(LocalDate) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
LocalDateAssert
assumption. - assumeThat(LocalDate) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.LocalDateAssert
- assumeThat(LocalDateTime) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
LocalDateTimeAssert
assumption. - assumeThat(LocalDateTime) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.LocalDateTimeAssert
- assumeThat(LocalTime) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
LocalTimeAssert
assumption. - assumeThat(LocalTime) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.LocalTimeAssert
- assumeThat(OffsetDateTime) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
OffsetDateTimeAssert
assumption. - assumeThat(OffsetDateTime) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.OffsetDateTimeAssert
- assumeThat(OffsetTime) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
OffsetTimeAssert
assumption. - assumeThat(OffsetTime) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.OffsetTimeAssert
- assumeThat(Period) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
PeriodAssert
assumption. - assumeThat(Period) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.PeriodAssert
- assumeThat(ZonedDateTime) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
ZonedDateTimeAssert
assumption. - assumeThat(ZonedDateTime) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.ZonedDateTimeAssert
- assumeThat(Collection<? extends E>) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.CollectionAssert
- assumeThat(AtomicBoolean) - Static method in class org.assertj.core.api.Assumptions
-
Create assumption for
AtomicBoolean
. - assumeThat(AtomicBoolean) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.AtomicBooleanAssert
- assumeThat(AtomicInteger) - Static method in class org.assertj.core.api.Assumptions
-
Create assumption for
AtomicInteger
. - assumeThat(AtomicInteger) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.AtomicIntegerAssert
- assumeThat(AtomicIntegerArray) - Static method in class org.assertj.core.api.Assumptions
-
Creates int[] assumption for
AtomicIntegerArray
. - assumeThat(AtomicIntegerArray) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates int[] assumption for
AtomicIntegerArray
. - assumeThat(AtomicIntegerFieldUpdater<OBJECT>) - Static method in class org.assertj.core.api.Assumptions
-
Create assumption for
AtomicIntegerFieldUpdater
. - assumeThat(AtomicIntegerFieldUpdater<OBJECT>) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.AtomicIntegerFieldUpdaterAssert
- assumeThat(AtomicLong) - Static method in class org.assertj.core.api.Assumptions
-
Create assumption for
AtomicLong
. - assumeThat(AtomicLong) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.AtomicLongAssert
- assumeThat(AtomicLongArray) - Static method in class org.assertj.core.api.Assumptions
-
Create assumption for
AtomicLongArray
. - assumeThat(AtomicLongArray) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.AtomicLongArrayAssert
- assumeThat(AtomicLongFieldUpdater<OBJECT>) - Static method in class org.assertj.core.api.Assumptions
-
Create assumption for
AtomicLongFieldUpdater
. - assumeThat(AtomicLongFieldUpdater<OBJECT>) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.AtomicLongFieldUpdaterAssert
- assumeThat(AtomicMarkableReference<VALUE>) - Static method in class org.assertj.core.api.Assumptions
-
Create assumption for
AtomicMarkableReference
. - assumeThat(AtomicMarkableReference<VALUE>) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.AtomicMarkableReferenceAssert
- assumeThat(AtomicReference<VALUE>) - Static method in class org.assertj.core.api.Assumptions
-
Create assumption for
AtomicReference
. - assumeThat(AtomicReference<VALUE>) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.AtomicReferenceAssert
- assumeThat(AtomicReferenceArray<ELEMENT>) - Static method in class org.assertj.core.api.Assumptions
-
Create assumption for
AtomicReferenceArray
. - assumeThat(AtomicReferenceArray<ELEMENT>) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.AtomicReferenceArrayAssert
- assumeThat(AtomicReferenceFieldUpdater<OBJECT, FIELD>) - Static method in class org.assertj.core.api.Assumptions
-
Create assumption for
AtomicReferenceFieldUpdater
. - assumeThat(AtomicReferenceFieldUpdater<OBJECT, FIELD>) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.AtomicReferenceFieldUpdaterAssert
- assumeThat(AtomicStampedReference<VALUE>) - Static method in class org.assertj.core.api.Assumptions
-
Create assumption for
AtomicStampedReference
. - assumeThat(AtomicStampedReference<VALUE>) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.AtomicStampedReferenceAssert
- assumeThat(LongAdder) - Static method in class org.assertj.core.api.Assumptions
-
Create assumption for
LongAdder
. - assumeThat(LongAdder) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.LongAdderAssert
- assumeThat(CompletableFuture<RESULT>) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
CompletableFutureAssert
assumption. - assumeThat(CompletableFuture<RESULT>) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
CompletableFutureAssert
assumption. - assumeThat(CompletionStage<RESULT>) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
CompletableFutureAssert
assumption for aCompletionStage
by converting it to aCompletableFuture
and returning aCompletableFutureAssert
. - assumeThat(CompletionStage<RESULT>) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
CompletableFutureAssert
assumption for aCompletionStage
by converting it to aCompletableFuture
and returning aCompletableFutureAssert
. - assumeThat(Future<RESULT>) - Static method in class org.assertj.core.api.Assumptions
-
Create assertion for
FutureAssert
assumption. - assumeThat(Future<RESULT>) - Method in interface org.assertj.core.api.WithAssumptions
-
Create assertion for
FutureAssert
assumption. - assumeThat(Date) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.DateAssert
- assumeThat(Date) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.DateAssert
- assumeThat(DoublePredicate) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
DoublePredicateAssert
assumption. - assumeThat(DoublePredicate) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
DoublePredicateAssert
assumption. - assumeThat(IntPredicate) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
IntPredicateAssert
assumption. - assumeThat(IntPredicate) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
IntPredicateAssert
assumption. - assumeThat(LongPredicate) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
LongPredicateAssert
assumption. - assumeThat(LongPredicate) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
LongPredicateAssert
assumption. - assumeThat(Predicate<T>) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
PredicateAssert
assumption. - assumeThat(Predicate<T>) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
PredicateAssert
assumption. - assumeThat(Iterator<? extends ELEMENT>) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.IteratorAssert
- assumeThat(Iterator<? extends ELEMENT>) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.IteratorAssert
- assumeThat(List<? extends ELEMENT>) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.ListAssert
- assumeThat(List<? extends ELEMENT>) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.ListAssert
- assumeThat(Map<K, V>) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.MapAssert
- assumeThat(Map<K, V>) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.MapAssert
- assumeThat(Optional<VALUE>) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
OptionalAssert
assumption. - assumeThat(Optional<VALUE>) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
OptionalAssert
assumption. - assumeThat(OptionalDouble) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
OptionalDoubleAssert
assumption. - assumeThat(OptionalDouble) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.OptionalDoubleAssert
- assumeThat(OptionalInt) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
OptionalIntAssert
assumption. - assumeThat(OptionalInt) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.OptionalIntAssert
- assumeThat(OptionalLong) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
OptionalLongAssert
assumption. - assumeThat(OptionalLong) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.OptionalLongAssert
- assumeThat(Matcher) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
MatcherAssert
assumption. - assumeThat(Matcher) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.MatcherAssert
- assumeThat(Spliterator<ELEMENT>) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption from the givenSpliteratorAssert
Spliterator
. - assumeThat(Spliterator<ELEMENT>) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.SpliteratorAssert
- assumeThat(DoubleStream) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption from the givenListAssert
DoubleStream
. - assumeThat(DoubleStream) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption from the givenListAssert
DoubleStream
. - assumeThat(IntStream) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption from the givenListAssert
IntStream
. - assumeThat(IntStream) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption from the givenListAssert
IntStream
. - assumeThat(LongStream) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption from the givenListAssert
LongStream
. - assumeThat(LongStream) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption from the givenListAssert
LongStream
. - assumeThat(Stream<? extends ELEMENT>) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption from the givenListAssert
Stream
. - assumeThat(Stream<? extends ELEMENT>) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption from the givenListAssert
Stream
. - assumeThat(T) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.ObjectAssert
- assumeThat(T) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.ObjectAssert
- assumeThat(T[]) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.ObjectArrayAssert
- assumeThat(T[]) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.ObjectArrayAssert
- assumeThat(T[][]) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.Object2DArrayAssert
- assumeThat(T[][]) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.Object2DArrayAssert
- assumeThatCode(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.Assumptions
-
Allows to capture and then assume on a
Throwable
(easier done with lambdas). - assumeThatCode(ThrowableAssert.ThrowingCallable) - Method in interface org.assertj.core.api.WithAssumptions
-
Allows to capture and then assume on a
Throwable
(easier done with lambdas). - assumeThatCollection(Collection<? extends E>) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.CollectionAssert
- assumeThatComparable(Comparable<T>) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.UniversalComparableAssert
- assumeThatException() - Static method in class org.assertj.core.api.Assumptions
-
Alias for
Assumptions.assumeThatExceptionOfType(Class)
forException
. - assumeThatExceptionOfType(Class<? extends T>) - Static method in class org.assertj.core.api.Assumptions
-
Entry point to check that an exception of type T is thrown by a given
throwingCallable
which allows to chain assertions on the thrown exception. - assumeThatIllegalArgumentException() - Static method in class org.assertj.core.api.Assumptions
- assumeThatIndexOutOfBoundsException() - Static method in class org.assertj.core.api.Assumptions
- assumeThatIOException() - Static method in class org.assertj.core.api.Assumptions
-
Alias for
Assumptions.assumeThatExceptionOfType(Class)
forIOException
. - assumeThatIterable(Iterable<? extends ELEMENT>) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.IterableAssert
- assumeThatIterator(Iterator<? extends ELEMENT>) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.IteratorAssert
- assumeThatList(List<? extends ELEMENT>) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.ListAssert
- assumeThatNullPointerException() - Static method in class org.assertj.core.api.Assumptions
-
Alias for
Assumptions.assumeThatExceptionOfType(Class)
forNullPointerException
. - assumeThatObject(T) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.ObjectAssert
- assumeThatObject(T) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
for any object.ObjectAssert
- assumeThatPath(Path) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.PathAssert
- assumeThatPredicate(Predicate<T>) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.PredicateAssert
- assumeThatReflectiveOperationException() - Static method in class org.assertj.core.api.Assumptions
- assumeThatRuntimeException() - Static method in class org.assertj.core.api.Assumptions
-
Alias for
Assumptions.assumeThatExceptionOfType(Class)
forRuntimeException
. - assumeThatStream(Stream<? extends ELEMENT>) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption from the givenListAssert
Stream
. - assumeThatThrownBy(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.Assumptions
-
Allows to capture and then assume on a
Throwable
(easier done with lambdas). - assumeThatThrownBy(ThrowableAssert.ThrowingCallable) - Method in interface org.assertj.core.api.WithAssumptions
-
Allows to capture and then assume on a
Throwable
(easier done with lambdas). - AssumptionExceptionFactory - Class in org.assertj.core.api
-
Responsible of building the exception to throw for failing assumptions.
- AssumptionExceptionFactory() - Constructor for class org.assertj.core.api.AssumptionExceptionFactory
- Assumptions - Class in org.assertj.core.api
-
Entry point for assumption methods for different types, which allow to skip test execution on failed assumptions.
- Assumptions() - Constructor for class org.assertj.core.api.Assumptions
- 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 useIndex
if you prefer). - atIndex(int) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Only delegate to
Index.atIndex(int)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useIndex
if you prefer). - atIndex(int) - Static method in class org.assertj.core.api.BDDAssertions
-
Only delegate to
Index.atIndex(int)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useIndex
if you prefer). - atIndex(int) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Only delegate to
Index.atIndex(int)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useIndex
if you prefer). - atIndex(int) - Method in interface org.assertj.core.api.WithAssertions
-
Only delegate to
Index.atIndex(int)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useIndex
if you prefer). - atIndex(int) - Static method in class org.assertj.core.data.Index
-
Creates a new
Index
. - ATOMIC_BOOLEAN - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for anAtomicBoolean
. - ATOMIC_INTEGER - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for anAtomicInteger
. - ATOMIC_INTEGER_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- ATOMIC_INTEGER_FIELD_UPDATER - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- ATOMIC_LONG - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for anAtomicLong
. - ATOMIC_LONG_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- ATOMIC_LONG_FIELD_UPDATER - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- ATOMIC_MARKABLE_REFERENCE - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- ATOMIC_REFERENCE - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- ATOMIC_REFERENCE_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- ATOMIC_REFERENCE_FIELD_UPDATER - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for anAtomicReferenceFieldUpdater
, assumingObject
as field and object types. - ATOMIC_STAMPED_REFERENCE - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- AtomicBooleanAssert - Class in org.assertj.core.api
- AtomicBooleanAssert(AtomicBoolean) - Constructor for class org.assertj.core.api.AtomicBooleanAssert
- AtomicIntegerArrayAssert - Class in org.assertj.core.api
- AtomicIntegerArrayAssert(AtomicIntegerArray) - Constructor for class org.assertj.core.api.AtomicIntegerArrayAssert
- AtomicIntegerAssert - Class in org.assertj.core.api
- AtomicIntegerAssert(AtomicInteger) - Constructor for class org.assertj.core.api.AtomicIntegerAssert
- atomicIntegerFieldUpdater(Class<OBJECT>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
- AtomicIntegerFieldUpdaterAssert<OBJECT> - Class in org.assertj.core.api
-
Assertion methods for
AtomicIntegerFieldUpdater
s. - AtomicIntegerFieldUpdaterAssert(AtomicIntegerFieldUpdater<OBJECT>) - Constructor for class org.assertj.core.api.AtomicIntegerFieldUpdaterAssert
- AtomicLongArrayAssert - Class in org.assertj.core.api
- AtomicLongArrayAssert(AtomicLongArray) - Constructor for class org.assertj.core.api.AtomicLongArrayAssert
- AtomicLongAssert - Class in org.assertj.core.api
- AtomicLongAssert(AtomicLong) - Constructor for class org.assertj.core.api.AtomicLongAssert
- atomicLongFieldUpdater(Class<OBJECT>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
- AtomicLongFieldUpdaterAssert<OBJECT> - Class in org.assertj.core.api
-
Assertion methods for
AtomicLongFieldUpdater
s. - AtomicLongFieldUpdaterAssert(AtomicLongFieldUpdater<OBJECT>) - Constructor for class org.assertj.core.api.AtomicLongFieldUpdaterAssert
- atomicMarkableReference(Class<VALUE>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
- AtomicMarkableReferenceAssert<VALUE> - Class in org.assertj.core.api
-
Assertion methods for
AtomicMarkableReference
s. - AtomicMarkableReferenceAssert(AtomicMarkableReference<VALUE>) - Constructor for class org.assertj.core.api.AtomicMarkableReferenceAssert
- atomicReference(Class<VALUE>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
- atomicReferenceArray(Class<ELEMENT>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
- AtomicReferenceArrayAssert<T> - Class in org.assertj.core.api
- AtomicReferenceArrayAssert(AtomicReferenceArray<T>) - Constructor for class org.assertj.core.api.AtomicReferenceArrayAssert
- AtomicReferenceAssert<V> - Class in org.assertj.core.api
- AtomicReferenceAssert(AtomicReference<V>) - Constructor for class org.assertj.core.api.AtomicReferenceAssert
- atomicReferenceFieldUpdater(Class<FIELD>, Class<OBJECT>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
- AtomicReferenceFieldUpdaterAssert<FIELD,
OBJECT> - Class in org.assertj.core.api -
Assertion methods for
AtomicReferenceFieldUpdater
s. - AtomicReferenceFieldUpdaterAssert(AtomicReferenceFieldUpdater<OBJECT, FIELD>) - Constructor for class org.assertj.core.api.AtomicReferenceFieldUpdaterAssert
- atomicStampedReference(Class<VALUE>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
- AtomicStampedReferenceAssert<VALUE> - Class in org.assertj.core.api
-
Assertion methods for
AtomicStampedReference
s. - AtomicStampedReferenceAssert(AtomicStampedReference<VALUE>) - Constructor for class org.assertj.core.api.AtomicStampedReferenceAssert
- AUTO_DETECT - Enum constant in enum org.assertj.core.configuration.PreferredAssumptionException
-
AssertJ will try to build the exception to throw in this order:
org.testng.SkipException
for TestNG (if available in the classpath)org.junit.AssumptionViolatedException
for JUnit 4 (if available in the classpath)org.opentest4j.TestAbortedException
for JUnit 5 If none are available, AssertJ throws anIllegalStateException
. - AutoCloseableBDDSoftAssertions - Class in org.assertj.core.api
-
A version of
BDDSoftAssertions
that uses try-with-resources statement to automatically callAbstractSoftAssertions.assertAll()
so that you don't forget to. - AutoCloseableBDDSoftAssertions() - Constructor for class org.assertj.core.api.AutoCloseableBDDSoftAssertions
- AutoCloseableSoftAssertions - Class in org.assertj.core.api
-
A version of
SoftAssertions
that uses try-with-resources statement to automatically callAbstractSoftAssertions.assertAll()
so that you don't forget to. - AutoCloseableSoftAssertions() - Constructor for class org.assertj.core.api.AutoCloseableSoftAssertions
- AutoCloseableSoftAssertionsProvider - Interface in org.assertj.core.api
-
Parent interface for soft assertion implementations.
B
- BARE_NAME_PROPERTY_EXTRACTION_ENABLED - Static variable in class org.assertj.core.configuration.Configuration
- bareNamePropertyExtractionEnabled() - Method in class org.assertj.core.configuration.Configuration
-
Returns whether the extractor considers bare-named property methods like
String name()
. - BasicErrorMessageFactory - Class in org.assertj.core.error
-
A factory of error messages typically shown when an assertion fails.
- BasicErrorMessageFactory(String, Object...) - Constructor for class org.assertj.core.error.BasicErrorMessageFactory
-
Creates a new
.BasicErrorMessageFactory
- BDDAssertions - Class in org.assertj.core.api
-
Behavior-driven development style entry point for assertion methods for different types.
- BDDAssertions() - Constructor for class org.assertj.core.api.BDDAssertions
-
Creates a new
.BDDAssertions
- BDDAssumptions - Class in org.assertj.core.api
-
Behavior-driven development style entry point for assumption methods for different types, which allow to skip test execution when assumptions are not met.
- BDDSoftAssertions - Class in org.assertj.core.api
-
Suppose we have a test case and in it we'd like to make numerous BDD assertions.
- BDDSoftAssertions() - Constructor for class org.assertj.core.api.BDDSoftAssertions
- BDDSoftAssertionsProvider - Interface in org.assertj.core.api
- beforeEach(ExtensionContext) - Method in class org.assertj.core.api.junit.jupiter.SoftAssertionsExtension
- being(Condition<? super E>) - Method in class org.assertj.core.api.filter.Filters
-
Filter the underlying group, keeping only elements satisfying the given
Condition
.
Same asFilters.having(Condition)
- pick the method you prefer to have the most readable code. - Beta - Annotation Type in org.assertj.core.annotations
-
Signifies that a public API (public class, method or field) is subject to incompatible changes, or even removal, in a future release.
- BIG_DECIMAL - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- BIG_DECIMAL_COMPARATOR - Static variable in class org.assertj.core.util.BigDecimalComparator
-
an instance of
BigDecimalComparator
. - BIG_INTEGER - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- BIG_INTEGER_COMPARATOR - Static variable in class org.assertj.core.util.BigIntegerComparator
-
an instance of
BigIntegerComparator
. - BigDecimalAssert - Class in org.assertj.core.api
-
Assertion methods for
BigDecimal
s. - BigDecimalAssert(BigDecimal) - Constructor for class org.assertj.core.api.BigDecimalAssert
- BigDecimalComparator - Class in org.assertj.core.util
-
A
BigDecimal
Comparator
based onBigDecimal.compareTo(BigDecimal)
.
Is useful if ones wants to use BigDecimal assertions based onBigDecimal.compareTo(BigDecimal)
instead ofBigDecimal.equals(Object)
method. - BigDecimalComparator() - Constructor for class org.assertj.core.util.BigDecimalComparator
- BigDecimalScaleAssert<T> - Class in org.assertj.core.api
- BigDecimalScaleAssert(AbstractBigDecimalAssert<BigDecimalAssert>) - Constructor for class org.assertj.core.api.BigDecimalScaleAssert
- BigIntegerAssert - Class in org.assertj.core.api
-
Assertion methods for
BigInteger
s. - BigIntegerAssert(BigInteger) - Constructor for class org.assertj.core.api.BigIntegerAssert
- BigIntegerComparator - Class in org.assertj.core.util
-
A
BigInteger
Comparator
based onBigInteger.compareTo(BigInteger)
.
Is useful if ones wants to use BigInteger assertions based onBigInteger.compareTo(BigInteger)
instead ofBigInteger.equals(Object)
method. - BigIntegerComparator() - Constructor for class org.assertj.core.util.BigIntegerComparator
- BINARY_REPRESENTATION - Static variable in class org.assertj.core.presentation.BinaryRepresentation
- binaryContent() - Method in class org.assertj.core.api.AbstractFileAssert
-
Returns
ByteArray
assertions on the content of the actualFile
read. - binaryContent() - Method in class org.assertj.core.api.AbstractPathAssert
-
Returns
ByteArray
assertions on the content of the actualPath
read. - BinaryRepresentation - Class in org.assertj.core.presentation
-
Binary object representation instead of standard java representation.
- BinaryRepresentation() - Constructor for class org.assertj.core.presentation.BinaryRepresentation
- BOOLEAN - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- BOOLEAN_2D_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for aboolean
two-dimensional array. - BOOLEAN_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for aboolean
array. - Boolean2DArrayAssert - Class in org.assertj.core.api
-
Assertion methods for two-dimensional arrays of
boolean
s. - Boolean2DArrayAssert(boolean[][]) - Constructor for class org.assertj.core.api.Boolean2DArrayAssert
- boolean2dArrays - Variable in class org.assertj.core.api.Boolean2DArrayAssert
- BooleanArrayAssert - Class in org.assertj.core.api
-
Assertion methods for arrays of
boolean
s. - BooleanArrayAssert(boolean[]) - Constructor for class org.assertj.core.api.BooleanArrayAssert
- BooleanAssert - Class in org.assertj.core.api
-
Assertion methods for
Boolean
s. - BooleanAssert(Boolean) - Constructor for class org.assertj.core.api.BooleanAssert
- BooleanAssert(AtomicBoolean) - Constructor for class org.assertj.core.api.BooleanAssert
- build() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
- builder() - Static method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Creates builder to build
RecursiveComparisonConfiguration
. - buildMappingDescription(FROM, TO) - Method in class org.assertj.core.condition.MappedCondition
-
Build the mapped condition description when applied with the FROM and TO values.
- buildPath(List<T>, List<T>) - Method in class org.assertj.core.util.diff.myers.MyersDiff
-
Computes the minimum diffpath that expresses de differences between the original and revised sequences, according to Gene Myers differencing algorithm.
- buildRevision(PathNode, List<T>, List<T>) - Method in class org.assertj.core.util.diff.myers.MyersDiff
-
Constructs a
Patch
from a difference path. - buildThrowableTypeAssert(T) - Method in class org.assertj.core.api.SoftThrowableTypeAssert
- buildThrowableTypeAssert(T) - Method in class org.assertj.core.api.ThrowableTypeAssert
- buildVerboseDescription(T, boolean) - Method in class org.assertj.core.condition.VerboseCondition
-
Build the verbose condition description when applied with the actual values and the match result.
- byLessThan(long, TemporalUnit) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for
TemporalUnitOffset
with strict less than condition to use withisCloseTo
temporal assertions. - byLessThan(long, TemporalUnit) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for
TemporalUnitOffset
with strict less than condition to use withisCloseTo
temporal assertions. - byLessThan(long, TemporalUnit) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for
TemporalUnitOffset
with strict less than condition to use withisCloseTo
temporal assertions. - byLessThan(Byte) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for Byte
Offset
to use with isCloseTo assertions. - byLessThan(Byte) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for Byte
Offset
to use with isCloseTo assertions. - byLessThan(Byte) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for Byte
Offset
to use with isCloseTo assertions. - byLessThan(Byte) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for Byte
Offset
to use with isCloseTo assertions. - byLessThan(Double) - Static method in class org.assertj.core.api.Assertions
-
Build a
strict Offset
to use withAbstractDoubleAssert.isCloseTo(double, Offset)
andAbstractDoubleAssert.isNotCloseTo(double, Offset)
assertions. - byLessThan(Double) - Static method in class org.assertj.core.api.BDDAssertions
-
Build a
strict Offset
to use withAbstractDoubleAssert.isCloseTo(double, Offset)
andAbstractDoubleAssert.isNotCloseTo(double, Offset)
assertions. - byLessThan(Double) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Alias for
Java6Assertions.offset(Double)
to use with isCloseTo assertions. - byLessThan(Double) - Method in interface org.assertj.core.api.WithAssertions
-
Alias for
WithAssertions.offset(Double)
to use with isCloseTo assertions. - byLessThan(Float) - Static method in class org.assertj.core.api.Assertions
-
Alias for
Assertions.offset(Float)
to use with isCloseTo assertions. - byLessThan(Float) - Static method in class org.assertj.core.api.BDDAssertions
-
Alias for
Assertions.offset(Float)
to use with isCloseTo assertions. - byLessThan(Float) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Alias for
Java6Assertions.offset(Float)
to use with isCloseTo assertions. - byLessThan(Float) - Method in interface org.assertj.core.api.WithAssertions
-
Alias for
WithAssertions.offset(Float)
to use with isCloseTo assertions. - byLessThan(Integer) - Static method in class org.assertj.core.api.Assertions
- byLessThan(Integer) - Static method in class org.assertj.core.api.BDDAssertions
- byLessThan(Integer) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for Integer
Offset
to use with isCloseTo assertions. - byLessThan(Integer) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for Integer
Offset
to use with isCloseTo assertions. - byLessThan(Long) - Static method in class org.assertj.core.api.Assertions
- byLessThan(Long) - Static method in class org.assertj.core.api.BDDAssertions
- byLessThan(Long) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for Long
Offset
to use with isCloseTo assertions. - byLessThan(Long) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for Long
Offset
to use with isCloseTo assertions. - byLessThan(Short) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for Short
Offset
to use with isCloseTo assertions. - byLessThan(Short) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for Short
Offset
to use with isCloseTo assertions. - byLessThan(Short) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for Short
Offset
to use with isCloseTo assertions. - byLessThan(Short) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for Short
Offset
to use with isCloseTo assertions. - byLessThan(BigDecimal) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for BigDecimal
Offset
to use with isCloseTo assertions. - byLessThan(BigDecimal) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for BigDecimal
Offset
to use with isCloseTo assertions. - byLessThan(BigDecimal) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for BigDecimal
Offset
to use with isCloseTo assertions. - byLessThan(BigDecimal) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for BigDecimal
Offset
to use with isCloseTo assertions. - byLessThan(BigInteger) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for BigInteger
Offset
to use with isCloseTo assertions. - byLessThan(BigInteger) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for BigInteger
Offset
to use with isCloseTo assertions. - byLessThan(BigInteger) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for BigInteger
Offset
to use with isCloseTo assertions. - byLessThan(BigInteger) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for BigInteger
Offset
to use with isCloseTo assertions. - byName(String) - Static method in class org.assertj.core.extractor.Extractors
-
Provides extractor for extracting single field or property from any object using reflection
- byName(String...) - Static method in class org.assertj.core.extractor.Extractors
-
Provides extractor for extracting multiple fields or properties from any object using reflection
- BYTE - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- BYTE_2D_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for abyte
two-dimensional array. - BYTE_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for abyte
array. - BYTE_PREFIX - Static variable in class org.assertj.core.presentation.BinaryRepresentation
- Byte2DArrayAssert - Class in org.assertj.core.api
-
Assertion methods for two-dimensional arrays of
byte
s. - Byte2DArrayAssert(byte[][]) - Constructor for class org.assertj.core.api.Byte2DArrayAssert
- byte2dArrays - Variable in class org.assertj.core.api.Byte2DArrayAssert
- ByteArrayAssert - Class in org.assertj.core.api
-
Assertion methods for arrays of
byte
s. - ByteArrayAssert(byte[]) - Constructor for class org.assertj.core.api.ByteArrayAssert
- ByteAssert - Class in org.assertj.core.api
-
Assertion methods for
Byte
s. - ByteAssert(Byte) - Constructor for class org.assertj.core.api.ByteAssert
- byteToHexString(byte) - Static method in class org.assertj.core.util.Hexadecimals
C
- call() - Method in interface org.assertj.core.api.ThrowableAssert.ThrowingCallable
- canExtractBareNamePropertyMethods() - Static method in class org.assertj.core.util.introspection.Introspection
- CanIgnoreReturnValue - Annotation Type in org.assertj.core.util
-
Annotation to skip "CheckReturnValue" check.
- 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.
- catchException(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.Assertions
-
Allows catching an instance of
Exception
. - catchException(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.BDDAssertions
-
Allows catching an instance of
Exception
. - catchException(ThrowableAssert.ThrowingCallable) - Method in interface org.assertj.core.api.WithAssertions
-
Allows catching an instance of
Exception
. - catchIllegalArgumentException(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.Assertions
-
Allows catching an instance of
IllegalArgumentException
. - catchIllegalArgumentException(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.BDDAssertions
-
Allows catching an instance of
IllegalArgumentException
. - catchIllegalArgumentException(ThrowableAssert.ThrowingCallable) - Method in interface org.assertj.core.api.WithAssertions
-
Allows catching an instance of
IllegalArgumentException
. - catchIllegalStateException(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.Assertions
-
Allows catching an instance of
IllegalStateException
. - catchIllegalStateException(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.BDDAssertions
-
Allows catching an instance of
IllegalStateException
. - catchIllegalStateException(ThrowableAssert.ThrowingCallable) - Method in interface org.assertj.core.api.WithAssertions
-
Allows catching an instance of
IllegalStateException
. - catchIndexOutOfBoundsException(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.Assertions
-
Allows catching an instance of
IndexOutOfBoundsException
. - catchIndexOutOfBoundsException(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.BDDAssertions
-
Allows catching an instance of
IndexOutOfBoundsException
. - catchIndexOutOfBoundsException(ThrowableAssert.ThrowingCallable) - Method in interface org.assertj.core.api.WithAssertions
-
Allows catching an instance of
IndexOutOfBoundsException
. - catchIOException(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.Assertions
-
Allows catching an instance of
IOException
. - catchIOException(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.BDDAssertions
-
Allows catching an instance of
IOException
. - catchIOException(ThrowableAssert.ThrowingCallable) - Method in interface org.assertj.core.api.WithAssertions
-
Allows catching an instance of
IOException
. - catchNullPointerException(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.Assertions
-
Allows catching an instance of
NullPointerException
. - catchNullPointerException(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.BDDAssertions
-
Allows catching an instance of
NullPointerException
. - catchNullPointerException(ThrowableAssert.ThrowingCallable) - Method in interface org.assertj.core.api.WithAssertions
-
Allows catching an instance of
NullPointerException
. - catchReflectiveOperationException(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.Assertions
-
Allows catching an instance of
ReflectiveOperationException
. - catchReflectiveOperationException(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.BDDAssertions
-
Allows catching an instance of
ReflectiveOperationException
. - catchReflectiveOperationException(ThrowableAssert.ThrowingCallable) - Method in interface org.assertj.core.api.WithAssertions
-
Allows catching an instance of
ReflectiveOperationException
. - catchRuntimeException(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.Assertions
-
Allows catching an instance of
RuntimeException
. - catchRuntimeException(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.BDDAssertions
-
Allows catching an instance of
RuntimeException
. - catchRuntimeException(ThrowableAssert.ThrowingCallable) - Method in interface org.assertj.core.api.WithAssertions
-
Allows catching an instance of
RuntimeException
. - catchThrowable(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.Assertions
-
Allows catching a
Throwable
more easily when used with Java 8 lambdas. - catchThrowable(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Allows catching a
Throwable
more easily when used with Java 8 lambdas. - catchThrowable(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.BDDAssertions
-
Allows catching a
Throwable
more easily when used with Java 8 lambdas. - catchThrowable(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.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
- catchThrowable(ThrowableAssert.ThrowingCallable) - Method in interface org.assertj.core.api.WithAssertions
-
Allows to catch an
Throwable
more easily when used with Java 8 lambdas. - catchThrowableOfType(ThrowableAssert.ThrowingCallable, Class<THROWABLE>) - Static method in class org.assertj.core.api.Assertions
-
Allows catching a
Throwable
of a specific type. - catchThrowableOfType(ThrowableAssert.ThrowingCallable, Class<THROWABLE>) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Allows catching a
Throwable
of a specific type. - catchThrowableOfType(ThrowableAssert.ThrowingCallable, Class<THROWABLE>) - Static method in class org.assertj.core.api.BDDAssertions
-
Allows catching a
Throwable
of a specific type. - catchThrowableOfType(ThrowableAssert.ThrowingCallable, Class<THROWABLE>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Allows catching a
Throwable
of a specific type. - catchThrowableOfType(ThrowableAssert.ThrowingCallable, Class<THROWABLE>) - Static method in class org.assertj.core.api.ThrowableAssert
- catchThrowableOfType(ThrowableAssert.ThrowingCallable, Class<THROWABLE>) - Method in interface org.assertj.core.api.WithAssertions
-
Allows catching a
Throwable
of a specific type. - cause() - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Returns a new assertion object that uses the cause of the current Throwable as the actual Throwable under test.
- CHANGE - Enum constant in enum org.assertj.core.util.diff.Delta.TYPE
-
A change in the original.
- ChangeDelta<T> - Class in org.assertj.core.util.diff
-
Initially copied from https://code.google.com/p/java-diff-utils/.
- ChangeDelta(Chunk<T>, Chunk<T>) - Constructor for class org.assertj.core.util.diff.ChangeDelta
-
Creates a change delta with the two given chunks.
- CHAR_2D_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for achar
two-dimensional array. - CHAR_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for achar
array. - CHAR_SEQUENCE - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- Char2DArrayAssert - Class in org.assertj.core.api
-
Assertion methods for two-dimensional arrays of
char
s. - Char2DArrayAssert(char[][]) - Constructor for class org.assertj.core.api.Char2DArrayAssert
- char2dArrays - Variable in class org.assertj.core.api.Char2DArrayAssert
- CHARACTER - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- CharacterAssert - Class in org.assertj.core.api
-
Assertion methods for
Character
s. - CharacterAssert(char) - Constructor for class org.assertj.core.api.CharacterAssert
- CharacterAssert(Character) - Constructor for class org.assertj.core.api.CharacterAssert
- CharArrayAssert - Class in org.assertj.core.api
-
Assertion methods for arrays of
char
s. - CharArrayAssert(char[]) - Constructor for class org.assertj.core.api.CharArrayAssert
- CharSequenceAssert - Class in org.assertj.core.api
-
Assertion methods for
CharSequence
s. - CharSequenceAssert(CharSequence) - Constructor for class org.assertj.core.api.CharSequenceAssert
- check(SoftAssertionsProvider.ThrowingRunnable) - Method in interface org.assertj.core.api.SoftAssertionsProvider
-
Catch and collect assertion errors coming from standard and custom assertions.
- checkArgument(boolean, String, Object...) - Static method in class org.assertj.core.util.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkNotNull(FilterOperator<T>) - Static method in class org.assertj.core.util.Preconditions
-
Verifies that the given
FilterOperator
reference is notnull
. - checkNotNull(T) - Static method in class org.assertj.core.util.Preconditions
-
Deprecated.use
Objects.requireNonNull(Object)
instead. - checkNotNull(T, String) - Static method in class org.assertj.core.util.Preconditions
-
Deprecated.use
Objects.requireNonNull(Object, String)
instead. - checkNotNullOrEmpty(CharSequence) - Static method in class org.assertj.core.util.Preconditions
-
Verifies that the given
CharSequence
is notnull
or empty. - checkNotNullOrEmpty(CharSequence, String) - Static method in class org.assertj.core.util.Preconditions
-
Verifies that the given
CharSequence
is notnull
or empty. - checkNotNullOrEmpty(T[]) - Static method in class org.assertj.core.util.Preconditions
-
Verifies that the given array is not
null
or empty. - CheckReturnValue - Annotation Type in org.assertj.core.util
-
Findbugs handles any annotation with name "CheckReturnValue" in return value check.
- checkState(boolean, String, Object...) - Static method in class org.assertj.core.util.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- Chunk<T> - Class in org.assertj.core.util.diff
-
Copy from https://code.google.com/p/java-diff-utils/.
- Chunk(int, List<T>) - Constructor for class org.assertj.core.util.diff.Chunk
-
Creates a chunk and saves a copy of affected lines
- CLASS - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for aClass
. - ClassAssert - Class in org.assertj.core.api
-
Assertion methods for
Class
es. - ClassAssert(Class<?>) - Constructor for class org.assertj.core.api.ClassAssert
- ClassBasedNavigableIterableAssert<SELF extends ClassBasedNavigableIterableAssert<SELF,
ACTUAL, ELEMENT, ELEMENT_ASSERT>, ACTUAL extends Iterable<? extends ELEMENT>, ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> - Class in org.assertj.core.api -
Build the Assert instance by reflection.
- ClassBasedNavigableIterableAssert(ACTUAL, Class<?>, Class<ELEMENT_ASSERT>) - Constructor for class org.assertj.core.api.ClassBasedNavigableIterableAssert
- ClassBasedNavigableListAssert<SELF extends ClassBasedNavigableListAssert<SELF,
ACTUAL, ELEMENT, ELEMENT_ASSERT>, ACTUAL extends List<? extends ELEMENT>, ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> - Class in org.assertj.core.api -
Build the Assert instance by reflection.
- ClassBasedNavigableListAssert(ACTUAL, Class<ELEMENT_ASSERT>) - Constructor for class org.assertj.core.api.ClassBasedNavigableListAssert
- ClassModifierShouldBe - Class in org.assertj.core.error
-
Error message factory for an assertion which checks that a class has (or has not) a specific modifier.
- ClassNameComparator - Class in org.assertj.core.util
- ClassNameComparator() - Constructor for class org.assertj.core.util.ClassNameComparator
- classNameDisambiguation(Object) - Method in class org.assertj.core.presentation.StandardRepresentation
- ClassUtils - Class in org.assertj.core.util.introspection
- ClassUtils() - Constructor for class org.assertj.core.util.introspection.ClassUtils
- close() - Method in interface org.assertj.core.api.AutoCloseableSoftAssertionsProvider
-
Allows the SoftAssertionsProvider to be used as an
AutoCloseable
by callingSoftAssertionsProvider.assertAll()
. - Closeables - Class in org.assertj.core.util
-
Utility methods related to
Closeable
. - closeQuietly(Closeable...) - Static method in class org.assertj.core.util.Closeables
-
Closes the given
Closeable
s, ignoring any thrown exceptions. - collectAssertionError(AssertionError) - Method in interface org.assertj.core.api.AssertionErrorCollector
-
This method can be used to collect soft assertion errors.
- collectAssertionError(AssertionError) - Method in class org.assertj.core.api.DefaultAssertionErrorCollector
- collection(Class<E>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
- COLLECTION - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- CollectionAssert<ELEMENT> - Class in org.assertj.core.api
-
Assertion methods for
Collection
s. - CollectionAssert(Collection<? extends ELEMENT>) - Constructor for class org.assertj.core.api.CollectionAssert
- comparable(Class<T>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
- ComparableAssert<SELF extends ComparableAssert<SELF,
ACTUAL>, ACTUAL extends Comparable<? super ACTUAL>> - Interface in org.assertj.core.api -
Assertion methods applicable to
s.Comparable
- comparatorByFields() - Method in class org.assertj.core.api.recursive.comparison.FieldComparators
-
Returns a sequence of associated field-comparator pairs.
- comparatorByFields() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- ComparatorFactory - Class in org.assertj.core.api
- ComparatorFactory() - Constructor for class org.assertj.core.api.ComparatorFactory
- compare(Class<?>, Class<?>) - Method in class org.assertj.core.util.ClassNameComparator
- compare(Delta<?>, Delta<?>) - Method in class org.assertj.core.util.diff.DeltaComparator
- compare(T, T) - Method in class org.assertj.core.util.NaturalOrderComparator
- compareNonNull(Double, Double) - Method in class org.assertj.core.util.DoubleComparator
- compareNonNull(Float, Float) - Method in class org.assertj.core.util.FloatComparator
- compareNonNull(T, T) - Method in class org.assertj.core.util.AbstractComparableNumberComparator
- compareNonNull(T, T) - Method in class org.assertj.core.util.NaturalOrderComparator
- compareOnlyFields(String...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Adds the given fields and their subfields to the set of fields from the object under test to compare (no other fields will be compared).
- compareTo(ComparisonDifference) - Method in class org.assertj.core.api.recursive.comparison.ComparisonDifference
- compareTo(FieldLocation) - Method in class org.assertj.core.api.recursive.comparison.FieldLocation
- comparingOnlyFields(String...) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Makes the recursive comparison to only compare given actual fields and their subfields (no other fields will be compared).
- comparingPrivateFieldsEnabled() - Method in class org.assertj.core.configuration.Configuration
-
Returns whether private fields comparison is enabled.
- comparison() - Static method in enum org.assertj.core.util.introspection.FieldSupport
-
Returns the instance dedicated to comparison of fields.
- COMPARISON - Enum constant in enum org.assertj.core.util.introspection.FieldSupport
- COMPARISON - Static variable in class org.assertj.core.util.introspection.PropertyOrFieldSupport
- ComparisonDifference - Class in org.assertj.core.api.recursive.comparison
- ComparisonDifference(DualValue) - Constructor for class org.assertj.core.api.recursive.comparison.ComparisonDifference
- ComparisonDifference(DualValue, String) - Constructor for class org.assertj.core.api.recursive.comparison.ComparisonDifference
- ComparisonDifference(DualValue, String, String) - Constructor for class org.assertj.core.api.recursive.comparison.ComparisonDifference
- ComparisonKeyDifference - Class in org.assertj.core.api.recursive.comparison
- ComparisonKeyDifference(DualValue, Object, Object) - Constructor for class org.assertj.core.api.recursive.comparison.ComparisonKeyDifference
- comparisonStrategy - Variable in class org.assertj.core.error.ShouldBeEqual
- COMPLETABLE_FUTURE - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- completableFuture(Class<RESULT>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
- CompletableFutureAssert<RESULT> - Class in org.assertj.core.api
-
Assertions for
CompletableFuture
. - CompletableFutureAssert(CompletableFuture<RESULT>) - Constructor for class org.assertj.core.api.CompletableFutureAssert
- CompletableFutureAssert(CompletionStage<RESULT>) - Constructor for class org.assertj.core.api.CompletableFutureAssert
- COMPLETION_STAGE - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- completionStage(Class<RESULT>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
- CompositeRepresentation - Class in org.assertj.core.presentation
- CompositeRepresentation(List<Representation>) - Constructor for class org.assertj.core.presentation.CompositeRepresentation
- 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
-
Creates a new
.Condition
- Condition(String) - Constructor for class org.assertj.core.api.Condition
-
Creates a new
.Condition
- Condition(Predicate<T>, String, Object...) - Constructor for class org.assertj.core.api.Condition
- Condition(Description) - Constructor for class org.assertj.core.api.Condition
-
Creates a new
.Condition
- CONDITION_SHOULD_BE_SATISFIED - Static variable in class org.assertj.core.error.ShouldSatisfy
- Condition.Status - Enum in org.assertj.core.api
-
Describes the condition status after being evaluated.
- 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
- conditionDescriptionWithStatus(FROM) - Method in class org.assertj.core.condition.MappedCondition
- conditionDescriptionWithStatus(T) - Method in class org.assertj.core.api.Condition
-
Returns the description of this condition with its status failed or success.
- conditionDescriptionWithStatus(T) - Method in class org.assertj.core.condition.Join
- conditions() - Method in class org.assertj.core.condition.Join
-
Returns the conditions to join.
- configuration() - Method in class org.assertj.core.configuration.ConfigurationProvider
-
Returns the configuration used in for all tests.
- Configuration - Class in org.assertj.core.configuration
-
All configuration settings for AssertJ Core.
- Configuration() - Constructor for class org.assertj.core.configuration.Configuration
- CONFIGURATION_PROVIDER - Static variable in class org.assertj.core.configuration.ConfigurationProvider
- ConfigurationProvider - Class in org.assertj.core.configuration
-
Provider for all the configuration settings / parameters within AssertJ.
- ConstructorInvoker - Class in org.assertj.core.error
-
Access to constructors using Java reflection.
- ConstructorInvoker() - Constructor for class org.assertj.core.error.ConstructorInvoker
- CONSUMERS_SHOULD_BE_SATISFIED_IN_ANY_ORDER - Static variable in class org.assertj.core.error.ShouldSatisfy
- CONSUMERS_SHOULD_NOT_BE_NULL - Static variable in class org.assertj.core.error.ShouldSatisfy
- 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.Boolean2DArrayAssert
-
Verifies that the actual
boolean[][]
contains the given boolean[] at the given index. - 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.Byte2DArrayAssert
-
Verifies that the actual
byte[][]
contains the given byte[] at the given index. - 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.Char2DArrayAssert
-
Verifies that the actual
char[][]
contains the given char[] at the given index. - 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(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.Double2DArrayAssert
-
Verifies that the actual
double[][]
contains the given double[] at the given index. - contains(double[], Offset<Double>) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array contains the given values, in any order, the comparison is done at the given precision/offset set with
Assertions.withPrecision(Double)
. - 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(double, Index, Offset<Double>) - 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.Float2DArrayAssert
-
Verifies that the actual array contains the given float[] at the given index.
- contains(float[], Offset<Float>) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array contains the given values, in any order, the comparison is done at the given precision/offset set with
Assertions.withPrecision(Float)
. - 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(float, Index, Offset<Float>) - 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.AbstractByteArrayAssert
-
Verifies that the actual array contains the given values, in any order.
- contains(int...) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual array contains the given values, in any order.
- contains(int...) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array contains the given values, in any order.
- contains(int...) - Method in class org.assertj.core.api.AtomicIntegerArrayAssert
-
Verifies that the actual
AtomicIntegerArray
contains the given values, in any order. - contains(int[], Index) - Method in class org.assertj.core.api.Int2DArrayAssert
-
Verifies that the actual array contains the given int[] at the given index.
- contains(int[], Index) - Method in class org.assertj.core.api.Short2DArrayAssert
-
Verifies that the actual
short[][]
contains the given short[] at the given index. - contains(int, Index) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual array contains the given value at the given index.
- 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(int, Index) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array contains the given value at the given index.
- contains(int, Index) - Method in class org.assertj.core.api.AtomicIntegerArrayAssert
-
Verifies that the actual atomic array contains the given value 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...) - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the actual
AtomicLongArray
contains the given values, in any order. - contains(long[], Index) - Method in class org.assertj.core.api.Long2DArrayAssert
-
Verifies that the actual array contains the given long[] at the given index.
- 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(long, Index) - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the actual atomic array contains the given value 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.Short2DArrayAssert
-
Verifies that the actual
short[][]
contains the given short[] at the given index. - 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(ELEMENT...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group contains the given values, in any order.
- contains(ELEMENT...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array contains the given values, in any order.
- contains(ELEMENT...) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group contains the given values, in any order.
- contains(ELEMENT[], Index) - Method in class org.assertj.core.api.Object2DArrayAssert
-
Verifies that the actual ELEMENT[][] contains the given ELEMENT[] at the given index.
- contains(ELEMENT, Index) - Method in class org.assertj.core.api.AbstractListAssert
-
Verifies that the actual group contains the given object at the given index.
- contains(ELEMENT, Index) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array contains the given object at the given index.
- contains(ELEMENT, Index) - Method in interface org.assertj.core.api.IndexedObjectEnumerableAssert
-
Verifies that the actual group contains the given object at the given index.
- contains(Boolean[]) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual array contains the values of the given array, in any order.
- contains(Byte[]) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual array contains the values of the given array, in any order.
- contains(Character[]) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual array contains the values of the given array, in any order.
- contains(CharSequence...) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
contains all the given values. - contains(Double[]) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array contains the values of the given array, in any order.
- contains(Double[], Offset<Double>) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array contains the values of the given array, in any order, the comparison is done at the given precision/offset set with
Assertions.withPrecision(Double)
. - contains(Float[]) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array contains the values of the given array, in any order.
- contains(Float[], Offset<Float>) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array contains the values of the given array, in any order, the comparison is done at the given precision/offset set with
Assertions.withPrecision(Float)
. - contains(Integer[]) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual array contains the values of the given array, in any order.
- contains(Iterable<? extends CharSequence>) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
contains all theCharSequence
s of the given Iterable. - contains(Long[]) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual array contains the values of the given array, in any order.
- contains(Short[]) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array contains the values of the given array, in any order.
- contains(Map.Entry<? 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.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray contains the given values, in any order.
- contains(T, Index) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray contains the given object at the given index.
- contains(VALUE) - Method in class org.assertj.core.api.AbstractOptionalAssert
-
Verifies that the actual
Optional
contains the given value (alias ofAbstractOptionalAssert.hasValue(Object)
). - containsAll(Iterable<? extends ELEMENT>) - 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 ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array contains all the elements of given
Iterable
, in any order. - containsAll(Iterable<? extends ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
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.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray contains all the elements of given
Iterable
, in any order. - containsAllEntriesOf(Map<? extends K, ? extends V>) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual map contains all entries of the given map, in any order.
- containsAnyElementsOf(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
- containsAnyElementsOf(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array contains at least one of the given
Iterable
elements. - containsAnyElementsOf(Iterable<? extends ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
- containsAnyElementsOf(Iterable<? extends T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray contains at least one of the given
Iterable
elements. - containsAnyOf(boolean...) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual array contains at least one of the given values.
- containsAnyOf(byte...) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual array contains at least one of the given values.
- containsAnyOf(char...) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual array contains at least one of the given values.
- containsAnyOf(double...) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array contains at least one of the given values.
- containsAnyOf(float...) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array contains at least one of the given values.
- containsAnyOf(int...) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual array contains at least one of the given values.
- containsAnyOf(int...) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual array contains at least one of the given values.
- containsAnyOf(int...) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array contains at least one of the given values.
- containsAnyOf(int...) - Method in class org.assertj.core.api.AtomicIntegerArrayAssert
-
Verifies that the actual array contains at least one of the given values.
- containsAnyOf(long...) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual array contains at least one of the given values.
- containsAnyOf(long...) - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the actual array contains at least one of the given values.
- containsAnyOf(short...) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array contains at least one of the given values.
- containsAnyOf(ELEMENT...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual
Iterable
contains at least one of the given values. - containsAnyOf(ELEMENT...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array contains at least one of the given values.
- containsAnyOf(ELEMENT...) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual
Iterable
contains at least one of the given values. - containsAnyOf(Boolean[]) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual array contains at least one of the values of the given array.
- containsAnyOf(Byte[]) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual array contains at least one of the values of the given array.
- containsAnyOf(Character[]) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual array contains at least one of the given values.
- containsAnyOf(CharSequence...) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
contains any of the given values. - containsAnyOf(Double[]) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array contains at least one of the values of the given array.
- containsAnyOf(Float[]) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array contains at least one of the values of the given array.
- containsAnyOf(Integer[]) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual array contains at least one of the values of the given array.
- containsAnyOf(Long[]) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual array contains at least one value of the given array.
- containsAnyOf(Short[]) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array contains at least one of the values of the given array.
- containsAnyOf(Map.Entry<? extends K, ? extends V>...) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual map contains at least one of the given entries.
- containsAnyOf(T...) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray contains at least one of the given values.
- containsAnyOfForProxy(ELEMENT[]) - Method in class org.assertj.core.api.AbstractIterableAssert
- containsAnyOfForProxy(ELEMENT[]) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
- containsAnyOfForProxy(Map.Entry<? extends K, ? extends V>[]) - Method in class org.assertj.core.api.AbstractMapAssert
- containsAnyOfForProxy(T[]) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
- 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(double[], Offset<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(float[], Offset<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.AbstractByteArrayAssert
-
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 array contains only the given values and nothing else, in order.
- containsExactly(int...) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual group contains only the given values and nothing else, in order.
- containsExactly(int...) - Method in class org.assertj.core.api.AtomicIntegerArrayAssert
-
Verifies that the actual AtomicIntegerArray contains only the given values and nothing else, in order.
- 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(long...) - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the actual AtomicLongArray contains only the given values and nothing else, in order.
- 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(ELEMENT...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group contains exactly the given values and nothing else, in order.
This assertion should only be used with groups that have a consistent iteration order (i.e. - containsExactly(ELEMENT...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array contains exactly the given values and nothing else, in order.
- containsExactly(ELEMENT...) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group contains exactly the given values and nothing else, in order.
This assertion should only be used with groups that have a consistent iteration order (i.e. - containsExactly(Boolean[]) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual group contains only the values of the given array and nothing else, in order.
- containsExactly(Byte[]) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual group contains only the values of the given array and nothing else, in order.
- containsExactly(Character[]) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual group contains only the values of the given array and nothing else, in order.
- containsExactly(Double[]) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual group contains only the values of the given array and nothing else, in order.
- containsExactly(Double[], Offset<Double>) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual group contains only the values of the given array and nothing else, in order.
- containsExactly(Float[]) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual group contains only the values of the given array and nothing else, in order.
- containsExactly(Float[], Offset<Float>) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual group contains only the values of the given array and nothing else, in order.
- containsExactly(Integer[]) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual group contains only the values of the given array and nothing else, in order.
- containsExactly(Long[]) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual group contains only the values of the given array and nothing else, in order.
- containsExactly(Short[]) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual group contains only the values of the given array and nothing else, in order.
- containsExactly(Map.Entry<? 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 maps that have a consistent iteration order (i.e. - containsExactly(T...) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray contains only the given values and nothing else, in order.
- containsExactlyElementsOf(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Same as
ObjectEnumerableAssert.containsExactly(Object...)
but handle theIterable
to array conversion : verifies that actual contains exactly the elements of the given iterable and nothing else in the same order. - containsExactlyElementsOf(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Same as
AbstractObjectArrayAssert.containsExactly(Object...)
but handles theIterable
to array conversion : verifies that actual contains exactly the elements of the givenIterable
and nothing else in the same order. - containsExactlyElementsOf(Iterable<? extends ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Same as
ObjectEnumerableAssert.containsExactly(Object...)
but handle theIterable
to array conversion : verifies that actual contains exactly the elements of the given iterable and nothing else in the same order. - containsExactlyElementsOf(Iterable<? extends T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Same as
AtomicReferenceArrayAssert.containsExactly(Object...)
but handles theIterable
to array conversion : verifies that actual contains all elements of the givenIterable
and nothing else in the same order. - containsExactlyEntriesOf(Map<? extends K, ? extends V>) - Method in class org.assertj.core.api.AbstractMapAssert
-
Same as
AbstractMapAssert.containsExactly(Map.Entry[])
but handles the conversion ofMap.entrySet()
to array. - containsExactlyForProxy(ELEMENT[]) - Method in class org.assertj.core.api.AbstractIterableAssert
- containsExactlyForProxy(ELEMENT[]) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
- containsExactlyForProxy(Map.Entry<? extends K, ? extends V>[]) - Method in class org.assertj.core.api.AbstractMapAssert
- containsExactlyForProxy(T[]) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
- containsExactlyInAnyOrder(boolean...) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual group contains exactly the given values and nothing else, in any order.
- containsExactlyInAnyOrder(byte...) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual group contains exactly the given values and nothing else, in any order.
- containsExactlyInAnyOrder(char...) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual group contains exactly the given values and nothing else, in any order.
- containsExactlyInAnyOrder(double...) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual group contains exactly the given values and nothing else, in any order.
- containsExactlyInAnyOrder(float...) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual group contains exactly the given values and nothing else, in any order.
- containsExactlyInAnyOrder(int...) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual group contains exactly the given values and nothing else, in any order.
- containsExactlyInAnyOrder(int...) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual array contains exactly the given values and nothing else, in any order.
- containsExactlyInAnyOrder(int...) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual group contains exactly the given values and nothing else, in any order.
- containsExactlyInAnyOrder(int...) - Method in class org.assertj.core.api.AtomicIntegerArrayAssert
-
Verifies that the actual AtomicIntegerArray contains exactly the given values and nothing else, in any order.
- containsExactlyInAnyOrder(long...) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual group contains exactly the given values and nothing else, in any order.
- containsExactlyInAnyOrder(long...) - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the actual AtomicLongArray contains exactly the given values and nothing else, in any order.
- containsExactlyInAnyOrder(short...) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual group contains exactly the given values and nothing else, in any order.
- containsExactlyInAnyOrder(ELEMENT...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group contains exactly the given values and nothing else, in any order.
- containsExactlyInAnyOrder(ELEMENT...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array contains exactly the given values and nothing else, in any order.
- containsExactlyInAnyOrder(ELEMENT...) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group contains exactly the given values and nothing else, in any order.
- containsExactlyInAnyOrder(Boolean[]) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual group contains exactly the values of the given array and nothing else, in any order.
- containsExactlyInAnyOrder(Byte[]) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual group contains exactly the values of the given array and nothing else, in any order.
- containsExactlyInAnyOrder(Character[]) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual group contains exactly the values of the given array and nothing else, in any order.
- containsExactlyInAnyOrder(Double[]) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual group contains exactly the values of the given array and nothing else, in any order.
- containsExactlyInAnyOrder(Float[]) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual group contains exactly the values of the given array and nothing else, in any order.
- containsExactlyInAnyOrder(Integer[]) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual group contains exactly the values of the given array and nothing else, in any order.
- containsExactlyInAnyOrder(Long[]) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual group contains exactly the values of the given array and nothing else, in any order.
- containsExactlyInAnyOrder(Short[]) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual group contains exactly the values of the given array and nothing else, in any order.
- containsExactlyInAnyOrder(T...) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray contains exactly the given values and nothing else, in any order.
- containsExactlyInAnyOrderElementsOf(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group contains exactly the given values and nothing else, in any order.
- containsExactlyInAnyOrderElementsOf(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual group contains exactly the given values and nothing else, in any order.
- containsExactlyInAnyOrderElementsOf(Iterable<? extends ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group contains exactly the given values and nothing else, in any order.
- containsExactlyInAnyOrderElementsOf(Iterable<? extends T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray contains exactly the given values and nothing else, in any order.
- containsExactlyInAnyOrderEntriesOf(Map<? extends K, ? extends V>) - Method in class org.assertj.core.api.AbstractMapAssert
-
Same as
AbstractMapAssert.containsOnly(Map.Entry[])
but handles the conversion ofMap.entrySet()
to array. - containsExactlyInAnyOrderForProxy(ELEMENT[]) - Method in class org.assertj.core.api.AbstractIterableAssert
- containsExactlyInAnyOrderForProxy(ELEMENT[]) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
- containsExactlyInAnyOrderForProxy(T[]) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
- containsForProxy(ELEMENT[]) - Method in class org.assertj.core.api.AbstractIterableAssert
- containsForProxy(ELEMENT[]) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
- containsForProxy(Map.Entry<? extends K, ? extends V>[]) - Method in class org.assertj.core.api.AbstractMapAssert
- containsForProxy(T[]) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
- containsIgnoringCase(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
contains the given sequence, ignoring case considerations. - containsIgnoringNewLines(CharSequence...) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
contains all the given values ignoring new line differences. - containsIgnoringNewLines(CharSequence, CharSequence[], Set<? extends CharSequence>, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainCharSequence
-
Creates a new
.ShouldContainCharSequence
- containsIgnoringWhitespaces(CharSequence...) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
contains all the given values, ignoring whitespace differences. - containsInstanceOf(Class<?>) - Method in class org.assertj.core.api.AbstractOptionalAssert
-
Verifies that the actual
Optional
contains a value that is an instance of the argument. - 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.
- containsKeysForProxy(K[]) - Method in class org.assertj.core.api.AbstractMapAssert
- 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 array contains at least a null element.
- containsNull() - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray 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(double[], Offset<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(float[], Offset<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.AbstractByteArrayAssert
-
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(int...) - 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(int...) - Method in class org.assertj.core.api.AtomicIntegerArrayAssert
-
Verifies that the actual atomic array 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(long...) - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the actual atomic array 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(ELEMENT...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group contains only the given values and nothing else, in any order and ignoring duplicates (i.e.
- containsOnly(ELEMENT...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array contains only the given values and nothing else, in any order and ignoring duplicates (i.e.
- containsOnly(ELEMENT...) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group contains only the given values and nothing else, in any order and ignoring duplicates (i.e.
- containsOnly(Boolean[]) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual array contains only the values of the given array and nothing else, in any order.
- containsOnly(Byte[]) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual array contains only the values of the given array and nothing else, in any order.
- containsOnly(Character[]) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual array contains only the values of the given array and nothing else, in any order.
- containsOnly(Double[]) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array contains only the values of the given array and nothing else, in any order.
- containsOnly(Double[], Offset<Double>) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array contains only the values of the given array and nothing else, in any order.
- containsOnly(Float[]) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array contains only the values of the given array and nothing else, in any order.
- containsOnly(Float[], Offset<Float>) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array contains only the values of the given array and nothing else, in any order.
- containsOnly(Integer[]) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual array contains only the values of the given array and nothing else, in any order.
- containsOnly(Long[]) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual array contains only the values of the given array and nothing else, in any order.
- containsOnly(Short[]) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array contains only the values of the given array and nothing else, in any order.
- containsOnly(Map.Entry<? 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.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray contains only the given values and nothing else, in any order and ignoring duplicates (i.e.
- containsOnlyDigits() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
contains only digits. - containsOnlyElementsOf(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Deprecated.
- containsOnlyElementsOf(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Same semantic as
AbstractObjectArrayAssert.containsOnly(Object[])
: verifies that actual contains all elements of the givenIterable
and nothing else, in any order and ignoring duplicates (i.e. - containsOnlyElementsOf(Iterable<? extends ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Deprecated.
- containsOnlyElementsOf(Iterable<? extends T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Same semantic as
AtomicReferenceArrayAssert.containsOnly(Object[])
: verifies that actual contains all elements of the givenIterable
and nothing else, in any order and ignoring duplicates (i.e. - containsOnlyForProxy(ELEMENT[]) - Method in class org.assertj.core.api.AbstractIterableAssert
- containsOnlyForProxy(ELEMENT[]) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
- containsOnlyForProxy(Map.Entry<? extends K, ? extends V>[]) - Method in class org.assertj.core.api.AbstractMapAssert
- containsOnlyForProxy(T[]) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
- containsOnlyKeys(Iterable<? extends 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.AbstractMapAssert
-
Verifies that the actual map contains only the given keys and nothing else, in any order.
- containsOnlyKeysForProxy(K[]) - Method in class org.assertj.core.api.AbstractMapAssert
- containsOnlyNulls() - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group contains only null elements and nothing else.
- containsOnlyNulls() - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array contains only null elements.
- containsOnlyNulls() - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray contains only null elements and nothing else.
- containsOnlyNulls() - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group contains only null elements and nothing else.
- 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(double...) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array contains the given values only once.
- containsOnlyOnce(double[], Offset<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(float[], Offset<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.AbstractByteArrayAssert
-
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(int...) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array contains the given values only once.
- containsOnlyOnce(int...) - Method in class org.assertj.core.api.AtomicIntegerArrayAssert
-
Verifies that the actual atomic array 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(long...) - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the actual atomic array 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(ELEMENT...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group contains the given values only once.
- containsOnlyOnce(ELEMENT...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array contains the given values only once.
- containsOnlyOnce(ELEMENT...) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group contains the given values only once.
- containsOnlyOnce(Boolean[]) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual array contains the values of the given array only once.
- containsOnlyOnce(Byte[]) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual array contains the values of the given array only once.
- containsOnlyOnce(Character[]) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual array contains the values of the given array 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 values of the given array only once.
- containsOnlyOnce(Double[], Offset<Double>) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array contains the values of the given array only once.
- containsOnlyOnce(Float[]) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array contains the values of the given array only once.
- containsOnlyOnce(Float[], Offset<Float>) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array contains the values of the given array only once.
- containsOnlyOnce(Integer[]) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual array contains the values of the given array only once.
- containsOnlyOnce(Long[]) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual array contains the values of the given array only once.
- containsOnlyOnce(Short[]) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array contains the values of the given array only once.
- containsOnlyOnce(T...) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray contains the given values only once.
- containsOnlyOnceElementsOf(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Same semantic as
ObjectEnumerableAssert.containsOnlyOnce(Object...)
: verifies that the actual group contains the elements of the given iterable only once. - containsOnlyOnceElementsOf(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Same semantic as
ObjectEnumerableAssert.containsOnlyOnce(Object...)
: verifies that the actual group contains the elements of the given iterable only once. - containsOnlyOnceElementsOf(Iterable<? extends ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Same semantic as
ObjectEnumerableAssert.containsOnlyOnce(Object...)
: verifies that the actual group contains the elements of the given iterable only once. - containsOnlyOnceElementsOf(Iterable<? extends T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Same semantic as
ObjectEnumerableAssert.containsOnlyOnce(Object...)
: verifies that the actual group contains the elements of the given iterable only once. - containsOnlyOnceForProxy(ELEMENT[]) - Method in class org.assertj.core.api.AbstractIterableAssert
- containsOnlyOnceForProxy(ELEMENT[]) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
- containsOnlyOnceForProxy(T[]) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
- containsOnlyWhitespaces() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
consists of one or more whitespace characters (according toCharacter.isWhitespace(char)
). - containsPattern(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
contains the given regular expression. - containsPattern(Pattern) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
contains the given regular expression pattern. - containsSame(VALUE) - Method in class org.assertj.core.api.AbstractOptionalAssert
-
Verifies that the actual
Optional
contains the instance given as an argument (i.e. - 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(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(double[], Offset<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(float[], Offset<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.AbstractByteArrayAssert
-
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(int...) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array contains the given sequence, without any other values between them.
- containsSequence(int...) - Method in class org.assertj.core.api.AtomicIntegerArrayAssert
-
Verifies that the actual atomic array 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(long...) - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the actual atomic array 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(ELEMENT...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group contains the given sequence in the correct order and without extra values between the sequence values.
- containsSequence(ELEMENT...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array contains the given sequence in the correct order and without extra values between the sequence values.
- containsSequence(ELEMENT...) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group contains the given sequence in the correct order and without extra values between the sequence values.
- 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(Character[]) - 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 the given sequence of values in the given order without any other values between them. - 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(Double[], Offset<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(Float[], Offset<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(Integer[]) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual array contains the given sequence, without any other values between them.
- containsSequence(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group contains the given sequence in the correct order and without extra values between the sequence values.
- containsSequence(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array contains the given sequence in the correct order and without extra values between the sequence values.
- containsSequence(Iterable<? extends ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group contains the given sequence in the correct order and without extra values between the sequence values.
- containsSequence(Iterable<? extends CharSequence>) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
contains all the values of the given Iterable in the Iterable iteration order without any other values between them. - containsSequence(Iterable<? extends T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray contains the given sequence in the correct order and without extra values between the sequence values.
- 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(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 class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray contains the given sequence in the correct order and without extra values between the sequence values.
- containsSequenceForProxy(ELEMENT[]) - Method in class org.assertj.core.api.AbstractIterableAssert
- containsSequenceForProxy(ELEMENT[]) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
- containsSequenceForProxy(T[]) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
- 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(double[], Offset<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(float[], Offset<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.AbstractByteArrayAssert
-
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(int...) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array contains the given subsequence (possibly with other values between them).
- containsSubsequence(int...) - Method in class org.assertj.core.api.AtomicIntegerArrayAssert
-
Verifies that the actual atomic array 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(long...) - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the actual atomic array 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(ELEMENT...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group contains the given subsequence in the correct order (possibly with other values between them).
- containsSubsequence(ELEMENT...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array contains the given subsequence in the correct order (possibly with other values between them).
- containsSubsequence(ELEMENT...) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group contains the given subsequence in the correct order (possibly with 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(Character[]) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual array contains the given subsequence (possibly with other values between them).
- containsSubsequence(CharSequence...) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
contains all the given values in the given order, 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(Double[], Offset<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(Float[], Offset<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(Integer[]) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual array contains the given subsequence (possibly with other values between them).
- containsSubsequence(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group contains the given subsequence in the correct order (possibly with other values between them).
- containsSubsequence(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array contains the given subsequence in the correct order (possibly with other values between them).
- containsSubsequence(Iterable<? extends ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group contains the given subsequence in the correct order (possibly with other values between them).
- containsSubsequence(Iterable<? extends CharSequence>) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
contains all the values of the given Iterable in the Iterable iteration order (possibly with other values between them). - containsSubsequence(Iterable<? extends T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray contains the given subsequence in the correct order (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(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 class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray contains the given subsequence in the correct order (possibly with other values between them).
- containsSubsequenceForProxy(ELEMENT[]) - Method in class org.assertj.core.api.AbstractIterableAssert
- containsSubsequenceForProxy(ELEMENT[]) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
- containsSubsequenceForProxy(T[]) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
- 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.
- containsValuesForProxy(V[]) - Method in class org.assertj.core.api.AbstractMapAssert
- containsWhitespaces() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
contains one or more whitespace characters (according toCharacter.isWhitespace(char)
). - content() - Method in class org.assertj.core.api.AbstractFileAssert
-
Returns String assertions on the content of the actual
File
read with thedefault charset
. - content() - Method in class org.assertj.core.api.AbstractPathAssert
-
Returns String assertions on the content of the actual
Path
read with thedefault charset
. - content(Charset) - Method in class org.assertj.core.api.AbstractFileAssert
-
Returns String assertions on the content of the actual
File
read with the givenCharset
. - content(Charset) - Method in class org.assertj.core.api.AbstractPathAssert
-
Returns String assertions on the content of the actual
Path
read with the givenCharset
. - contentOf(File) - Static method in class org.assertj.core.api.Assertions
-
Loads the text content of a file with the default character set, so that it can be passed to
Assertions.assertThat(String)
. - contentOf(File) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Loads the text content of a file with the default character set, so that it can be passed to
AssertionsForClassTypes.assertThat(String)
. - contentOf(File) - Static method in class org.assertj.core.api.BDDAssertions
-
Loads the text content of a file with the default character set, so that it can be passed to
Assertions.assertThat(String)
. - contentOf(File) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Loads the text content of a file with the default character set, so that it can be passed to
Java6Assertions.assertThat(String)
. - contentOf(File) - Method in interface org.assertj.core.api.WithAssertions
-
Loads the text content of a file with the default character set, so that it can be passed to
WithAssertions.assertThat(String)
. - contentOf(File, String) - Static method in class org.assertj.core.api.Assertions
-
Loads the text content of a file, so that it can be passed to
Assertions.assertThat(String)
. - contentOf(File, String) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Loads the text content of a file, so that it can be passed to
AssertionsForClassTypes.assertThat(String)
. - contentOf(File, String) - Static method in class org.assertj.core.api.BDDAssertions
-
Loads the text content of a file, so that it can be passed to
Assertions.assertThat(String)
. - contentOf(File, String) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Loads the text content of a file, so that it can be passed to
Java6Assertions.assertThat(String)
. - contentOf(File, String) - Method in interface org.assertj.core.api.WithAssertions
-
Loads the text content of a file, so that it can be passed to
WithAssertions.assertThat(String)
. - 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.api.Assertions
-
Loads the text content of a file, so that it can be passed to
Assertions.assertThat(String)
. - contentOf(File, Charset) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Loads the text content of a file, so that it can be passed to
AssertionsForClassTypes.assertThat(String)
. - contentOf(File, Charset) - Static method in class org.assertj.core.api.BDDAssertions
-
Loads the text content of a file, so that it can be passed to
Assertions.assertThat(String)
. - contentOf(File, Charset) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Loads the text content of a file, so that it can be passed to
Java6Assertions.assertThat(String)
. - contentOf(File, Charset) - Method in interface org.assertj.core.api.WithAssertions
-
Loads the text content of a file, so that it can be passed to
WithAssertions.assertThat(String)
. - contentOf(File, Charset) - Static method in class org.assertj.core.util.Files
-
Loads the text content of a file into a character string.
- contentOf(URL) - Static method in class org.assertj.core.api.Assertions
-
Loads the text content of a URL with the default character set, so that it can be passed to
Assertions.assertThat(String)
. - contentOf(URL) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Loads the text content of a URL with the default character set, so that it can be passed to
AssertionsForClassTypes.assertThat(String)
. - contentOf(URL) - Static method in class org.assertj.core.api.BDDAssertions
-
Loads the text content of a URL with the default character set, so that it can be passed to
Assertions.assertThat(String)
. - contentOf(URL) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Loads the text content of a URL with the default character set, so that it can be passed to
Java6Assertions.assertThat(String)
. - contentOf(URL) - Method in interface org.assertj.core.api.WithAssertions
-
Loads the text content of a URL with the default character set, so that it can be passed to
WithAssertions.assertThat(String)
. - contentOf(URL, String) - Static method in class org.assertj.core.api.Assertions
-
Loads the text content of a URL, so that it can be passed to
Assertions.assertThat(String)
. - contentOf(URL, String) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Loads the text content of a URL, so that it can be passed to
AssertionsForClassTypes.assertThat(String)
. - contentOf(URL, String) - Static method in class org.assertj.core.api.BDDAssertions
-
Loads the text content of a URL, so that it can be passed to
Assertions.assertThat(String)
. - contentOf(URL, String) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Loads the text content of a URL, so that it can be passed to
Java6Assertions.assertThat(String)
. - contentOf(URL, String) - Method in interface org.assertj.core.api.WithAssertions
-
Loads the text content of a URL, so that it can be passed to
WithAssertions.assertThat(String)
. - contentOf(URL, String) - Static method in class org.assertj.core.util.URLs
-
Loads the text content of a URL into a character string.
- contentOf(URL, Charset) - Static method in class org.assertj.core.api.Assertions
-
Loads the text content of a URL, so that it can be passed to
Assertions.assertThat(String)
. - contentOf(URL, Charset) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Loads the text content of a URL, so that it can be passed to
AssertionsForClassTypes.assertThat(String)
. - contentOf(URL, Charset) - Static method in class org.assertj.core.api.BDDAssertions
-
Loads the text content of a URL, so that it can be passed to
Assertions.assertThat(String)
. - contentOf(URL, Charset) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Loads the text content of a URL, so that it can be passed to
Java6Assertions.assertThat(String)
. - contentOf(URL, Charset) - Method in interface org.assertj.core.api.WithAssertions
-
Loads the text content of a URL, so that it can be passed to
WithAssertions.assertThat(String)
. - contentOf(URL, Charset) - Static method in class org.assertj.core.util.URLs
-
Loads the text content of a URL into a character string.
- create() - Method in class org.assertj.core.error.BasicErrorMessageFactory
-
Creates a new error message as a result of a failed assertion without description.
- create() - Method in interface org.assertj.core.error.ErrorMessageFactory
-
Creates a new error message as a result of a failed assertion without description.
- create(Description) - Method in class org.assertj.core.error.BasicErrorMessageFactory
-
Creates a new error message as a result of a failed assertion with
StandardRepresentation
. - create(Description) - Method in interface org.assertj.core.error.ErrorMessageFactory
-
Creates a new error message as a result of a failed assertion with
StandardRepresentation
. - 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(Description, Representation) - Method in interface org.assertj.core.error.ErrorMessageFactory
-
Creates a new error message as a result of a failed assertion.
- createAssert(Object) - Method in class org.assertj.core.api.InstanceOfAssertFactory
-
Creates the custom Assert object for the given element value.
- createAssert(T) - Method in interface org.assertj.core.api.AssertFactory
-
Creates the custom Assert object for the given element value.
- createAssert(T) - Method in class org.assertj.core.api.ObjectAssertFactory
- currentFolder() - Static method in class org.assertj.core.util.Files
-
Returns the current directory.
- customFormat(T) - Method in class org.assertj.core.presentation.StandardRepresentation
D
- DATE - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for aDate
. - DateAssert - Class in org.assertj.core.api
-
Assertions for
Date
s. - DateAssert(Date) - Constructor for class org.assertj.core.api.DateAssert
-
Creates a new
DateAssert
. - DateUtil - Class in org.assertj.core.util
-
Utility methods related to dates.
- DateUtil() - Constructor for class org.assertj.core.util.DateUtil
- dayOfMonthOf(Date) - Static method in class org.assertj.core.util.DateUtil
-
Dates Extracts the day of month of the given Date.
- dayOfWeekOf(Date) - Static method in class org.assertj.core.util.DateUtil
-
Extracts the day of week of the given Date, returned value follows
Calendar.DAY_OF_WEEK
. - decodedAsBase64() - Method in class org.assertj.core.api.AbstractStringAssert
-
Deprecated.use
AbstractStringAssert.asBase64Decoded()
instead.Decodes the actual value as a Base64 encoded string, the decoded bytes becoming the new array under test.
Examples:
// assertion succeeds assertThat("QXNzZXJ0Sg==").decodedAsBase64().containsExactly("AssertJ".getBytes()); // assertion succeeds even without padding as it is optional by specification assertThat("QXNzZXJ0Sg").decodedAsBase64().containsExactly("AssertJ".getBytes()); // assertion fails as it has invalid Base64 characters assertThat("inv@lid").decodedAsBase64();
- decorateErrorsCollected(List<? extends T>) - Method in class org.assertj.core.api.DefaultAssertionErrorCollector
-
Modifies collected errors.
- DEFAULT_CONFIGURATION - Static variable in class org.assertj.core.configuration.Configuration
- DEFAULT_END - Static variable in class org.assertj.core.util.diff.Delta
- DEFAULT_PRIORITY - Static variable in interface org.assertj.core.presentation.Representation
- DEFAULT_START - Static variable in class org.assertj.core.util.diff.Delta
- DEFAULT_TEMPLATE - Static variable in class org.assertj.core.api.recursive.comparison.ComparisonDifference
- DefaultAssertionErrorCollector - Class in org.assertj.core.api
- DefaultAssertionErrorCollector() - Constructor for class org.assertj.core.api.DefaultAssertionErrorCollector
- defaultDetailedErrorMessage(Description, Representation) - Method in class org.assertj.core.error.ShouldBeEqual
-
Builds and returns an error message from description using
ShouldBeEqual.detailedExpected()
andShouldBeEqual.detailedActual()
detailed representation. - delete(File) - Static method in class org.assertj.core.util.Files
-
Deprecated.use https://commons.apache.org/proper/commons-io/javadocs/api-release/org/apache/commons/io/FileUtils.html#forceDelete-java.io.File- instead
- DELETE - Enum constant in enum org.assertj.core.util.diff.Delta.TYPE
-
A delete from the original.
- DeleteDelta<T> - Class in org.assertj.core.util.diff
-
Initially copied from https://code.google.com/p/java-diff-utils/.
- DeleteDelta(Chunk<T>, Chunk<T>) - Constructor for class org.assertj.core.util.diff.DeleteDelta
-
Creates a change delta with the two given chunks.
- Delta<T> - Class in org.assertj.core.util.diff
-
Initially copied from https://code.google.com/p/java-diff-utils/.
- Delta(Chunk<T>, Chunk<T>) - Constructor for class org.assertj.core.util.diff.Delta
-
Construct the delta for original and revised chunks
- Delta.TYPE - Enum in org.assertj.core.util.diff
-
Specifies the type of the delta.
- DeltaComparator - Class in org.assertj.core.util.diff
-
Copy from https://code.google.com/p/java-diff-utils/.
- describe() - Method in class org.assertj.core.configuration.Configuration
- describe(int, AssertionInfo) - Method in class org.assertj.core.error.UnsatisfiedRequirement
- describe(AssertionInfo) - Method in class org.assertj.core.error.UnsatisfiedRequirement
- describe(AssertionInfo, ZippedElementsShouldSatisfy.ZipSatisfyError) - Static method in class org.assertj.core.error.ZippedElementsShouldSatisfy.ZipSatisfyError
- describedAs(String, Object...) - Method in class org.assertj.core.api.AbstractIterableAssert
- describedAs(String, Object...) - Method in class org.assertj.core.api.AbstractListAssert
- describedAs(String, Object...) - Method in class org.assertj.core.api.AbstractMapAssert
- describedAs(String, Object...) - Method in interface org.assertj.core.api.Descriptable
-
Sets the description of the assertion that is going to be called after.
- describedAs(String, Object...) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Sets the description of the assertion that is going to be called after.
- describedAs(Description) - Method in class org.assertj.core.api.AbstractAssert
-
Sets the description of the assertion that is going to be called after.
- describedAs(Description) - Method in class org.assertj.core.api.AbstractIterableAssert
- describedAs(Description) - Method in class org.assertj.core.api.AbstractListAssert
- describedAs(Description) - Method in class org.assertj.core.api.AbstractMapAssert
- describedAs(Description) - Method in class org.assertj.core.api.Condition
-
Sets the description of the assertion that is going to be called after.
- describedAs(Description) - Method in interface org.assertj.core.api.Descriptable
-
Sets the description of the assertion that is going to be called after.
- describedAs(Description) - Method in class org.assertj.core.api.NotThrownAssert
-
Sets the description of the assertion that is going to be called after.
- describedAs(Description) - Method in class org.assertj.core.api.SoftThrowableTypeAssert
- describedAs(Description) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Sets the description of the assertion that is going to be called after.
- describedAs(Description) - Method in class org.assertj.core.api.ThrowableTypeAssert
-
Sets the description of the assertion that is going to be called after.
- describeErrors(List<? extends Throwable>) - Static method in class org.assertj.core.util.Throwables
- describeTo(Description) - Method in class org.assertj.core.matcher.AssertionMatcher
- Descriptable<SELF> - Interface in org.assertj.core.api
-
An object that has a description.
- description - Variable in class org.assertj.core.api.NotThrownAssert
- description - Variable in class org.assertj.core.api.ThrowableTypeAssert
- description - Variable in class org.assertj.core.presentation.PredicateDescription
- description() - Method in interface org.assertj.core.api.AssertionInfo
-
Returns the description of an assertion.
- description() - Method in class org.assertj.core.api.Condition
-
Returns the description of this condition.
- description() - Method in class org.assertj.core.api.WritableAssertionInfo
-
Returns the description of an assertion.
- description() - Method in class org.assertj.core.condition.Join
- description() - Method in enum org.assertj.core.presentation.StandardRepresentation.GroupType
- description(String, Object...) - Method in class org.assertj.core.api.WritableAssertionInfo
-
Sets the description of an assertion, if given null an empty
Description
is set. - description(Description) - Method in class org.assertj.core.api.WritableAssertionInfo
-
Sets the description of an assertion, if given null an empty
Description
is set. - Description - Class in org.assertj.core.description
-
The description of a value.
- Description() - Constructor for class org.assertj.core.description.Description
- descriptionConsumer() - Method in class org.assertj.core.configuration.Configuration
- DescriptionFormatter - Class in org.assertj.core.error
-
Formats the
s to be included in assertion errors.Description
- descriptionPrefix() - Method in class org.assertj.core.condition.AllOf
- descriptionPrefix() - Method in class org.assertj.core.condition.AnyOf
- descriptionPrefix() - Method in class org.assertj.core.condition.Join
-
method used to prefix the subclass join description, ex: "all of"
- descriptionText() - Method in class org.assertj.core.api.AbstractAssert
-
The description of this assertion set with
Descriptable.describedAs(String, Object...)
orAbstractAssert.describedAs(Description)
. - descriptionText() - Method in class org.assertj.core.api.WritableAssertionInfo
-
Returns the text of this object's description, it is an empty String if no description was set.
- detailedActual() - Method in class org.assertj.core.error.ShouldBeEqual
- detailedExpected() - Method in class org.assertj.core.error.ShouldBeEqual
- determineDifferences(Object, Object, RecursiveComparisonConfiguration) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonDifferenceCalculator
-
Compare two objects for differences by doing a 'deep' comparison.
- diff(List<T>, List<T>) - Method in interface org.assertj.core.util.diff.DiffAlgorithm
-
Computes the difference between the original sequence and the revised sequence and returns it as a
Patch
object. - diff(List<T>, List<T>) - Static method in class org.assertj.core.util.diff.DiffUtils
-
Computes the difference between the original and revised list of elements with default diff algorithm
- diff(List<T>, List<T>) - Method in class org.assertj.core.util.diff.myers.MyersDiff
-
Computes the difference between the original sequence and the revised sequence and returns it as a
Patch
object. - diff(List<T>, List<T>, DiffAlgorithm<T>) - Static method in class org.assertj.core.util.diff.DiffUtils
-
Computes the difference between the original and revised list of elements with default diff algorithm
- DiffAlgorithm<T> - Interface in org.assertj.core.util.diff
-
Copy from https://code.google.com/p/java-diff-utils/.
- DiffNode - Class in org.assertj.core.util.diff.myers
-
Copy from https://code.google.com/p/java-diff-utils/.
- DiffNode(int, int, PathNode) - Constructor for class org.assertj.core.util.diff.myers.DiffNode
-
Constructs a DiffNode.
- diffs - Variable in class org.assertj.core.error.AbstractShouldHaveTextContent
- diffsAsString(List<Delta<String>>) - Static method in class org.assertj.core.error.AbstractShouldHaveTextContent
- DiffUtils - Class in org.assertj.core.util.diff
-
Copy from https://code.google.com/p/java-diff-utils/.
- DiffUtils() - Constructor for class org.assertj.core.util.diff.DiffUtils
- directoryShouldContain(File, List<File>, String) - Static method in class org.assertj.core.error.ShouldContain
- directoryShouldContain(Path, List<Path>, String) - Static method in class org.assertj.core.error.ShouldContain
- directoryShouldContainRecursively(File, List<File>, String) - Static method in class org.assertj.core.error.ShouldContainRecursively
- directoryShouldContainRecursively(Path, List<Path>, String) - Static method in class org.assertj.core.error.ShouldContainRecursively
- directoryShouldNotContain(File, List<File>, String) - Static method in class org.assertj.core.error.ShouldNotContain
- directoryShouldNotContain(Path, List<Path>, String) - Static method in class org.assertj.core.error.ShouldNotContain
- doesNotContain(boolean...) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual array does not contain the given values.
- doesNotContain(boolean[], Index) - Method in class org.assertj.core.api.Boolean2DArrayAssert
-
Verifies that the actual
boolean[][]
does not contain the given boolean[] at the given index. - doesNotContain(boolean, Index) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual array does not contain the given value at the given index.
- doesNotContain(byte...) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual array does not contain the given values.
- doesNotContain(byte[], Index) - Method in class org.assertj.core.api.Byte2DArrayAssert
-
Verifies that the actual
byte[][]
does not contain the given byte[] at the given index. - doesNotContain(byte, Index) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual array does not contain the given value at the given index.
- doesNotContain(char...) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual array does not contain the given values.
- doesNotContain(char[], Index) - Method in class org.assertj.core.api.Char2DArrayAssert
-
Verifies that the actual
char[][]
does not contain the given char[] at the given index. - doesNotContain(char, Index) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual array does not contain the given value at the given index.
- doesNotContain(double...) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array does not contain the given values.
- doesNotContain(double[], Index) - Method in class org.assertj.core.api.Double2DArrayAssert
-
Verifies that the actual
double[][]
does not contain the given double[] at the given index. - doesNotContain(double[], Offset<Double>) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array does not contain the given values.
- doesNotContain(double, Index) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array does not contain the given value at the given index.
- doesNotContain(double, Index, Offset<Double>) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array does not contain the given value at the given index.
- doesNotContain(float...) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array does not contain the given values.
- doesNotContain(float[], Index) - Method in class org.assertj.core.api.Float2DArrayAssert
-
Verifies that the actual array does not contain the given float[] at the given index.
- doesNotContain(float[], Offset<Float>) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array does not contain the given values.
- doesNotContain(float, Index) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array does not contain the given value at the given index.
- doesNotContain(float, Index, Offset<Float>) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array does not contain the given value at the given index.
- doesNotContain(int...) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual array does not contain the given values.
- doesNotContain(int...) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual array does not contain the given values.
- doesNotContain(int...) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array does not contain the given values.
- doesNotContain(int...) - Method in class org.assertj.core.api.AtomicIntegerArrayAssert
-
Verifies that the actual atomic array does not contain the given values.
- doesNotContain(int[], Index) - Method in class org.assertj.core.api.Int2DArrayAssert
-
Verifies that the actual array does not contain the given value at the given index.
- doesNotContain(int[], Index) - Method in class org.assertj.core.api.Short2DArrayAssert
-
Verifies that the actual
short[][]
does not contain the given short[] at the given index. - doesNotContain(int, Index) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual array does not contain the given value at the given index.
- doesNotContain(int, Index) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual array does not contain the given value at the given index.
- doesNotContain(int, Index) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array does not contain the given value at the given index.
- doesNotContain(int, Index) - Method in class org.assertj.core.api.AtomicIntegerArrayAssert
-
Verifies that the actual atomic array does not contain the given value at the given index.
- doesNotContain(long...) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual array does not contain the given values.
- doesNotContain(long...) - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the actual atomic array does not contain the given values.
- doesNotContain(long[], Index) - Method in class org.assertj.core.api.Long2DArrayAssert
-
Verifies that the actual array does not contain the given long[] at the given index.
- doesNotContain(long, Index) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual array does not contain the given value at the given index.
- doesNotContain(long, Index) - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the actual atomic array does not contain the given value at the given index.
- doesNotContain(short...) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array does not contain the given values.
- doesNotContain(short[], Index) - Method in class org.assertj.core.api.Short2DArrayAssert
-
Verifies that the actual
short[][]
does not contain the given short[] at the given index. - doesNotContain(short, Index) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array does not contain the given value at the given index.
- doesNotContain(ELEMENT...) - Method in class org.assertj.core.api.AbstractIterableAssert
- doesNotContain(ELEMENT...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array does not contain the given values.
- doesNotContain(ELEMENT...) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group does not contain the given values.
- doesNotContain(ELEMENT[], Index) - Method in class org.assertj.core.api.Object2DArrayAssert
-
Verifies that the actual ELEMENT[][] does not contain the given ELEMENT[] at the given index.
- doesNotContain(ELEMENT, Index) - Method in class org.assertj.core.api.AbstractListAssert
-
Verifies that the actual group does not contain the given object at the given index.
- doesNotContain(ELEMENT, Index) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array does not contain the given object at the given index.
- doesNotContain(ELEMENT, Index) - Method in interface org.assertj.core.api.IndexedObjectEnumerableAssert
-
Verifies that the actual group does not contain the given object at the given index.
- doesNotContain(Boolean[]) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual array does not contain the values of the given array.
- doesNotContain(Byte[]) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual array does not contain the values of the given array.
- doesNotContain(Character[]) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual array does not contain the given values.
- doesNotContain(CharSequence...) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
does not contain any of the given values. - doesNotContain(Double[]) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array does not contain the values of the given array.
- doesNotContain(Double[], Offset<Double>) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array does not contain the values of the given array.
- doesNotContain(Float[]) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array does not contain the values of the given array.
- doesNotContain(Float[], Offset<Float>) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array does not contain the values of the given array.
- doesNotContain(Integer[]) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual array does not contain the values of the given array.
- doesNotContain(Iterable<? extends CharSequence>) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
does not contain any of the given Iterable. - doesNotContain(Long[]) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual array does not contain the values of the given array.
- doesNotContain(Short[]) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array does not contain the values of the given array.
- doesNotContain(Map.Entry<? extends K, ? extends V>...) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual map does not contain the given entries.
- doesNotContain(T...) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray does not contain the given values.
- doesNotContain(T, Index) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray does not contain the given object at the given index.
- doesNotContainAnyElementsOf(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
- doesNotContainAnyElementsOf(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array does not contain any elements of the given
Iterable
(i.e. - doesNotContainAnyElementsOf(Iterable<? extends ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that actual does not contain any elements of the given
Iterable
(i.e. - doesNotContainAnyElementsOf(Iterable<? extends T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray does not contain any elements of the given
Iterable
(i.e. - doesNotContainAnyWhitespaces() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
is eithernull
, empty or does not contain any whitespace characters (according toCharacter.isWhitespace(char)
). - doesNotContainEntry(K, V) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual map does not contain the given entry.
- doesNotContainForProxy(ELEMENT[]) - Method in class org.assertj.core.api.AbstractIterableAssert
- doesNotContainForProxy(ELEMENT[]) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
- doesNotContainForProxy(Map.Entry<? extends K, ? extends V>[]) - Method in class org.assertj.core.api.AbstractMapAssert
- doesNotContainForProxy(T[]) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
- doesNotContainIgnoringCase(CharSequence...) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
does not contain any of the given values, ignoring case considerations. - doesNotContainKey(K) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual map does not contain the given key.
- doesNotContainKeys(K...) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual map does not contain any of the given keys.
- doesNotContainKeysForProxy(K[]) - Method in class org.assertj.core.api.AbstractMapAssert
- doesNotContainNull() - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group does not contain null elements.
- doesNotContainNull() - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array does not contain null elements.
- doesNotContainNull() - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray does not contain null elements.
- doesNotContainNull() - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group does not contain null elements.
- doesNotContainOnlyWhitespaces() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
is either:null
empty contains at least one non-whitespace character (according toCharacter.isWhitespace(char)
). - doesNotContainPattern(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
does not contain the given regular expression. - doesNotContainPattern(Pattern) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
does not contain the given regular expression. - doesNotContainSequence(ELEMENT...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group does not contain the given sequence, a sequence is defined by an ordered group of values without extra values between them.
- doesNotContainSequence(ELEMENT...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array does not contain the given sequence in the given order and without extra values between the sequence values.
- doesNotContainSequence(ELEMENT...) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group does not contain the given sequence, a sequence is defined by an ordered group of values without extra values between them.
- doesNotContainSequence(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group does not contain the given sequence, a sequence is defined by an ordered group of values without extra values between them.
- doesNotContainSequence(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array does not contain the given sequence in the given order and without extra values between the sequence values.
- doesNotContainSequence(Iterable<? extends ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group does not contain the given sequence, a sequence is defined by an ordered group of values without extra values between them.
- doesNotContainSequence(Iterable<? extends T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray contains the given sequence in the given order and without extra values between the sequence values.
- doesNotContainSequence(T...) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray contains the given sequence in the given order and without extra values between the sequence values.
- doesNotContainSequenceForProxy(ELEMENT[]) - Method in class org.assertj.core.api.AbstractIterableAssert
- doesNotContainSequenceForProxy(ELEMENT[]) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
- doesNotContainSequenceForProxy(T[]) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
- doesNotContainSubsequence(ELEMENT...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group does not contain the given subsequence, a subsequence is defined by an ordered group of values with possibly extra values between them.
- doesNotContainSubsequence(ELEMENT...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array does not contain the given subsequence in the correct order (possibly with other values between them).
- doesNotContainSubsequence(ELEMENT...) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group does not contain the given subsequence, a subsequence is defined by an ordered group of values with possibly extra values between them.
- doesNotContainSubsequence(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group does not contain the given subsequence, a subsequence is defined by an ordered group of values with possibly extra values between them.
- doesNotContainSubsequence(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array does not contain the given subsequence in the correct order (possibly with other values between them).
- doesNotContainSubsequence(Iterable<? extends ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group does not contain the given subsequence, a subsequence is defined by an ordered group of values with possibly extra values between them.
- doesNotContainSubsequence(Iterable<? extends T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray does not contain the given subsequence in the correct order (possibly with other values between them).
- doesNotContainSubsequence(T...) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray does not contain the given subsequence in the correct order (possibly with other values between them).
- doesNotContainSubsequenceForProxy(ELEMENT[]) - Method in class org.assertj.core.api.AbstractIterableAssert
- doesNotContainSubsequenceForProxy(ELEMENT[]) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
- doesNotContainSubsequenceForProxy(T[]) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
- doesNotContainValue(V) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual map does not contain the given value.
- doesNotEndWith(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
does not end with the given suffix. - doesNotEndWithIgnoringCase(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
does not end with the given suffix, ignoring case considerations. - doesNotExist() - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the actual
File
does not exist. - doesNotExist() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
does not exist. - doesNotHave(Condition<? super ACTUAL>) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value does not satisfy the given condition.
- doesNotHave(Condition<? super ACTUAL>) - Method in class org.assertj.core.api.AbstractIterableAssert
- doesNotHave(Condition<? super ACTUAL>) - Method in class org.assertj.core.api.AbstractListAssert
- doesNotHave(Condition<? super ACTUAL>) - Method in class org.assertj.core.api.AbstractMapAssert
- doesNotHave(Condition<? super ACTUAL>) - Method in interface org.assertj.core.api.ExtensionPoints
-
Verifies that the actual value does not satisfy the given condition.
- doesNotHave(Condition<? super T>) - Static method in class org.assertj.core.api.Assertions
-
Creates a new
.DoesNotHave
- doesNotHave(Condition<? super T>) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new
.DoesNotHave
- doesNotHave(Condition<? super T>) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new
.DoesNotHave
- doesNotHave(Condition<? super T>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new
.DoesNotHave
- doesNotHave(Condition<? super T>) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new
.DoesNotHave
- doesNotHave(Condition<? super T>) - Static method in class org.assertj.core.condition.DoesNotHave
-
Creates a new
.DoesNotHave
- DoesNotHave<T> - Class in org.assertj.core.condition
-
Returns
true
if the condition is not satisfied. - doesNotHaveAnyElementsOfTypes(Class<?>...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that all elements in the actual
Iterable
do not have the specified types (including subclasses). - doesNotHaveAnyElementsOfTypes(Class<?>...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that all the elements in the actual
Object
group do not belong to the specified types (including subclasses). - doesNotHaveAnyElementsOfTypes(Class<?>...) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that all the elements in the actual AtomicReferenceArray do not belong to the specified types (including subclasses).
- doesNotHaveAnyElementsOfTypes(Class<?>...) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that all the elements in the actual
Object
group do not belong to the specified types (including subclasses). - doesNotHaveDuplicates() - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual array does not contain duplicates.
- doesNotHaveDuplicates() - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual array does not contain duplicates.
- doesNotHaveDuplicates() - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual array does not contain duplicates.
- doesNotHaveDuplicates() - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array does not contain duplicates.
- doesNotHaveDuplicates() - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array does not contain duplicates.
- doesNotHaveDuplicates() - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual array does not contain duplicates.
- doesNotHaveDuplicates() - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group does not contain duplicates.
- doesNotHaveDuplicates() - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual array does not contain duplicates.
- doesNotHaveDuplicates() - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array does not contain duplicates.
- doesNotHaveDuplicates() - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array does not contain duplicates.
- doesNotHaveDuplicates() - Method in class org.assertj.core.api.AtomicIntegerArrayAssert
-
Verifies that the actual atomic array does not contain duplicates.
- doesNotHaveDuplicates() - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the actual atomic array does not contain duplicates.
- doesNotHaveDuplicates() - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray does not contain duplicates.
- doesNotHaveDuplicates() - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group does not contain duplicates.
- doesNotHaveDuplicates(Offset<Double>) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array does not contain duplicates.
- doesNotHaveDuplicates(Offset<Float>) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array does not contain duplicates.
- doesNotHaveSameClassAs(Object) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value does not have the same class as the given object.
- doesNotHaveSameClassAs(Object) - Method in class org.assertj.core.api.AbstractIterableAssert
- doesNotHaveSameClassAs(Object) - Method in class org.assertj.core.api.AbstractListAssert
- doesNotHaveSameClassAs(Object) - Method in class org.assertj.core.api.AbstractMapAssert
- doesNotHaveSameClassAs(Object) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value does not have the same class as the given object.
- doesNotHaveSameHashCodeAs(Object) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual object does not have the same hashCode as the given object.
- doesNotHaveSameHashCodeAs(Object) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual object does not have the same hashCode as the given object.
- doesNotHaveToString(String) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that actual
actual.toString()
is not equal to the givenString
. - doesNotHaveToString(String) - Method in interface org.assertj.core.api.Assert
-
Verifies that actual
actual.toString()
is not equal to the givenString
. - doesNotHaveValue(int) - Method in class org.assertj.core.api.AtomicIntegerAssert
-
Verifies that the actual atomic does not have the given value.
- doesNotHaveValue(long) - Method in class org.assertj.core.api.AbstractLongAdderAssert
-
Verifies that the actual sum has not the given value.
- doesNotHaveValue(long) - Method in class org.assertj.core.api.AtomicLongAssert
-
Verifies that the actual atomic has not the given value.
- doesNotHaveValue(V) - Method in class org.assertj.core.api.AtomicReferenceAssert
-
Verifies that the atomic under test does not have the given value.
- doesNotMatch(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
does not match the given regular expression. - doesNotMatch(Pattern) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
does not match the given regular expression pattern. - doesNotReturn(T, Function<ACTUAL, T>) - Method in class org.assertj.core.api.AbstractObjectAssert
-
Verifies that the object under test does not return the given expected value from the given
Function
, a typical usage is to pass a method reference to assert object's property. - doesNotStartWith(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
does not start with the given prefix. - doesNotStartWithIgnoringCase(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
does not start with the given prefix, ignoring case considerations. - doesNotThrowAnyException() - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the
ThrowableAssert.ThrowingCallable
didn't raise a throwable. - doNotHave(Condition<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that all elements do not satisfy the given condition.
- doNotHave(Condition<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that all elements don't satisfy the given condition.
- doNotHave(Condition<? super ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that all elements do not satisfy the given condition.
- doNotHave(Condition<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that all elements don't satisfy the given condition.
- DOUBLE - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- DOUBLE_2D_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for adouble
two-dimensional array. - DOUBLE_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for adouble
array. - DOUBLE_PREDICATE - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- DOUBLE_STREAM - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- Double2DArrayAssert - Class in org.assertj.core.api
-
Assertion methods for two-dimensional arrays of
double
s. - Double2DArrayAssert(double[][]) - Constructor for class org.assertj.core.api.Double2DArrayAssert
- double2dArrays - Variable in class org.assertj.core.api.Double2DArrayAssert
- DoubleArrayAssert - Class in org.assertj.core.api
-
Assertion methods for arrays of
double
s. - DoubleArrayAssert(double[]) - Constructor for class org.assertj.core.api.DoubleArrayAssert
- DoubleAssert - Class in org.assertj.core.api
-
Assertion methods for
Double
s. - DoubleAssert(double) - Constructor for class org.assertj.core.api.DoubleAssert
- DoubleAssert(Double) - Constructor for class org.assertj.core.api.DoubleAssert
- DoubleComparator - Class in org.assertj.core.util
- DoubleComparator(double) - Constructor for class org.assertj.core.util.DoubleComparator
- doubleComparatorWithPrecision(double) - Method in class org.assertj.core.api.ComparatorFactory
- DoublePredicateAssert - Class in org.assertj.core.api
-
Assertions for
Predicate
. - DoublePredicateAssert(DoublePredicate) - Constructor for class org.assertj.core.api.DoublePredicateAssert
- DualValue - Class in org.assertj.core.api.recursive.comparison
- DualValue(List<String>, Object, Object) - Constructor for class org.assertj.core.api.recursive.comparison.DualValue
- DualValue(FieldLocation, Object, Object) - Constructor for class org.assertj.core.api.recursive.comparison.DualValue
- DURATION - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for aDuration
. - DurationAssert - Class in org.assertj.core.api
-
Assertion methods for
Duration
- DurationAssert(Duration) - Constructor for class org.assertj.core.api.DurationAssert
-
Creates a new
DurationAssert
E
- element(int) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Navigate and allow to perform assertions on the chosen element of the
Iterable
under test. - element(int, InstanceOfAssertFactory<?, ASSERT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Navigate and allow to perform assertions on the chosen element of the
Iterable
under test. - ELEMENT_SEPARATOR - Static variable in class org.assertj.core.presentation.StandardRepresentation
- ELEMENT_SEPARATOR_WITH_NEWLINE - Static variable in class org.assertj.core.presentation.StandardRepresentation
- elements(int...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Allow to perform assertions on the elements corresponding to the given indices (the iterable
Iterable
under test is changed to an iterable with the selected elements). - elementsDifferAtIndex(Object, Object, int) - Static method in class org.assertj.core.error.ShouldContainExactly
-
Creates a new
for the case where actual and expected have the same elements in different order.ShouldContainExactly
- elementsDifferAtIndex(Object, Object, int, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainExactly
-
Creates a new
for the case where actual and expected have the same elements in different order according to the givenShouldContainExactly
ComparisonStrategy
. - elementsShouldBe(Object, Object, Condition<?>) - Static method in class org.assertj.core.error.ElementsShouldBe
-
Creates a new
.ElementsShouldBe
- ElementsShouldBe - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that each element of a group satisfies a
Condition
A group of elements can be a collection, an array. - elementsShouldBeAtLeast(Object, int, Condition<?>) - Static method in class org.assertj.core.error.ElementsShouldBeAtLeast
-
Creates a new
.ElementsShouldBeAtLeast
- ElementsShouldBeAtLeast - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies elements of a group satisfies at least n times a
Condition
A group of elements can be a collection, an array. - elementsShouldBeAtMost(Object, int, Condition<?>) - Static method in class org.assertj.core.error.ElementsShouldBeAtMost
-
Creates a new
.ElementsShouldBeAtMost
- ElementsShouldBeAtMost - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies elements of a group satisfies at most n times a
Condition
A group of elements can be a collection, an array. - elementsShouldBeExactly(Object, int, Condition<?>) - Static method in class org.assertj.core.error.ElementsShouldBeExactly
-
Creates a new
.ElementsShouldBeExactly
- ElementsShouldBeExactly - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies elements of a group satisfies exactly n times a
Condition
A group of elements can be a collection, an array. - elementsShouldHave(Object, Object, Condition<?>) - Static method in class org.assertj.core.error.ElementsShouldHave
-
Creates a new
.ElementsShouldHave
- ElementsShouldHave - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that each element of a group satisfies a
Condition
A group of elements can be a collection, an array. - elementsShouldHaveAtLeast(Object, int, Condition<?>) - Static method in class org.assertj.core.error.ElementsShouldHaveAtLeast
-
Creates a new
.ElementsShouldHaveAtLeast
- ElementsShouldHaveAtLeast - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies elements of a group satisfies at least n times a
Condition
A group of elements can be a collection, an array. - elementsShouldHaveAtMost(Object, int, Condition<?>) - Static method in class org.assertj.core.error.ElementsShouldHaveAtMost
-
Creates a new
.ElementsShouldHaveAtMost
- ElementsShouldHaveAtMost - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies elements of a group satisfies at most n times a
Condition
A group of elements can be a collection, an array. - elementsShouldHaveExactly(Object, int, Condition<?>) - Static method in class org.assertj.core.error.ElementsShouldHaveExactly
-
Creates a new
.ElementsShouldHaveExactly
- ElementsShouldHaveExactly - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies elements of a group satisfies exactly n times a
Condition
A group of elements can be a collection, an array. - elementsShouldMatch(Object, T, PredicateDescription) - Static method in class org.assertj.core.error.ElementsShouldMatch
- ElementsShouldMatch - Class in org.assertj.core.error
- elementsShouldNotBe(Object, Object, Condition<?>) - Static method in class org.assertj.core.error.ElementsShouldNotBe
-
Creates a new
.ElementsShouldNotBe
- ElementsShouldNotBe - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that not verifies that each element of a group satisfies a
Condition
A group of elements can be a collection, an array. - elementsShouldNotHave(Object, Object, Condition<?>) - Static method in class org.assertj.core.error.ElementsShouldNotHave
-
Creates a new
.ElementsShouldNotHave
- ElementsShouldNotHave - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that each element of a group satisfies a
Condition
A group of elements can be a collection, an array. - elementsShouldSatisfy(Object, List<UnsatisfiedRequirement>, AssertionInfo) - Static method in class org.assertj.core.error.ElementsShouldSatisfy
- ElementsShouldSatisfy - Class in org.assertj.core.error
- elementsShouldSatisfyAny(Object, List<UnsatisfiedRequirement>, AssertionInfo) - Static method in class org.assertj.core.error.ElementsShouldSatisfy
- elementsShouldSatisfyExactly(Object, Map<Integer, UnsatisfiedRequirement>, AssertionInfo) - Static method in class org.assertj.core.error.ElementsShouldSatisfy
- elementsTypesDifferAtIndex(Object, Class<?>, int) - Static method in class org.assertj.core.error.ShouldHaveExactlyTypes
- EMPTY - Enum constant in enum org.assertj.core.error.ShouldContainOnlyNulls.ErrorType
- emptyDescription() - Static method in class org.assertj.core.description.EmptyTextDescription
- emptyIfNull(Description) - Static method in class org.assertj.core.description.Description
- emptyList() - Static method in class org.assertj.core.util.Lists
-
Deprecated.use
Collections.emptyList()
instead. - EmptyTextDescription - Class in org.assertj.core.description
-
A description containing empty text.
- encodedAsBase64() - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Deprecated.use
AbstractByteArrayAssert.asBase64Encoded()
instead.Encodes the actual array into a Base64 string, the encoded string becoming the new object under test.
Examples:
// assertion succeeds assertThat("AssertJ".getBytes()).encodedAsBase64().isEqualTo("QXNzZXJ0Sg==");
- endsWith(boolean...) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(byte...) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(char...) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(double...) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(double[], Offset<Double>) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(float...) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(float[], Offset<Float>) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(int...) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(int...) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(int...) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(int...) - Method in class org.assertj.core.api.AtomicIntegerArrayAssert
-
Verifies that the actual atomic array ends with the given sequence of values, without any other values between them.
- endsWith(long...) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(long...) - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the actual atomic array ends with the given sequence of values, without any other values between them.
- endsWith(short...) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(ELEMENT[]) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group ends with the given sequence of objects, without any other objects between them.
- endsWith(ELEMENT[]) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array ends with the given sequence of objects, without any other objects between them.
- endsWith(ELEMENT[]) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group ends with the given sequence of objects, without any other objects between them.
- endsWith(ELEMENT, ELEMENT...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group ends with the given sequence of objects, without any other objects between them.
- endsWith(ELEMENT, ELEMENT...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array ends with the given sequence of objects, without any other objects between them.
- endsWith(ELEMENT, ELEMENT...) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual group ends with the given sequence of objects, without any other objects between them.
- endsWith(Boolean[]) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(Byte[]) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(Character[]) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
ends with the given suffix, ignoring case considerations. - endsWith(Double[]) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(Double[], Offset<Double>) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(Float[]) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(Float[], Offset<Float>) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(Integer[]) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(Long[]) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(Short[]) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual array ends with the given sequence of values, without any other values between them.
- endsWith(Path) - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
ends with the given path. - endsWith(T[]) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray ends with the given sequence of objects, without any other objects between them.
- endsWith(T, T...) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray ends with the given sequence of objects, without any other objects between them.
- endsWithForProxy(ELEMENT, ELEMENT[]) - Method in class org.assertj.core.api.AbstractIterableAssert
- endsWithForProxy(ELEMENT, ELEMENT[]) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
- endsWithForProxy(T, T[]) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
- endsWithIgnoringCase(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
ends with the given suffix, ignoring case considerations. - endsWithRaw(Path) - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
ends with the given path. - entry(K, V) - Static method in class org.assertj.core.api.Assertions
-
Only delegate to
MapEntry.entry(Object, Object)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useMapEntry
if you prefer). - entry(K, V) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Only delegate to
MapEntry.entry(Object, Object)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useMapEntry
if you prefer). - entry(K, V) - Static method in class org.assertj.core.api.BDDAssertions
-
Only delegate to
MapEntry.entry(Object, Object)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useMapEntry
if you prefer). - entry(K, V) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Only delegate to
MapEntry.entry(Object, Object)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useMapEntry
if you prefer). - entry(K, V) - Method in interface org.assertj.core.api.WithAssertions
-
Only delegate to
MapEntry.entry(Object, Object)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useMapEntry
if you prefer). - entry(K, V) - Static method in class org.assertj.core.data.MapEntry
-
Creates a new
MapEntry
. - entryByField() - Method in class org.assertj.core.api.recursive.comparison.FieldMessages
-
Returns a sequence of all field-entry pairs which the current holder supplies.
- EnumerableAssert<SELF extends EnumerableAssert<SELF,
ELEMENT>, ELEMENT> - Interface in org.assertj.core.api -
Assertions applicable to groups of values that can be enumerated (e.g.
- Equalizer<T> - Interface in org.assertj.core.util.diff.myers
-
Copy from https://code.google.com/p/java-diff-utils/.
- equals(Object) - Method in class org.assertj.core.api.AbstractAssert
-
Deprecated.use
AbstractAssert.isEqualTo(java.lang.Object)
instead - equals(Object) - Method in interface org.assertj.core.api.Assert
-
Deprecated.Throws
if called. It is easy to accidentally callUnsupportedOperationException
equals(Object)
instead of
.Assert.isEqualTo(Object)
- equals(Object) - Method in class org.assertj.core.api.recursive.comparison.ComparisonDifference
- equals(Object) - Method in class org.assertj.core.api.recursive.comparison.DualValue
- equals(Object) - Method in class org.assertj.core.api.recursive.comparison.FieldMessages
- equals(Object) - Method in class org.assertj.core.api.recursive.comparison.FieldLocation
- equals(Object) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- equals(Object) - Method in class org.assertj.core.data.Index
- equals(Object) - Method in class org.assertj.core.data.MapEntry
- equals(Object) - Method in class org.assertj.core.data.Offset
- equals(Object) - Method in class org.assertj.core.data.Percentage
- equals(Object) - Method in class org.assertj.core.data.TemporalUnitOffset
- equals(Object) - Method in class org.assertj.core.description.JoinDescription
- equals(Object) - Method in class org.assertj.core.description.TextDescription
- equals(Object) - Method in class org.assertj.core.error.BasicErrorMessageFactory
- equals(Object) - Method in class org.assertj.core.error.ShouldBeEqual
- equals(Object) - Method in class org.assertj.core.groups.Tuple
- equals(Object) - Method in class org.assertj.core.presentation.PredicateDescription
- equals(Object) - Method in class org.assertj.core.util.diff.Chunk
- equals(Object) - Method in class org.assertj.core.util.diff.Delta
- equals(Object) - Method in class org.assertj.core.util.DoubleComparator
- equals(Object) - Method in class org.assertj.core.util.FloatComparator
- equals(T, T) - Method in interface org.assertj.core.util.diff.myers.Equalizer
-
Indicates if two elements are equal according to the diff mechanism.
- equalsTo(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 given value. - error - Variable in class org.assertj.core.error.ZippedElementsShouldSatisfy.ZipSatisfyError
- ErrorCollector - Class in org.assertj.core.api
-
Collects error messages of all AssertionErrors thrown by the proxied method.
- ErrorMessageFactory - Interface in org.assertj.core.error
-
Factory of error messages.
- errorsCollected() - Method in class org.assertj.core.api.AbstractSoftAssertions
-
Returns a copy of list of soft assertions collected errors.
- escapePercent(String) - Static method in class org.assertj.core.util.Strings
- exists() - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the actual
File
exists, regardless it's a file or directory. - exists() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
exists according toFiles#exists(Path)
) - existsNoFollowLinks() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
exists, not following symbolic links, by callingFiles#exists(Path, LinkOption.NOFOLLOW_LINKS)
). - expected - Variable in class org.assertj.core.error.ShouldBeEqual
- expectedThrowableType - Variable in class org.assertj.core.api.ThrowableTypeAssert
- ExtensionPoints<SELF extends ExtensionPoints<SELF,
ACTUAL>, ACTUAL> - Interface in org.assertj.core.api -
Mechanism for extending assertion classes.
- extract(F) - Method in interface org.assertj.core.api.iterable.Extractor
-
Deprecated.
- extract(F[], Function<? super F, T>) - Static method in class org.assertj.core.groups.FieldsOrPropertiesExtractor
-
Call
FieldsOrPropertiesExtractor.extract(Iterable, Function)
after converting objects to an iterable. - extract(Iterable<? extends F>, Function<? super F, T>) - Static method in class org.assertj.core.groups.FieldsOrPropertiesExtractor
-
Behavior is described in
AbstractIterableAssert.extracting(Function)
- extractedDescriptionOf(Object...) - Static method in class org.assertj.core.extractor.Extractors
- extractedDescriptionOf(String...) - Static method in class org.assertj.core.extractor.Extractors
- extractedDescriptionOfMethod(String) - Static method in class org.assertj.core.extractor.Extractors
- extracting(Object) - Method in class org.assertj.core.api.AbstractMapAssert
-
Deprecated.use
AbstractMapAssert.extractingByKey(Object)
instead - extracting(Object...) - Method in class org.assertj.core.api.AbstractMapAssert
-
Deprecated.use
AbstractMapAssert.extractingByKeys(Object[])
instead - extracting(String) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Extract the values of the given field or property from the Iterable's elements under test into a new Iterable, this new Iterable becoming the Iterable under test.
- extracting(String) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Extract the values of given field or property from the array's elements under test into a new list, this new list becoming the object under test.
- extracting(String) - Method in class org.assertj.core.api.AbstractObjectAssert
-
Extracts the value of given field/property from the object under test, the extracted value becoming the new object under test.
- extracting(String) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Extract the values of given field or property from the array's elements under test into a new array, this new array becoming the array under test.
- extracting(String...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Extract the values of the given fields/properties from the Iterable's elements under test into a new Iterable composed of Tuples (a simple data structure), this new Iterable becoming the Iterable under test.
- extracting(String...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Extract the values of given fields/properties from the array's elements under test into a list composed of Tuple (a simple data structure), this new list becoming the object under test.
- extracting(String...) - Method in class org.assertj.core.api.AbstractObjectAssert
-
Extracts the values of given fields/properties from the object under test into a list, this new list becoming the object under test.
- extracting(String...) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Extract the values of given fields/properties from the array's elements under test into a new array composed of Tuple (a simple data structure), this new array becoming the array under test.
- extracting(String, Class<P>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Extract the values of given field or property from the Iterable's elements under test into a new Iterable, this new Iterable becoming the Iterable under test.
- extracting(String, Class<P>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Extract the values of given field or property from the array's elements under test into a new list, this new list of the provided type becoming the object under test.
- extracting(String, Class<P>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Extract the values of given field or property from the array's elements under test into a new array, this new array becoming the array under test with type.
- extracting(String, AssertFactory<Object, ASSERT>) - Method in class org.assertj.core.api.AbstractAssert
-
Extracts the value of given field/property from the object under test and creates a new assertion object using the given assert factory.
- extracting(String, InstanceOfAssertFactory<?, ASSERT>) - Method in class org.assertj.core.api.AbstractObjectAssert
-
Extracts the value of given field/property from the object under test, the extracted value becoming the new object under test.
- extracting(Function<? super ACTUAL, ?>...) - Method in class org.assertj.core.api.AbstractObjectAssert
-
Uses the given
Function
s to extract the values from the object under test into a list, this new list becoming the object under test. - extracting(Function<? super ACTUAL, ? extends T>, AssertFactory<T, ASSERT>) - Method in class org.assertj.core.api.AbstractAssert
-
Uses the given
Function
to extract a value from the object under test and creates a new assertion object using the given assert factory. - extracting(Function<? super ACTUAL, T>) - Method in class org.assertj.core.api.AbstractObjectAssert
-
Uses the given
Function
to extract a value from the object under test, the extracted value becoming the new object under test. - extracting(Function<? super ACTUAL, T>, InstanceOfAssertFactory<?, ASSERT>) - Method in class org.assertj.core.api.AbstractObjectAssert
-
Uses the given
Function
to extract a value from the object under test, the extracted value becoming the new object under test. - extracting(Function<? super ELEMENT, ?>...) - Method in class org.assertj.core.api.AbstractIterableAssert
- extracting(Function<? super ELEMENT, ?>...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
- extracting(Function<? super ELEMENT, U>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Extract the values from the array's elements by applying an extracting function on them, the resulting list becomes the new object under test.
- extracting(Function<? super ELEMENT, V>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Extract the values from Iterable's elements under test by applying an extracting function on them.
- extracting(Function<? super T, U>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Extract the values from the array's elements by applying an extracting function on them.
- extracting(ThrowingExtractor<? super ELEMENT, V, EXCEPTION>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Extract the values from Iterable's elements under test by applying an extracting function (which might throw an exception) on them.
- extracting(ThrowingExtractor<? super ELEMENT, V, EXCEPTION>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Extract the values from the array's elements by applying an extracting function (which might throw an exception) on them, the resulting list of extracted values becomes a new object under test.
- extracting(ThrowingExtractor<? super T, U, EXCEPTION>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Extract the values from the array's elements by applying an extracting function (which might throw an exception) on them.
- extractingByKey(K) - Method in class org.assertj.core.api.AbstractMapAssert
-
Extract the value of given key from the map under test, the extracted value becoming the new object under test.
- extractingByKey(K, InstanceOfAssertFactory<?, ASSERT>) - Method in class org.assertj.core.api.AbstractMapAssert
-
Extract the value of given key from the map under test, the extracted value becoming the new object under test.
- extractingByKeys(K...) - Method in class org.assertj.core.api.AbstractMapAssert
-
Extract the values of given keys from the map under test into an array, this new array becoming the object under test.
- extractingByKeysForProxy(K[]) - Method in class org.assertj.core.api.AbstractMapAssert
- extractingForProxy(Function<? super ACTUAL, ?>[]) - Method in class org.assertj.core.api.AbstractObjectAssert
- extractingForProxy(Function<? super ELEMENT, ?>[]) - Method in class org.assertj.core.api.AbstractIterableAssert
- extractingForProxy(Function<? super ELEMENT, ?>[]) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
- extractingFromEntries(Function<? super Map.Entry<K, V>, Object>) - Method in class org.assertj.core.api.AbstractMapAssert
- extractingFromEntries(Function<? super Map.Entry<K, V>, Object>...) - Method in class org.assertj.core.api.AbstractMapAssert
- extractingFromEntriesForProxy(Function<? super Map.Entry<K, V>, Object>[]) - Method in class org.assertj.core.api.AbstractMapAssert
- extractingPrivateFieldsEnabled() - Method in class org.assertj.core.configuration.Configuration
-
Returns whether private fields comparison is enabled.
- extractingResultOf(String) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Extract the result of given method invocation on the Iterable's elements under test into a new Iterable, this new Iterable becoming the Iterable under test.
- extractingResultOf(String) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Extract the result of given method invocation from the array's elements under test into a list, this list becoming the object under test.
- extractingResultOf(String) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Extract the result of given method invocation from the array's elements under test into a new array, this new array becoming the array under test.
- extractingResultOf(String, Class<P>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Extract the result of given method invocation on the Iterable's elements under test into a new list of the given class, this new List becoming the object under test.
- extractingResultOf(String, Class<P>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Extract the result of given method invocation from the array's elements under test into a list, this list becoming the object under test.
- extractingResultOf(String, Class<P>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Extract the result of given method invocation from the array's elements under test into a new array, this new array becoming the array under test.
- extraction() - Static method in enum org.assertj.core.util.introspection.FieldSupport
-
Returns the instance dedicated to extraction of fields.
- EXTRACTION - Enum constant in enum org.assertj.core.util.introspection.FieldSupport
- EXTRACTION - Static variable in class org.assertj.core.util.introspection.PropertyOrFieldSupport
- EXTRACTION_OF_PUBLIC_FIELD_ONLY - Enum constant in enum org.assertj.core.util.introspection.FieldSupport
- Extractor<F,
T> - Interface in org.assertj.core.api.iterable -
Deprecated.use
Function
instead - Extractors - Class in org.assertj.core.extractor
-
Extractors factory, providing convenient methods of creating common extractors.
- Extractors() - Constructor for class org.assertj.core.extractor.Extractors
- extractProperty(String) - Static method in class org.assertj.core.api.Assertions
-
Only delegate to
Properties.extractProperty(String)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useProperties
if you prefer). - extractProperty(String) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Only delegate to
Properties.extractProperty(String)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useProperties
if you prefer). - extractProperty(String) - Static method in class org.assertj.core.api.BDDAssertions
-
Only delegate to
Properties.extractProperty(String)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useProperties
if you prefer). - extractProperty(String) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Only delegate to
Properties.extractProperty(String)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useProperties
if you prefer). - extractProperty(String) - Method in interface org.assertj.core.api.WithAssertions
-
Only delegate to
Properties.extractProperty(String)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useProperties
if you prefer). - extractProperty(String) - Static method in class org.assertj.core.groups.Properties
-
Creates a new
.Properties
with given propertyName and Object as property type. - extractProperty(String, Class<T>) - Static method in class org.assertj.core.api.Assertions
-
Only delegate to
Properties.extractProperty(String)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useProperties
if you prefer). - extractProperty(String, Class<T>) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Only delegate to
Properties.extractProperty(String)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useProperties
if you prefer). - extractProperty(String, Class<T>) - Static method in class org.assertj.core.api.BDDAssertions
-
Only delegate to
Properties.extractProperty(String)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useProperties
if you prefer). - extractProperty(String, Class<T>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Only delegate to
Properties.extractProperty(String)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useProperties
if you prefer). - extractProperty(String, Class<T>) - Method in interface org.assertj.core.api.WithAssertions
-
Only delegate to
Properties.extractProperty(String)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useProperties
if you prefer). - extractProperty(String, Class<T>) - Static method in class org.assertj.core.groups.Properties
-
Creates a new
.Properties
- extractThrows(F) - Method in interface org.assertj.core.api.iterable.ThrowingExtractor
F
- FactoryBasedNavigableIterableAssert<SELF extends FactoryBasedNavigableIterableAssert<SELF,
ACTUAL, ELEMENT, ELEMENT_ASSERT>, ACTUAL extends Iterable<? extends ELEMENT>, ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> - Class in org.assertj.core.api -
Provides helper methods for navigating a list property in a generated assertion class so we can chain assertions through deeply nested models more easily.
- FactoryBasedNavigableIterableAssert(ACTUAL, Class<?>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Constructor for class org.assertj.core.api.FactoryBasedNavigableIterableAssert
- FactoryBasedNavigableListAssert<SELF extends FactoryBasedNavigableListAssert<SELF,
ACTUAL, ELEMENT, ELEMENT_ASSERT>, ACTUAL extends List<? extends ELEMENT>, ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> - Class in org.assertj.core.api -
Provides helper methods for navigating a list property in a generated assertion class so we can chain assertions through deeply nested models more easily.
- FactoryBasedNavigableListAssert(ACTUAL, Class<?>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Constructor for class org.assertj.core.api.FactoryBasedNavigableListAssert
- fail(String) - Method in class org.assertj.core.api.AbstractSoftAssertions
-
Fails with the given message.
- fail(String) - Static method in class org.assertj.core.api.Assertions
-
Throws an
AssertionError
with the given message. - fail(String) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Only delegate to
Fail.fail(String)
so that Assertions offers a full feature entry point to all Assertj Assert features (but you can use Fail if you prefer). - fail(String) - Static method in class org.assertj.core.api.BDDAssertions
-
Throws an
AssertionError
with the given message. - fail(String) - Static method in class org.assertj.core.api.Fail
-
Throws an
AssertionError
with the given message. - fail(String) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Throws an
AssertionError
with the given message. - fail(String) - Method in interface org.assertj.core.api.WithAssertions
-
Throws an
AssertionError
with the given message. - fail(String, Object...) - Method in class org.assertj.core.api.AbstractSoftAssertions
-
Fails with the given message built like
String.format(String, Object...)
. - fail(String, Object...) - Static method in class org.assertj.core.api.Assertions
-
Throws an
AssertionError
with the given message built asString.format(String, Object...)
. - fail(String, Object...) - Static method in class org.assertj.core.api.BDDAssertions
-
Throws an
AssertionError
with the given message built asString.format(String, Object...)
. - fail(String, Object...) - Static method in class org.assertj.core.api.Fail
-
Throws an
AssertionError
with the given message built asString.format(String, Object...)
. - fail(String, Object...) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Throws an
AssertionError
with the given message built asString.format(String, Object...)
. - fail(String, Object...) - Method in interface org.assertj.core.api.WithAssertions
-
Throws an
AssertionError
with the given message built asString.format(String, Object...)
. - fail(String, Throwable) - Method in class org.assertj.core.api.AbstractSoftAssertions
-
Fails with the given message and with the
Throwable
that caused the failure. - fail(String, Throwable) - Static method in class org.assertj.core.api.Assertions
-
Throws an
AssertionError
with the given message and with theThrowable
that caused the failure. - fail(String, Throwable) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Only delegate to
Fail.fail(String, Throwable)
so that Assertions offers a full feature entry point to all AssertJ features (but you can use Fail if you prefer). - fail(String, Throwable) - Static method in class org.assertj.core.api.BDDAssertions
-
Throws an
AssertionError
with the given message and with theThrowable
that caused the failure. - fail(String, Throwable) - Static method in class org.assertj.core.api.Fail
-
Throws an
AssertionError
with the given message and with theThrowable
that caused the failure. - fail(String, Throwable) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Throws an
AssertionError
with the given message and with theThrowable
that caused the failure. - fail(String, Throwable) - Method in interface org.assertj.core.api.WithAssertions
-
Throws an
AssertionError
with the given message and with theThrowable
that caused the failure. - Fail - Class in org.assertj.core.api
-
Common failures.
- FAIL - Enum constant in enum org.assertj.core.api.Condition.Status
- failBecauseExceptionWasNotThrown(Class<? extends Throwable>) - Method in class org.assertj.core.api.AbstractSoftAssertions
-
Fails with a message explaining that a
Throwable
of given class was expected to be thrown but had not been. - failBecauseExceptionWasNotThrown(Class<? extends Throwable>) - Static method in class org.assertj.core.api.Assertions
-
Throws an
AssertionError
with a message explaining that aThrowable
of given class was expected to be thrown but had not been. - failBecauseExceptionWasNotThrown(Class<? extends Throwable>) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Only delegate to
Fail.failBecauseExceptionWasNotThrown(Class)
so that Assertions offers a full feature entry point to all AssertJ features (but you can use Fail if you prefer). - failBecauseExceptionWasNotThrown(Class<? extends Throwable>) - Static method in class org.assertj.core.api.Fail
-
Throws an
AssertionError
with a message explaining that aThrowable
of given class was expected to be thrown but had not been. - failBecauseExceptionWasNotThrown(Class<? extends Throwable>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Throws an
AssertionError
with a message explaining that aThrowable
of given class was expected to be thrown but had not been. - failBecauseExceptionWasNotThrown(Class<? extends Throwable>) - Method in interface org.assertj.core.api.WithAssertions
-
Throws an
AssertionError
with a message explaining that aThrowable
of given class was expected to be thrown but had not been. - failsWithin(long, TimeUnit) - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Checks that the future does not complete within the given time (by calling
Future.get(long, TimeUnit)
) and returns the exception that caused the failure for further (exception) assertions, the exception can be any ofInterruptedException
,ExecutionException
,TimeoutException
orCancellationException
. - failsWithin(long, TimeUnit) - Method in class org.assertj.core.api.AbstractFutureAssert
-
Checks that the future does not complete within the given time and returns the exception that caused the failure for further (exception) assertions, the exception can be any of
InterruptedException
,ExecutionException
,TimeoutException
orCancellationException
as perFuture.get(long, TimeUnit)
. - failsWithin(Duration) - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Checks that the future does not complete within the given time (by calling
Future.get(long, TimeUnit)
) and returns the exception that caused the failure for further (exception) assertions, the exception can be any ofInterruptedException
,ExecutionException
,TimeoutException
orCancellationException
. - failsWithin(Duration) - Method in class org.assertj.core.api.AbstractFutureAssert
-
Checks that the future does not complete within the given time and returns the exception that caused the failure for further (exception) assertions, the exception can be any of
InterruptedException
,ExecutionException
,TimeoutException
orCancellationException
as perFuture.get(long, TimeUnit)
. - failure(String, Object...) - Method in class org.assertj.core.api.AbstractAssert
-
Generate a custom assertion error using the information in this assertion.
- FailureMessages - Class in org.assertj.core.util
- failureWithActualExpected(Object, Object, String, Object...) - Method in class org.assertj.core.api.AbstractAssert
-
Generate a custom assertion error using the information in this assertion, using the given actual and expected values.
- failWithActualExpectedAndMessage(Object, Object, String, Object...) - Method in class org.assertj.core.api.AbstractAssert
-
Throw an assertion error based on information in this assertion.
- failWithMessage(String, Object...) - Method in class org.assertj.core.api.AbstractAssert
-
Throw an assertion error based on information in this assertion.
- fallbackToStringOf(Object) - Method in class org.assertj.core.presentation.StandardRepresentation
-
Returns the
String
representation of the given object. - FIELD_NAME - Static variable in class org.assertj.core.api.ErrorCollector
- FIELD_NAME - Static variable in class org.assertj.core.api.ProxifyMethodChangingTheObjectUnderTest
- FieldComparators - Class in org.assertj.core.api.recursive.comparison
-
An internal holder of the comparators for fields described by their path without element index.
- FieldComparators() - Constructor for class org.assertj.core.api.recursive.comparison.FieldComparators
- fieldHolder - Variable in class org.assertj.core.api.recursive.comparison.FieldMessages
- FieldLocation - Class in org.assertj.core.api.recursive.comparison
-
Represents the path to a given field.
- FieldLocation(String) - Constructor for class org.assertj.core.api.recursive.comparison.FieldLocation
- FieldLocation(List<String>) - Constructor for class org.assertj.core.api.recursive.comparison.FieldLocation
- FieldMessages - Class in org.assertj.core.api.recursive.comparison
-
An internal holder of the custom messages for fields described by their path without element index.
- FieldMessages() - Constructor for class org.assertj.core.api.recursive.comparison.FieldMessages
- fieldPathDescription() - Method in class org.assertj.core.api.recursive.comparison.ComparisonDifference
- FieldsOrPropertiesExtractor - Class in org.assertj.core.groups
-
Understands how to retrieve fields or values from a collection/array of objects.
- FieldsOrPropertiesExtractor() - Constructor for class org.assertj.core.groups.FieldsOrPropertiesExtractor
- FieldSupport - Enum in org.assertj.core.util.introspection
-
Utility methods for fields access.
- fieldValue(String, Class<T>, Object) - Method in enum org.assertj.core.util.introspection.FieldSupport
-
Return the value of field from a target object.
- fieldValues(String, Class<T>, Iterable<?>) - Method in enum org.assertj.core.util.introspection.FieldSupport
- fieldValues(String, Class<T>, Object[]) - Method in enum org.assertj.core.util.introspection.FieldSupport
- fieldValues(String, Iterable<?>) - Method in enum org.assertj.core.util.introspection.FieldSupport
- FILE - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for aFile
. - FILE_HAS_PARENT - Static variable in class org.assertj.core.error.ShouldHaveNoParent
- FILE_NO_PARENT - Static variable in class org.assertj.core.error.ShouldHaveParent
- FILE_NOT_EXPECTED_PARENT - Static variable in class org.assertj.core.error.ShouldHaveParent
- FILE_SHOULD_BE_DIRECTORY - Static variable in class org.assertj.core.error.ShouldBeDirectory
- FILE_SHOULD_EXIST - Static variable in class org.assertj.core.error.ShouldExist
- FILE_SHOULD_NOT_EXIST - Static variable in class org.assertj.core.error.ShouldNotExist
- FileAssert - Class in org.assertj.core.api
-
Assertion methods for
File
s. - FileAssert(File) - Constructor for class org.assertj.core.api.FileAssert
- fileNamesIn(String, boolean) - Static method in class org.assertj.core.util.Files
-
Returns the names of the files inside the specified directory.
- Files - Class in org.assertj.core.util
-
Utility methods related to files.
- FileSizeAssert<T> - Class in org.assertj.core.api
- FileSizeAssert(AbstractFileAssert<FileAssert>) - Constructor for class org.assertj.core.api.FileSizeAssert
- filter(E[]) - Static method in class org.assertj.core.api.Assertions
-
Only delegate to
Filters.filter(Object[])
so that Assertions offers a full feature entry point to all AssertJ features (but you can useFilters
if you prefer). - filter(E[]) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Only delegate to
Filters.filter(Object[])
so that Assertions offers a full feature entry point to all AssertJ features (but you can useFilters
if you prefer). - filter(E[]) - Static method in class org.assertj.core.api.filter.Filters
-
Creates a new
with the array to filter.Filters
- filter(E[]) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Only delegate to
Filters.filter(Object[])
so that Assertions offers a full feature entry point to all AssertJ features (but you can useFilters
if you prefer). - filter(E[]) - Method in interface org.assertj.core.api.WithAssertions
-
Only delegate to
Filters.filter(Object[])
so that Assertions offers a full feature entry point to all AssertJ features (but you can useFilters
if you prefer). - filter(Iterable<E>) - Static method in class org.assertj.core.api.Assertions
-
Only delegate to
Filters.filter(Object[])
so that Assertions offers a full feature entry point to all AssertJ features (but you can useFilters
if you prefer). - filter(Iterable<E>) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Only delegate to
Filters.filter(Object[])
so that Assertions offers a full feature entry point to all AssertJ features (but you can useFilters
if you prefer). - filter(Iterable<E>) - Static method in class org.assertj.core.api.filter.Filters
- filter(Iterable<E>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Only delegate to
Filters.filter(Object[])
so that Assertions offers a full feature entry point to all AssertJ features (but you can useFilters
if you prefer). - filter(Iterable<E>) - Method in interface org.assertj.core.api.WithAssertions
-
Only delegate to
Filters.filter(Object[])
so that Assertions offers a full feature entry point to all AssertJ features (but you can useFilters
if you prefer). - filter(Object) - Method in class org.assertj.core.api.filter.NotInFilter
- filteredOn(String, Object) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Filters the iterable under test keeping only elements having a property or field equal to
expectedValue
, the property/field is specified bypropertyOrFieldName
parameter. - filteredOn(String, Object) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Filter the array under test into a list composed of the elements elements having a property or field equal to
expectedValue
, the property/field is specified bypropertyOrFieldName
parameter. - filteredOn(String, Object) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Filter the array under test keeping only elements having a property or field equal to
expectedValue
, the property/field is specified bypropertyOrFieldName
parameter. - filteredOn(String, FilterOperator<?>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Filters the iterable under test keeping only elements having a property or field matching the filter expressed with the
FilterOperator
, the property/field is specified bypropertyOrFieldName
parameter. - filteredOn(String, FilterOperator<?>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Filter the array under test into a list composed of elements having a property or field matching the filter expressed with the
FilterOperator
, the property/field is specified bypropertyOrFieldName
parameter. - filteredOn(String, FilterOperator<?>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Filter the array under test keeping only elements having a property or field matching the filter expressed with the
FilterOperator
, the property/field is specified bypropertyOrFieldName
parameter. - filteredOn(Function<? super ELEMENT, T>, T) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Filters the iterable under test keeping only elements for which the result of the
function
is equal toexpectedValue
. - filteredOn(Function<? super ELEMENT, T>, T) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Filter the array under test into a list composed of the elements for which the result of the
function
is equal toexpectedValue
. - filteredOn(Function<? super T, U>, U) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Filter the array under test into a list composed of the elements for which the result of the
function
is equal toexpectedValue
. - filteredOn(Predicate<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Filters the iterable under test keeping only elements matching the given
Predicate
. - filteredOn(Predicate<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Filter the array under test into a list composed of the elements matching the given
Predicate
, allowing to perform assertions on the filtered list. - filteredOn(Predicate<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Filter the array under test into a list composed of the elements matching the given
Predicate
, allowing to perform assertions on the filtered list. - filteredOn(Condition<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Filters the iterable under test keeping only elements matching the given
Condition
. - filteredOn(Condition<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Filter the array under test into a list composed of the elements matching the given
Condition
, allowing to perform assertions on the filtered list. - filteredOn(Condition<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Filter the array under test keeping only elements matching the given
Condition
. - filteredOnAssertions(Consumer<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Filters the iterable under test keeping only elements matching the given assertions specified with a
Consumer
. - filteredOnAssertions(Consumer<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Filter the array under test keeping only elements matching the given assertions specified with a
Consumer
. - filteredOnAssertions(ThrowingConsumer<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Filters the iterable under test keeping only elements matching the given assertions specified with a
ThrowingConsumer
. - filteredOnAssertions(ThrowingConsumer<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Filter the array under test keeping only elements matching the given assertions specified with a
Consumer
. - filteredOnNull(String) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Filters the iterable under test keeping only elements whose property or field specified by
propertyOrFieldName
is null. - filteredOnNull(String) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Filter the array under test into a list composed of the elements whose property or field specified by
propertyOrFieldName
are null. - filteredOnNull(String) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Filter the array under test keeping only elements whose property or field specified by
propertyOrFieldName
is null. - FilterOperator<T> - Class in org.assertj.core.api.filter
- FilterOperator(T) - Constructor for class org.assertj.core.api.filter.FilterOperator
- filterParameter - Variable in class org.assertj.core.api.filter.FilterOperator
- Filters<E> - Class in org.assertj.core.api.filter
-
Filters the elements of a given
or array according to the specified filter criteria.Iterable
- first() - Method in class org.assertj.core.api.AbstractIterableAssert
-
Navigate and allow to perform assertions on the first element of the
Iterable
under test. - first(InstanceOfAssertFactory<?, ASSERT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Navigate and allow to perform assertions on the first element of the
Iterable
under test. - flatExtracting(String) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Extract Iterable's elements values corresponding to the given property/field name and concatenates them into a list becoming the new instance under test.
- flatExtracting(String) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Extract from array's elements the Iterable/Array values corresponding to the given property/field name and concatenate them into a single array becoming the new object under test.
- flatExtracting(String) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Extract from array's elements the Iterable/Array values corresponding to the given property/field name and concatenate them into a single array becoming the new object under test.
- flatExtracting(String...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Extract the given property/field values from each
Iterable
's element and flatten the extracted values in a list that is used as the new object under test. - flatExtracting(String...) - Method in class org.assertj.core.api.AbstractMapAssert
-
Flatten the values of the given keys from the actual map under test into a new array, this new array becoming the object under test.
- flatExtracting(Function<? super ELEMENT, ?>...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Extracts multiple values from each
Iterable
's element according to the givenFunction
s and concatenates/flattens them in a list that becomes the instance under test. - flatExtracting(Function<? super ELEMENT, ? extends Collection<V>>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Extracts Iterable elements values by applying a function and concatenates the result into a list that becomes the instance under test.
- flatExtracting(Function<? super ELEMENT, C>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Extract the Iterable values from arrays elements under test by applying an Iterable extracting function on them and concatenating the result lists into an array which becomes the new object under test.
- flatExtracting(Function<? super T, C>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Extract the Iterable values from the array's elements by applying an Iterable extracting function on them and concatenating the result lists into an array which becomes the new object under test.
- flatExtracting(ThrowingExtractor<? super ELEMENT, ?, EXCEPTION>...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Extracts multiple values from each
Iterable
's element according to the givenThrowingExtractor
s and concatenates/flattens them in a list that becomes the object under test. - flatExtracting(ThrowingExtractor<? super ELEMENT, ? extends Collection<V>, EXCEPTION>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Extracts Iterable elements values by applying a function (which might throw a checked exception) on them and concatenates/flattens the result into a single list that becomes the instance under test.
- flatExtracting(ThrowingExtractor<? super ELEMENT, C, EXCEPTION>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Extract the Iterable values from arrays elements under test by applying an Iterable extracting function (which might throw an exception) on them and concatenating the result lists into an array which becomes the new object under test.
- flatExtracting(ThrowingExtractor<? super T, C, EXCEPTION>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Extract the Iterable values from the array's elements by applying an Iterable extracting function (which might throw an exception) on them and concatenating the result lists into an array which becomes the new object under test.
- flatExtractingForProxy(Function<? super ELEMENT, ?>[]) - Method in class org.assertj.core.api.AbstractIterableAssert
- flatMap(Function<? super ELEMENT, ?>...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Maps multiple values from each
Iterable
's element according to the givenFunction
s and concatenates/flattens them in a list that becomes the instance under test. - flatMap(Function<? super ELEMENT, ? extends Collection<V>>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Maps the Iterable's elements under test by applying the given
Function
and flattens the resulting collections in a list becoming the object under test. - flatMap(Function<? super VALUE, Optional<U>>) - Method in class org.assertj.core.api.AbstractOptionalAssert
-
Call
flatMap
on theOptional
under test, assertions chained afterwards are performed on theOptional
resulting from the flatMap call. - flatMap(ThrowingExtractor<? super ELEMENT, ?, EXCEPTION>...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Maps multiple values from each
Iterable
's element according to the givenThrowingExtractor
s and concatenates/flattens them in a list that becomes the object under test. - flatMap(ThrowingExtractor<? super ELEMENT, ? extends Collection<V>, EXCEPTION>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Maps the Iterable's elements under test by applying a mapping function (which might throw a checked exception) and concatenates/flattens the result into a single list that becomes the instance under test.
- FLOAT - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- FLOAT_2D_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for afloat
two-dimensional array. - FLOAT_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for afloat
array. - Float2DArrayAssert - Class in org.assertj.core.api
-
Reusable assertions for two-dimensional arrays of
float
s. - Float2DArrayAssert(float[][]) - Constructor for class org.assertj.core.api.Float2DArrayAssert
- float2dArrays - Variable in class org.assertj.core.api.Float2DArrayAssert
- FloatArrayAssert - Class in org.assertj.core.api
-
Assertion methods for arrays of
float
s. - FloatArrayAssert(float[]) - Constructor for class org.assertj.core.api.FloatArrayAssert
- FloatAssert - Class in org.assertj.core.api
-
Assertion methods for floats.
- FloatAssert(float) - Constructor for class org.assertj.core.api.FloatAssert
- FloatAssert(Float) - Constructor for class org.assertj.core.api.FloatAssert
- FloatComparator - Class in org.assertj.core.util
- FloatComparator(float) - Constructor for class org.assertj.core.util.FloatComparator
- floatComparatorWithPrecision(float) - Method in class org.assertj.core.api.ComparatorFactory
- FloatingPointNumberAssert<SELF extends FloatingPointNumberAssert<SELF,
ACTUAL>, ACTUAL extends Number> - Interface in org.assertj.core.api -
Assertion methods applicable to floating-point
s.Number
- format - Variable in class org.assertj.core.error.BasicErrorMessageFactory
- format(Iterable<?>, String, String, String, String, Object) - Method in class org.assertj.core.presentation.StandardRepresentation
- format(Object[], String, String, String, String, Object) - Method in class org.assertj.core.presentation.StandardRepresentation
- format(Map<?, ?>) - Static method in class org.assertj.core.util.Maps
-
Deprecated.use
StandardRepresentation.toStringOf(Map)
instead. - format(Description) - Method in class org.assertj.core.error.DescriptionFormatter
-
Formats the given
by surrounding its text value with square brackets and adding a space at the end.Description
- format(Description, Representation, String, Object...) - Method in class org.assertj.core.error.MessageFormatter
-
Interprets a printf-style format
String
for failed assertion messages. - format(Representation, Map<?, ?>) - Static method in class org.assertj.core.util.Maps
-
Deprecated.use
StandardRepresentation.toStringOf(Map)
instead. - formatArray(Object) - Method in class org.assertj.core.presentation.StandardRepresentation
-
Returns the
String
representation of the given array, ornull
if the given object is eithernull
or not an array. - formatAsDatetime(Calendar) - Static method in class org.assertj.core.util.DateUtil
-
Formats the date of the given calendar using the ISO 8601 date-time format (yyyy-MM-dd'T'HH:mm:ss).
Method is thread safe. - formatAsDatetime(Date) - Static method in class org.assertj.core.util.DateUtil
-
Formats the given date using the ISO 8601 date-time format (yyyy-MM-dd'T'HH:mm:ss).
Method is synchronized because SimpleDateFormat is not thread safe (sigh). - formatAsDatetimeWithMs(Date) - Static method in class org.assertj.core.util.DateUtil
-
Formats the given date using the ISO 8601 date-time format with millisecond (yyyy-MM-dd'T'HH:mm:ss:SSS).
Method is synchronized because SimpleDateFormat is not thread safe (sigh). - formatIfArgs(String, Object...) - Static method in class org.assertj.core.util.Strings
-
Format with
String.format(String, Object...)
the given message if some args have been given otherwise just return the message. - formatPrimitiveArray(Object) - Method in class org.assertj.core.presentation.StandardRepresentation
- formatTimeDifference(Date, Date) - Static method in class org.assertj.core.util.DateUtil
-
Utility method to display a human readable time difference.
- from(Iterable<?>) - Method in class org.assertj.core.groups.Properties
-
Extracts the values of the property (specified previously in
) from the elements of the givenProperties.extractProperty(String)
.Iterable
- from(Object[]) - Method in class org.assertj.core.groups.Properties
-
Extracts the values of the property (specified previously in
) from the elements of the given array.Properties.extractProperty(String)
- from(Function<F, T>) - Static method in class org.assertj.core.api.Assertions
-
A syntax sugar to write fluent assertion using
AbstractObjectAssert.returns(Object, Function)
andAbstractObjectAssert.doesNotReturn(Object, Function)
. - from(Function<F, T>) - Static method in class org.assertj.core.api.BDDAssertions
-
A syntax sugar to write fluent assertion using
AbstractObjectAssert.returns(Object, Function)
andAbstractObjectAssert.doesNotReturn(Object, Function)
. - from(Function<F, T>) - Method in interface org.assertj.core.api.WithAssertions
-
A syntax sugar to write fluent assertion using
AbstractObjectAssert.returns(Object, Function)
andAbstractObjectAssert.doesNotReturn(Object, Function)
. - future(Class<RESULT>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for aFuture
. - FUTURE - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- FutureAssert<RESULT> - Class in org.assertj.core.api
-
Assertion methods for
Future
. - FutureAssert(Future<RESULT>) - Constructor for class org.assertj.core.api.FutureAssert
G
- generateAssumptionClass(Class<ASSERTION>) - Static method in class org.assertj.core.api.Assumptions
- generateUnifiedDiff(String, String, List<String>, Patch<String>, int) - Static method in class org.assertj.core.util.diff.DiffUtils
-
generateUnifiedDiff takes a Patch and some other arguments, returning the Unified Diff format text representing the Patch.
- GenericComparableAssert<ACTUAL extends Comparable<? super ACTUAL>> - Class in org.assertj.core.api
-
Concrete generic
to be used throughComparableAssert
Assertions.assertThat(java.lang.Comparable)
. - GenericComparableAssert(ACTUAL) - Constructor for class org.assertj.core.api.GenericComparableAssert
- get() - Method in class org.assertj.core.api.AbstractOptionalAssert
-
Verifies that the actual
Optional
is notnull
and not empty and returns an Object assertion that allows chaining (object) assertions on the optional value. - get() - Method in class org.assertj.core.api.filter.Filters
-
Returns the resulting filtered Iterable<E> (even if the constructor parameter type was an array).
- get(int) - Method in class org.assertj.core.util.ArrayWrapperList
- get(String) - Method in class org.assertj.core.api.recursive.comparison.FieldMessages
-
Retrieves a specific entity which is associated with the giving
filedLocation
from the field holder, if it presents. - get(InstanceOfAssertFactory<?, ASSERT>) - Method in class org.assertj.core.api.AbstractOptionalAssert
-
Verifies that the actual
Optional
is notnull
and not empty and returns an new assertion instance to chain assertions on the optional value. - getAbsoluteDuration(Temporal, Temporal) - Method in class org.assertj.core.data.TemporalUnitOffset
-
Returns absolute value of the difference as Duration.
- getActual() - Method in class org.assertj.core.api.AbstractTemporalAssert
- getActual() - Method in class org.assertj.core.api.recursive.comparison.ComparisonDifference
- getActualValue(OBJECT) - Method in class org.assertj.core.api.AbstractAtomicFieldUpdaterAssert
- getActualValue(OBJECT) - Method in class org.assertj.core.api.AtomicIntegerFieldUpdaterAssert
- getActualValue(OBJECT) - Method in class org.assertj.core.api.AtomicLongFieldUpdaterAssert
- getActualValue(OBJECT) - Method in class org.assertj.core.api.AtomicReferenceFieldUpdaterAssert
- getAdditionalInformation() - Method in class org.assertj.core.api.recursive.comparison.ComparisonDifference
- getAllInterfaces(Class<?>) - Static method in class org.assertj.core.util.introspection.ClassUtils
-
Gets a
List
of all interfaces implemented by the given class and its superclasses. - getAllRepresentationsOrderedByPriority() - Method in class org.assertj.core.presentation.CompositeRepresentation
- getAllSuperclasses(Class<?>) - Static method in class org.assertj.core.util.introspection.ClassUtils
-
Gets a
List
of superclasses for the given class. - getAssertionErrorCollector(ExtensionContext) - Static method in class org.assertj.core.api.junit.jupiter.SoftAssertionsExtension
-
Returns the
AssertionErrorCollector
for the given extension context, if none exists for the current context then one is created. - getAssumptionExceptionClass() - Method in enum org.assertj.core.configuration.PreferredAssumptionException
- getBeyondOffsetDifferenceDescription(Temporal, Temporal) - Method in class org.assertj.core.data.TemporalUnitLessThanOffset
-
Returns description of the difference between temporal values and expected offset details.
- getBeyondOffsetDifferenceDescription(Temporal, Temporal) - Method in class org.assertj.core.data.TemporalUnitOffset
-
Returns description of the difference between temporal values and expected offset details.
- getBeyondOffsetDifferenceDescription(Temporal, Temporal) - Method in class org.assertj.core.data.TemporalUnitWithinOffset
-
Returns description of the difference between temporal values and expected offset details.
- getBeyondOffsetDifferenceDescription(T, T) - Method in interface org.assertj.core.data.TemporalOffset
-
Returns description of the difference between temporal values and expected offset details.
- getCause() - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Deprecated.use
AbstractThrowableAssert.cause()
instead.Returns a new assertion object that uses the cause of the current Throwable as the actual Throwable under test.
Examples:
Throwable cause = new IllegalArgumentException("wrong amount 123"); Throwable exception = new Exception("boom!", cause); // typical use: assertThat(throwableWithMessage).getCause() .hasMessageStartingWith("wrong amount");
- getComparatorForField(String) - Method in class org.assertj.core.api.recursive.comparison.FieldComparators
-
Retrieves a custom comparator, which is associated with the giving field location.
- getComparatorForField(String) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- getComparatorForType(Class<?>) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- getComparatorsByType() - Method in class org.assertj.core.api.AbstractIterableAssert
- getComparatorsByType() - Method in class org.assertj.core.api.AbstractObjectArrayAssert
- getComparatorsByType() - Method in class org.assertj.core.api.AbstractObjectAssert
- getComparatorsByType() - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
- getComparatorsForElementPropertyOrFieldTypes() - Method in class org.assertj.core.api.AbstractIterableAssert
- getComparatorsForElementPropertyOrFieldTypes() - Method in class org.assertj.core.api.AbstractObjectArrayAssert
- getComparatorsForElementPropertyOrFieldTypes() - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
- getComparedFields() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Returns the set of fields to compare from the object under test (no other fields will be compared).
- getComponentType() - Method in class org.assertj.core.util.ArrayWrapperList
-
Returns the component type of the wrapped array.
- getConcatenatedPath() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- getDecomposedPath() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- getDecomposedPath() - Method in class org.assertj.core.api.recursive.comparison.FieldLocation
- getDelegate() - Method in interface org.assertj.core.api.AssertionErrorCollector
- getDelegate() - Method in class org.assertj.core.api.DefaultAssertionErrorCollector
- getDelegate() - Method in class org.assertj.core.api.SoftThrowableAssertAlternative
- getDelegate() - Method in class org.assertj.core.api.ThrowableAssertAlternative
- getDeltas() - Method in class org.assertj.core.util.diff.Patch
-
Get the list of computed deltas
- getDifference(Temporal, Temporal) - Method in class org.assertj.core.data.TemporalUnitOffset
-
Returns absolute value of the difference according to time unit.
- getElementTypeName() - Method in class org.assertj.core.error.GroupTypeDescription
- getEpsilon() - Method in class org.assertj.core.util.DoubleComparator
- getEpsilon() - Method in class org.assertj.core.util.FloatComparator
- getErrors() - Method in error org.assertj.core.api.SoftAssertionError
-
Returns the causal AssertionError error messages in the order that they were thrown.
- getErrors() - Method in error org.assertj.core.error.MultipleAssertionsError
-
Returns the causal AssertionErrors in the order that they were thrown.
- getExpected() - Method in class org.assertj.core.api.recursive.comparison.ComparisonDifference
- getFieldComparators() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- getFieldName() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- getFieldName() - Method in class org.assertj.core.api.recursive.comparison.FieldLocation
- getFileNameExtension(String) - Static method in class org.assertj.core.util.Files
- getFirstStackTraceElementFromTest(StackTraceElement[]) - Static method in class org.assertj.core.util.Throwables
- getGroupTypeDescription(Class<?>) - Static method in class org.assertj.core.error.GroupTypeDescription
-
Creates a new
for a group of elements.GroupTypeDescription
- getGroupTypeDescription(Object) - Static method in class org.assertj.core.error.GroupTypeDescription
-
Creates a new
for a group of elements.GroupTypeDescription
- getGroupTypeName() - Method in class org.assertj.core.error.GroupTypeDescription
- getIgnoredCollectionOrderInFields() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Returns the list fields from the object under test to ignore collection order in the recursive comparison.
- getIgnoredCollectionOrderInFieldsMatchingRegexes() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Returns the list of regexes used to find the object under test fields to ignore collection order in the recursive comparison.
- getIgnoredFields() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Returns the set of fields from the object under test to ignore in the recursive comparison.
- getIgnoredFieldsRegexes() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- getIgnoredOverriddenEqualsForFields() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- getIgnoredOverriddenEqualsForFieldsMatchingRegexes() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- getIgnoredOverriddenEqualsForTypes() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- getIgnoredTypes() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Returns the set of fields from the object under test types to ignore in the recursive comparison.
- getKey() - Method in class org.assertj.core.data.MapEntry
- getLines() - Method in class org.assertj.core.util.diff.Chunk
- getMaxElementsForPrinting() - Static method in class org.assertj.core.presentation.StandardRepresentation
- getMaxLengthForSingleLineDescription() - Static method in class org.assertj.core.presentation.StandardRepresentation
- getMaxStackTraceElementsDisplayed() - Static method in class org.assertj.core.presentation.StandardRepresentation
- getMessage() - Method in error org.assertj.core.error.AssertJMultipleFailuresError
- getMessageForField(String) - Method in class org.assertj.core.api.recursive.comparison.FieldMessages
-
Retrieves a custom message, which is associated with the giving field location.
- getMessageForField(String) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- getMessageForType(Class<?>) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- getOriginal() - Method in class org.assertj.core.util.diff.Delta
- getPathToUseInRules() - Method in class org.assertj.core.api.recursive.comparison.FieldLocation
- getPosition() - Method in class org.assertj.core.util.diff.Chunk
- getPreferredAssumptionException() - Static method in class org.assertj.core.api.AssumptionExceptionFactory
- getPriority() - Method in interface org.assertj.core.presentation.Representation
-
In case multiple representations are loaded through
ServiceLoader
and they can represent the same types the one with the highest priority is selected. - getPropertyGetter(String, Object) - Static method in class org.assertj.core.util.introspection.Introspection
-
Returns the getter
Method
for a property matching the given name in the given object. - getRecursiveComparisonConfiguration() - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Returns the
RecursiveComparisonConfiguration
currently used. - getReference() - Method in class org.assertj.core.api.AbstractAtomicReferenceAssert
- getReference() - Method in class org.assertj.core.api.AtomicMarkableReferenceAssert
- getReference() - Method in class org.assertj.core.api.AtomicStampedReferenceAssert
- getRevised() - Method in class org.assertj.core.util.diff.Delta
- getRootCause() - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Deprecated.use
AbstractThrowableAssert.rootCause()
instead.Returns a new assertion object that uses the root cause of the current Throwable as the actual Throwable under test.
Examples:
Throwable rootCause = new JdbcException("invalid query"); Throwable cause = new RuntimeException(rootCause); Throwable exception = new Exception("boom!", cause); // typical use: assertThat(throwableWithMessage).getRootCause() .hasMessageStartingWith("invalid");
- getRootCause(Throwable) - Static method in class org.assertj.core.util.Throwables
-
Get the root cause (ie the last non null cause) from a
Throwable
. - getSimpleValue(String, Object) - Method in class org.assertj.core.util.introspection.PropertyOrFieldSupport
- getSoftAssertionsProvider(ExtensionContext, Class<T>) - Static method in class org.assertj.core.api.junit.jupiter.SoftAssertionsExtension
-
Returns a
SoftAssertionsProvider
instance of the given type for the given extension context. - getStackTrace(Throwable) - Static method in class org.assertj.core.util.Throwables
- getTemplate() - Method in class org.assertj.core.api.recursive.comparison.ComparisonDifference
- getType() - Method in class org.assertj.core.util.diff.ChangeDelta
- getType() - Method in class org.assertj.core.util.diff.DeleteDelta
- getType() - Method in class org.assertj.core.util.diff.Delta
-
Returns the type of delta
- getType() - Method in class org.assertj.core.util.diff.InsertDelta
- getTypeComparators() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- getUnit() - Method in class org.assertj.core.data.TemporalUnitOffset
- getValue() - Method in class org.assertj.core.data.MapEntry
- getValueOf(String, Object) - Method in class org.assertj.core.util.introspection.PropertyOrFieldSupport
- getWritableAssertionInfo() - Method in class org.assertj.core.api.AbstractAssert
-
Exposes the
WritableAssertionInfo
used in the current assertion for better extensibility.
When writing your own assertion class, you can use the returnedWritableAssertionInfo
to change the error message and still keep the description set by the assertion user. - given(boolean) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
boolean
value. - given(boolean[]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
boolean
s' array. - given(boolean[][]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
boolean
s' two-dimensional array. - given(byte) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
byte
value. - given(byte[]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
byte
s' array. - given(byte[][]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
byte
s' two-dimensional array. - given(char) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
char
value. - given(char[]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
char
s' array. - given(char[][]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
char
s' two-dimensional array. - given(double) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
double
value. - given(double[]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
double
s' array. - given(double[][]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
double
s' two-dimensional array. - given(float) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
float
value. - given(float[]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
float
s' array. - given(float[][]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
float
s' two-dimensional array. - given(int) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
int
value. - given(int[]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
int
s' array. - given(int[][]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
int
s' two-dimensional array. - given(long) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
long
value. - given(long[]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
long
s' array. - given(long[][]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
long
s' two-dimensional array. - given(short) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
short
value. - given(short[]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
short
s' array. - given(short[][]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
short
s' two-dimensional array. - given(File) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
File
value. - given(InputStream) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
InputStream
value. - given(Boolean) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Boolean
value. - given(Byte) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Byte
value. - given(Character) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Character
value. - given(CharSequence) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
CharSequence
value. - given(Class<?>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Class
value. - given(Double) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Double
value. - given(Float) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Float
value. - given(Integer) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
Integer
value. - given(Iterable<? extends ELEMENT>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
Iterable
value. - given(Long) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Long
value. - given(Short) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Short
value. - given(String) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
String
value. - given(StringBuffer) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
StringBuffer
value. - given(StringBuilder) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
StringBuilder
value. - given(BigDecimal) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
BigDecimal
value. - given(BigInteger) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
BigInteger
value. - given(URI) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
URI
value. - given(URL) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
URL
value. - given(Path) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Path
value. - given(Duration) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Instant
value. - given(Instant) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
Instant
value. - given(LocalDate) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
LocalDate
value. - given(LocalDateTime) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
LocalDateTime
value. - given(LocalTime) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
LocalTime
value. - given(OffsetDateTime) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
OffsetDateTime
value. - given(OffsetTime) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
OffsetTime
value. - given(Period) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Period
value. - given(ZonedDateTime) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
ZonedDateTime
value. - given(Collection<? extends E>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Collection
value. - given(AtomicBoolean) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
AtomicBoolean
value. - given(AtomicInteger) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
AtomicInteger
value. - given(AtomicIntegerArray) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
AtomicIntegerArray
value. - given(AtomicIntegerFieldUpdater<OBJECT>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
AtomicIntegerFieldUpdater
value. - given(AtomicLong) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
AtomicLong
value. - given(AtomicLongArray) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
AtomicLongArray
value. - given(AtomicLongFieldUpdater<OBJECT>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
AtomicLongFieldUpdater
value. - given(AtomicMarkableReference<VALUE>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
AtomicMarkableReference
value. - given(AtomicReference<VALUE>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
AtomicReference
value. - given(AtomicReferenceArray<ELEMENT>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
AtomicReferenceArray
value. - given(AtomicReferenceFieldUpdater<OBJECT, FIELD>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
AtomicReferenceFieldUpdater
value. - given(AtomicStampedReference<VALUE>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
AtomicStampedReference
value. - given(LongAdder) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
LongAdder
value. - given(CompletableFuture<RESULT>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
CompletableFuture
value. - given(CompletionStage<RESULT>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
CompletionStage
value. - given(Future<RESULT>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Future
value. - given(Date) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Date
value. - given(DoublePredicate) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
DoublePredicate
value. - given(IntPredicate) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
IntPredicate
value. - given(LongPredicate) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
LongPredicate
value. - given(Predicate<T>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Predicate
value. - given(Iterator<? extends ELEMENT>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
Iterator
value. - given(List<? extends ELEMENT>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
List
value. - given(Map<K, V>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Map
value. - given(Optional<VALUE>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
Optional
value. - given(OptionalDouble) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
OptionalDouble
value. - given(OptionalInt) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
OptionalInt
value. - given(OptionalLong) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
OptionalLong
value. - given(Matcher) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
Matcher
. - given(Spliterator<ELEMENT>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Spliterator
value. - given(DoubleStream) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
DoubleStream
value. - given(IntStream) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
IntStream
value. - given(LongStream) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
LongStream
value. - given(Stream<? extends ELEMENT>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Stream
value. - given(T) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an object value.
- given(T[]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an objects' array.
- given(T[][]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an objects' two-dimensional array.
- GIVEN - Static variable in class org.assertj.core.presentation.PredicateDescription
- givenCode(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance from a no parameters lambda expression,
() -> { /* some code */ }
. - givenCollection(Collection<? extends E>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance of a
value.Collection
- givenComparable(T) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance of a
value.Comparable
- givenException() - Static method in class org.assertj.core.api.BDDAssumptions
-
Alias for
BDDAssumptions.givenExceptionOfType(Class)
forException
. - givenExceptionOfType(Class<? extends T>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Throwable
value. - givenIllegalArgumentException() - Static method in class org.assertj.core.api.BDDAssumptions
- givenIndexOutOfBoundsException() - Static method in class org.assertj.core.api.BDDAssumptions
- givenIOException() - Static method in class org.assertj.core.api.BDDAssumptions
-
Alias for
BDDAssumptions.givenExceptionOfType(Class)
forIOException
. - givenIterable(Iterable<? extends ELEMENT>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance of an
value.Iterable
- givenIterator(Iterator<? extends ELEMENT>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance of an
value.Iterator
- givenList(List<? extends ELEMENT>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance of a
value.List
- givenNullPointerException() - Static method in class org.assertj.core.api.BDDAssumptions
-
Alias for
BDDAssumptions.givenExceptionOfType(Class)
forNullPointerException
. - givenObject(T) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an object value.
- givenPath(Path) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance of a
value.Path
- givenPredicate(Predicate<T>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance of a
value.Predicate
- givenReflectiveOperationException() - Static method in class org.assertj.core.api.BDDAssumptions
- givenRuntimeException() - Static method in class org.assertj.core.api.BDDAssumptions
-
Alias for
BDDAssumptions.givenExceptionOfType(Class)
forRuntimeException
. - givenStream(Stream<? extends ELEMENT>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance of a
value.Stream
- GroupTypeDescription - Class in org.assertj.core.error
-
Generates a description for the type of a group of elements.
- GroupTypeDescription(String, String) - Constructor for class org.assertj.core.error.GroupTypeDescription
H
- HamcrestCondition<T> - Class in org.assertj.core.api
-
Allows to use a Hamcrest matcher as a condition.
- HamcrestCondition(Matcher<? extends T>) - Constructor for class org.assertj.core.api.HamcrestCondition
-
Constructs a
Condition
using the matcher given as a parameter. - has(Condition<? super ACTUAL>) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value satisfies the given condition.
- has(Condition<? super ACTUAL>) - Method in class org.assertj.core.api.AbstractIterableAssert
- has(Condition<? super ACTUAL>) - Method in class org.assertj.core.api.AbstractListAssert
- has(Condition<? super ACTUAL>) - Method in class org.assertj.core.api.AbstractMapAssert
- has(Condition<? super ACTUAL>) - Method in interface org.assertj.core.api.ExtensionPoints
-
Verifies that the actual value satisfies the given condition.
- has(Condition<? super ELEMENT>, 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.
- hasAllNullFieldsOrProperties() - Method in class org.assertj.core.api.AbstractObjectAssert
-
Asserts that the actual object has only null fields or properties.
- hasAllNullFieldsOrPropertiesExcept(String...) - Method in class org.assertj.core.api.AbstractObjectAssert
-
Asserts that the actual object has only null fields or properties except for the given ones (inherited ones are taken into account).
- hasAlreadyAnUnambiguousToStringOf(Object) - Method in class org.assertj.core.presentation.StandardRepresentation
-
Determine whether the given object's type has a representation that is not ambiguous.
- hasAnchor(String) - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URL
has the expected anchor. - hasAnnotation(Class<? extends Annotation>) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Class
has the givenAnnotation
. - hasAnnotations(Class<? extends Annotation>...) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Class
has the givenAnnotation
s. - hasAnnotationsForProxy(Class<? extends Annotation>[]) - Method in class org.assertj.core.api.AbstractClassAssert
- hasArray(int[]) - Method in class org.assertj.core.api.AtomicIntegerArrayAssert
-
Verifies that the AtomicIntegerArray has the given array.
- hasArray(long[]) - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the AtomicLongArray has the given array.
- hasArray(T[]) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the AtomicReferenceArray has the given array.
- hasAtLeastOneElementOfType(Class<?>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that at least one element in the actual
Iterable
has 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 has the specified type (matching includes subclasses of the given type). - hasAtLeastOneElementOfType(Class<?>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that at least one element in the actual AtomicReferenceArray has 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 has the specified type (matching includes subclasses of the given type). - hasAuthority(String) - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URI
has the expected authority. - hasAuthority(String) - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URL
has the expected authority. - 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.AbstractInputStreamAssert
-
Verifies that the binary content of the actual
InputStream
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 the same type and message (it does not use theequals
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. - hasCauseReference(Throwable) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the actual
Throwable
has a cause that refers to the given one, i.e. - hasCharacteristics(int...) - Method in class org.assertj.core.api.AbstractSpliteratorAssert
-
Asserts the actual
has the given characteristics.Spliterator
- hasChild(FieldLocation) - Method in class org.assertj.core.api.recursive.comparison.FieldLocation
-
Returns true if this field has the given child (direct or indirect), false otherwise.
- hasComparatorForField(String) - Method in class org.assertj.core.api.recursive.comparison.FieldComparators
-
Checks, whether an any comparator is associated with the giving field location.
- hasComparatorForField(String) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- hasComparatorForType(Class<?>) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- hasContent(String) - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the text content of the actual
File
is exactly equal to the given one.
The charset to use when reading the file should be provided withAbstractFileAssert.usingCharset(Charset)
orAbstractFileAssert.usingCharset(String)
prior to calling this method; if not, the platform's default charset (as returned byCharset.defaultCharset()
) will be used. - hasContent(String) - Method in class org.assertj.core.api.AbstractInputStreamAssert
-
Verifies that the content of the actual
InputStream
is equal to the givenString
. - hasContent(String) - Method in class org.assertj.core.api.AbstractPathAssert
-
Verifies that the text content of the actual
Path
(which must be a readable file) is exactly equal to the given one.
The charset to use when reading the actual path should be provided withAbstractPathAssert.usingCharset(Charset)
orAbstractPathAssert.usingCharset(String)
prior to calling this method; if not, the platform's default charset (as returned byCharset.defaultCharset()
) will be used. - hasContentEqualTo(File) - Method in class org.assertj.core.api.AbstractFileAssert
-
Deprecated.use
AbstractFileAssert.hasSameTextualContentAs(File)
instead - hasContentEqualTo(InputStream) - Method in class org.assertj.core.api.AbstractInputStreamAssert
-
Deprecated.
- hasCustomComparators() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- hasCustomFormatterFor(Object) - Method in class org.assertj.core.presentation.StandardRepresentation
- hasCustomMessageForField(String) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- hasCustomMessageForType(Class<?>) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- hasDayOfMonth(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. - hasDayOfMonth(int) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Verifies that actual
LocalDate
is on the given day. - hasDayOfMonth(int) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that actual
LocalDateTime
is in the given day of month. - hasDayOfWeek(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 (seeCalendar.DAY_OF_WEEK
for valid values). - hasDays(int) - Method in class org.assertj.core.api.AbstractPeriodAssert
-
Verifies that the actual
Period
has the given days. - hasDays(long) - Method in class org.assertj.core.api.AbstractDurationAssert
-
Verifies that the actual
Duration
has the given days. - hasDeclaredFields(String...) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Class
has the given declared fields (as inClass.getDeclaredFields()
). - hasDeclaredMethods(String...) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Class
has the given declared methods. - hasDescription() - Method in class org.assertj.core.api.WritableAssertionInfo
-
Returns whether the text of this object's description was set.
- hasDigest(String, byte[]) - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the tested
File
digest (calculated with the specified algorithm) is equal to the given one. - hasDigest(String, byte[]) - Method in class org.assertj.core.api.AbstractInputStreamAssert
-
Verifies that the tested
InputStream
digest (calculated with the specified algorithm) is equal to the given one. - hasDigest(String, byte[]) - Method in class org.assertj.core.api.AbstractPathAssert
-
Verifies that the tested
Path
digest (calculated with the specified algorithm) is equal to the given one. - hasDigest(String, String) - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the tested
File
digest (calculated with the specified algorithm) is equal to the given one. - hasDigest(String, String) - Method in class org.assertj.core.api.AbstractInputStreamAssert
-
Verifies that the tested
InputStream
digest (calculated with the specified algorithm) is equal to the given one. - hasDigest(String, String) - Method in class org.assertj.core.api.AbstractPathAssert
-
Verifies that the tested
Path
digest (calculated with the specified algorithm) is equal to the given one. - hasDigest(MessageDigest, byte[]) - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the tested
File
digest (calculated with the specifiedMessageDigest
) is equal to the given one. - hasDigest(MessageDigest, byte[]) - Method in class org.assertj.core.api.AbstractInputStreamAssert
-
Verifies that the tested
InputStream
digest (calculated with the specifiedMessageDigest
) is equal to the given one. - hasDigest(MessageDigest, byte[]) - Method in class org.assertj.core.api.AbstractPathAssert
-
Verifies that the tested
Path
digest (calculated with the specifiedMessageDigest
) is equal to the given one. - hasDigest(MessageDigest, String) - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the tested
File
digest (calculated with the specifiedMessageDigest
) is equal to the given one. - hasDigest(MessageDigest, String) - Method in class org.assertj.core.api.AbstractInputStreamAssert
-
Verifies that the tested
InputStream
digest (calculated with the specifiedMessageDigest
) is equal to the given one. - hasDigest(MessageDigest, String) - Method in class org.assertj.core.api.AbstractPathAssert
-
Verifies that the tested
Path
digest (calculated with the specifiedMessageDigest
) is equal to the given one. - hasDimensions(int, int) - Method in interface org.assertj.core.api.Array2DAssert
-
Verifies that the actual 2D array has the given dimensions.
- hasDimensions(int, int) - Method in class org.assertj.core.api.Boolean2DArrayAssert
-
Verifies that the actual 2D array has the given dimensions.
- hasDimensions(int, int) - Method in class org.assertj.core.api.Byte2DArrayAssert
-
Verifies that the actual
byte[][]
has the given dimensions. - hasDimensions(int, int) - Method in class org.assertj.core.api.Char2DArrayAssert
-
Verifies that the actual
char[][]
has the the given dimensions. - hasDimensions(int, int) - Method in class org.assertj.core.api.Double2DArrayAssert
-
Verifies that the actual
double[][]
has the given dimensions. - hasDimensions(int, int) - Method in class org.assertj.core.api.Float2DArrayAssert
-
Verifies that the actual
float[][]
has the given dimensions. - hasDimensions(int, int) - Method in class org.assertj.core.api.Int2DArrayAssert
-
Verifies that the actual 2D array has the given dimensions.
- hasDimensions(int, int) - Method in class org.assertj.core.api.Long2DArrayAssert
-
Verifies that the actual 2D array has the given dimensions.
- hasDimensions(int, int) - Method in class org.assertj.core.api.Object2DArrayAssert
-
Verifies that the actual
ELEMENT[][]
has the the given dimensions. - hasDimensions(int, int) - Method in class org.assertj.core.api.Short2DArrayAssert
-
Verifies that the actual 2D array has the given dimensions.
- hasEntity(String) - Method in class org.assertj.core.api.recursive.comparison.FieldMessages
-
Checks, whether an any entity associated with the giving field location.
- hasEntrySatisfying(K, Consumer<? super V>) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual map contains the value for given
key
that satisfy givenvalueRequirements
. - hasEntrySatisfying(K, Condition<? super V>) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual map contains a value for the given
key
that satisfies the givenvalueCondition
. - hasEntrySatisfying(Condition<? super Map.Entry<K, V>>) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual map contains an entry satisfying the given
entryCondition
. - hasEntrySatisfying(Condition<? super K>, Condition<? super V>) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual map contains an entry with a key satisfying the given
keyCondition
and a value satisfying the givenvalueCondition
. - hasExactlyElementsOfTypes(Class<?>...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual elements are of the given types in the given order, there should be as many expected types as there are actual elements.
- hasExactlyElementsOfTypes(Class<?>...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual elements are of the given types in the given order, there should be as many expected types as there are actual elements.
- hasExactlyElementsOfTypes(Class<?>...) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual elements are of the given types in the given order, there should be as many expected types as there are actual elements.
- hasExactlyElementsOfTypes(Class<?>...) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the actual elements are of the given types in the given order, there should be as many expected types as there are actual elements.
- hasExtension(String) - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the actual
File
has given extension. - hasExtension(String) - Method in class org.assertj.core.api.AbstractPathAssert
-
Verifies that the actual
Path
has given extension. - hasFailed() - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Deprecated.
Combine isCompletedExceptionally with isNotCancelled instead:
This assertion is deprecated to change the semantics of failed to correspond toassertThat(future).isCompletedExceptionally() .isNotCancelled();
CompletableFuture.get()
failing.Original javadoc
Verifies that the
CompletableFuture
has completed exceptionally but has not been cancelled, this assertion is equivalent to:assertThat(future).isCompletedExceptionally() .isNotCancelled();
Assertion will pass :
Assertion will fail :CompletableFuture future = new CompletableFuture(); future.completeExceptionally(new RuntimeException()); assertThat(future).hasFailed();
CompletableFuture future = new CompletableFuture(); future.cancel(true); assertThat(future).hasFailed();
- hasFailedWithThrowableThat() - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Deprecated.
Although not 100% the same, consider using
AbstractCompletableFutureAssert.failsWithin(Duration)
orAbstractCompletableFutureAssert.failsWithin(long, TimeUnit)
instead:
This assertion is deprecated because it relies onCompletableFuture future = new CompletableFuture(); future.completeExceptionally(new RuntimeException("boom!")); assertThat(future).failsWithin(1, TimeUnit.SECONDS) .withThrowableOfType(RuntimeException.class) .withMessage("boom!");
AbstractCompletableFutureAssert.hasFailed()
semantics which we want to move away from (they are not clear!) and to use failure semantics corresponding toCompletableFuture.get()
failing.Original javadoc
Verifies that the
CompletableFuture
has completed exceptionally and returns a Throwable assertion object allowing to check the Throwable that has caused the future to fail.Assertion will pass :
Assertion will fail :CompletableFuture future = new CompletableFuture(); future.completeExceptionally(new RuntimeException("boom!")); assertThat(future).hasFailedWithThrowableThat().isInstanceOf(RuntimeException.class); .hasMessage("boom!");
CompletableFuture future = new CompletableFuture(); future.completeExceptionally(new RuntimeException()); assertThat(future).hasFailedWithThrowableThat().isInstanceOf(IllegalArgumentException.class);
- hasFieldOrProperty(String) - Method in class org.assertj.core.api.AbstractObjectAssert
-
Asserts that the actual object has the specified field or property.
- hasFieldOrPropertyWithValue(String, Object) - Method in class org.assertj.core.api.AbstractObjectAssert
-
Asserts that the actual object has the specified field or property with the given value.
- hasFields(String...) - Method in class org.assertj.core.api.AbstractClassAssert
-
Deprecated.use
AbstractClassAssert.hasPublicFields(String...)
instead. - hasFileName(String) - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the actual
File
has given name (alias ofAbstractFileAssert.hasName(String)
). - 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. - hasFileSystem(FileSystem) - Method in class org.assertj.core.api.AbstractPathAssert
-
Verifies that the path has the given file system.
- hasFragment(String) - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URI
has the expected fragment. - 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.api.recursive.comparison.ComparisonDifference
- hashCode() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- hashCode() - Method in class org.assertj.core.api.recursive.comparison.FieldMessages
- hashCode() - Method in class org.assertj.core.api.recursive.comparison.FieldLocation
- hashCode() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- 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.data.Percentage
- hashCode() - Method in class org.assertj.core.data.TemporalUnitOffset
- hashCode() - Method in class org.assertj.core.description.JoinDescription
- 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
- hashCode() - Method in class org.assertj.core.presentation.PredicateDescription
- hashCode() - Method in class org.assertj.core.util.diff.Chunk
- hashCode() - Method in class org.assertj.core.util.diff.Delta
- hashCode() - Method in class org.assertj.core.util.DoubleComparator
- hashCode() - Method in class org.assertj.core.util.FloatComparator
- hashCodeFor(Object) - Static method in class org.assertj.core.util.Objects
-
Returns the hash code for the given object.
- hasHost(String) - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URI
has the expected host. - hasHost(String) - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URL
has the expected host. - hasHour(int) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that actual
LocalDateTime
is in the given hour. - hasHour(int) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Verifies that actual
LocalTime
is in the given hour. - hasHourOfDay(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). - hasHours(long) - Method in class org.assertj.core.api.AbstractDurationAssert
-
Verifies that the actual
Duration
has the given hours. - hasKeySatisfying(Condition<? super K>) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual map contains an entry with a key satisfying the given
keyCondition
. - 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. - hasMessage(String, Object...) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the message of the actual (@code Throwable) is equal to the given one, after being formatted using the
String.format(java.lang.String, java.lang.Object...)
method. - hasMessageContaining(String) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the message of the actual
Throwable
contains the given description. - hasMessageContaining(String, Object...) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the message of the actual
Throwable
contains the given description, after being formatted using theString.format(java.lang.String, java.lang.Object...)
method. - hasMessageContainingAll(CharSequence...) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the message of the actual
Throwable
contains all the given values. - hasMessageEndingWith(String) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the message of the actual
Throwable
ends with the given description. - hasMessageEndingWith(String, Object...) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the message of the actual
Throwable
ends with the given description, after being formatted using theString.format(java.lang.String, java.lang.Object...)
method. - hasMessageFindingMatch(String) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that a sequence of the message of the actual
Throwable
matches with the given regular expression (seeMatcher.find()
).
ThePattern
used under the hood enables thePattern.DOTALL
mode. - hasMessageForField(String) - Method in class org.assertj.core.api.recursive.comparison.FieldMessages
-
Checks, whether an any custom message is associated with the giving field location.
- hasMessageMatching(String) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the message of the actual
Throwable
matches the given regular expression. - hasMessageNotContaining(String) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the message of the actual
Throwable
does not contain the given content or isnull
. - hasMessageNotContainingAny(CharSequence...) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the message of the actual
Throwable
does not contain any of the given values or isnull
. - hasMessageStartingWith(String) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the message of the actual
Throwable
starts with the given description. - hasMessageStartingWith(String, Object...) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the message of the actual
Throwable
starts with the given description, after being formatted using theString.format(java.lang.String, java.lang.Object...)
method. - hasMethods(String...) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Class
has the given methods (including inherited) whatever their visibility are. - hasMillis(long) - Method in class org.assertj.core.api.AbstractDurationAssert
-
Verifies that the actual
Duration
has the given millis. - hasMillisecond(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Date
millisecond is equal to the given millisecond. - hasMinute(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Date
minute is equal to the given minute. - hasMinute(int) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that actual
LocalDateTime
is in the given minute. - hasMinute(int) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Verifies that actual
LocalTime
is in the given minute. - hasMinutes(long) - Method in class org.assertj.core.api.AbstractDurationAssert
-
Verifies that the actual
Duration
has the given minutes. - hasMonth(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, ...). - hasMonth(Month) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Verifies that actual
LocalDate
is in the given month. - hasMonth(Month) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that actual
LocalDateTime
is in the givenMonth
. - hasMonths(int) - Method in class org.assertj.core.api.AbstractPeriodAssert
-
Verifies that the actual
Period
has the given months. - hasMonthValue(int) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Verifies that actual
LocalDate
is in the given month. - hasMonthValue(int) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that actual
LocalDateTime
has same month value. - hasName(String) - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the actual
File
has given name. - hasNano(int) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that actual
LocalDateTime
is in the given nanosecond. - hasNano(int) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Verifies that actual
LocalTime
is in the given nano. - hasNanos(long) - Method in class org.assertj.core.api.AbstractDurationAssert
-
Verifies that the actual
Duration
has the given nanos. - hasNegativeValue() - Method in class org.assertj.core.api.AtomicIntegerAssert
-
Verifies that the actual atomic has a negative value.
- hasNegativeValue() - Method in class org.assertj.core.api.AtomicLongAssert
-
Verifies that the actual atomic has a negative value.
- hasNext() - Method in class org.assertj.core.api.AbstractIteratorAssert
-
Verifies that the actual
Iterator
has at least one more element. - hasNoAnchor() - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URL
has no anchor. - hasNoCause() - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the actual
Throwable
does not have a cause. - hasNoContainerValues() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- hasNoExtension() - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the actual
File
has no extension. - hasNoExtension() - Method in class org.assertj.core.api.AbstractPathAssert
-
Verifies that the actual
Path
has no extension. - hasNoFragment() - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URI
has no fragment. - hasNoHost() - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URI
has no host. - hasNoHost() - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URL
has no host. - hasNonNegativeValue() - Method in class org.assertj.core.api.AtomicIntegerAssert
-
Verifies that the actual atomic has a non negative value (positive or equal zero).
- hasNonNegativeValue() - Method in class org.assertj.core.api.AtomicLongAssert
-
Verifies that the actual atomic has a non negative value (positive or equal zero).
- hasNonPositiveValue() - Method in class org.assertj.core.api.AtomicIntegerAssert
-
Verifies that the actual atomic has a non positive value (negative or equal zero).
- hasNonPositiveValue() - Method in class org.assertj.core.api.AtomicLongAssert
-
Verifies that the actual atomic has a non positive value (negative or equal zero).
- hasNoNullFieldsOrProperties() - Method in class org.assertj.core.api.AbstractObjectAssert
-
Asserts that the actual object has no null fields or properties (inherited ones are taken into account).
- hasNoNullFieldsOrPropertiesExcept(String...) - Method in class org.assertj.core.api.AbstractObjectAssert
-
Asserts that the actual object has no null fields or properties except for the given ones (inherited ones are taken into account).
- hasNoNullValues() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- hasNoParameter(String) - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URI
does not have a parameter with the specified name. - hasNoParameter(String) - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URL
does not have a parameter with the specified name. - hasNoParameter(String, String) - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URI
does not have a parameter with the expected name and value. - hasNoParameter(String, String) - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URL
does not have a parameter with the expected name and value. - hasNoParameters() - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URI
does not have any parameters. - hasNoParameters() - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URL
does not have any parameters. - 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. - hasNoPath() - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URI
has no path. - hasNoPath() - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URL
has no path. - hasNoPort() - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URI
has no port. - hasNoPort() - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URL
has no port. - hasNoQuery() - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URI
has no query. - hasNoQuery() - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URL
has no query. - hasNoSuperclass() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Class
has no superclass (as inClass.getSuperclass()
, whennull
is returned). - hasNoSuppressedExceptions() - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the actual
Throwable
has no suppressed exceptions. - hasNotFailed() - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Deprecated.
Use matches with the following combination instead:
This assertion is deprecated because its semantic is not obvious.assertThat(future).matches (f -> f.isNotCompletedExceptionally() || f.isCancelled());
Original javadoc
Verifies that the
CompletableFuture
has not failed i.e: incomplete, completed or cancelled.
This is different fromAbstractCompletableFutureAssert.isNotCompletedExceptionally()
as a cancelled future has not failed but is completed exceptionally.Assertion will pass :
Assertion will fail :CompletableFuture future = new CompletableFuture(); future.cancel(true); assertThat(future).hasNotFailed();
CompletableFuture future = new CompletableFuture(); future.completeExceptionally(new RuntimeException()); assertThat(future).hasNotFailed();
- hasNoUserInfo() - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URI
has no userinfo. - hasNoUserInfo() - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URL
has no userinfo. - hasNumberOfRows(int) - Method in interface org.assertj.core.api.Array2DAssert
-
Verifies that the actual two-dimensional array has the given number of rows.
- hasNumberOfRows(int) - Method in class org.assertj.core.api.Boolean2DArrayAssert
-
Verifies that the actual two-dimensional array has the given number of rows.
- hasNumberOfRows(int) - Method in class org.assertj.core.api.Byte2DArrayAssert
-
Verifies that the actual two-dimensional array has the given number of rows.
- hasNumberOfRows(int) - Method in class org.assertj.core.api.Char2DArrayAssert
-
Verifies that the actual two-dimensional array has the given number of rows.
- hasNumberOfRows(int) - Method in class org.assertj.core.api.Double2DArrayAssert
-
Verifies that the actual two-dimensional array has the given number of rows.
- hasNumberOfRows(int) - Method in class org.assertj.core.api.Float2DArrayAssert
-
Verifies that the actual two-dimensional array has the given number of rows.
- hasNumberOfRows(int) - Method in class org.assertj.core.api.Int2DArrayAssert
-
Verifies that the actual two-dimensional array has the given number of rows.
- hasNumberOfRows(int) - Method in class org.assertj.core.api.Long2DArrayAssert
-
Verifies that the actual two-dimensional array has the given number of rows.
- hasNumberOfRows(int) - Method in class org.assertj.core.api.Object2DArrayAssert
-
Verifies that the actual two-dimensional array has the given number of rows.
- hasNumberOfRows(int) - Method in class org.assertj.core.api.Short2DArrayAssert
-
Verifies that the actual two-dimensional array has the given number of rows.
- hasOnlyCharacteristics(int...) - Method in class org.assertj.core.api.AbstractSpliteratorAssert
-
Asserts the actual
has only the given characteristics and nothing else.Spliterator
- hasOnlyDeclaredFields(String...) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Class
only has the given declaredfields
and nothing more in any order (as inClass.getDeclaredFields()
). - hasOnlyElementsOfType(Class<?>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that all elements in the actual
Iterable
have 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 class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that all the elements in the actual AtomicReferenceArray 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). - hasOnlyElementsOfTypes(Class<?>...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that all elements of the actual group are instances of the given types.
- hasOnlyElementsOfTypes(Class<?>...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that all elements of the actual array are instances of given classes or interfaces.
- hasOnlyElementsOfTypes(Class<?>...) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that all elements of the actual group are instances of given classes or interfaces.
- hasOnlyElementsOfTypes(Class<?>...) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that all elements of the actual group are instances of the given types.
- hasOnlyFields(String...) - Method in class org.assertj.core.api.AbstractObjectAssert
-
Asserts that the actual object has only the specified fields and nothing else.
- hasOnlyNullElements(T[]) - Static method in class org.assertj.core.util.Arrays
-
Returns
true
if the given array has onlynull
elements,false
otherwise. - hasOnlyOneElementSatisfying(Consumer<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Deprecated.use
AbstractIterableAssert.singleElement()
instead - hasOnlyOneElementSatisfying(Consumer<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the unique element of the array satisfies the given assertions expressed as a
Consumer
, if it does not, only the first error is reported, useSoftAssertions
to get all the errors. - hasOnlyOneElementSatisfying(Consumer<? super ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the unique element of the
Iterable
satisfies the given assertions expressed as aConsumer
, if it does not, only the first error is reported, useSoftAssertions
to get all the errors. - hasOnlyOneElementSatisfying(Consumer<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the unique element of the
AtomicReferenceArray
satisfies the given assertions expressed as aConsumer
, if it does not, only the first error is reported, useSoftAssertions
to get all the errors. - hasOnlyPublicFields(String...) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Class
only has the given accessible public fields (as inClass.getFields()
) and nothing more in any order. - hasPackage(Package) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Class
has the given package (as inClass.getPackage()
). - hasPackage(String) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Class
has the given package name (as inClass.getPackage()
). - hasParameter(String) - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URI
has a parameter with the expected name. - hasParameter(String) - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URL
has a parameter with the expected name. - hasParameter(String, String) - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URI
has a parameter with the expected name and value. - hasParameter(String, String) - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URL
has a parameter with the expected name and value. - 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
-
Same as
AbstractFileAssert.hasParent(java.io.File)
but takes care of converting givenString
asFile
for you - hasParent(Path) - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
has the expected parent path. - hasParent(FieldLocation) - Method in class org.assertj.core.api.recursive.comparison.FieldLocation
-
Returns true if this has the given parent (direct or indirect), false otherwise.
- hasParentRaw(Path) - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
has the expected parent path. - hasPath(String) - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URI
has the expected path. - hasPath(String) - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URL
has the expected path (which must not be null). - hasPort(int) - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URI
has the expected port. - hasPort(int) - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URL
has the expected port. - hasPositiveValue() - Method in class org.assertj.core.api.AtomicIntegerAssert
-
Verifies that the actual atomic has a positive value.
- hasPositiveValue() - Method in class org.assertj.core.api.AtomicLongAssert
-
Verifies that the actual atomic has a positive value.
- hasPotentialCyclingValues() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- hasProtocol(String) - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URL
has the expected protocol. - hasPublicFields(String...) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Class
has the given accessible public fields (as inClass.getFields()
). - hasPublicMethods(String...) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Class
has the given public methods. - hasQuery(String) - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URI
has the expected query. - hasQuery(String) - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URL
has the expected query. - hasReference(VALUE) - Method in class org.assertj.core.api.AbstractAtomicReferenceAssert
- hasReference(VALUE) - Method in class org.assertj.core.api.AtomicMarkableReferenceAssert
-
Verifies that the actual
AtomicMarkableReference
contains the given value. - hasReference(VALUE) - Method in class org.assertj.core.api.AtomicStampedReferenceAssert
-
Verifies that the actual
AtomicStampedReference
contains the given value. - hasRootCause(Throwable) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the actual
Throwable
has a root cause similar to the given one, that is with the same type and message (it does not use theequals
method for comparison). - 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. - hasRootCauseMessage(String) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the message of the root cause of the actual
Throwable
is equal to the given one. - hasRootCauseMessage(String, Object...) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the message of the root cause of the actual
Throwable
is equal to the given one, after being formatted usingString.format(String, Object...)
method. - hasSameBinaryContentAs(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, the comparison is done at the binary level.
For text files, useAbstractFileAssert.hasSameTextualContentAs(File)
. - hasSameBinaryContentAs(Path) - Method in class org.assertj.core.api.AbstractPathAssert
-
Verifies that the content of the actual
Path
is equal to the content of the given one, the comparison is done at the binary level.
For text files, useAbstractPathAssert.hasSameTextualContentAs(Path)
orAbstractPathAssert.hasSameTextualContentAs(Path, Charset)
. - 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 class org.assertj.core.api.AbstractIterableAssert
- hasSameClassAs(Object) - Method in class org.assertj.core.api.AbstractListAssert
- hasSameClassAs(Object) - Method in class org.assertj.core.api.AbstractMapAssert
- hasSameClassAs(Object) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value has the same class as the given object.
- hasSameContentAs(File) - Method in class org.assertj.core.api.AbstractFileAssert
-
Deprecated.use
AbstractFileAssert.hasSameTextualContentAs(File)
instead.Verifies that the content of the actual
File
is equal to the content of the given one. The charset to use when reading the actual file can be provided withAbstractFileAssert.usingCharset(Charset)
orAbstractFileAssert.usingCharset(String)
prior to calling this method; if not, the platform's default charset (as returned byCharset.defaultCharset()
) will be used. Examples:// use the default charset File xFile = Files.write(Paths.get("xfile.txt"), "The Truth Is Out There".getBytes()).toFile(); File xFileClone = Files.write(Paths.get("xfile-clone.txt"), "The Truth Is Out There".getBytes()).toFile(); File xFileFrench = Files.write(Paths.get("xfile-french.txt"), "La Vérité Est Ailleurs".getBytes()).toFile(); // use UTF-8 charset File xFileUTF8 = Files.write(Paths.get("xfile-clone.txt"), Arrays.asList("The Truth Is Out There"), StandardCharsets.UTF_8).toFile(); // The following assertion succeeds (default charset is used): assertThat(xFile).hasSameContentAs(xFileClone); // The following assertion succeeds (UTF-8 charset is used to read xFile): assertThat(xFileUTF8).usingCharset("UTF-8").hasSameContentAs(xFileClone); // The following assertion fails: assertThat(xFile).hasSameContentAs(xFileFrench);
- hasSameContentAs(File, Charset) - Method in class org.assertj.core.api.AbstractFileAssert
-
Deprecated.
- hasSameContentAs(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. - hasSameContentAs(Path) - Method in class org.assertj.core.api.AbstractPathAssert
-
Deprecated.use
AbstractPathAssert.hasSameTextualContentAs(Path)
insteadVerifies that the content of the actual
Path
is the same as the given one (both paths must be a readable files). The charset to use when reading the actual path can be provided withAbstractPathAssert.usingCharset(Charset)
orAbstractPathAssert.usingCharset(String)
prior to calling this method; if not, the platform's default charset (as returned byCharset.defaultCharset()
) will be used. Examples:// use the default charset Path xFile = Files.write(Paths.get("xfile.txt"), "The Truth Is Out There".getBytes()); Path xFileUTF8 = Files.write(Paths.get("xfile-clone.txt"), "The Truth Is Out There".getBytes("UTF-8")); Path xFileClone = Files.write(Paths.get("xfile-clone.txt"), "The Truth Is Out There".getBytes()); Path xFileFrench = Files.write(Paths.get("xfile-french.txt"), "La Vérité Est Ailleurs".getBytes()); // The following assertion succeeds (default charset is used): assertThat(xFile).hasSameContentAs(xFileClone); // The following assertion succeeds (UTF-8 charset is used to read xFile): assertThat(xFileUTF8).usingCharset("UTF-8").hasContent(xFileClone); // The following assertion fails: assertThat(xFile).hasSameContentAs(xFileFrench);
- hasSameContentAs(Path, Charset) - Method in class org.assertj.core.api.AbstractPathAssert
-
Deprecated.use
AbstractPathAssert.hasSameTextualContentAs(Path, Charset)
insteadVerifies that the content of the actual
Path
is the same as the expected one, the expectedPath
being read with the given charset while the charset used to read the actual path can be provided withAbstractPathAssert.usingCharset(Charset)
orAbstractPathAssert.usingCharset(String)
prior to calling this method; if not, the platform's default charset (as returned byCharset.defaultCharset()
) will be used.Examples:
Path fileUTF8Charset = Files.write(Paths.get("actual"), Collections.singleton("Gerçek"), StandardCharsets.UTF_8); Charset turkishCharset = Charset.forName("windows-1254"); Path fileTurkischCharset = Files.write(Paths.get("expected"), Collections.singleton("Gerçek"), turkishCharset); // The following assertion succeeds: assertThat(fileUTF8Charset).usingCharset(StandardCharsets.UTF_8).hasSameContentAs(fileTurkischCharset, turkishCharset); // The following assertion fails: assertThat(fileUTF8Charset).usingCharset(StandardCharsets.UTF_8).hasSameContentAs(fileTurkischCharset, StandardCharsets.UTF_8);
- hasSameDimensionsAs(Object) - Method in interface org.assertj.core.api.Array2DAssert
-
Verifies that the actual array has the same dimensions as the given array.
- hasSameDimensionsAs(Object) - Method in class org.assertj.core.api.Boolean2DArrayAssert
-
Verifies that the actual
boolean[][]
has the same dimensions as the given array. - hasSameDimensionsAs(Object) - Method in class org.assertj.core.api.Byte2DArrayAssert
-
Verifies that the actual
byte[][]
has the same dimensions as the given array. - hasSameDimensionsAs(Object) - Method in class org.assertj.core.api.Char2DArrayAssert
-
Verifies that the actual
char[][]
has the same dimensions as the given array. - hasSameDimensionsAs(Object) - Method in class org.assertj.core.api.Double2DArrayAssert
-
Verifies that the actual
double[][]
has the same dimensions as the given array. - hasSameDimensionsAs(Object) - Method in class org.assertj.core.api.Float2DArrayAssert
-
Verifies that the actual
float[][]
has the same dimensions as the given array. - hasSameDimensionsAs(Object) - Method in class org.assertj.core.api.Int2DArrayAssert
-
Verifies that the actual
int[][]
has the same dimensions as the given array. - hasSameDimensionsAs(Object) - Method in class org.assertj.core.api.Long2DArrayAssert
-
Verifies that the actual
long[][]
has the same dimensions as the given array. - hasSameDimensionsAs(Object) - Method in class org.assertj.core.api.Object2DArrayAssert
-
Verifies that the actual
ELEMENT[][]
has the same dimensions as the given array. - hasSameDimensionsAs(Object) - Method in class org.assertj.core.api.Short2DArrayAssert
-
Verifies that the actual
short[][]
has the same dimensions as the given array. - hasSameElementsAs(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that actual contains all the elements of the given iterable and nothing else, in any order and ignoring duplicates (i.e.
- hasSameElementsAs(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
An alias of
AbstractObjectArrayAssert.containsOnlyElementsOf(Iterable)
: verifies that actual contains all elements of the givenIterable
and nothing else, in any order. - hasSameElementsAs(Iterable<? extends ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that actual contains all the elements of the given iterable and nothing else, in any order and ignoring duplicates (i.e.
- hasSameElementsAs(Iterable<? extends T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
An alias of
AtomicReferenceArrayAssert.containsOnlyElementsOf(Iterable)
: verifies that actual contains all elements of the givenIterable
and nothing else, in any order. - hasSameFileSystemAs(Path) - Method in class org.assertj.core.api.AbstractPathAssert
-
Verifies that the path file system is the same as the given path file system.
- hasSameHashCodeAs(Object) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual object has the same hashCode as the given object.
- hasSameHashCodeAs(Object) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual object has the same hashCode as the given object.
- hasSameHourAs(LocalTime) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Verifies that actual and given
LocalTime
have same hour fields (minute, second and nanosecond fields are ignored in comparison). - hasSameHourAs(OffsetTime) - Method in class org.assertj.core.api.AbstractOffsetTimeAssert
-
Verifies that actual and given
OffsetTime
have same hour fields (minute, second and nanosecond fields are ignored in comparison). - 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 givenCharSequence
. - 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(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(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(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(Iterable<?>) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual map has the same size as the given
Iterable
. - hasSameSizeAs(Iterable<?>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array has the same size as the 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 class org.assertj.core.api.AtomicIntegerArrayAssert
-
Verifies that the AtomicIntegerArray has the same size as given
Iterable
. - hasSameSizeAs(Iterable<?>) - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the AtomicLongArray has the same size as given
Iterable
. - hasSameSizeAs(Iterable<?>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray has the same size as the 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 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(Object) - Method in class org.assertj.core.api.AbstractEnumerableAssert
-
Verifies that the actual group has the same size as given array.
- hasSameSizeAs(Object) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group has the same size as given array.
- hasSameSizeAs(Object) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual map has the same size as the given array.
- hasSameSizeAs(Object) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array has the same size as the given array.
- hasSameSizeAs(Object) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray has the same size as the given array.
- hasSameSizeAs(Object) - Method in interface org.assertj.core.api.EnumerableAssert
-
Verifies that the actual group has the same size as given array.
- hasSameSizeAs(Map<?, ?>) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual map has the same size as the given
Map
. - hasSameTextualContentAs(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. - hasSameTextualContentAs(File, Charset) - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the content of the actual
File
is the same as the expected one, the expectedFile
being read with the given charset while the charset used to read the actual path can be provided withAbstractFileAssert.usingCharset(Charset)
orAbstractFileAssert.usingCharset(String)
prior to calling this method; if not, the platform's default charset (as returned byCharset.defaultCharset()
) will be used. - hasSameTextualContentAs(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). - hasSameTextualContentAs(Path, Charset) - Method in class org.assertj.core.api.AbstractPathAssert
-
Verifies that the content of the actual
Path
is the same as the expected one, the expectedPath
being read with the given charset while the charset used to read the actual path can be provided withAbstractPathAssert.usingCharset(Charset)
orAbstractPathAssert.usingCharset(String)
prior to calling this method; if not, the platform's default charset (as returned byCharset.defaultCharset()
) will be used. - hasSameTimeAs(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Date
represents the same time as the given date inString
format. - hasSameTimeAs(Date) - Method in class org.assertj.core.api.AbstractDateAssert
- hasScaleOf(int) - Method in class org.assertj.core.api.AbstractBigDecimalAssert
-
Verifies the BigDecimal under test has the given scale.
- hasScheme(String) - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URI
has the expected scheme. - hasSecond(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Date
second is equal to the given second. - hasSecond(int) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that actual
LocalDateTime
is in the given second. - hasSecond(int) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Verifies that actual
LocalTime
is in the given second. - hasSeconds(long) - Method in class org.assertj.core.api.AbstractDurationAssert
-
Verifies that the actual
Duration
has the given seconds. - 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 thelength()
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
Map
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 class org.assertj.core.api.AtomicIntegerArrayAssert
-
Verifies that the number of values in the AtomicIntegerArray is equal to the given one.
- hasSize(int) - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the number of values in the AtomicLongArray is equal to the given one.
- hasSize(int) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the number of values in the AtomicReferenceArray 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.
- hasSize(long) - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the size of the
File
under test is exactly equal to the given size in bytes. - hasSize(long) - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
has the given size in bytes. - hasSizeBetween(int, int) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the number of values in the actual group is between the given boundaries (inclusive).
- hasSizeBetween(int, int) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the number of values in the actual array is between the given boundaries (inclusive).
- hasSizeBetween(int, int) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the number of values in the actual group is between the given boundaries (inclusive).
- hasSizeBetween(int, int) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
has length between the given boundaries (inclusive) using thelength()
method. - hasSizeBetween(int, int) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the number of values in the actual group is between the given boundaries (inclusive).
- hasSizeBetween(int, int) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the number of values in the actual group is between the given boundaries (inclusive).
- hasSizeBetween(int, int) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the number of values in the actual array is between the given boundaries (inclusive).
- hasSizeBetween(int, int) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the number of values in the actual iterable is between the given boundaries (inclusive).
- hasSizeBetween(int, int) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the number of values in the actual array is between the given boundaries (inclusive).
- hasSizeBetween(int, int) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the number of values in the
Map
is between the given boundaries (inclusive). - hasSizeBetween(int, int) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the number of values in the actual array is between the given boundaries (inclusive).
- hasSizeBetween(int, int) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the number of values in the actual array is between the given boundaries (inclusive).
- hasSizeBetween(int, int) - Method in class org.assertj.core.api.AtomicIntegerArrayAssert
-
Verifies that the number of values in the actual array is between the given boundaries (inclusive).
- hasSizeBetween(int, int) - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the number of values in the actual array is between the given boundaries (inclusive).
- hasSizeBetween(int, int) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the number of values in the actual array is between the given boundaries (inclusive).
- hasSizeBetween(int, int) - Method in interface org.assertj.core.api.EnumerableAssert
-
Verifies that the number of values in the actual group is between the given boundaries (inclusive).
- hasSizeGreaterThan(int) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the number of values in the actual group is greater than the given boundary.
- hasSizeGreaterThan(int) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the number of values in the actual array is greater than the given boundary.
- hasSizeGreaterThan(int) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the number of values in the actual array is greater than the given boundary.
- hasSizeGreaterThan(int) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
has a length greater than the given value using thelength()
method. - hasSizeGreaterThan(int) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the number of values in the actual array is greater than the given boundary.
- hasSizeGreaterThan(int) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the number of values in the actual array is greater than the given boundary.
- hasSizeGreaterThan(int) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the number of values in the actual array is greater than the given boundary.
- hasSizeGreaterThan(int) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the number of values in the actual iterable is greater than the given boundary.
- hasSizeGreaterThan(int) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the number of values in the actual array is greater than the given boundary.
- hasSizeGreaterThan(int) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the number of values in the
Map
is greater than the boundary. - hasSizeGreaterThan(int) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the number of values in the actual array is greater than the given boundary.
- hasSizeGreaterThan(int) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the number of values in the actual array is greater than the given boundary.
- hasSizeGreaterThan(int) - Method in class org.assertj.core.api.AtomicIntegerArrayAssert
-
Verifies that the number of values in the actual array is greater than the given boundary.
- hasSizeGreaterThan(int) - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the number of values in the actual array is greater than the given boundary.
- hasSizeGreaterThan(int) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the number of values in the actual array is greater than the given boundary.
- hasSizeGreaterThan(int) - Method in interface org.assertj.core.api.EnumerableAssert
-
Verifies that the number of values in the actual group is greater than the given boundary.
- hasSizeGreaterThanOrEqualTo(int) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the number of values in the actual group is greater than or equal to the given boundary.
- hasSizeGreaterThanOrEqualTo(int) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the number of values in the actual group is greater than or equal to the given boundary.
- hasSizeGreaterThanOrEqualTo(int) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the number of values in the actual array is greater than or equal to the given boundary.
- hasSizeGreaterThanOrEqualTo(int) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
has a length greater than or equal to the given value using thelength()
method. - hasSizeGreaterThanOrEqualTo(int) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the number of values in the actual array is greater than or equal to the given boundary.
- hasSizeGreaterThanOrEqualTo(int) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the number of values in the actual array is greater than or equal to the given boundary.
- hasSizeGreaterThanOrEqualTo(int) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the number of values in the actual array is greater than or equal to the given boundary.
- hasSizeGreaterThanOrEqualTo(int) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the number of values in the actual iterable is greater than or equal to the given boundary.
- hasSizeGreaterThanOrEqualTo(int) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the number of values in the actual array is greater than or equal to the given boundary.
- hasSizeGreaterThanOrEqualTo(int) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the number of values in the
Map
is greater than or equal to the boundary. - hasSizeGreaterThanOrEqualTo(int) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the number of values in the actual array is greater than or equal to the given boundary.
- hasSizeGreaterThanOrEqualTo(int) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the number of values in the actual array is greater than or equal to the given boundary.
- hasSizeGreaterThanOrEqualTo(int) - Method in class org.assertj.core.api.AtomicIntegerArrayAssert
-
Verifies that the number of values in the actual array is greater than or equal to the given boundary.
- hasSizeGreaterThanOrEqualTo(int) - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the number of values in the actual array is greater than or equal to the given boundary.
- hasSizeGreaterThanOrEqualTo(int) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the number of values in the actual array is greater than or equal to the given boundary.
- hasSizeGreaterThanOrEqualTo(int) - Method in interface org.assertj.core.api.EnumerableAssert
-
Verifies that the number of values in the actual group is greater than or equal to the given boundary.
- hasSizeLessThan(int) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the number of values in the actual group is less than the given boundary.
- hasSizeLessThan(int) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the number of values in the actual array is less than the given boundary.
- hasSizeLessThan(int) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the number of values in the actual array is less than the given boundary.
- hasSizeLessThan(int) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
has has a length less than the given value using thelength()
method. - hasSizeLessThan(int) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the number of values in the actual array is less than the given boundary.
- hasSizeLessThan(int) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the number of values in the actual array is less than the given boundary.
- hasSizeLessThan(int) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the number of values in the actual array is less than the given boundary.
- hasSizeLessThan(int) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the number of values in the actual iterable is less than the given boundary.
- hasSizeLessThan(int) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the number of values in the actual array is less than the given boundary.
- hasSizeLessThan(int) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the number of values in the
Map
is less than the boundary. - hasSizeLessThan(int) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the number of values in the actual array is less than the given boundary.
- hasSizeLessThan(int) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the number of values in the actual array is less than the given boundary.
- hasSizeLessThan(int) - Method in class org.assertj.core.api.AtomicIntegerArrayAssert
-
Verifies that the number of values in the actual array is less than the given boundary.
- hasSizeLessThan(int) - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the number of values in the actual array is less than the given boundary.
- hasSizeLessThan(int) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the number of values in the actual array is less than the given boundary.
- hasSizeLessThan(int) - Method in interface org.assertj.core.api.EnumerableAssert
-
Verifies that the number of values in the actual group is less than the given boundary.
- hasSizeLessThanOrEqualTo(int) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the number of values in the actual group is less than or equal to the given boundary.
- hasSizeLessThanOrEqualTo(int) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the number of values in the actual array is less than or equal to the given boundary.
- hasSizeLessThanOrEqualTo(int) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the number of values in the actual array is less than or equal to the given boundary.
- hasSizeLessThanOrEqualTo(int) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
has a length less than or equal to the given value using thelength()
method. - hasSizeLessThanOrEqualTo(int) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Verifies that the number of values in the actual array is less than or equal to the given boundary.
- hasSizeLessThanOrEqualTo(int) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the number of values in the actual array is less than or equal to the given boundary.
- hasSizeLessThanOrEqualTo(int) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the number of values in the actual array is less than or equal to the given boundary.
- hasSizeLessThanOrEqualTo(int) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the number of values in the actual iterable is less than or equal to the given boundary.
- hasSizeLessThanOrEqualTo(int) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the number of values in the actual array is less than or equal to the given boundary.
- hasSizeLessThanOrEqualTo(int) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the number of values in the
Map
is less than or equal to the boundary. - hasSizeLessThanOrEqualTo(int) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the number of values in the actual array is less than or equal to the given boundary.
- hasSizeLessThanOrEqualTo(int) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the number of values in the actual array is less than or equal to the given boundary.
- hasSizeLessThanOrEqualTo(int) - Method in class org.assertj.core.api.AtomicIntegerArrayAssert
-
Verifies that the number of values in the actual array is less than or equal to the given boundary.
- hasSizeLessThanOrEqualTo(int) - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the number of values in the actual array is less than or equal to the given boundary.
- hasSizeLessThanOrEqualTo(int) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the number of values in the actual array is less than or equal to the given boundary.
- hasSizeLessThanOrEqualTo(int) - Method in interface org.assertj.core.api.EnumerableAssert
-
Verifies that the number of values in the actual group is less than or equal to the given boundary.
- hasSomeJavaTypeValue() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- hasStackTraceContaining(String) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the stack trace of the actual
Throwable
contains the given description. - hasStackTraceContaining(String, Object...) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the stack trace of the actual
Throwable
contains the given description, after being formatted using theString.format(java.lang.String, java.lang.Object...)
method. - hasStamp(int) - Method in class org.assertj.core.api.AtomicStampedReferenceAssert
-
Verifies that the actual
AtomicStampedReference
has the given stamp. - hasSuperclass(Class<?>) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Class
has the given class as direct superclass (as inClass.getSuperclass()
). - hasSuppressedException(Throwable) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the actual
Throwable
has a suppressed exception similar to the given one, that is with the same type and message (it does not use theequals
method for comparison). - hasTime(long) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Date
has the same time as the given timestamp. - hasToString(String) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that actual
actual.toString()
is equal to the givenString
. - hasToString(String) - Method in class org.assertj.core.api.AbstractIterableAssert
- hasToString(String) - Method in class org.assertj.core.api.AbstractListAssert
- hasToString(String) - Method in class org.assertj.core.api.AbstractMapAssert
- hasToString(String) - Method in interface org.assertj.core.api.Assert
-
Verifies that actual
actual.toString()
is equal to the givenString
. - hasUserInfo(String) - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URI
has the expected userinfo. - hasUserInfo(String) - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URL
has the expected userinfo. - hasValue(double) - Method in class org.assertj.core.api.AbstractOptionalDoubleAssert
-
Verifies that the actual
OptionalDouble
has the value in argument. - hasValue(int) - Method in class org.assertj.core.api.AbstractOptionalIntAssert
-
Verifies that the actual
OptionalInt
has the value in argument. - hasValue(int) - Method in class org.assertj.core.api.AtomicIntegerAssert
-
Verifies that the actual atomic has the given value.
- hasValue(long) - Method in class org.assertj.core.api.AbstractLongAdderAssert
-
Verifies that the actual sum has the given value.
- hasValue(long) - Method in class org.assertj.core.api.AbstractOptionalLongAssert
-
Verifies that the actual
OptionalLong
has the value in argument. - hasValue(long) - Method in class org.assertj.core.api.AtomicLongAssert
-
Verifies that the actual atomic has the given value.
- hasValue(FIELD, OBJECT) - Method in class org.assertj.core.api.AtomicReferenceFieldUpdaterAssert
-
Verifies that the actual atomic field updater contains the given value at the given object.
- hasValue(Integer, OBJECT) - Method in class org.assertj.core.api.AtomicIntegerFieldUpdaterAssert
-
Verifies that the actual atomic field updater contains the given value at the given object.
- hasValue(Long, OBJECT) - Method in class org.assertj.core.api.AtomicLongFieldUpdaterAssert
-
Verifies that the actual atomic field updater contains the given value at the given object.
- hasValue(V) - Method in class org.assertj.core.api.AtomicReferenceAssert
-
Verifies that the atomic under test has the given value.
- hasValue(VALUE) - Method in class org.assertj.core.api.AbstractOptionalAssert
-
Verifies that the actual
Optional
contains the given value (alias ofAbstractOptionalAssert.contains(Object)
). - hasValue(VALUE, OBJECT) - Method in class org.assertj.core.api.AbstractAtomicFieldUpdaterAssert
- hasValueBetween(int, int) - Method in class org.assertj.core.api.AtomicIntegerAssert
-
Verifies that the actual atomic has a value in [start, end] range (start included, end included).
- hasValueBetween(long, long) - Method in class org.assertj.core.api.AtomicLongAssert
-
Verifies that the actual atomic has a value in [start, end] range (start included, end included).
- hasValueCloseTo(int, Offset<Integer>) - Method in class org.assertj.core.api.AtomicIntegerAssert
-
Verifies that the actual atomic has a value close to the given one within the given offset.
- hasValueCloseTo(int, Percentage) - Method in class org.assertj.core.api.AtomicIntegerAssert
-
Verifies that the actual atomic has a value close to the given one within the given percentage.
If difference is equal to the percentage value, assertion is considered valid. - hasValueCloseTo(long, Offset<Long>) - Method in class org.assertj.core.api.AtomicLongAssert
-
Verifies that the actual atomic has a value close to the given one within the given offset.
- hasValueCloseTo(long, Percentage) - Method in class org.assertj.core.api.AtomicLongAssert
-
Verifies that the actual atomic has a value close to the given one within the given percentage.
If difference is equal to the percentage value, assertion is considered valid. - hasValueCloseTo(Double, Offset<Double>) - Method in class org.assertj.core.api.AbstractOptionalDoubleAssert
-
Verifies that the actual
OptionalDouble
has the value close to the argument. - hasValueCloseTo(Double, Percentage) - Method in class org.assertj.core.api.AbstractOptionalDoubleAssert
-
Verifies that the actual
OptionalDouble
has a value close to the expected value, within the given percentage.
If the difference is equal to the percentage value, the assertion is considered valid. - hasValueGreaterThan(int) - Method in class org.assertj.core.api.AtomicIntegerAssert
-
Verifies that the actual atomic has a value strictly greater than the given one.
- hasValueGreaterThan(long) - Method in class org.assertj.core.api.AtomicLongAssert
-
Verifies that the actual atomic has a value strictly greater than the given one.
- hasValueGreaterThanOrEqualTo(int) - Method in class org.assertj.core.api.AtomicIntegerAssert
-
Verifies that the actual atomic has a value strictly greater than the given one.
- hasValueGreaterThanOrEqualTo(long) - Method in class org.assertj.core.api.AtomicLongAssert
-
Verifies that the actual atomic has a value strictly greater than the given one.
- hasValueLessThan(int) - Method in class org.assertj.core.api.AtomicIntegerAssert
-
Verifies that the actual atomic has a value strictly less than the given one.
- hasValueLessThan(long) - Method in class org.assertj.core.api.AtomicLongAssert
-
Verifies that the actual atomic has a value strictly less than the given one.
- hasValueLessThanOrEqualTo(int) - Method in class org.assertj.core.api.AtomicIntegerAssert
-
Verifies that the actual atomic has a value strictly less than the given one.
- hasValueLessThanOrEqualTo(long) - Method in class org.assertj.core.api.AtomicLongAssert
-
Verifies that the actual atomic has a value strictly less than the given one.
- hasValueMatching(Predicate<? super V>) - Method in class org.assertj.core.api.AtomicReferenceAssert
-
Verifies that the atomic under test has a value satisfying the given predicate.
- hasValueMatching(Predicate<? super V>, String) - Method in class org.assertj.core.api.AtomicReferenceAssert
-
Verifies that the atomic under test has a value satisfying the given predicate, the string parameter is used in the error message to describe the predicate.
- hasValueSatisfying(Consumer<? super V>) - Method in class org.assertj.core.api.AtomicReferenceAssert
-
Verifies that the atomic under test has a value satisfying the given requirements.
- hasValueSatisfying(Consumer<VALUE>) - Method in class org.assertj.core.api.AbstractOptionalAssert
- hasValueSatisfying(Condition<? super V>) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual map contains an entry with a value satisfying the given
valueCondition
. - hasValueSatisfying(Condition<? super VALUE>) - Method in class org.assertj.core.api.AbstractOptionalAssert
- hasYear(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Date
year is equal to the given year. - hasYear(int) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Verifies that actual
LocalDate
is in the given year. - hasYear(int) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that actual
LocalDateTime
is in the given year. - hasYears(int) - Method in class org.assertj.core.api.AbstractPeriodAssert
-
Verifies that the actual
Period
has the given years. - have(Condition<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that all elements satisfy the given condition.
- have(Condition<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that all elements satisfy the given condition.
- have(Condition<? super ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that all elements satisfy the given condition.
- have(Condition<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that all elements satisfy the given condition.
- haveAtLeast(int, Condition<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that there are at least n elements in the actual group satisfying the given condition.
- haveAtLeast(int, Condition<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that there are at least n elements in the actual array satisfying the given condition.
- haveAtLeast(int, Condition<? super ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that there are at least n elements in the actual group satisfying the given condition.
- haveAtLeast(int, Condition<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that there are at least n elements in the actual AtomicReferenceArray satisfying the given condition.
- haveAtLeastOne(Condition<? super ELEMENT>) - 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 ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that there is at least one element in the actual array satisfying the given condition.
- haveAtLeastOne(Condition<? super ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
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.AtomicReferenceArrayAssert
-
Verifies that there is at least one element in the actual AtomicReferenceArray satisfying the given condition.
- haveAtMost(int, Condition<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that there are at most n elements in the actual group satisfying the given condition.
- haveAtMost(int, Condition<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that there are at most n elements in the actual array satisfying the given condition.
- haveAtMost(int, Condition<? super ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that there are at most n elements in the actual group satisfying the given condition.
- haveAtMost(int, Condition<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that there are at most n elements in the actual AtomicReferenceArray satisfying the given condition.
- haveExactly(int, Condition<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that there are exactly n elements in the actual group satisfying the given condition.
- haveExactly(int, Condition<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that there are exactly n elements in the actual array satisfying the given condition.
- haveExactly(int, Condition<? super ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that there are exactly n elements in the actual group satisfying the given condition.
- haveExactly(int, Condition<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that there are exactly n elements in the actual AtomicReferenceArray 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 asFilters.being(Condition)
- pick the method you prefer to have the most readable code. - havingCause() - Method in class org.assertj.core.api.ThrowableAssertAlternative
- havingRootCause() - Method in class org.assertj.core.api.ThrowableAssertAlternative
- HEX_ARRAY - Static variable in class org.assertj.core.util.Hexadecimals
- HEXA_REPRESENTATION - Static variable in class org.assertj.core.presentation.HexadecimalRepresentation
- 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.DateUtil
-
Extracts the hour of day if the given Date (24-hour clock).
I
- i - Variable in class org.assertj.core.util.diff.myers.PathNode
-
Position in the original sequence.
- ignoreAllOverriddenEquals() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Force a recursive comparison on all fields (except java types).
- ignoreCollectionOrder(boolean) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Sets whether to ignore collection order in the comparison.
- ignoreCollectionOrderInFields(String...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Adds the given fields to the list fields from the object under test to ignore collection order in the recursive comparison.
- ignoreCollectionOrderInFieldsMatchingRegexes(String...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Adds the given regexes to the list of regexes used to find the object under test fields to ignore collection order in the recursive comparison.
- ignoreFields(String...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Adds the given fields to the set of fields from the object under test to ignore in the recursive comparison.
- ignoreFieldsMatchingRegexes(String...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Allows to ignore in the recursive comparison the object under test fields matching the given regexes.
- ignoreFieldsOfTypes(Class<?>...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Adds the given types to the list fields from the object under test types to ignore in the recursive comparison.
- ignoreOverriddenEqualsForFields(String...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Adds the given fields to the list of fields to force a recursive comparison on.
- ignoreOverriddenEqualsForFieldsMatchingRegexes(String...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Adds the given regexes to the list of regexes used find the fields to force a recursive comparison on.
- ignoreOverriddenEqualsForTypes(Class<?>...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Adds the given types to the list of types to force a recursive comparison on.
- ignoringActualEmptyOptionalFields() - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Makes the recursive comparison to ignore all actual empty optional fields (including
Optional
,OptionalInt
,OptionalLong
andOptionalDouble
), note that the expected object empty optional fields are not ignored, this only applies to actual's fields. - ignoringActualNullFields() - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Makes the recursive comparison to ignore all actual null fields (but note that the expected object null fields are used in the comparison).
- ignoringAllOverriddenEquals() - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
This method instructs the recursive comparison to compare recursively all fields including the one whose type have overridden equals, except fields with java types (at some point we need to compare something!).
- ignoringCollectionOrder() - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Makes the recursive comparison to ignore collection order in all fields in the object under test.
- ignoringCollectionOrderInFields(String...) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Makes the recursive comparison to ignore collection order in the object under test specified fields.
- ignoringCollectionOrderInFieldsMatchingRegexes(String...) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Makes the recursive comparison to ignore collection order in the object under test fields matching the specified regexes.
- ignoringExpectedNullFields() - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Makes the recursive comparison to ignore all expected null fields.
- ignoringFields(String...) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Makes the recursive comparison to ignore the given object under test fields.
- ignoringFieldsMatchingRegexes(String...) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Makes the recursive comparison to ignore the object under test fields whose name matche the given regexes.
- ignoringFieldsOfTypes(Class<?>...) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Makes the recursive comparison to ignore the object under test fields of the given types.
- ignoringOverriddenEqualsForFields(String...) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
In case you have instructed the recursive to use overridden
equals
withRecursiveComparisonAssert.usingOverriddenEquals()
, this method allows to ignore overriddenequals
for the given fields (it adds them to the already registered ones). - ignoringOverriddenEqualsForFieldsMatchingRegexes(String...) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
In case you have instructed the recursive to use overridden
equals
withRecursiveComparisonAssert.usingOverriddenEquals()
, this method allows to force a recursive comparison for the fields matching the given regexes (it adds them to the already registered ones). - ignoringOverriddenEqualsForTypes(Class<?>...) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
By default the recursive comparison uses overridden
equals
methods to compare fields, this method allows to force a recursive comparison for all fields of the given types (it adds them to the already registered ones). - in(Object...) - Static method in class org.assertj.core.api.Assertions
-
Create a
FilterOperator
to use infilteredOn(String, FilterOperation)
to express a filter keeping all Iterable elements whose property/field value matches one of the given values. - in(Object...) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Create a
FilterOperator
to use infilteredOn(String, FilterOperation)
to express a filter keeping all Iterable elements whose property/field value matches one of the given values. - in(Object...) - Static method in class org.assertj.core.api.BDDAssertions
-
Create a
FilterOperator
to use infilteredOn(String, FilterOperation)
to express a filter keeping all Iterable elements whose property/field value matches one of the given values. - 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. - in(Object...) - Static method in class org.assertj.core.api.filter.InFilter
- in(Object...) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Create a
FilterOperator
to use infilteredOn(String, FilterOperation)
to express a filter keeping all Iterable elements whose property/field value matches one of the given values. - in(Object...) - Method in interface org.assertj.core.api.WithAssertions
-
Create a
FilterOperator
to use infilteredOn(String, FilterOperation)
to express a filter keeping all Iterable elements whose property/field value matches 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
- inBinary() - Method in class org.assertj.core.api.AbstractUniversalComparableAssert
-
Use binary object representation instead of standard representation in error messages.
- inBinary() - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
- indent(String) - Method in class org.assertj.core.error.ShouldBeEqual
- INDENT_LEVEL_2 - Static variable in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- Index - Class in org.assertj.core.data
-
A positive index.
- IndexedObjectEnumerableAssert<SELF extends IndexedObjectEnumerableAssert<SELF,
ELEMENT>, ELEMENT> - Interface in org.assertj.core.api -
Assertions methods applicable to indexed groups of objects (e.g.
- InFilter - Class in org.assertj.core.api.filter
- 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 Iterable elements instead of standard java representation in error messages.
- inHexadecimal() - Method in class org.assertj.core.api.AbstractUniversalComparableAssert
-
Use hexadecimal object representation instead of standard representation in error messages.
- inHexadecimal() - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Enable hexadecimal object representation of Iterable elements instead of standard java representation in error messages.
- InjectSoftAssertions - Annotation Type in org.assertj.core.api.junit.jupiter
-
Annotation used with
SoftAssertionsExtension
for specify wich test instance fields should be initialised with aSoftAssertionsProvider
concrete implementation, for exampleSoftAssertions
,BDDSoftAssertions
or any custom soft assertions class. - INPUT_STREAM - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for anInputStream
. - InputStreamAssert - Class in org.assertj.core.api
-
Assertion methods for
InputStream
s. - InputStreamAssert(InputStream) - Constructor for class org.assertj.core.api.InputStreamAssert
- INSERT - Enum constant in enum org.assertj.core.util.diff.Delta.TYPE
-
An insert into the original.
- InsertDelta<T> - Class in org.assertj.core.util.diff
-
Initially copied from https://code.google.com/p/java-diff-utils/.
- InsertDelta(Chunk<T>, Chunk<T>) - Constructor for class org.assertj.core.util.diff.InsertDelta
-
Creates an insert delta with the two given chunks.
- 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.util.introspection.PropertySupport
-
Returns the singleton instance of this class.
- instance() - Static method in class org.assertj.core.util.TextFileWriter
- INSTANCE - Static variable in class org.assertj.core.api.ComparatorFactory
- INSTANCE - Static variable in class org.assertj.core.util.ClassNameComparator
- INSTANCE - Static variable in class org.assertj.core.util.diff.DeltaComparator
- INSTANCE - Static variable in class org.assertj.core.util.PathNaturalOrderComparator
- InstanceOfAssertFactories - Interface in org.assertj.core.api
- InstanceOfAssertFactory<T,
ASSERT extends AbstractAssert<?, ?>> - Class in org.assertj.core.api -
AssertFactory
decorator which casts the input value to the given type before invoking the decoratedAssertFactory
. - InstanceOfAssertFactory(Class<T>, AssertFactory<T, ASSERT>) - Constructor for class org.assertj.core.api.InstanceOfAssertFactory
-
Instantiates a new
InstanceOfAssertFactory
. - INSTANT - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for anInstant
. - InstantAssert - Class in org.assertj.core.api
-
Assertion methods for
Instant
s. - InstantAssert(Instant) - Constructor for class org.assertj.core.api.InstantAssert
-
Creates a new
.AbstractInstantAssert
- INT_2D_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for anint
two-dimensional array. - INT_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for anint
array. - INT_PREDICATE - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for anIntPredicate
. - INT_STREAM - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for anIntStream
. - Int2DArrayAssert - Class in org.assertj.core.api
-
Assertion methods for two-dimensional arrays of
int
s. - Int2DArrayAssert(int[][]) - Constructor for class org.assertj.core.api.Int2DArrayAssert
- int2dArrays - Variable in class org.assertj.core.api.Int2DArrayAssert
- IntArrayAssert - Class in org.assertj.core.api
-
Assertion methods for arrays of
int
s. - IntArrayAssert(int[]) - Constructor for class org.assertj.core.api.IntArrayAssert
- IntArrayAssert(AtomicIntegerArray) - Constructor for class org.assertj.core.api.IntArrayAssert
- INTEGER - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- IntegerAssert - Class in org.assertj.core.api
-
Assertion methods for
Integer
s. - IntegerAssert(Integer) - Constructor for class org.assertj.core.api.IntegerAssert
- IntegerAssert(AtomicInteger) - Constructor for class org.assertj.core.api.IntegerAssert
- intercept(ErrorCollector, Object, Callable<?>, Method, Object) - Static method in class org.assertj.core.api.ErrorCollector
- intercept(ProxifyMethodChangingTheObjectUnderTest, Callable<AbstractAssert<?, ?>>, AbstractAssert<?, ?>) - Static method in class org.assertj.core.api.ProxifyMethodChangingTheObjectUnderTest
- IntPredicateAssert - Class in org.assertj.core.api
-
Assertions for
Predicate
. - IntPredicateAssert(IntPredicate) - Constructor for class org.assertj.core.api.IntPredicateAssert
- Introspection - Class in org.assertj.core.util.introspection
-
Utility methods related to JavaBeans Introspection.
- IntrospectionError - Exception in org.assertj.core.util.introspection
-
Error that occurred when using JavaBeans Introspection.
- IntrospectionError(String) - Constructor for exception org.assertj.core.util.introspection.IntrospectionError
-
Creates a new
.IntrospectionError
- IntrospectionError(String, Throwable) - Constructor for exception org.assertj.core.util.introspection.IntrospectionError
-
Creates a new
.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.
- inUnicode() - Method in class org.assertj.core.api.Char2DArrayAssert
-
Use unicode character representation instead of standard representation in error messages.
- is(Condition<? super ACTUAL>) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value satisfies the given condition.
- is(Condition<? super ACTUAL>) - Method in class org.assertj.core.api.AbstractIterableAssert
- is(Condition<? super ACTUAL>) - Method in class org.assertj.core.api.AbstractListAssert
- is(Condition<? super ACTUAL>) - Method in class org.assertj.core.api.AbstractMapAssert
- is(Condition<? super ACTUAL>) - Method in interface org.assertj.core.api.ExtensionPoints
-
Verifies that the actual value satisfies the given condition.
- is(Condition<? super ELEMENT>, 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.
- 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). - isAbstract() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Class
is abstract (hasabstract
modifier). - isActualAnEnum() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isActualFieldAMap() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isActualFieldAnArray() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isActualFieldAnAtomicBoolean() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isActualFieldAnAtomicInteger() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isActualFieldAnAtomicIntegerArray() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isActualFieldAnAtomicLong() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isActualFieldAnAtomicLongArray() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isActualFieldAnAtomicReference() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isActualFieldAnAtomicReferenceArray() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isActualFieldAnEmptyOptionalOfAnyType() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isActualFieldAnIterable() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isActualFieldAnOptional() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isActualFieldAnOptionalDouble() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isActualFieldAnOptionalInt() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isActualFieldAnOptionalLong() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isActualFieldAnOrderedCollection() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isActualFieldASortedMap() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isActualJavaType() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isAfter(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isAfter(Date)
but given date is represented as String either with one of the supported defaults date format or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)
). - isAfter(String) - Method in class org.assertj.core.api.AbstractInstantAssert
-
Same assertion as
AbstractInstantAssert.isAfter(Instant)
but theInstant
is built from given a String that must follow ISO Instant format to allow callingInstant.parse(CharSequence)
method. - isAfter(String) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Same assertion as
AbstractLocalDateAssert.isAfter(LocalDate)
but theLocalDate
is built from given a String that must follow ISO LocalDate format to allow callingLocalDate.parse(CharSequence)
method. - isAfter(String) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Same assertion as
AbstractLocalDateTimeAssert.isAfter(LocalDateTime)
but theLocalDateTime
is built from given a String that must follow ISO LocalDateTime format to allow callingLocalDateTime.parse(CharSequence)
method. - isAfter(String) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Same assertion as
AbstractLocalTimeAssert.isAfter(LocalTime)
but theLocalTime
is built from given a String that must follow ISO LocalTime format to allow callingLocalTime.parse(CharSequence)
method. - isAfter(String) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Same assertion as
AbstractOffsetDateTimeAssert.isAfter(java.time.OffsetDateTime)
but theOffsetDateTime
is built from given a String that must follow ISO OffsetDateTime format to allow callingOffsetDateTime.parse(CharSequence)
method. - isAfter(String) - Method in class org.assertj.core.api.AbstractOffsetTimeAssert
-
Same assertion as
AbstractOffsetTimeAssert.isAfter(java.time.OffsetTime)
but theOffsetTime
is built from given a String that must follow ISO OffsetTime format to allow callingOffsetTime.parse(CharSequence)
method. - isAfter(String) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Same assertion as
AbstractZonedDateTimeAssert.isAfter(ZonedDateTime)
but theZonedDateTime
is built from given String, which must follow ISO date-time format to allow callingZonedDateTime.parse(CharSequence, DateTimeFormatter)
method. - isAfter(Instant) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Date
is strictly after the givenInstant
. - isAfter(Instant) - Method in class org.assertj.core.api.AbstractInstantAssert
-
Verifies that the actual
Instant
is strictly after the given one. - isAfter(LocalDate) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Verifies that the actual
LocalDate
is strictly after the given one. - isAfter(LocalDateTime) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that the actual
LocalDateTime
is strictly after the given one according to theChronoLocalDateTime.timeLineOrder()
comparator which is consistent withLocalDateTime.isAfter(ChronoLocalDateTime)
. - isAfter(LocalTime) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Verifies that the actual
LocalTime
is strictly after the given one. - isAfter(OffsetDateTime) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Verifies that the actual
OffsetDateTime
is strictly after the given one according to the comparator in use. - isAfter(OffsetTime) - Method in class org.assertj.core.api.AbstractOffsetTimeAssert
-
Verifies that the actual
OffsetTime
is strictly after the given one. - isAfter(ZonedDateTime) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Verifies that the actual
ZonedDateTime
is strictly after the given one according to the comparator in use. - isAfter(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Date
is strictly after the given one. - isAfterOrEqualsTo(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.prefer calling
AbstractDateAssert.isAfterOrEqualTo(String)
- isAfterOrEqualsTo(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.prefer calling
AbstractDateAssert.isAfterOrEqualTo(Date)
- isAfterOrEqualTo(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isAfterOrEqualTo(Date)
but given date is represented as String either with one of the supported defaults date format or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)
). - isAfterOrEqualTo(String) - Method in class org.assertj.core.api.AbstractInstantAssert
-
Same assertion as
AbstractInstantAssert.isAfterOrEqualTo(Instant)
but theInstant
is built from given String, which must follow ISO Instant format to allow callingInstant.parse(CharSequence)
method. - isAfterOrEqualTo(String) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Same assertion as
AbstractLocalDateAssert.isAfterOrEqualTo(LocalDate)
but theLocalDate
is built from given String, which must follow ISO LocalDate format to allow callingLocalDate.parse(CharSequence)
method. - isAfterOrEqualTo(String) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Same assertion as
AbstractLocalDateTimeAssert.isAfterOrEqualTo(LocalDateTime)
but theLocalDateTime
is built from given String, which must follow ISO LocalDateTime format to allow callingLocalDateTime.parse(CharSequence)
method. - isAfterOrEqualTo(String) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Same assertion as
AbstractLocalTimeAssert.isAfterOrEqualTo(LocalTime)
but theLocalTime
is built from given String, which must follow ISO LocalTime format to allow callingLocalTime.parse(CharSequence)
method. - isAfterOrEqualTo(String) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Same assertion as
AbstractOffsetDateTimeAssert.isAfterOrEqualTo(java.time.OffsetDateTime)
but theOffsetDateTime
is built from given String, which must follow ISO OffsetDateTime format to allow callingOffsetDateTime.parse(CharSequence)
method. - isAfterOrEqualTo(String) - Method in class org.assertj.core.api.AbstractOffsetTimeAssert
-
Same assertion as
AbstractOffsetTimeAssert.isAfterOrEqualTo(java.time.OffsetTime)
but theOffsetTime
is built from given String, which must follow ISO OffsetTime format to allow callingOffsetTime.parse(CharSequence)
method. - isAfterOrEqualTo(String) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Same assertion as
AbstractZonedDateTimeAssert.isAfterOrEqualTo(ZonedDateTime)
but theZonedDateTime
is built from given String which must follow ISO date-time format to allow callingZonedDateTime.parse(CharSequence, DateTimeFormatter)
method. - isAfterOrEqualTo(Instant) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Date
is after or equal to the givenInstant
. - isAfterOrEqualTo(Instant) - Method in class org.assertj.core.api.AbstractInstantAssert
-
Verifies that the actual
Instant
is after or equals to the given one. - isAfterOrEqualTo(LocalDate) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Verifies that the actual
LocalDate
is after or equals to the given one. - isAfterOrEqualTo(LocalDateTime) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that the actual
LocalDateTime
is after or equals to the given one according to theChronoLocalDateTime.timeLineOrder()
comparator which is consistent withLocalDateTime.isAfter(ChronoLocalDateTime)
. - isAfterOrEqualTo(LocalTime) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Verifies that the actual
LocalTime
is after or equals to the given one. - isAfterOrEqualTo(OffsetDateTime) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Verifies that the actual
OffsetDateTime
is after or equals to the given one according to the comparator in use. - isAfterOrEqualTo(OffsetTime) - Method in class org.assertj.core.api.AbstractOffsetTimeAssert
-
Verifies that the actual
OffsetTime
is after or equals to the given one. - isAfterOrEqualTo(ZonedDateTime) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Verifies that the actual
ZonedDateTime
is after or equals to the given one according to the comparator in use. - isAfterOrEqualTo(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Date
is after or equal to the given one. - 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. - isArrayTypePrimitive(Object) - Static method in class org.assertj.core.util.Arrays
- isAssignableFrom(Class<?>...) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Class
is assignable from othersClass
- isAtSameInstantAs(OffsetDateTime) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Verifies that actual and given
OffsetDateTime
are at the sameInstant
. - isBase64() - Method in class org.assertj.core.api.AbstractStringAssert
-
Verifies that the actual value is a valid Base64 encoded string.
- isBefore(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isBefore(Date)
but given date is represented as String either with one of the supported defaults date format or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)
). - isBefore(String) - Method in class org.assertj.core.api.AbstractInstantAssert
-
Same assertion as
AbstractInstantAssert.isBefore(Instant)
but theInstant
is built from given String, which must follow ISO Instant format to allow callingInstant.parse(CharSequence)
method. - isBefore(String) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Same assertion as
AbstractLocalDateAssert.isBefore(LocalDate)
but theLocalDate
is built from given String, which must follow ISO LocalDate format to allow callingLocalDate.parse(CharSequence)
method. - isBefore(String) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Same assertion as
AbstractLocalDateTimeAssert.isBefore(LocalDateTime)
but theLocalDateTime
is built from given String, which must follow ISO LocalDateTime format to allow callingLocalDateTime.parse(CharSequence)
method. - isBefore(String) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Same assertion as
AbstractLocalTimeAssert.isBefore(LocalTime)
but theLocalTime
is built from given String, which must follow ISO LocalTime format to allow callingLocalTime.parse(CharSequence)
method. - isBefore(String) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Same assertion as
AbstractOffsetDateTimeAssert.isBefore(java.time.OffsetDateTime)
but theOffsetDateTime
is built from given String, which must follow ISO OffsetDateTime format to allow callingOffsetDateTime.parse(CharSequence)
method. - isBefore(String) - Method in class org.assertj.core.api.AbstractOffsetTimeAssert
-
Same assertion as
AbstractOffsetTimeAssert.isBefore(java.time.OffsetTime)
but theOffsetTime
is built from given String, which must follow ISO OffsetTime format to allow callingOffsetTime.parse(CharSequence)
method. - isBefore(String) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Same assertion as
AbstractZonedDateTimeAssert.isBefore(ZonedDateTime)
but theZonedDateTime
is built from given String, which must follow ISO date-time format to allow callingZonedDateTime.parse(CharSequence, DateTimeFormatter)
method. - isBefore(Instant) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Date
is strictly before the givenInstant
. - isBefore(Instant) - Method in class org.assertj.core.api.AbstractInstantAssert
-
Verifies that the actual
Instant
is strictly before the given one. - isBefore(LocalDate) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Verifies that the actual
LocalDate
is strictly before the given one. - isBefore(LocalDateTime) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that the actual
LocalDateTime
is strictly before the given one according to theChronoLocalDateTime.timeLineOrder()
comparator which is consistent withLocalDateTime.isBefore(ChronoLocalDateTime)
. - isBefore(LocalTime) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Verifies that the actual
LocalTime
is strictly before the given one. - isBefore(OffsetDateTime) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Verifies that the actual
OffsetDateTime
is strictly before the given one according to the comparator in use. - isBefore(OffsetTime) - Method in class org.assertj.core.api.AbstractOffsetTimeAssert
-
Verifies that the actual
OffsetTime
is strictly before the given one. - isBefore(ZonedDateTime) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Verifies that the actual
ZonedDateTime
is strictly before the given one according to the comparator in use. - isBefore(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Date
is strictly before the given one. - isBeforeOrEqualsTo(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.prefer calling
AbstractDateAssert.isBeforeOrEqualTo(String)
- isBeforeOrEqualsTo(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.prefer calling
AbstractDateAssert.isBeforeOrEqualTo(Date)
- isBeforeOrEqualTo(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isBeforeOrEqualTo(Date)
but given date is represented as String either with one of the supported defaults date format or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)
). - isBeforeOrEqualTo(String) - Method in class org.assertj.core.api.AbstractInstantAssert
-
Same assertion as
AbstractInstantAssert.isBeforeOrEqualTo(Instant)
but theInstant
is built from given String, which must follow ISO Instant format to allow callingInstant.parse(CharSequence)
method. - isBeforeOrEqualTo(String) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Same assertion as
AbstractLocalDateAssert.isBeforeOrEqualTo(LocalDate)
but theLocalDate
is built from given String, which must follow ISO LocalDate format to allow callingLocalDate.parse(CharSequence)
method. - isBeforeOrEqualTo(String) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Same assertion as
AbstractLocalDateTimeAssert.isBeforeOrEqualTo(LocalDateTime)
but theLocalDateTime
is built from given String, which must follow ISO LocalDateTime format to allow callingLocalDateTime.parse(CharSequence)
method. - isBeforeOrEqualTo(String) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Same assertion as
AbstractLocalTimeAssert.isBeforeOrEqualTo(LocalTime)
but theLocalTime
is built from given String, which must follow ISO LocalTime format to allow callingLocalTime.parse(CharSequence)
method. - isBeforeOrEqualTo(String) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Same assertion as
AbstractOffsetDateTimeAssert.isBeforeOrEqualTo(java.time.OffsetDateTime)
but theOffsetDateTime
is built from given String, which must follow ISO OffsetDateTime format to allow callingOffsetDateTime.parse(CharSequence)
method. - isBeforeOrEqualTo(String) - Method in class org.assertj.core.api.AbstractOffsetTimeAssert
-
Same assertion as
AbstractOffsetTimeAssert.isBeforeOrEqualTo(java.time.OffsetTime)
but theOffsetTime
is built from given String, which must follow ISO OffsetTime format to allow callingOffsetTime.parse(CharSequence)
method. - isBeforeOrEqualTo(String) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Same assertion as
AbstractZonedDateTimeAssert.isBeforeOrEqualTo(ZonedDateTime)
but theZonedDateTime
is built from given String which must follow ISO date-time format to allow callingZonedDateTime.parse(CharSequence, DateTimeFormatter)
method. - isBeforeOrEqualTo(Instant) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Date
is before or equal to the givenInstant
. - isBeforeOrEqualTo(Instant) - Method in class org.assertj.core.api.AbstractInstantAssert
-
Verifies that the actual
Instant
is before or equals to the given one. - isBeforeOrEqualTo(LocalDate) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Verifies that the actual
LocalDate
is before or equals to the given one. - isBeforeOrEqualTo(LocalDateTime) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that the actual
LocalDateTime
is before or equals to the given one according to theChronoLocalDateTime.timeLineOrder()
comparator which is consistent withLocalDateTime.isBefore(ChronoLocalDateTime)
. - isBeforeOrEqualTo(LocalTime) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Verifies that the actual
LocalTime
is before or equals to the given one. - isBeforeOrEqualTo(OffsetDateTime) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Verifies that the actual
OffsetDateTime
is before or equals to the given one according to the comparator in use. - isBeforeOrEqualTo(OffsetTime) - Method in class org.assertj.core.api.AbstractOffsetTimeAssert
-
Verifies that the actual
OffsetTime
is before or equals to the given one. - isBeforeOrEqualTo(ZonedDateTime) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Verifies that the actual
ZonedDateTime
is before or equals to the given one according to the comparator in use. - isBeforeOrEqualTo(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Date
is before or equal to the given one. - isBeforeYear(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Date
is strictly before the given year. - isBetween(ACTUAL, ACTUAL) - Method in class org.assertj.core.api.AbstractComparableAssert
-
Verifies that the actual value is in [start, end] range (start included, end included).
- isBetween(ACTUAL, ACTUAL) - Method in interface org.assertj.core.api.ComparableAssert
-
Verifies that the actual value is in [start, end] range (start included, end included).
- isBetween(ACTUAL, ACTUAL) - Method in interface org.assertj.core.api.NumberAssert
-
Verifies that the actual value is in [start, end] range (start included, 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(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.AbstractLongAdderAssert
- 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(String, String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isBetween(Date, Date)
but given date is represented as String either with one of the supported defaults date format or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)
). - isBetween(String, String) - Method in class org.assertj.core.api.AbstractInstantAssert
-
Same assertion as
AbstractInstantAssert.isBetween(Instant, Instant)
but here you passInstant
String representations that must follow ISO Instant format to allow callingInstant.parse(CharSequence)
method. - isBetween(String, String) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Same assertion as
AbstractLocalDateAssert.isBetween(LocalDate, LocalDate)
but here you passLocalDate
String representations which must follow ISO LocalDate format to allow callingLocalDate.parse(CharSequence)
method. - isBetween(String, String) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Same assertion as
AbstractLocalDateTimeAssert.isBetween(LocalDateTime, LocalDateTime)
but here you passLocalDateTime
String representations which must follow ISO LocalDateTime format to allow callingLocalDateTime.parse(CharSequence)
method. - isBetween(String, String) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Same assertion as
AbstractLocalTimeAssert.isBetween(LocalTime, LocalTime)
but here you passLocalTime
String representations which must follow ISO LocalTime format to allow callingLocalTime.parse(CharSequence)
method. - isBetween(String, String) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Same assertion as
AbstractOffsetDateTimeAssert.isBetween(OffsetDateTime, OffsetDateTime)
but here you passOffsetDateTime
String representations which must follow ISO OffsetDateTime format to allow callingOffsetDateTime.parse(CharSequence)
method. - isBetween(String, String) - Method in class org.assertj.core.api.AbstractOffsetTimeAssert
-
Same assertion as
AbstractOffsetTimeAssert.isBetween(OffsetTime, OffsetTime)
but here you passOffsetTime
String representations which must follow ISO OffsetTime format to allow callingOffsetTime.parse(CharSequence)
method. - isBetween(String, String) - Method in class org.assertj.core.api.AbstractStringAssert
-
Verifies that the actual value is in [start, end] range (start included, end included) according to
String.compareTo(String)
. - isBetween(String, String) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Same assertion as
AbstractZonedDateTimeAssert.isBetween(ZonedDateTime, ZonedDateTime)
but here you passZonedDateTime
String representations which must follow ISO ZonedDateTime format to allow callingZonedDateTime.parse(CharSequence)
method. - isBetween(String, String, boolean, boolean) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isBetween(Date, Date, boolean, boolean)
but given date is represented as String either with one of the supported defaults date format or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)
). - 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(BigInteger, BigInteger) - Method in class org.assertj.core.api.AbstractBigIntegerAssert
-
Verifies that the actual value is in [start, end] range (start and end included).
- isBetween(Instant, Instant) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isBetween(Date, Date)
but given period is represented withInstant
. - isBetween(Instant, Instant) - Method in class org.assertj.core.api.AbstractInstantAssert
-
Verifies that the actual
Instant
is in the [start, end] period (start and end included). - isBetween(Instant, Instant, boolean, boolean) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isBetween(Date, Date, boolean, boolean)
but given period is represented withInstant
. - isBetween(LocalDate, LocalDate) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Verifies that the actual
LocalDate
is in the [start, end] period (start and end included). - isBetween(LocalDateTime, LocalDateTime) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that the actual
LocalDateTime
is in the [start, end] period (start and end included) according to theChronoLocalDateTime.timeLineOrder()
comparator. - isBetween(LocalTime, LocalTime) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Verifies that the actual
LocalTime
is in the [start, end] period (start and end included). - isBetween(OffsetDateTime, OffsetDateTime) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Verifies that the actual
OffsetDateTime
is in the [start, end] period (start and end included) according to the comparator in use. - isBetween(OffsetTime, OffsetTime) - Method in class org.assertj.core.api.AbstractOffsetTimeAssert
-
Verifies that the actual
OffsetTime
is in the [start, end] period (start and end included). - isBetween(ZonedDateTime, ZonedDateTime) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Verifies that the actual
ZonedDateTime
is in the [start, end] period (start and end included) according to the comparator in use. - 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(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 totrue
.
To include end in the period set inclusiveEnd parameter totrue
. - isBetween(T, T) - Method in class org.assertj.core.api.AbstractUniversalComparableAssert
-
Verifies that the actual value is in [start, end] range (start included, end included).
- isBeyondOffset(Temporal, Temporal) - Method in class org.assertj.core.data.TemporalUnitLessThanOffset
-
Checks if difference between temporal values is less then offset.
- isBeyondOffset(Temporal, Temporal) - Method in class org.assertj.core.data.TemporalUnitWithinOffset
-
Checks if difference between temporal values is less then or equal to offset.
- isBeyondOffset(T, T) - Method in interface org.assertj.core.data.TemporalOffset
-
Checks if difference between temporal values is beyond offset.
- isBlank() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
is blank, i.e. - isBootstrap() - Method in class org.assertj.core.util.diff.myers.PathNode
-
Is this a bootstrap node?
- isCancelled() - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Verifies that the
CompletableFuture
iscancelled
. - isCancelled() - Method in class org.assertj.core.api.AbstractFutureAssert
-
Verifies that the
Future
is cancelled. - isCanonical() - Method in class org.assertj.core.api.AbstractPathAssert
- isCloseTo(byte, Offset<Byte>) - Method in class org.assertj.core.api.AbstractByteAssert
-
Verifies that the actual number is close to the given one within the given offset value.
- isCloseTo(byte, Percentage) - Method in class org.assertj.core.api.AbstractByteAssert
-
Verifies that the actual number is close to the given one within the given percentage.
If difference is equal to the percentage 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 value.
- isCloseTo(double, Percentage) - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual number is close to the given one within the given percentage.
If difference is equal to the percentage 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 value.
- isCloseTo(float, Percentage) - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual number is close to the given one within the given percentage.
If difference is equal to the percentage value, assertion is considered valid. - isCloseTo(int, Offset<Integer>) - Method in class org.assertj.core.api.AbstractIntegerAssert
-
Verifies that the actual number is close to the given one within the given offset value.
- isCloseTo(int, Percentage) - Method in class org.assertj.core.api.AbstractIntegerAssert
-
Verifies that the actual number is close to the given one within the given percentage.
If difference is equal to the percentage value, assertion is considered valid. - isCloseTo(long, Offset<Long>) - Method in class org.assertj.core.api.AbstractLongAssert
-
Verifies that the actual number is close to the given one within the given offset value.
- isCloseTo(long, Percentage) - Method in class org.assertj.core.api.AbstractLongAssert
-
Verifies that the actual number is close to the given one within the given percentage.
If difference is equal to the percentage value, assertion is considered valid. - isCloseTo(short, Offset<Short>) - Method in class org.assertj.core.api.AbstractShortAssert
-
Verifies that the actual number is close to the given one within the given offset value.
- isCloseTo(short, Percentage) - Method in class org.assertj.core.api.AbstractShortAssert
-
Verifies that the actual number is close to the given one within the given percentage.
If difference is equal to the percentage value, assertion is considered valid. - isCloseTo(ACTUAL, Offset<ACTUAL>) - 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. - isCloseTo(ACTUAL, Offset<ACTUAL>) - Method in interface org.assertj.core.api.NumberAssert
-
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(ACTUAL, Percentage) - Method in interface org.assertj.core.api.NumberAssert
-
Verifies that the actual number is close to the given one within the given percentage.
If difference is equal to the percentage value, assertion is considered valid. - isCloseTo(Byte, Offset<Byte>) - Method in class org.assertj.core.api.AbstractByteAssert
-
Verifies that the actual number is close to the given one within the given offset value.
- isCloseTo(Byte, Percentage) - Method in class org.assertj.core.api.AbstractByteAssert
-
Verifies that the actual number is close to the given one within the given percentage.
If difference is equal to the percentage 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 value.
- isCloseTo(Double, Percentage) - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual number is close to the given one within the given percentage.
If difference is equal to the percentage 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 value.
- isCloseTo(Float, Percentage) - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual number is close to the given one within the given percentage.
If difference is equal to the percentage value, assertion is considered valid. - isCloseTo(Integer, Offset<Integer>) - Method in class org.assertj.core.api.AbstractIntegerAssert
-
Verifies that the actual number is close to the given one within the given offset value.
- isCloseTo(Integer, Percentage) - Method in class org.assertj.core.api.AbstractIntegerAssert
-
Verifies that the actual number is close to the given one within the given percentage.
If difference is equal to the percentage value, assertion is considered valid. - isCloseTo(Long, Offset<Long>) - Method in class org.assertj.core.api.AbstractLongAdderAssert
- isCloseTo(Long, Offset<Long>) - Method in class org.assertj.core.api.AbstractLongAssert
-
Verifies that the actual number is close to the given one within the given offset value.
- isCloseTo(Long, Percentage) - Method in class org.assertj.core.api.AbstractLongAdderAssert
- isCloseTo(Long, Percentage) - Method in class org.assertj.core.api.AbstractLongAssert
-
Verifies that the actual number is close to the given one within the given percentage.
If difference is equal to the percentage value, assertion is considered valid. - isCloseTo(Short, Offset<Short>) - Method in class org.assertj.core.api.AbstractShortAssert
-
Verifies that the actual number is close to the given one within the given offset value.
- isCloseTo(Short, Percentage) - Method in class org.assertj.core.api.AbstractShortAssert
-
Verifies that the actual number is close to the given one within the given percentage.
If difference is equal to the percentage value, assertion is considered valid. - isCloseTo(String, long) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isCloseTo(Date, long)
but given date is represented as String either with one of the supported defaults date format or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)
). - isCloseTo(String, TemporalOffset<? super TEMPORAL>) - Method in class org.assertj.core.api.AbstractTemporalAssert
-
Same assertion as
AbstractTemporalAssert.isCloseTo(Temporal, TemporalOffset)
but theTEMPORAL
is built from a given String that follows predefined ISO date format Predefined Formatters to allow callingAbstractTemporalAssert.parse(String)
)} method. - 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 value.
- isCloseTo(BigDecimal, Percentage) - Method in class org.assertj.core.api.AbstractBigDecimalAssert
-
Verifies that the actual number is close to the given one within the given percentage.
If difference is equal to the percentage value, assertion is considered valid. - isCloseTo(BigInteger, Offset<BigInteger>) - Method in class org.assertj.core.api.AbstractBigIntegerAssert
-
Verifies that the actual number is close to the given one within the given offset.
- isCloseTo(BigInteger, Percentage) - Method in class org.assertj.core.api.AbstractBigIntegerAssert
-
Verifies that the actual number is close to the given one within the given percentage.
If difference is equal to the percentage value, assertion is considered valid. - isCloseTo(Duration, Duration) - Method in class org.assertj.core.api.AbstractDurationAssert
-
Verifies that the actual
Duration
is close to the given one within the given allowed difference (assertion succeeds if difference = allowed difference). - isCloseTo(Instant, long) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Date
is close to the givenInstant
by less than delta (expressed in milliseconds), if the difference is equal to delta the assertion succeeds. - 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 equal to delta it's ok. - isCloseTo(TEMPORAL, TemporalOffset<? super TEMPORAL>) - Method in class org.assertj.core.api.AbstractTemporalAssert
-
Verifies that the actual
Temporal
is close to the other according to the givenTemporalOffset
. - isCloseToUtcNow(TemporalUnitOffset) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that the actual
LocalDateTime
is close to the current date and time on the UTC timezone, according to the givenTemporalUnitOffset
. - isCloseToUtcNow(TemporalUnitOffset) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Verifies that the actual
OffsetDateTime
is close to the current date and time on the UTC timezone, according to the givenTemporalUnitOffset
. - isCompleted() - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Verifies that the
CompletableFuture
is completed normally (i.e.done
but notcompleted exceptionally
) orcancelled
. - isCompletedExceptionally() - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Verifies that the
CompletableFuture
iscompleted exceptionally
. - isCompletedWithValue(RESULT) - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Verifies that the
CompletableFuture
is completed normally with theexpected
result. - isCompletedWithValueMatching(Predicate<? super RESULT>) - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Verifies that the
CompletableFuture
is completed normally with a result matching thepredicate
. - isCompletedWithValueMatching(Predicate<? super RESULT>, String) - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Verifies that the
CompletableFuture
is completed normally with a result matching thepredicate
, the String parameter is used in the error message. - isDeepEqualTo(boolean[][]) - Method in class org.assertj.core.api.Boolean2DArrayAssert
-
Verifies that the actual
boolean[][]
is deeply equal to the given one. - isDeepEqualTo(byte[][]) - Method in class org.assertj.core.api.Byte2DArrayAssert
-
Verifies that the actual
byte[][]
is deeply equal to the given one. - isDeepEqualTo(char[][]) - Method in class org.assertj.core.api.Char2DArrayAssert
-
Verifies that the actual
char[][]
is deeply equal to the given one. - isDeepEqualTo(double[][]) - Method in class org.assertj.core.api.Double2DArrayAssert
-
Verifies that the actual
double[][]
is deeply equal to the given one. - isDeepEqualTo(float[][]) - Method in class org.assertj.core.api.Float2DArrayAssert
-
Verifies that the actual
float[][]
is deeply equal to the given one. - isDeepEqualTo(int[][]) - Method in class org.assertj.core.api.Int2DArrayAssert
-
Verifies that the actual 2D array is deeply equal to the given one.
- isDeepEqualTo(long[][]) - Method in class org.assertj.core.api.Long2DArrayAssert
-
Verifies that the actual 2D array is deeply equal to the given one.
- isDeepEqualTo(short[][]) - Method in class org.assertj.core.api.Short2DArrayAssert
-
Verifies that the actual
short[][]
is deeply equal to the given one. - isDeepEqualTo(ACTUAL) - Method in class org.assertj.core.api.Abstract2DArrayAssert
-
Verifies that the actual 2D array is deeply equal to the given one.
- isDeepEqualTo(ELEMENT[][]) - Method in class org.assertj.core.api.Object2DArrayAssert
-
Verifies that the actual
ELEMENT[][]
is deeply equal to the given one. - isDefault() - Method in class org.assertj.core.presentation.PredicateDescription
- 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. - isDirectoryContaining(String) - Method in class org.assertj.core.api.AbstractFileAssert
-
Verify that the actual
File
is a directory containing at least one file matching the givenString
interpreted as a path matcher (as perFileSystem.getPathMatcher(String)
). - isDirectoryContaining(String) - Method in class org.assertj.core.api.AbstractPathAssert
-
Verify that the actual
Path
is a directory containing at least one file matching the givenString
interpreted as a path matcher (as perFileSystem.getPathMatcher(String)
). - isDirectoryContaining(Predicate<File>) - Method in class org.assertj.core.api.AbstractFileAssert
-
Verify that the actual
File
is a directory containing at least one file matching the givenPredicate<File>
. - isDirectoryContaining(Predicate<Path>) - Method in class org.assertj.core.api.AbstractPathAssert
-
Verify that the actual
Path
is a directory containing at least one file matching the givenPredicate<Path>
. - isDirectoryNotContaining(String) - Method in class org.assertj.core.api.AbstractFileAssert
-
Verify that the actual
File
is a directory that does not contain any files matching the givenString
interpreted as a path matcher (as perFileSystem.getPathMatcher(String)
). - isDirectoryNotContaining(String) - Method in class org.assertj.core.api.AbstractPathAssert
-
Verify that the actual
Path
is a directory that does not contain any files matching the givenString
interpreted as a path matcher (as perFileSystem.getPathMatcher(String)
). - isDirectoryNotContaining(Predicate<File>) - Method in class org.assertj.core.api.AbstractFileAssert
-
Verify that the actual
File
is a directory that does not contain any files matching the givenPredicate<File>
. - isDirectoryNotContaining(Predicate<Path>) - Method in class org.assertj.core.api.AbstractPathAssert
-
Verify that the actual
Path
is a directory that does not contain any files matching the givenPredicate<Path>
. - isDirectoryRecursivelyContaining(String) - Method in class org.assertj.core.api.AbstractFileAssert
-
Verify that the actual
File
directory or any of its subdirectories (recursively) contains at least one file matching the givenString
interpreted as a path matcher (as perFileSystem.getPathMatcher(String)
). - isDirectoryRecursivelyContaining(String) - Method in class org.assertj.core.api.AbstractPathAssert
-
Verify that the actual
Path
directory or any of its subdirectories (recursively) contains at least one file matching the givenString
interpreted as a path matcher (as perFileSystem.getPathMatcher(String)
). - isDirectoryRecursivelyContaining(Predicate<File>) - Method in class org.assertj.core.api.AbstractFileAssert
-
Verify that the actual
File
directory or any of its subdirectories (recursively) contains at least one file matching the givenPredicate<File>
. - isDirectoryRecursivelyContaining(Predicate<Path>) - Method in class org.assertj.core.api.AbstractPathAssert
-
Verify that the actual
Path
directory or any of its subdirectories (recursively) contains at least one file matching the givenPredicate<Path>
. - isDone() - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Verifies that the
CompletableFuture
isdone
i.e. - isDone() - Method in class org.assertj.core.api.AbstractFutureAssert
-
Verifies that the
Future
is done. - isElementOfCustomAssert(StackTraceElement) - Method in class org.assertj.core.api.AbstractAssert
- 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 notnull
. - 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.AbstractFileAssert
-
Verify that the actual
File
is empty (i.e. - 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.AbstractInputStreamAssert
-
Verifies that the content of the actual
InputStream
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
Map
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.AbstractOptionalAssert
-
Verifies that the actual
Optional
is empty. - isEmpty() - Method in class org.assertj.core.api.AbstractOptionalDoubleAssert
-
Verifies that the actual
OptionalDouble
is empty. - isEmpty() - Method in class org.assertj.core.api.AbstractOptionalIntAssert
-
Verifies that the actual
OptionalInt
is empty. - isEmpty() - Method in class org.assertj.core.api.AbstractOptionalLongAssert
-
Verifies that the actual
OptionalLong
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.Array2DAssert
-
Verifies that the actual array is empty, empty means the array has no elements, said otherwise it can have any number of rows but all rows must be empty.
- isEmpty() - Method in class org.assertj.core.api.AtomicIntegerArrayAssert
-
Verifies that the AtomicIntegerArray is empty.
- isEmpty() - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the AtomicLongArray is empty.
- isEmpty() - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the AtomicReferenceArray is empty.
- isEmpty() - Method in class org.assertj.core.api.Boolean2DArrayAssert
-
Verifies that the actual
boolean[][]
is empty, empty means the array has no elements, said otherwise it can have any number of rows but all rows must be empty. - isEmpty() - Method in class org.assertj.core.api.Byte2DArrayAssert
-
Verifies that the actual
byte[][]
is empty, empty means the array has no elements, said otherwise it can have any number of rows but all rows must be empty. - isEmpty() - Method in class org.assertj.core.api.Char2DArrayAssert
-
Verifies that the actual
char[][]
is empty, empty means the array has no elements, said otherwise it can have any number of rows but all rows must be empty. - isEmpty() - Method in class org.assertj.core.api.Double2DArrayAssert
-
Verifies that the actual
double[][]
is empty, empty means the array has no elements, said otherwise it can have any number of rows but all rows must be empty. - isEmpty() - Method in interface org.assertj.core.api.EnumerableAssert
-
Verifies that the actual group of values is empty.
- isEmpty() - Method in class org.assertj.core.api.Float2DArrayAssert
-
Verifies that the actual
float[][]
is empty, empty means the array has no elements, said otherwise it can have any number of rows but all rows must be empty. - isEmpty() - Method in class org.assertj.core.api.Int2DArrayAssert
-
Verifies that the actual array is empty, empty means the array has no elements, said otherwise it can have any number of rows but all rows must be empty.
- isEmpty() - Method in class org.assertj.core.api.Long2DArrayAssert
-
Verifies that the actual array is empty, empty means the array has no elements, said otherwise it can have any number of rows but all rows must be empty.
- isEmpty() - Method in class org.assertj.core.api.Object2DArrayAssert
-
Verifies that the actual
ELEMENT[][]
is empty, empty means the array has no elements, said otherwise it can have any number of rows but all rows must be empty. - isEmpty() - Method in class org.assertj.core.api.recursive.comparison.FieldMessages
- isEmpty() - Method in class org.assertj.core.api.Short2DArrayAssert
-
Verifies that the actual
short[][]
is empty, empty means the array has no elements, said otherwise it can have any number of rows but all rows must be empty. - isEmptyDirectory() - Method in class org.assertj.core.api.AbstractFileAssert
-
Verify that the actual
File
is an empty directory. - isEmptyDirectory() - Method in class org.assertj.core.api.AbstractPathAssert
-
Verify that the actual
Path
is an empty directory. - isEmptyFile() - Method in class org.assertj.core.api.AbstractPathAssert
-
Verify that the actual
Path
is an empty regular file. - isEqualByComparingTo(ACTUAL) - Method in class org.assertj.core.api.AbstractComparableAssert
-
Verifies that the actual value is equal to the given one by invoking
.Comparable.compareTo(Object)
- isEqualByComparingTo(ACTUAL) - Method in interface org.assertj.core.api.ComparableAssert
-
Verifies that the actual value is equal to the given one by invoking
.Comparable.compareTo(Object)
- isEqualByComparingTo(Long) - Method in class org.assertj.core.api.AbstractLongAdderAssert
- isEqualByComparingTo(String) - Method in class org.assertj.core.api.AbstractBigDecimalAssert
-
Same as
isEqualByComparingTo(BigDecimal)
but takes care of converting given String toBigDecimal
. - isEqualByComparingTo(T) - Method in class org.assertj.core.api.AbstractUniversalComparableAssert
-
Verifies that the actual value is equal to the given one by invoking
.Comparable.compareTo(Object)
- 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(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 number is close to the given one within the given offset value.
- 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 number is close to the given one within the given offset value.
- isEqualTo(int) - Method in class org.assertj.core.api.AbstractBigIntegerAssert
-
Same as
isEqualTo(BigInteger)
but takes care of converting given int toBigInteger
for you. - 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.AbstractBigIntegerAssert
-
Same as
isEqualTo(BigInteger)
but takes care of converting given int toBigInteger
for you. - isEqualTo(long) - Method in class org.assertj.core.api.AbstractIntegerAssert
-
Verifies that the actual value is equal to the given long.
- 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(ACTUAL, Offset<ACTUAL>) - Method in interface org.assertj.core.api.FloatingPointNumberAssert
-
Verifies that the actual number is close to the given one within the given offset value.
- isEqualTo(Double) - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual value is equal to the given one using
Double.equals(Object)
semantics where:Double.valueOf(Double.NaN).equals(Double.NaN) == true
butDouble.NaN != Double.NaN
Double.valueOf(0.0).equals(-0.0) == false
but0.0 == -0.0
- isEqualTo(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 value.
- isEqualTo(Float) - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual value is equal to the given one using
Float.equals(Object)
semantics where 0.0f is not equal to -0.0f. - isEqualTo(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 value.
- isEqualTo(Object) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is equal to the given one.
- isEqualTo(Object) - Method in class org.assertj.core.api.AbstractIterableAssert
- isEqualTo(Object) - Method in class org.assertj.core.api.AbstractListAssert
- isEqualTo(Object) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that the actual
LocalDateTime
is equal to the given one according to theChronoLocalDateTime.timeLineOrder()
comparator which is consistent withLocalDateTime.isEqual(ChronoLocalDateTime)
. - isEqualTo(Object) - Method in class org.assertj.core.api.AbstractMapAssert
- isEqualTo(Object) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Verifies that the actual
OffsetDateTime
is equal to the given one according to the comparator in use. - isEqualTo(Object) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Verifies that the actual
ZonedDateTime
is equal to the given one according to the comparator in use. - isEqualTo(Object) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is equal to the given one.
- isEqualTo(Object) - Method in class org.assertj.core.api.Boolean2DArrayAssert
-
Verifies that the actual
boolean[][]
is equal to the given one. - isEqualTo(Object) - Method in class org.assertj.core.api.Byte2DArrayAssert
-
Verifies that the actual
byte[][]
is equal to the given one. - isEqualTo(Object) - Method in class org.assertj.core.api.Char2DArrayAssert
-
Verifies that the actual
char[][]
is equal to the given one. - isEqualTo(Object) - Method in class org.assertj.core.api.Double2DArrayAssert
-
Verifies that the actual
double[][]
is equal to the given one. - isEqualTo(Object) - Method in class org.assertj.core.api.Float2DArrayAssert
-
Verifies that the actual
float[][]
is equal to the given one. - isEqualTo(Object) - Method in class org.assertj.core.api.Int2DArrayAssert
-
Verifies that the actual
int[][]
is equal to the given one. - isEqualTo(Object) - Method in class org.assertj.core.api.ListAssert
- isEqualTo(Object) - Method in class org.assertj.core.api.Long2DArrayAssert
-
Verifies that the actual
long[][]
is equal to the given one. - isEqualTo(Object) - Method in class org.assertj.core.api.Object2DArrayAssert
-
Verifies that the actual
ELEMENT[][]
is equal to the given one. - isEqualTo(Object) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Asserts that the object under test (actual) is equal to the given object when compared field by field recursively (including inherited fields are included in the comparison).
- isEqualTo(Object) - Method in class org.assertj.core.api.Short2DArrayAssert
-
Verifies that the actual
short[][]
is equal to the given one. - isEqualTo(String) - Method in class org.assertj.core.api.AbstractBigDecimalAssert
-
Same as
isEqualTo(BigDecimal)
but takes care of converting given String toBigDecimal
for you. - isEqualTo(String) - Method in class org.assertj.core.api.AbstractBigIntegerAssert
-
Same as
isEqualTo(BigInteger)
but takes care of converting given String toBigInteger
for you. - isEqualTo(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
isEqualTo(Date date)
but given date is represented as aString
either with one of the supported defaults date format or a user custom date format set with methodAbstractDateAssert.withDateFormat(DateFormat)
. - isEqualTo(String) - Method in class org.assertj.core.api.AbstractInstantAssert
-
Same assertion as
AbstractAssert.isEqualTo(Object)
(where Object is expected to beInstant
) but here you passInstant
String representation that must follow ISO Instant format to allow callingInstant.parse(CharSequence)
method. - isEqualTo(String) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Same assertion as
AbstractAssert.isEqualTo(Object)
(where Object is expected to beLocalDate
) but here you passLocalDate
String representation that must follow ISO LocalDate format to allow callingLocalDate.parse(CharSequence)
method. - isEqualTo(String) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Same assertion as
AbstractLocalDateTimeAssert.isEqualTo(Object)
(where Object is expected to beLocalDateTime
) but here you passLocalDateTime
String representation that must follow ISO LocalDateTime format to allow callingLocalDateTime.parse(CharSequence)
method. - isEqualTo(String) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Same assertion as
AbstractAssert.isEqualTo(Object)
(where Object is expected to beLocalTime
) but here you passLocalTime
String representation that must follow ISO LocalTime format to allow callingLocalTime.parse(CharSequence)
method. - isEqualTo(String) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Same assertion as
AbstractOffsetDateTimeAssert.isEqualTo(Object)
(where Object is expected to beOffsetDateTime
) but here you passOffsetDateTime
String representation that must follow ISO OffsetDateTime format to allow callingOffsetDateTime.parse(CharSequence)
method. - isEqualTo(String) - Method in class org.assertj.core.api.AbstractOffsetTimeAssert
-
Same assertion as
AbstractAssert.isEqualTo(Object)
(where Object is expected to beOffsetTime
) but here you passOffsetTime
String representation that must follow ISO OffsetTime format to allow callingOffsetTime.parse(CharSequence)
method. - isEqualTo(String) - Method in class org.assertj.core.api.AbstractStringAssert
-
Verifies that the actual value is equal to expected.
- isEqualTo(String) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Same assertion as
AbstractZonedDateTimeAssert.isEqualTo(Object)
but theZonedDateTime
is built from given String which must follow ISO date-time format to allow callingZonedDateTime.parse(CharSequence, DateTimeFormatter)
method. - isEqualTo(String, Object...) - Method in class org.assertj.core.api.AbstractStringAssert
-
Verifies that the actual value is equal to expected build using
String.format(String stringTemplate, Object...args)
. - isEqualTo(Instant) - Method in class org.assertj.core.api.AbstractDateAssert
- isEqualToComparingFieldByField(Object) - Method in class org.assertj.core.api.AbstractObjectAssert
-
Deprecated.Use the recursive comparison by calling
AbstractObjectAssert.usingRecursiveComparison()
.This method is deprecated because it only compares the first level of fields while the recursive comparison traverses all fields recursively (only stopping at java types).
For example suppose actual and expected are of type A which has the following structure:
A |— B b | |— String s | |— C c | |— String s | |— Date d |— int i
isEqualToComparingFieldByField
will compare actual and expectedA.b
andA.i
fields but not B fields (it calls B equals method instead comparing B fields).
The recursive comparison on the other hand will introspect B fields and then C fields and will compare actual and expected respective fields values, that is:A.i
,A.B.s
,A.B.C.s
andA.B.C.d
.Concretely instead of writing:
You should write:assertThat(actual).isEqualToComparingFieldByField(expected);
Original javadocassertThat(actual).usingRecursiveComparison() .isEqualTo(expected);
Asserts that actual object is equal to the given object based on a property/field by property/field comparison (including inherited ones). This can be handy if
equals
implementation of objects to compare does not suit you.Note that comparison is not recursive, if one of the field is an Object, it will be compared to the other field using its
equals
method.If an object has a field and a property with the same name, the property value will be used over the field.
Private fields are used in comparison but this can be disabled using
Assertions.setAllowComparingPrivateFields(boolean)
, if disabled only accessible fields values are compared, accessible fields include directly accessible fields (e.g. public) or fields with an accessible getter.The objects to compare can be of different types but the properties/fields used in comparison must exist in both, for example if actual object has a name String field, it is expected the other object to also have one.
Example:
// equals not overridden in TolkienCharacter TolkienCharacter frodo = new TolkienCharacter("Frodo", 33, HOBBIT); TolkienCharacter frodoClone = new TolkienCharacter("Frodo", 33, HOBBIT); // Fail as equals compares object references assertThat(frodo).isEqualTo(frodoClone); // frodo and frodoClone are equals when doing a field by field comparison. assertThat(frodo).isEqualToComparingFieldByField(frodoClone);
- isEqualToComparingFieldByFieldRecursively(Object) - Method in class org.assertj.core.api.AbstractObjectAssert
-
Deprecated.Prefer calling
AbstractObjectAssert.usingRecursiveComparison()
for comparing objects field by field as it offers more flexibility, better reporting and an easier to use API. Asserts that the object under test (actual) is equal to the given object based on a recursive property/field by property/field comparison (including inherited ones). This can be useful if actual'sequals
implementation does not suit you. The recursive property/field comparison is not applied on fields having a customequals
implementation, i.e. the overriddenequals
method will be used instead of a field by field comparison.The recursive comparison handles cycles. By default
floats
are compared with a precision of 1.0E-6 anddoubles
with 1.0E-15.You can specify a custom comparator per (nested) fields or type with respectively
usingComparatorForFields(Comparator, String...)
andAbstractObjectAssert.usingComparatorForType(Comparator, Class)
.The objects to compare can be of different types but must have the same properties/fields. For example if actual object has a name String field, it is expected the other object to also have one. If an object has a field and a property with the same name, the property value will be used over the field.
Example:
public class Person { public String name; public double height; public Home home = new Home(); public Person bestFriend; // constructor with name and height omitted for brevity } public class Home { public Address address = new Address(); } public static class Address { public int number = 1; } Person jack = new Person("Jack", 1.80); jack.home.address.number = 123; Person jackClone = new Person("Jack", 1.80); jackClone.home.address.number = 123; // cycle are handled in comparison jack.bestFriend = jackClone; jackClone.bestFriend = jack; // will fail as equals compares object references assertThat(jack).isEqualTo(jackClone); // jack and jackClone are equals when doing a recursive field by field comparison assertThat(jack).isEqualToComparingFieldByFieldRecursively(jackClone); // any type/field can be compared with a a specific comparator. // let's change jack's height a little bit jack.height = 1.81; // assertion fails because of the height difference // (the default precision comparison for double is 1.0E-15) assertThat(jack).isEqualToComparingFieldByFieldRecursively(jackClone); // this succeeds because we allow a 0.5 tolerance on double assertThat(jack).usingComparatorForType(new DoubleComparator(0.5), Double.class) .isEqualToComparingFieldByFieldRecursively(jackClone); // you can set a comparator on specific fields (nested fields are supported) assertThat(jack).usingComparatorForFields(new DoubleComparator(0.5), "height") .isEqualToComparingFieldByFieldRecursively(jackClone);
- isEqualToComparingOnlyGivenFields(Object, String...) - Method in class org.assertj.core.api.AbstractObjectAssert
-
Deprecated.Use the recursive comparison by calling
AbstractObjectAssert.usingRecursiveComparison()
and specify the fields to ignore.Warning: the recursive comparison does not provide a strictly equivalent feature, instead it provides several ways to ignore fields in the comparison
by specifying fields to ignore
, orfields by type
orfields matching regexes
. The idea being that it is best to compare as many fields as possible and only ignore the ones that are not relevant (for example generated ids).This method is deprecated because it only compares the first level of fields while the recursive comparison traverses all fields recursively (only stopping at java types).
For example suppose actual and expected are of type A which has the following structure:
A |— B b | |— String s | |— C c | |— String s | |— Date d |— int i
isEqualToComparingOnlyGivenFields
will compare actual and expectedA.b
andA.i
fields but not B fields (it calls B equals method instead comparing B fields).
The recursive comparison on the other hand will introspect B fields and then C fields and will compare actual and expected respective fields values, that is:A.i
,A.B.s
,A.B.C.s
andA.B.C.d
.Assuming actual has 4 fields f1, f2, f3, f4, instead of writing:
You should write:assertThat(actual).isEqualToComparingOnlyGivenFields(expected, f1, f2);
Original javadocassertThat(actual).usingRecursiveComparison() .ignoringFields(f3, f4) .isEqualTo(expected);
Asserts that the actual object is equal to the given one using a property/field by property/field comparison on the given properties/fields only (fields can be inherited fields or nested fields). This can be handy if
equals
implementation of objects to compare does not suit you.Note that comparison is not recursive, if one of the field is an Object, it will be compared to the other field using its
equals
method.If an object has a field and a property with the same name, the property value will be used over the field.
Private fields are used in comparison but this can be disabled using
Assertions.setAllowComparingPrivateFields(boolean)
, if disabled only accessible fields values are compared, accessible fields include directly accessible fields (e.g. public) or fields with an accessible getter.The objects to compare can be of different types but the properties/fields used in comparison must exist in both, for example if actual object has a name String field, it is expected the other object to also have one.
Example:
TolkienCharacter frodo = new TolkienCharacter("Frodo", 33, HOBBIT); TolkienCharacter sam = new TolkienCharacter("Sam", 38, HOBBIT); // frodo and sam both are hobbits, so they are equals when comparing only race assertThat(frodo).isEqualToComparingOnlyGivenFields(sam, "race"); // OK // they are also equals when comparing only race name (nested field). assertThat(frodo).isEqualToComparingOnlyGivenFields(sam, "race.name"); // OK // ... but not when comparing both name and race assertThat(frodo).isEqualToComparingOnlyGivenFields(sam, "name", "race"); // FAIL
- 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(Object, String...) - Method in class org.assertj.core.api.AbstractObjectAssert
-
Deprecated.Use the recursive comparison by calling
AbstractObjectAssert.usingRecursiveComparison()
and chain withignoringFields(String...)
.This method is deprecated because it only compares the first level of fields while the recursive comparison traverses all fields recursively (only stopping at java types).
For example suppose actual and expected are of type A which has the following structure:
A |— B b | |— String s | |— C c | |— String s | |— Date d |— int i
isEqualToIgnoringGivenFields
will compare actual and expectedA.b
andA.i
fields but not B fields (it calls B equals method instead comparing B fields).
The recursive comparison on the other hand will introspect B fields and then C fields and will compare actual and expected respective fields values, that is:A.i
,A.B.s
,A.B.C.s
andA.B.C.d
.Concretely instead of writing:
You should write:assertThat(actual).isEqualToIgnoringGivenFields(expected, "i", "b.s");
assertThat(actual).usingRecursiveComparison() .ignoringFields("i", "b.s") .isEqualTo(expected);
Note that the recursive comparison also allows to ignore fields
by type
ormatching regexes
. Original javadocAsserts that the actual object is equal to the given one by comparing their properties/fields except for the given ones (inherited ones are taken into account). This can be handy if
equals
implementation of objects to compare does not suit you.Note that comparison is not recursive, if one of the property/field is an Object, it will be compared to the other field using its
equals
method.If an object has a field and a property with the same name, the property value will be used over the field.
Private fields are used in comparison but this can be disabled using
Assertions.setAllowComparingPrivateFields(boolean)
, if disabled only accessible fields values are compared, accessible fields include directly accessible fields (e.g. public) or fields with an accessible getter.The objects to compare can be of different types but the properties/fields used in comparison must exist in both, for example if actual object has a name String field, it is expected the other object to also have one.
Example:
TolkienCharacter frodo = new TolkienCharacter("Frodo", 33, HOBBIT); TolkienCharacter sam = new TolkienCharacter("Sam", 38, HOBBIT); // frodo and sam are equals when ignoring name and age since the only remaining field is race which they share as HOBBIT. assertThat(frodo).isEqualToIgnoringGivenFields(sam, "name", "age"); // OK // ... but they are not equals if only age is ignored as their names differ. assertThat(frodo).isEqualToIgnoringGivenFields(sam, "age"); // FAIL
- isEqualToIgnoringHours(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isEqualToIgnoringHours(Date)
but given Date is represented as String either with one of the default supported date format or user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)
). - isEqualToIgnoringHours(Instant) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isEqualToIgnoringHours(Date)
but given Date is represented as anjava.time.Instant
. - isEqualToIgnoringHours(LocalDateTime) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that actual and given
LocalDateTime
have same year, month and day fields (hour, minute, second and nanosecond fields are ignored in comparison). - isEqualToIgnoringHours(OffsetDateTime) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Verifies that actual and given
OffsetDateTime
have same year, month and day fields (hour, minute, second and nanosecond fields are ignored in comparison). - isEqualToIgnoringHours(ZonedDateTime) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Verifies that actual and given
ZonedDateTime
have same year, month and day fields (hour, minute, second and nanosecond fields are ignored in comparison). - isEqualToIgnoringHours(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractAssert.isEqualTo(Object)
but the comparison ignores hours, minutes, seconds and milliseconds. - isEqualToIgnoringMillis(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isEqualToIgnoringMillis(Date)
but given Date is represented as String either with one of the default supported date format or user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)
). - isEqualToIgnoringMillis(Instant) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isEqualToIgnoringMillis(Date)
but given Date is represented as anjava.time.Instant
. - isEqualToIgnoringMillis(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractAssert.isEqualTo(Object)
but given Date should not take care of milliseconds precision. - isEqualToIgnoringMinutes(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isEqualToIgnoringMinutes(Date)
but given Date is represented as String either with one of the default supported date format or user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)
). - isEqualToIgnoringMinutes(Instant) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isEqualToIgnoringMinutes(Date)
but given Date is represented as anjava.time.Instant
. - isEqualToIgnoringMinutes(LocalDateTime) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that actual and given
LocalDateTime
have same year, month, day and hour fields (minute, second and nanosecond fields are ignored in comparison). - isEqualToIgnoringMinutes(OffsetDateTime) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Verifies that actual and given
OffsetDateTime
have same year, month, day and hour fields (minute, second and nanosecond fields are ignored in comparison). - isEqualToIgnoringMinutes(ZonedDateTime) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Verifies that actual and given
ZonedDateTime
have same year, month, day and hour fields (minute, second and nanosecond fields are ignored in comparison). - isEqualToIgnoringMinutes(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractAssert.isEqualTo(Object)
but given Date should not take care of minutes, seconds and milliseconds precision. - isEqualToIgnoringNanos(LocalDateTime) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that actual and given
LocalDateTime
have same year, month, day, hour, minute and second fields, (nanosecond fields are ignored in comparison). - isEqualToIgnoringNanos(LocalTime) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Verifies that actual and given
LocalTime
have same hour, minute and second fields (nanosecond fields are ignored in comparison). - isEqualToIgnoringNanos(OffsetDateTime) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Verifies that actual and given
OffsetDateTime
have same year, month, day, hour, minute and second fields, (nanosecond fields are ignored in comparison). - isEqualToIgnoringNanos(OffsetTime) - Method in class org.assertj.core.api.AbstractOffsetTimeAssert
-
Verifies that actual and given
OffsetTime
have same hour, minute and second fields (nanosecond fields are ignored in comparison). - isEqualToIgnoringNanos(ZonedDateTime) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Verifies that actual and given
ZonedDateTime
have same year, month, day, hour, minute and second fields, (nanosecond fields are ignored in comparison). - isEqualToIgnoringNewLines(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
is equal to the given one after both strings new lines (\n, \r\n) have been removed. - isEqualToIgnoringNullFields(Object) - Method in class org.assertj.core.api.AbstractObjectAssert
-
Deprecated.Use the recursive comparison by calling
AbstractObjectAssert.usingRecursiveComparison()
and chain withignoringExpectedNullFields()
.This method is deprecated because it only compares the first level of fields while the recursive comparison traverses all fields recursively (only stopping at java types).
For example suppose actual and expected are of type A which has the following structure:
A |— B b | |— String s | |— C c | |— String s | |— Date d |— int i
isEqualToIgnoringNullFields
will compare actual and expectedA.b
andA.i
fields but not B fields (it calls B equals method instead comparing B fields).
The recursive comparison on the other hand will introspect B fields and then C fields and will compare actual and expected respective fields values, that is:A.i
,A.B.s
,A.B.C.s
andA.B.C.d
.Concretely instead of writing:
You should write:assertThat(actual).isEqualToIgnoringNullFields(expected);
assertThat(actual).usingRecursiveComparison() .ignoringExpectedNullFields() .isEqualTo(expected);
Note that the recursive comparison also allows to ignore actual's null fields with
ignoringActualNullFields()
. Original javadocAsserts that the actual object is equal to the given one by comparing actual's properties/fields with other's not null properties/fields only (including inherited ones).
It means that if an actual field is not null and the corresponding field in other is null, this field will be ignored in comparison, but the opposite will make assertion fail (null field in actual, not null in other) as the field is used in the performed comparison and the values differ.
Note that comparison is not recursive, if one of the field is an Object, it will be compared to the other field using its
equals
method.If an object has a field and a property with the same name, the property value will be used over the field.
Private fields are used in comparison but this can be disabled using
Assertions.setAllowComparingPrivateFields(boolean)
, if disabled only accessible fields values are compared, accessible fields include directly accessible fields (e.g. public) or fields with an accessible getter.The objects to compare can be of different types but the properties/fields used in comparison must exist in both, for example if actual object has a name String field, it is expected other object to also have one.
Example:
TolkienCharacter frodo = new TolkienCharacter("Frodo", 33, HOBBIT); TolkienCharacter mysteriousHobbit = new TolkienCharacter(null, 33, HOBBIT); // Null fields in other/expected object are ignored, the mysteriousHobbit has null name thus name is ignored assertThat(frodo).isEqualToIgnoringNullFields(mysteriousHobbit); // OK // ... but this is not reversible ! assertThat(mysteriousHobbit).isEqualToIgnoringNullFields(frodo); // FAIL
- isEqualToIgnoringSeconds(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isEqualToIgnoringSeconds(Date)
but given Date is represented as String either with one of the default supported date format or user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)
). - isEqualToIgnoringSeconds(Instant) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isEqualToIgnoringSeconds(Date)
but given Date is represented as anjava.time.Instant
. - isEqualToIgnoringSeconds(LocalDateTime) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that actual and given
LocalDateTime
have same year, month, day, hour and minute fields (second and nanosecond fields are ignored in comparison). - isEqualToIgnoringSeconds(LocalTime) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Verifies that actual and given
LocalTime
have same hour and minute fields (second and nanosecond fields are ignored in comparison). - isEqualToIgnoringSeconds(OffsetDateTime) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Verifies that actual and given
OffsetDateTime
have same year, month, day, hour and minute fields (second and nanosecond fields are ignored in comparison). - isEqualToIgnoringSeconds(OffsetTime) - Method in class org.assertj.core.api.AbstractOffsetTimeAssert
-
Verifies that actual and given
OffsetTime
have same hour and minute fields (second and nanosecond fields are ignored in comparison). - isEqualToIgnoringSeconds(ZonedDateTime) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Verifies that actual and given
ZonedDateTime
have same year, month, day, hour and minute fields (second and nanosecond fields are ignored in comparison). - isEqualToIgnoringSeconds(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractAssert.isEqualTo(Object)
but given Date should not take care of seconds and milliseconds precision. - isEqualToIgnoringTimezone(OffsetDateTime) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Verifies that actual and given
OffsetDateTime
have same year, month, day, hour, minute, second and nanosecond fields, (timezone fields are ignored in comparison). - isEqualToIgnoringTimezone(OffsetTime) - Method in class org.assertj.core.api.AbstractOffsetTimeAssert
-
Verifies that actual and given
OffsetTime
have same hour, minute, second and nanosecond fields). - isEqualToIgnoringWhitespace(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
is equal to the given one, ignoring whitespace differences - isEqualToNormalizingNewlines(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
is equals to anotherCharSequence
after normalizing new line characters (i.e. - isEqualToNormalizingPunctuationAndWhitespace(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
is equal to the given one, after the punctuation of both strings have been normalized. - isEqualToNormalizingUnicode(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
is equal to the given one after they have been normalized according to theNormalizer.Form.NFC
form, which is a canonical decomposition followed by canonical composition. - isEqualToNormalizingWhitespace(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
is equal to the given one, after the whitespace of both strings has been normalized.
To be exact, the following rules are applied: all leading and trailing whitespace of both actual and expected strings are ignored any remaining whitespace, appearing within either string, is collapsed to a single space before comparison - isEqualToWithSortedQueryParameters(URL) - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URL
is equivalent to the given one after their parameters are sorted. - isEven() - Method in class org.assertj.core.api.AbstractByteAssert
-
Verifies that the actual value is even.
- isEven() - Method in class org.assertj.core.api.AbstractIntegerAssert
-
Verifies that the actual value is even.
- isEven() - Method in class org.assertj.core.api.AbstractLongAssert
-
Verifies that the actual value is even.
- isEven() - Method in class org.assertj.core.api.AbstractShortAssert
-
Verifies that the actual value is even.
- 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 class org.assertj.core.api.AbstractIterableAssert
- isExactlyInstanceOf(Class<?>) - Method in class org.assertj.core.api.AbstractListAssert
- isExactlyInstanceOf(Class<?>) - Method in class org.assertj.core.api.AbstractMapAssert
- isExactlyInstanceOf(Class<?>) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is exactly an instance of the given type.
- isExactlyInstanceOf(Class<?>) - Method in class org.assertj.core.api.ListAssert
- isExecutable() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
is an executable file, it checks that the file exists (according toFiles.exists(Path, LinkOption...)
) and that it is executable(according toFiles.isExecutable(Path)
). - isExhausted() - Method in class org.assertj.core.api.AbstractIteratorAssert
-
Verifies that the actual
Iterator
has no more elements. - isExpectedAContainer() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isExpectedAnEnum() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isExpectedFieldAMap() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isExpectedFieldAnArray() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isExpectedFieldAnAtomicBoolean() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isExpectedFieldAnAtomicInteger() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isExpectedFieldAnAtomicIntegerArray() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isExpectedFieldAnAtomicLong() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isExpectedFieldAnAtomicLongArray() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isExpectedFieldAnAtomicReference() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isExpectedFieldAnAtomicReferenceArray() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isExpectedFieldAnIterable() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isExpectedFieldAnOptional() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isExpectedFieldAnOrderedCollection() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isExpectedFieldASortedMap() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isExpectedJavaType() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- isFalse() - Method in class org.assertj.core.api.AbstractBooleanAssert
-
Verifies that the actual value is
false
. - isFalse() - Method in class org.assertj.core.api.AtomicBooleanAssert
-
Verifies that the actual atomic value is false.
- isFile() - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the actual
File
is an existing file. - isFinal() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Class
is final (hasfinal
modifier). - isFinite() - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the double value is a finite floating-point value.
- isFinite() - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the float value is a finite floating-point value.
- isFinite() - Method in interface org.assertj.core.api.FloatingPointNumberAssert
- 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(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(ACTUAL) - Method in class org.assertj.core.api.AbstractComparableAssert
-
Verifies that the actual value is greater than the given one.
- isGreaterThan(ACTUAL) - Method in interface org.assertj.core.api.ComparableAssert
-
Verifies that the actual value is greater than the given one.
- isGreaterThan(Long) - Method in class org.assertj.core.api.AbstractLongAdderAssert
- isGreaterThan(String) - Method in class org.assertj.core.api.AbstractStringAssert
-
Verifies that the actual value is greater than the given
String
according toString.compareTo(String)
. - isGreaterThan(T) - Method in class org.assertj.core.api.AbstractUniversalComparableAssert
-
Verifies that the actual value is greater than the given one.
- 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(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(ACTUAL) - Method in class org.assertj.core.api.AbstractComparableAssert
-
Verifies that the actual value is greater than or equal to the given one.
- isGreaterThanOrEqualTo(ACTUAL) - Method in interface org.assertj.core.api.ComparableAssert
-
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 using
Double.compareTo(Double)
semantics where notably0.0
is strictly greater than-0.0
. - isGreaterThanOrEqualTo(Float) - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual value is greater than or equal to the given one using
Float.compareTo(Float)
semantics where notably0.0f
is strictly greater than-0.0f
. - isGreaterThanOrEqualTo(Long) - Method in class org.assertj.core.api.AbstractLongAdderAssert
- isGreaterThanOrEqualTo(String) - Method in class org.assertj.core.api.AbstractStringAssert
-
Verifies that the actual value is greater than or equal to the given
String
according toString.compareTo(String)
. - isGreaterThanOrEqualTo(BigDecimal) - Method in class org.assertj.core.api.AbstractBigDecimalAssert
-
Verifies that the actual value is greater than or equal to the given one.
- isGreaterThanOrEqualTo(T) - Method in class org.assertj.core.api.AbstractUniversalComparableAssert
-
Verifies that the actual value is greater than or equal to the given one.
- isIn(Iterable<?>) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is present in the given iterable.
- isIn(Iterable<?>) - Method in class org.assertj.core.api.AbstractIterableAssert
- isIn(Iterable<?>) - Method in class org.assertj.core.api.AbstractListAssert
- isIn(Iterable<?>) - Method in class org.assertj.core.api.AbstractMapAssert
- isIn(Iterable<?>) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is present in the given iterable.
- isIn(Object...) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is present in the given array of values.
- isIn(Object...) - Method in class org.assertj.core.api.AbstractIterableAssert
- isIn(Object...) - Method in class org.assertj.core.api.AbstractListAssert
- isIn(Object...) - Method in class org.assertj.core.api.AbstractMapAssert
- isIn(Object...) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is present in the given array of values.
- isIn(String...) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
Assert.isIn(Object...)
but given dates are represented as String either with one of the supported defaults date format or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)
). - isIn(String...) - Method in class org.assertj.core.api.AbstractInstantAssert
-
Same assertion as
AbstractAssert.isIn(Object...)
(where Objects are expected to beInstant
) but here you passInstant
String representations that must follow ISO Instant format to allow callingInstant.parse(CharSequence)
method. - isIn(String...) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Same assertion as
AbstractAssert.isIn(Object...)
(where Objects are expected to beLocalDate
) but here you passLocalDate
String representations that must follow ISO LocalDate format to allow callingLocalDate.parse(CharSequence)
method. - isIn(String...) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Same assertion as
AbstractAssert.isIn(Object...)
(where Objects are expected to beLocalDateTime
) but here you passLocalDateTime
String representations that must follow ISO LocalDateTime format to allow callingLocalDateTime.parse(CharSequence)
method. - isIn(String...) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Same assertion as
AbstractAssert.isIn(Object...)
(where Objects are expected to beLocalTime
) but here you passLocalTime
String representations that must follow ISO LocalTime format to allow callingLocalTime.parse(CharSequence)
method. - isIn(String...) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Same assertion as
AbstractAssert.isIn(Object...)
(where Objects are expected to beOffsetDateTime
) but here you passOffsetDateTime
String representations that must follow ISO OffsetDateTime format to allow callingOffsetDateTime.parse(CharSequence)
method. - isIn(String...) - Method in class org.assertj.core.api.AbstractOffsetTimeAssert
-
Same assertion as
AbstractAssert.isIn(Object...)
(where Objects are expected to beOffsetTime
) but here you passOffsetTime
String representations that must follow ISO OffsetTime format to allow callingOffsetTime.parse(CharSequence)
method. - isIn(String...) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Same assertion as
AbstractZonedDateTimeAssert.isIn(ZonedDateTime...)
but theZonedDateTime
are built from given String, which must follow ISO date-time format to allow callingZonedDateTime.parse(CharSequence, DateTimeFormatter)
method. - isIn(Instant...) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
Assert.isIn(Object...)
but given dates are represented as anjava.time.Instant
. - isIn(ZonedDateTime...) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Verifies that the actual
ZonedDateTime
is equal to one of the givenZonedDateTime
in the actual ZonedDateTime'sZoneId
. - isInfinite() - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the double value represents positive infinity or negative infinity.
- isInfinite() - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the float value represents positive infinity or negative infinity.
- isInfinite() - Method in interface org.assertj.core.api.FloatingPointNumberAssert
- isInSameDayAs(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isInSameDayAs(Date)
but given date is represented as String either with one of the supported defaults date format or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)
). - isInSameDayAs(Instant) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual
Date
and givenInstant
have the same day of month, month and year fields 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. - isInSameHourAs(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isInSameHourAs(Date)
but given date is represented as String either with one of the supported defaults date format or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)
). - 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. - isInSameHourWindowAs(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isInSameHourWindowAs(java.util.Date)
but given date is represented as String either with one of the supported defaults date format or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)
). - isInSameHourWindowAs(Instant) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual
Date
and givenInstant
are chronologically in the same hour (i.e. - isInSameHourWindowAs(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual and given
Date
are chronologically in the same hour (i.e. - isInSameMinuteAs(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isInSameMinuteAs(Date)
but given date is represented as String either with one of the supported defaults date format or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)
). - 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. - isInSameMinuteWindowAs(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isInSameMinuteWindowAs(Date)
but given date is represented as String either with one of the supported defaults date format or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)
). - isInSameMinuteWindowAs(Instant) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual
Date
and givenInstant
are chronologically in the same minute (i.e. - isInSameMinuteWindowAs(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual and given
Date
are chronologically in the same minute (i.e. - isInSameMonthAs(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isInSameMonthAs(Date)
but given date is represented as String either with one of the supported defaults date format or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)
). - isInSameMonthAs(Instant) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual
Date
and givenInstant
have same month and year fields. - isInSameMonthAs(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual and given
Date
have same month and year fields. - isInSameSecondAs(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isInSameSecondAs(Date)
but given date is represented as String either with one of the supported defaults date format or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)
). - 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. - isInSameSecondWindowAs(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isInSameSecondWindowAs(Date)
but given date is represented as String either with one of the supported defaults date format or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)
). - isInSameSecondWindowAs(Instant) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual
Date
and givenInstant
are chronologically strictly in the same second (i.e. - 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. - isInSameYearAs(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isInSameYearAs(Date)
but given date is represented as String either with one of the supported defaults date format or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)
). - isInSameYearAs(Instant) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual
Date
and givenInstant
are in the same year. - isInSameYearAs(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual and given
Date
are in the same year. - 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 class org.assertj.core.api.AbstractIterableAssert
- isInstanceOf(Class<?>) - Method in class org.assertj.core.api.AbstractListAssert
- isInstanceOf(Class<?>) - Method in class org.assertj.core.api.AbstractMapAssert
- isInstanceOf(Class<?>) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is an instance of the given type.
- isInstanceOf(Class<?>) - Method in class org.assertj.core.api.ListAssert
- 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 class org.assertj.core.api.AbstractIterableAssert
- isInstanceOfAny(Class<?>...) - Method in class org.assertj.core.api.AbstractListAssert
- isInstanceOfAny(Class<?>...) - Method in class org.assertj.core.api.AbstractMapAssert
- isInstanceOfAny(Class<?>...) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is an instance of any of the given types.
- isInstanceOfAny(Class<?>...) - Method in class org.assertj.core.api.ListAssert
- isInstanceOfSatisfying(Class<T>, Consumer<T>) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is an instance of the given type satisfying the given requirements expressed as a
Consumer
. - isInstanceOfSatisfying(Class<T>, Consumer<T>) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is an instance of the given type satisfying the given requirements expressed as a
Consumer
. - isInStrictTypeCheckingMode() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- 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
-
Same assertion as
Assert.isIn(Iterable)
but given dates are represented as String either with one of the supported defaults date format or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)
). - isJavaBlank() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Deprecated.Use
AbstractCharSequenceAssert.isBlank()
instead. - 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(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(ACTUAL) - Method in class org.assertj.core.api.AbstractComparableAssert
-
Verifies that the actual value is less than the given one.
- isLessThan(ACTUAL) - Method in interface org.assertj.core.api.ComparableAssert
-
Verifies that the actual value is less than the given one.
- isLessThan(Long) - Method in class org.assertj.core.api.AbstractLongAdderAssert
- isLessThan(String) - Method in class org.assertj.core.api.AbstractStringAssert
-
Verifies that the actual value is less than the given
String
according toString.compareTo(String)
. - isLessThan(T) - Method in class org.assertj.core.api.AbstractUniversalComparableAssert
-
Verifies that the actual value is less than the given one.
- 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(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(ACTUAL) - Method in class org.assertj.core.api.AbstractComparableAssert
-
Verifies that the actual value is less than or equal to the given one.
- isLessThanOrEqualTo(ACTUAL) - Method in interface org.assertj.core.api.ComparableAssert
-
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 using
Double.compareTo(Double)
semantics where notably-0.0
is strictly less than0.0
. - isLessThanOrEqualTo(Float) - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual value is less than or equal to the given one using
Float.compareTo(Float)
semantics where notably-0.0
is strictly less than0.0
. - isLessThanOrEqualTo(Long) - Method in class org.assertj.core.api.AbstractLongAdderAssert
- isLessThanOrEqualTo(String) - Method in class org.assertj.core.api.AbstractStringAssert
-
Verifies that the actual value is less than or equal to the given
String
according toString.compareTo(String)
. - isLessThanOrEqualTo(BigDecimal) - Method in class org.assertj.core.api.AbstractBigDecimalAssert
-
Verifies that the actual value is less than or equal to the given one.
- isLessThanOrEqualTo(T) - Method in class org.assertj.core.api.AbstractUniversalComparableAssert
-
Verifies that the actual value is less than or equal to the given one.
- isLowerCase() - Method in class org.assertj.core.api.AbstractCharacterAssert
-
Verifies that the actual value is a lowercase character.
- isLowerCase() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
is a lowercaseCharSequence
by comparing it to a lowercaseactual
built withString.toLowerCase()
. - isMarked() - Method in class org.assertj.core.api.AtomicMarkableReferenceAssert
-
Verifies that the actual
AtomicMarkableReference
is marked. - isMixedCase() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
is a mixed caseCharSequence
, i.e., neither uppercase nor lowercase. - 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.AbstractBigIntegerAssert
-
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.AbstractDurationAssert
-
Verifies that the actual
Duration
is negative (i.e. - 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.AbstractLongAdderAssert
- isNegative() - Method in class org.assertj.core.api.AbstractLongAssert
-
Verifies that the actual value is negative.
- isNegative() - Method in class org.assertj.core.api.AbstractPeriodAssert
-
Verifies that the actual
Period
is negative (i.e. - 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 ACTUAL>) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value does not satisfy the given condition.
- isNot(Condition<? super ACTUAL>) - Method in class org.assertj.core.api.AbstractIterableAssert
- isNot(Condition<? super ACTUAL>) - Method in class org.assertj.core.api.AbstractListAssert
- isNot(Condition<? super ACTUAL>) - Method in class org.assertj.core.api.AbstractMapAssert
- isNot(Condition<? super ACTUAL>) - 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(String, String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isNotBetween(Date, Date)
but given date is represented as String either with one of the supported defaults date format or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)
). - isNotBetween(String, String, boolean, boolean) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
AbstractDateAssert.isNotBetween(Date, Date, boolean, boolean)
but given date is represented as String either with one of the supported defaults date format or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)
). - isNotBetween(Instant, Instant) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Date
is not in [start, end[ period - isNotBetween(Instant, Instant, 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 totrue
.
To include end in the period set inclusiveEnd parameter totrue
. - isNotBetween(Date, Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Date
is not in [start, end[ period - 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 totrue
.
To include end in the period set inclusiveEnd parameter totrue
. - isNotBlank() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
is: notnull
not empty contains at least one non-whitespace character (according toCharacter.isWhitespace(char)
) - isNotCancelled() - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Verifies that the
CompletableFuture
is not cancelled. - isNotCancelled() - Method in class org.assertj.core.api.AbstractFutureAssert
-
Verifies that the
Future
is not cancelled. - isNotCloseTo(byte, Offset<Byte>) - Method in class org.assertj.core.api.AbstractByteAssert
-
Verifies that the actual number is not close to the given one by less than the given offset.
- isNotCloseTo(byte, Percentage) - Method in class org.assertj.core.api.AbstractByteAssert
-
Verifies that the actual number is not close to the given one by the given percentage.
If difference is equal to the percentage value, the assertion fails. - isNotCloseTo(double, Offset<Double>) - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual number is not close to the given one by less than the given offset.
- isNotCloseTo(double, Percentage) - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual number is not close to the given one within the given percentage.
If difference is equal to the percentage value, the assertion fails. - isNotCloseTo(float, Offset<Float>) - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual number is not close to the given one by less than the given offset.
- isNotCloseTo(float, Percentage) - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual number is not close to the given one within the given percentage.
If difference is equal to the percentage value, the assertion fails. - isNotCloseTo(int, Offset<Integer>) - Method in class org.assertj.core.api.AbstractIntegerAssert
-
Verifies that the actual number is not close to the given one by less than the given offset.
- isNotCloseTo(int, Percentage) - Method in class org.assertj.core.api.AbstractIntegerAssert
-
Verifies that the actual number is not close to the given one by the given percentage.
If difference is equal to the percentage value, the assertion fails. - isNotCloseTo(long, Offset<Long>) - Method in class org.assertj.core.api.AbstractLongAssert
-
Verifies that the actual number is not close to the given one by less than the given offset.
- isNotCloseTo(long, Percentage) - Method in class org.assertj.core.api.AbstractLongAssert
-
Verifies that the actual number is not close to the given one within the given percentage.
If difference is equal to the percentage value, the assertion fails. - isNotCloseTo(short, Offset<Short>) - Method in class org.assertj.core.api.AbstractShortAssert
-
Verifies that the actual number is not close to the given one by less than the given offset.
- isNotCloseTo(short, Percentage) - Method in class org.assertj.core.api.AbstractShortAssert
-
Verifies that the actual number is not close to the given one within the given percentage.
If difference is equal to the percentage value, the assertion fails. - isNotCloseTo(ACTUAL, Offset<ACTUAL>) - Method in interface org.assertj.core.api.FloatingPointNumberAssert
-
Verifies that the actual number is not close to the given one by less than the given offset.
If the difference is equal to the offset value, the assertion fails. - isNotCloseTo(ACTUAL, Offset<ACTUAL>) - Method in interface org.assertj.core.api.NumberAssert
-
Verifies that the actual number is not close to the given one within the given offset.
If the difference is equal to the offset value, the assertion fails. - isNotCloseTo(ACTUAL, Percentage) - Method in interface org.assertj.core.api.NumberAssert
-
Verifies that the actual number is not close to the given one within the given percentage.
If difference is equal to the percentage value, the assertion fails. - isNotCloseTo(Byte, Offset<Byte>) - Method in class org.assertj.core.api.AbstractByteAssert
-
Verifies that the actual number is not close to the given one by less than the given offset.
- isNotCloseTo(Byte, Percentage) - Method in class org.assertj.core.api.AbstractByteAssert
-
Verifies that the actual number is not close to the given one b the given percentage.
If difference is equal to the percentage value, the assertion fails. - isNotCloseTo(Double, Offset<Double>) - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual number is not close to the given one by less than the given offset.
- isNotCloseTo(Double, Percentage) - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual number is close to the given one within the given percentage.
If difference is equal to the percentage value, the assertion fails. - isNotCloseTo(Float, Offset<Float>) - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual number is not close to the given one by less than the given offset.
- isNotCloseTo(Float, Percentage) - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual number is not close to the given one within the given percentage.
If difference is equal to the percentage value, the assertion fails. - isNotCloseTo(Integer, Offset<Integer>) - Method in class org.assertj.core.api.AbstractIntegerAssert
-
Verifies that the actual number is not close to the given one by less than the given offset.
- isNotCloseTo(Integer, Percentage) - Method in class org.assertj.core.api.AbstractIntegerAssert
-
Verifies that the actual number is not close to the given one by the given percentage.
If difference is equal to the percentage value, the assertion fails. - isNotCloseTo(Long, Offset<Long>) - Method in class org.assertj.core.api.AbstractLongAdderAssert
- isNotCloseTo(Long, Offset<Long>) - Method in class org.assertj.core.api.AbstractLongAssert
-
Verifies that the actual number is not close to the given one by less than the given offset.
- isNotCloseTo(Long, Percentage) - Method in class org.assertj.core.api.AbstractLongAdderAssert
- isNotCloseTo(Long, Percentage) - Method in class org.assertj.core.api.AbstractLongAssert
-
Verifies that the actual number is not close to the given one within the given percentage.
If difference is equal to the percentage value, the assertion fails. - isNotCloseTo(Short, Offset<Short>) - Method in class org.assertj.core.api.AbstractShortAssert
-
Verifies that the actual number is not close to the given one by less than the given offset.
- isNotCloseTo(Short, Percentage) - Method in class org.assertj.core.api.AbstractShortAssert
-
Verifies that the actual number is not close to the given one within the given percentage.
If difference is equal to the percentage value, the assertion fails. - isNotCloseTo(BigDecimal, Offset<BigDecimal>) - Method in class org.assertj.core.api.AbstractBigDecimalAssert
-
Verifies that the actual number is not close to the given one by less than the given offset.
- isNotCloseTo(BigDecimal, Percentage) - Method in class org.assertj.core.api.AbstractBigDecimalAssert
-
Verifies that the actual number is not close to the given one by the given percentage.
If difference is equal to the percentage value, the assertion fails. - isNotCloseTo(BigInteger, Offset<BigInteger>) - Method in class org.assertj.core.api.AbstractBigIntegerAssert
-
Verifies that the actual number is not close to the given one by less than the given offset.
- isNotCloseTo(BigInteger, Percentage) - Method in class org.assertj.core.api.AbstractBigIntegerAssert
-
Verifies that the actual number is not close to the given one by the given percentage.
If difference is equal to the percentage value, the assertion fails. - isNotCompleted() - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Verifies that the
CompletableFuture
is not completed normally (i.e. - isNotCompletedExceptionally() - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Verifies that the
CompletableFuture
is not completed exceptionally. - isNotDone() - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Verifies that the
CompletableFuture
is not done. - isNotDone() - Method in class org.assertj.core.api.AbstractFutureAssert
-
Verifies that the
Future
is not done. - 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 notnull
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.AbstractFileAssert
-
Verify that the actual
File
is not empty (i.e. - 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.AbstractInputStreamAssert
-
Verifies that the content of the actual
InputStream
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
Map
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.AbstractOptionalAssert
-
Verifies that there is a value present in the actual
Optional
, it's an alias ofAbstractOptionalAssert.isPresent()
. - isNotEmpty() - Method in class org.assertj.core.api.AbstractOptionalDoubleAssert
-
Verifies that there is a value present in the actual
OptionalDouble
, it's an alias ofAbstractOptionalDoubleAssert.isPresent()
. - isNotEmpty() - Method in class org.assertj.core.api.AbstractOptionalIntAssert
-
Verifies that there is a value present in the actual
OptionalInt
, it's an alias ofAbstractOptionalIntAssert.isPresent()
. - isNotEmpty() - Method in class org.assertj.core.api.AbstractOptionalLongAssert
-
Verifies that there is a value present in the actual
OptionalLong
, it's an alias ofAbstractOptionalLongAssert.isPresent()
. - 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.Array2DAssert
-
Verifies that the actual array is not empty, not empty means the array has at least one element.
- isNotEmpty() - Method in class org.assertj.core.api.AtomicIntegerArrayAssert
-
Verifies that the AtomicIntegerArray is not empty.
- isNotEmpty() - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the AtomicLongArray is not empty.
- isNotEmpty() - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the AtomicReferenceArray is not empty.
- isNotEmpty() - Method in class org.assertj.core.api.Boolean2DArrayAssert
-
Verifies that the actual
boolean[][]
is not empty, not empty means the array has at least one element. - isNotEmpty() - Method in class org.assertj.core.api.Byte2DArrayAssert
-
Verifies that the actual
byte[][]
is not empty, not empty means the array has at least one element. - isNotEmpty() - Method in class org.assertj.core.api.Char2DArrayAssert
-
Verifies that the actual
char[][]
is not empty, not empty means the array has at least one char element. - isNotEmpty() - Method in class org.assertj.core.api.Double2DArrayAssert
-
Verifies that the actual
double[][]
is not empty, not empty means the array has at least one element. - isNotEmpty() - Method in interface org.assertj.core.api.EnumerableAssert
-
Verifies that the actual group of values is not empty.
- isNotEmpty() - Method in class org.assertj.core.api.Float2DArrayAssert
-
Verifies that the actual
float[][]
is not empty, not empty means the array has at least one element. - isNotEmpty() - Method in class org.assertj.core.api.Int2DArrayAssert
-
Verifies that the actual array is not empty, not empty means the array has at least one element.
- isNotEmpty() - Method in class org.assertj.core.api.Long2DArrayAssert
-
Verifies that the actual array is not empty, not empty means the array has at least one element.
- isNotEmpty() - Method in class org.assertj.core.api.Object2DArrayAssert
-
Verifies that the actual
ELEMENT[][]
is not empty, not empty means the array has at least one char element. - isNotEmpty() - Method in class org.assertj.core.api.Short2DArrayAssert
-
Verifies that the actual
short[][]
is not empty, not empty means the array has at least one element. - isNotEmptyDirectory() - Method in class org.assertj.core.api.AbstractFileAssert
-
Verify that the actual
File
is a non empty directory. - isNotEmptyDirectory() - Method in class org.assertj.core.api.AbstractPathAssert
-
Verify that the actual
Path
is a non empty directory. - isNotEmptyFile() - Method in class org.assertj.core.api.AbstractPathAssert
-
Verify that the actual
Path
is a non-empty regular file. - isNotEqualByComparingTo(ACTUAL) - Method in class org.assertj.core.api.AbstractComparableAssert
-
Verifies that the actual value is not equal to the given one by invoking
.Comparable.compareTo(Object)
- isNotEqualByComparingTo(ACTUAL) - Method in interface org.assertj.core.api.ComparableAssert
-
Verifies that the actual value is not equal to the given one by invoking
.Comparable.compareTo(Object)
- isNotEqualByComparingTo(Long) - Method in class org.assertj.core.api.AbstractLongAdderAssert
- isNotEqualByComparingTo(String) - Method in class org.assertj.core.api.AbstractBigDecimalAssert
-
Same as
isNotEqualByComparingTo(BigDecimal)
but takes care of converting given String toBigDecimal
. - isNotEqualByComparingTo(T) - Method in class org.assertj.core.api.AbstractUniversalComparableAssert
-
Verifies that the actual value is not equal to the given one by invoking
.Comparable.compareTo(Object)
- 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(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(Double) - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual value is not equal to the given
Double
usingDouble.equals(Object)
semantics whereDouble.valueOf(Double.NaN).equals(Double.NaN) == true
butDouble.NaN != Double.NaN
Double.valueOf(0.0).equals(-0.0) == false
but0.0 == -0.0
- isNotEqualTo(Float) - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual value is not equal to the given
Float
usingFloat.equals(Object)
semantics whereFloat.valueOf(Float.NaN).equals(Float.NaN) == true
butFloat.NaN != Float.NaN
Float.valueOf(0.0f).equals(-0.0f) == false
but0.0f == -0.0f
- isNotEqualTo(Object) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is not equal to the given one.
- isNotEqualTo(Object) - Method in class org.assertj.core.api.AbstractIterableAssert
- isNotEqualTo(Object) - Method in class org.assertj.core.api.AbstractListAssert
- isNotEqualTo(Object) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that the actual
LocalDateTime
is not equal to the given one according to theChronoLocalDateTime.timeLineOrder()
comparator which is consistent withLocalDateTime.isEqual(ChronoLocalDateTime)
. - isNotEqualTo(Object) - Method in class org.assertj.core.api.AbstractMapAssert
- isNotEqualTo(Object) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Verifies that the actual
OffsetDateTime
is not equal to the given value according to the comparator in use. - isNotEqualTo(Object) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Verifies that the actual value is not equal to the given one according to the comparator in use.
- isNotEqualTo(Object) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is not equal to the given one.
- isNotEqualTo(Object) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Asserts that actual object is not equal to the given object based on a recursive property/field by property/field comparison (including inherited ones).
- isNotEqualTo(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
isNotEqualTo(Date date)
but given date is represented as String either with one of the supported defaults date format or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)
). - isNotEqualTo(String) - Method in class org.assertj.core.api.AbstractInstantAssert
-
Same assertion as
AbstractAssert.isNotEqualTo(Object)
(where Object is expected to beInstant
) but here you passInstant
String representation that must follow ISO Instant format to allow callingInstant.parse(CharSequence)
method. - isNotEqualTo(String) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Same assertion as
AbstractAssert.isNotEqualTo(Object)
(where Object is expected to beLocalDate
) but here you passLocalDate
String representation that must follow ISO LocalDate format to allow callingLocalDate.parse(CharSequence)
method. - isNotEqualTo(String) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Same assertion as
AbstractLocalDateTimeAssert.isNotEqualTo(Object)
(where Object is expected to beLocalDateTime
) but here you passLocalDateTime
String representation that must follow ISO LocalDateTime format to allow callingLocalDateTime.parse(CharSequence)
method. - isNotEqualTo(String) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Same assertion as
AbstractAssert.isNotEqualTo(Object)
(where Object is expected to beLocalTime
) but here you passLocalTime
String representation that must follow ISO LocalTime format to allow callingLocalTime.parse(CharSequence)
method. - isNotEqualTo(String) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Same assertion as
AbstractOffsetDateTimeAssert.isNotEqualTo(Object)
(where Object is expected to beOffsetDateTime
) but here you passOffsetDateTime
String representation that must follow ISO OffsetDateTime format to allow callingOffsetDateTime.parse(CharSequence)
method. - isNotEqualTo(String) - Method in class org.assertj.core.api.AbstractOffsetTimeAssert
-
Same assertion as
AbstractAssert.isNotEqualTo(Object)
(where Object is expected to beOffsetTime
) but here you passOffsetTime
String representation that must follow ISO OffsetTime format to allow callingOffsetTime.parse(CharSequence)
method. - isNotEqualTo(String) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Same assertion as
#isNotEqualTo(Object)
but theZonedDateTime
is built from given String which must follow ISO date-time format to allow callingZonedDateTime.parse(CharSequence, DateTimeFormatter)
method. - isNotEqualTo(Instant) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
isNotEqualTo(Date date)
but given date is represented as anjava.time.Instant
. - isNotEqualToIgnoringCase(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
is not equal to the given one, ignoring case considerations. - isNotEqualToIgnoringWhitespace(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
is not equal to the given one, ignoring whitespace differences. - isNotEqualToNormalizingWhitespace(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
is not equal to the given one, after the whitespace of both strings has been normalized.
To be exact, the following rules are applied: all leading and trailing whitespace of both actual and expected strings are ignored any remaining whitespace, appearing within either string, is collapsed to a single space before comparison - 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 class org.assertj.core.api.AbstractIterableAssert
- isNotExactlyInstanceOf(Class<?>) - Method in class org.assertj.core.api.AbstractListAssert
- isNotExactlyInstanceOf(Class<?>) - Method in class org.assertj.core.api.AbstractMapAssert
- isNotExactlyInstanceOf(Class<?>) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is not exactly an instance of given type.
- isNotExactlyInstanceOf(Class<?>) - Method in class org.assertj.core.api.ListAssert
- isNotFinal() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Class
is not final (does not havefinal
modifier). - isNotFinite() - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the double value is not a finite floating-point value.
- isNotFinite() - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the float value is not a finite floating-point value.
- isNotFinite() - Method in interface org.assertj.core.api.FloatingPointNumberAssert
- isNotIn(Iterable<?>) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is not present in the given iterable.
- isNotIn(Iterable<?>) - Method in class org.assertj.core.api.AbstractIterableAssert
- isNotIn(Iterable<?>) - Method in class org.assertj.core.api.AbstractListAssert
- isNotIn(Iterable<?>) - Method in class org.assertj.core.api.AbstractMapAssert
- isNotIn(Iterable<?>) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is not present in the given iterable.
- 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(Object...) - Method in class org.assertj.core.api.AbstractIterableAssert
- isNotIn(Object...) - Method in class org.assertj.core.api.AbstractListAssert
- isNotIn(Object...) - Method in class org.assertj.core.api.AbstractMapAssert
- 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(String...) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
Assert.isNotIn(Object...)
but given dates are represented as String either with one of the supported defaults date format or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)
). - isNotIn(String...) - Method in class org.assertj.core.api.AbstractInstantAssert
-
Same assertion as
AbstractAssert.isNotIn(Object...)
(where Objects are expected to beInstant
) but here you passInstant
String representations that must follow ISO Instant format to allow callingInstant.parse(CharSequence)
method. - isNotIn(String...) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Same assertion as
AbstractAssert.isNotIn(Object...)
(where Objects are expected to beLocalDate
) but here you passLocalDate
String representations that must follow ISO LocalDate format to allow callingLocalDate.parse(CharSequence)
method. - isNotIn(String...) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Same assertion as
AbstractAssert.isNotIn(Object...)
(where Objects are expected to beLocalDateTime
) but here you passLocalDateTime
String representations that must follow ISO LocalDateTime format to allow callingLocalDateTime.parse(CharSequence)
method. - isNotIn(String...) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Same assertion as
AbstractAssert.isNotIn(Object...)
(where Objects are expected to beLocalTime
) but here you passLocalTime
String representations that must follow ISO LocalTime format to allow callingLocalTime.parse(CharSequence)
method. - isNotIn(String...) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Same assertion as
AbstractAssert.isNotIn(Object...)
(where Objects are expected to beOffsetDateTime
) but here you passOffsetDateTime
String representations that must follow ISO OffsetDateTime format to allow callingOffsetDateTime.parse(CharSequence)
method. - isNotIn(String...) - Method in class org.assertj.core.api.AbstractOffsetTimeAssert
-
Same assertion as
AbstractAssert.isNotIn(Object...)
(where Objects are expected to beOffsetTime
) but here you passOffsetTime
String representations that must follow ISO OffsetTime format to allow callingOffsetTime.parse(CharSequence)
method. - isNotIn(String...) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Same assertion as
AbstractZonedDateTimeAssert.isNotIn(ZonedDateTime...)
but theZonedDateTime
is built from given String, which must follow ISO date-time format to allow callingZonedDateTime.parse(CharSequence, DateTimeFormatter)
method. - isNotIn(Instant...) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
Assert.isNotIn(Object...)
but given dates are represented asjava.time.Instant
. - isNotIn(ZonedDateTime...) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Verifies that the actual
ZonedDateTime
is equal to one of the givenZonedDateTime
in the actual ZonedDateTime'sZoneId
. - isNotInfinite() - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the double value represents neither positive infinity nor negative infinity.
- isNotInfinite() - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the float value represents neither positive infinity nor negative infinity.
- isNotInfinite() - Method in interface org.assertj.core.api.FloatingPointNumberAssert
- 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 class org.assertj.core.api.AbstractIterableAssert
- isNotInstanceOf(Class<?>) - Method in class org.assertj.core.api.AbstractListAssert
- isNotInstanceOf(Class<?>) - Method in class org.assertj.core.api.AbstractMapAssert
- isNotInstanceOf(Class<?>) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is not an instance of the given type.
- isNotInstanceOf(Class<?>) - Method in class org.assertj.core.api.ListAssert
- 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 class org.assertj.core.api.AbstractIterableAssert
- isNotInstanceOfAny(Class<?>...) - Method in class org.assertj.core.api.AbstractListAssert
- isNotInstanceOfAny(Class<?>...) - Method in class org.assertj.core.api.AbstractMapAssert
- 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.
- isNotInstanceOfAny(Class<?>...) - Method in class org.assertj.core.api.ListAssert
- 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
-
Same assertion as
Assert.isNotIn(Iterable)
but given date is represented as String either with one of the supported defaults date format or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)
). - isNotJavaBlank() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Deprecated.Use
AbstractCharSequenceAssert.isNotBlank()
instead. - isNotMarked() - Method in class org.assertj.core.api.AtomicMarkableReferenceAssert
-
Verifies that the actual
AtomicMarkableReference
is not marked. - 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.AbstractBigIntegerAssert
-
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.AbstractLongAdderAssert
- 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 class org.assertj.core.api.AbstractIterableAssert
- isNotNull() - Method in class org.assertj.core.api.AbstractListAssert
- isNotNull() - Method in class org.assertj.core.api.AbstractMapAssert
- 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 class org.assertj.core.api.AbstractIterableAssert
- isNotOfAnyClassIn(Class<?>...) - Method in class org.assertj.core.api.AbstractListAssert
- isNotOfAnyClassIn(Class<?>...) - Method in class org.assertj.core.api.AbstractMapAssert
- isNotOfAnyClassIn(Class<?>...) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value type is not in given types.
- isNotOfAnyClassIn(Class<?>...) - Method in class org.assertj.core.api.ListAssert
- 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.AbstractBigIntegerAssert
-
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.AbstractLongAdderAssert
- 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).
- isNotPresent() - Method in class org.assertj.core.api.AbstractOptionalAssert
-
Verifies that the actual
Optional
is empty (alias ofAbstractOptionalAssert.isEmpty()
). - isNotPresent() - Method in class org.assertj.core.api.AbstractOptionalDoubleAssert
-
Verifies that the actual
Optional
is empty (alias ofAbstractOptionalDoubleAssert.isEmpty()
). - isNotPresent() - Method in class org.assertj.core.api.AbstractOptionalIntAssert
-
Verifies that the actual
OptionalInt
is empty (alias ofAbstractOptionalIntAssert.isEmpty()
). - isNotPresent() - Method in class org.assertj.core.api.AbstractOptionalLongAssert
-
Verifies that the actual
OptionalLong
is empty (alias ofAbstractOptionalLongAssert.isEmpty()
). - isNotSameAs(Object) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is not the same as the given one, ie using == comparison.
- isNotSameAs(Object) - Method in class org.assertj.core.api.AbstractIterableAssert
- isNotSameAs(Object) - Method in class org.assertj.core.api.AbstractListAssert
- isNotSameAs(Object) - Method in class org.assertj.core.api.AbstractMapAssert
- isNotSameAs(Object) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is not the same as the given one, ie using == comparison.
- isNotSameAs(Object) - Method in class org.assertj.core.api.ListAssert
- isNotStatic() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Class
is not static (does not havestatic
modifier). - 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.AbstractBigIntegerAssert
-
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.AbstractLongAdderAssert
- 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 isnull
. - 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
Map
isnull
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.Array2DAssert
-
Verifies that the actual array is
null
or empty, empty means the array has no elements, said otherwise it can have any number of rows but all rows must be empty. - isNullOrEmpty() - Method in class org.assertj.core.api.AtomicIntegerArrayAssert
-
Verifies that the AtomicIntegerArray is
null
or empty. - isNullOrEmpty() - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the AtomicLongArray is
null
or empty. - isNullOrEmpty() - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the AtomicReferenceArray is
null
or empty. - isNullOrEmpty() - Method in class org.assertj.core.api.Boolean2DArrayAssert
-
Verifies that the actual
boolean[][]
isnull
or empty, empty means the array has no elements, said otherwise it can have any number of rows but all rows must be empty. - isNullOrEmpty() - Method in class org.assertj.core.api.Byte2DArrayAssert
-
Verifies that the actual
byte[][]
isnull
or empty, empty means the array has no elements, said otherwise it can have any number of rows but all rows must be empty. - isNullOrEmpty() - Method in class org.assertj.core.api.Char2DArrayAssert
-
Verifies that the actual
char[][]
isnull
or empty, empty means the array has no elements, said otherwise it can have any number of rows but all rows must be empty. - isNullOrEmpty() - Method in class org.assertj.core.api.Double2DArrayAssert
-
Verifies that the actual
double[][]
isnull
or empty, empty means the array has no elements, said otherwise it can have any number of rows but all rows must be empty. - isNullOrEmpty() - Method in interface org.assertj.core.api.EnumerableAssert
-
Verifies that the actual group of values is
null
or empty. - isNullOrEmpty() - Method in class org.assertj.core.api.Float2DArrayAssert
-
Verifies that the actual
float[][]
isnull
or empty, empty means the array has no elements, said otherwise it can have any number of rows but all rows must be empty. - isNullOrEmpty() - Method in class org.assertj.core.api.Int2DArrayAssert
-
Verifies that the actual array is
null
or empty, empty means the array has no elements, said otherwise it can have any number of rows but all rows must be empty. - isNullOrEmpty() - Method in class org.assertj.core.api.Long2DArrayAssert
-
Verifies that the actual array is
null
or empty, empty means the array has no elements, said otherwise it can have any number of rows but all rows must be empty. - isNullOrEmpty() - Method in class org.assertj.core.api.Object2DArrayAssert
-
Verifies that the actual
ELEMENT[][]
isnull
or empty, empty means the array has no elements, said otherwise it can have any number of rows but all rows must be empty. - isNullOrEmpty() - Method in class org.assertj.core.api.Short2DArrayAssert
-
Verifies that the actual
short[][]
isnull
or empty, empty means the array has no elements, said otherwise it can have any number of rows but all rows must be empty. - isNullOrEmpty(Iterable<?>) - Static method in class org.assertj.core.util.IterableUtil
-
Indicates whether the given
Iterable
isnull
or empty. - isNullOrEmpty(String) - Static method in class org.assertj.core.util.Strings
-
Indicates whether the given
String
isnull
or empty. - isNullOrEmpty(T[]) - Static method in class org.assertj.core.util.Arrays
-
Indicates whether the given array is
null
or empty. - isObjectArray(Object) - Static method in class org.assertj.core.util.Arrays
- isOdd() - Method in class org.assertj.core.api.AbstractByteAssert
-
Verifies that the actual value is odd.
- isOdd() - Method in class org.assertj.core.api.AbstractIntegerAssert
-
Verifies that the actual value is odd.
- isOdd() - Method in class org.assertj.core.api.AbstractLongAssert
-
Verifies that the actual value is odd.
- isOdd() - Method in class org.assertj.core.api.AbstractShortAssert
-
Verifies that the actual value is odd.
- isOfAnyClassIn(Class<?>...) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value type is in given types.
- isOfAnyClassIn(Class<?>...) - Method in class org.assertj.core.api.AbstractIterableAssert
- isOfAnyClassIn(Class<?>...) - Method in class org.assertj.core.api.AbstractListAssert
- isOfAnyClassIn(Class<?>...) - Method in class org.assertj.core.api.AbstractMapAssert
- isOfAnyClassIn(Class<?>...) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value type is in given types.
- isOfAnyClassIn(Class<?>...) - Method in class org.assertj.core.api.ListAssert
- isOne() - Method in class org.assertj.core.api.AbstractBigDecimalAssert
-
Verifies that the actual value is equal to one.
- isOne() - Method in class org.assertj.core.api.AbstractBigIntegerAssert
-
Verifies that the actual value is equal to one.
- isOne() - Method in class org.assertj.core.api.AbstractByteAssert
-
Verifies that the actual value is equal to one.
- isOne() - Method in class org.assertj.core.api.AbstractDoubleAssert
-
Verifies that the actual value is equal to one.
- isOne() - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual value is equal to one.
- isOne() - Method in class org.assertj.core.api.AbstractIntegerAssert
-
Verifies that the actual value is equal to one.
- isOne() - Method in class org.assertj.core.api.AbstractLongAdderAssert
- isOne() - Method in class org.assertj.core.api.AbstractLongAssert
-
Verifies that the actual value is equal to one.
- isOne() - Method in class org.assertj.core.api.AbstractShortAssert
-
Verifies that the actual value is equal to one.
- isOne() - Method in interface org.assertj.core.api.NumberAssert
-
Verifies that the actual value is equal to one.
- isPackagePrivate() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Class
is package-private (has no modifier). - isPositive() - Method in class org.assertj.core.api.AbstractBigDecimalAssert
-
Verifies that the actual value is positive.
- isPositive() - Method in class org.assertj.core.api.AbstractBigIntegerAssert
-
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.AbstractDurationAssert
-
Verifies that the actual
Duration
is positive (i.e. - 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.AbstractLongAdderAssert
- isPositive() - Method in class org.assertj.core.api.AbstractLongAssert
-
Verifies that the actual value is positive.
- isPositive() - Method in class org.assertj.core.api.AbstractPeriodAssert
-
Verifies that the actual
Period
is positive (i.e. - 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.
- isPresent() - Method in class org.assertj.core.api.AbstractOptionalAssert
-
Verifies that there is a value present in the actual
Optional
. - isPresent() - Method in class org.assertj.core.api.AbstractOptionalDoubleAssert
-
Verifies that there is a value present in the actual
OptionalDouble
. - isPresent() - Method in class org.assertj.core.api.AbstractOptionalIntAssert
-
Verifies that there is a value present in the actual
OptionalInt
. - isPresent() - Method in class org.assertj.core.api.AbstractOptionalLongAssert
-
Verifies that there is a value present in the actual
OptionalLong
. - isProtected() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Class
is protected (hasprotected
modifier). - isPublic() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Class
is public (haspublic
modifier). - isReadable() - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the actual
File
can be read by the application (alias ofAbstractFileAssert.canRead()
) - 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 toFiles.exists(Path, LinkOption...)
) and that it is readable(according toFiles.isReadable(Path)
). - isRegularFile() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
is a regular file. - 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 toPath.isAbsolute()
). - isSameAs(Object) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is the same as the given one, ie using == comparison.
- isSameAs(Object) - Method in class org.assertj.core.api.AbstractIterableAssert
- isSameAs(Object) - Method in class org.assertj.core.api.AbstractListAssert
- isSameAs(Object) - Method in class org.assertj.core.api.AbstractMapAssert
- isSameAs(Object) - Method in interface org.assertj.core.api.Assert
-
Verifies that the actual value is the same as the given one, ie using == comparison.
- isSameAs(Object) - Method in class org.assertj.core.api.ListAssert
- isSnake() - Method in class org.assertj.core.util.diff.myers.DiffNode
-
Is this node a
Snake node
? - isSnake() - Method in class org.assertj.core.util.diff.myers.PathNode
-
Is this node a
Snake node
? - isSnake() - Method in class org.assertj.core.util.diff.myers.Snake
-
Is this node a
Snake node
? - isSorted() - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Verifies that the actual array is sorted in 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 in 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 in 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 in 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 in 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 in 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 in 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 in 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 in 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 in 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 in ascending order according to the natural ordering of its elements.
- isSorted() - Method in class org.assertj.core.api.AtomicIntegerArrayAssert
-
Verifies that the actual AtomicIntegerArray is sorted in ascending order according to the natural ordering of its elements.
- isSorted() - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the actual AtomicLongArray is sorted in ascending order according to the natural ordering of its elements.
- isSorted() - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual array is sorted in ascending order according to the natural ordering of its elements.
- isSortedAccordingTo(Comparator<? super ELEMENT>) - 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 the element is compatible with comparator. - isSortedAccordingTo(Comparator<? super ELEMENT>) - 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 the element is compatible with comparator, otherwise an AssertionError is thrown. - isSortedAccordingTo(Comparator<? super ELEMENT>) - 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 the element is compatible with comparator, otherwise an AssertionError is thrown. - 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 the 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 the 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 the 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 the 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 the 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 the element is compatible with comparator, otherwise an AssertionError is thrown. - isSortedAccordingTo(Comparator<? super Integer>) - Method in class org.assertj.core.api.AtomicIntegerArrayAssert
-
Verifies that the actual AtomicIntegerArray is sorted according to the given comparator.
Empty arrays are considered sorted whatever the comparator is.
One element arrays are considered sorted if the element is compatible with comparator, otherwise an AssertionError is thrown. - 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 the element is compatible with comparator, otherwise an AssertionError is thrown. - isSortedAccordingTo(Comparator<? super Long>) - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the actual AtomicLongArray is sorted according to the given comparator.
Empty arrays are considered sorted whatever the comparator is.
One element arrays are considered sorted if the 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 the element is compatible with comparator, otherwise an AssertionError is thrown. - isSortedAccordingTo(Comparator<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
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 the element is compatible with comparator, otherwise an AssertionError is thrown. - isStatic() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Class
is static (hasstatic
modifier). - isStrictlyBetween(ACTUAL, ACTUAL) - Method in class org.assertj.core.api.AbstractComparableAssert
-
Verifies that the actual value is in ]start, end[ range (start excluded, end excluded).
- isStrictlyBetween(ACTUAL, ACTUAL) - Method in interface org.assertj.core.api.ComparableAssert
-
Verifies that the actual value is in ]start, end[ range (start excluded, end excluded).
- isStrictlyBetween(ACTUAL, ACTUAL) - Method in interface org.assertj.core.api.NumberAssert
-
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.AbstractLongAdderAssert
- 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(String, String) - Method in class org.assertj.core.api.AbstractInstantAssert
-
Same assertion as
AbstractInstantAssert.isStrictlyBetween(Instant, Instant)
but here you passInstant
String representations that must follow ISO Instant format to allow callingInstant.parse(CharSequence)
method. - isStrictlyBetween(String, String) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Same assertion as
AbstractLocalDateAssert.isStrictlyBetween(LocalDate, LocalDate)
but here you passLocalDate
String representations which must follow ISO LocalDate format to allow callingLocalDate.parse(CharSequence)
method. - isStrictlyBetween(String, String) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Same assertion as
AbstractLocalDateTimeAssert.isStrictlyBetween(LocalDateTime, LocalDateTime)
but here you passLocalDateTime
String representations which must follow ISO LocalDateTime format to allow callingLocalDateTime.parse(CharSequence)
method. - isStrictlyBetween(String, String) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Same assertion as
AbstractLocalTimeAssert.isStrictlyBetween(LocalTime, LocalTime)
but here you passLocalTime
String representations which must follow ISO LocalTime format to allow callingLocalTime.parse(CharSequence)
method. - isStrictlyBetween(String, String) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Same assertion as
AbstractOffsetDateTimeAssert.isStrictlyBetween(OffsetDateTime, OffsetDateTime)
but here you passOffsetDateTime
String representations which must follow ISO OffsetDateTime format to allow callingOffsetDateTime.parse(CharSequence)
method. - isStrictlyBetween(String, String) - Method in class org.assertj.core.api.AbstractOffsetTimeAssert
-
Same assertion as
AbstractOffsetTimeAssert.isStrictlyBetween(OffsetTime, OffsetTime)
but here you passOffsetTime
String representations which must follow ISO OffsetTime format to allow callingOffsetTime.parse(CharSequence)
method. - isStrictlyBetween(String, String) - Method in class org.assertj.core.api.AbstractStringAssert
-
Verifies that the actual value is strictly in ]start, end[ range (start excluded, end excluded) according to
String.compareTo(String)
. - isStrictlyBetween(String, String) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Same assertion as
AbstractZonedDateTimeAssert.isStrictlyBetween(ZonedDateTime, ZonedDateTime)
but here you passZonedDateTime
String representations which must follow ISO ZonedDateTime format to allow callingZonedDateTime.parse(CharSequence)
method. - 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(BigInteger, BigInteger) - Method in class org.assertj.core.api.AbstractBigIntegerAssert
-
Verifies that the actual value is in ]start, end[ range (start excluded, end excluded).
- isStrictlyBetween(Instant, Instant) - Method in class org.assertj.core.api.AbstractInstantAssert
-
Verifies that the actual
Instant
is in the ]start, end[ period (start and end excluded). - isStrictlyBetween(LocalDate, LocalDate) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Verifies that the actual
LocalDate
is in the ]start, end[ period (start and end excluded). - isStrictlyBetween(LocalDateTime, LocalDateTime) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that the actual
LocalDateTime
is in the ]start, end[ period (start and end excluded) according to theChronoLocalDateTime.timeLineOrder()
comparator. - isStrictlyBetween(LocalTime, LocalTime) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Verifies that the actual
LocalTime
is in the ]start, end[ period (start and end excluded). - isStrictlyBetween(OffsetDateTime, OffsetDateTime) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Verifies that the actual
OffsetDateTime
is in the ]start, end[ period (start and end excluded) according to the comparator in use. - isStrictlyBetween(OffsetTime, OffsetTime) - Method in class org.assertj.core.api.AbstractOffsetTimeAssert
-
Verifies that the actual
OffsetTime
is in the ]start, end[ period (start and end excluded). - isStrictlyBetween(ZonedDateTime, ZonedDateTime) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Verifies that the actual
ZonedDateTime
is in the ]start, end[ period (start and end excluded) according to the comparator in use. - isStrictlyBetween(T, T) - Method in class org.assertj.core.api.AbstractUniversalComparableAssert
-
Verifies that the actual value is in ]start, end[ range (start excluded, end excluded).
- isSubsetOf(ELEMENT...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that all the elements of actual are present in the given values.
- isSubsetOf(ELEMENT...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that all elements of actual are present in the given values.
- isSubsetOf(ELEMENT...) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that all the elements of actual are present in the given values.
- isSubsetOf(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that all the elements of actual are present in the given
Iterable
. - isSubsetOf(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that all elements of actual are present in the given
Iterable
. - isSubsetOf(Iterable<? extends ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that all the elements of actual are present in the given
Iterable
. - isSubsetOf(Iterable<? extends T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that all elements of actual are present in the given
Iterable
. - isSubsetOf(T...) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that all elements of actual are present in the given values.
- isSubsetOfForProxy(ELEMENT[]) - Method in class org.assertj.core.api.AbstractIterableAssert
- isSubsetOfForProxy(ELEMENT[]) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
- isSubsetOfForProxy(T[]) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
- isSubstringOf(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
is a substring of the given one (opposite assertion ofcontains(CharSequence cs)
. - isSymbolicLink() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
is a symbolic link. - isThrownBy(ThrowableAssert.ThrowingCallable) - Method in class org.assertj.core.api.NotThrownAssert
-
Assert that no exception of any type is thrown by the
throwingCallable
. - isThrownBy(ThrowableAssert.ThrowingCallable) - Method in class org.assertj.core.api.ThrowableTypeAssert
-
Assert that an exception of type T is thrown by the
throwingCallable
and allow to chain assertions on the thrown exception. - 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). - isToday() - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Verifies that the actual
LocalDate
is today, that is matching current year, month and day. - isTrue() - Method in class org.assertj.core.api.AbstractBooleanAssert
-
Verifies that the actual value is
true
. - isTrue() - Method in class org.assertj.core.api.AtomicBooleanAssert
-
Verifies that the actual atomic value is true.
- isUnmodifiable() - Method in class org.assertj.core.api.AbstractCollectionAssert
-
Verifies that the actual collection is unmodifiable, i.e., throws an
UnsupportedOperationException
with any attempt to modify the collection. - isUpperCase() - Method in class org.assertj.core.api.AbstractCharacterAssert
-
Verifies that the actual value is a uppercase character.
- isUpperCase() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
is an uppercaseCharSequence
by comparing it to an uppercaseactual
built withString.toUpperCase()
. - isWithinDayOfMonth(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.use
AbstractDateAssert.hasDayOfMonth(int)
instead. - isWithinDayOfWeek(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.use
AbstractDateAssert.hasDayOfWeek(int)
instead. - isWithinHourOfDay(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.use
AbstractDateAssert.hasHourOfDay(int)
instead. - isWithinMillisecond(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.use
AbstractDateAssert.hasMillisecond(int)
instead. - isWithinMinute(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.use
AbstractDateAssert.hasMinute(int)
instead. - isWithinMonth(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.use
AbstractDateAssert.hasMonth(int)
instead. - isWithinSecond(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.use
AbstractDateAssert.hasSecond(int)
instead. - isWithinYear(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.use
AbstractDateAssert.hasYear(int)
instead. - isWritable() - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the actual
File
can be modified by the application (alias ofAbstractFileAssert.canWrite()
. - 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 toFiles.exists(Path, LinkOption...)
) and that it is writable(according toFiles.isWritable(Path)
). - isXmlEqualTo(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Deprecated.This assertion has some limitations, for example it does not handle tab vs space and would fail if elements are the same but in a different order.
The recommended approach is XML Unit which is able to deal with these limitations and provides many more features like XPath support and schema validation.Original javadoc:
Verifies that the actual
CharSequence
is equal to the given XMLCharSequence
after both have been formatted the same way.Example:
String expectedXml = "<rings>\n" + " <bearer>\n" + " <name>Frodo</name>\n" + " <ring>\n" + " <name>one ring</name>\n" + " <createdBy>Sauron</createdBy>\n" + " </ring>\n" + " </bearer>\n" + "</rings>"; // No matter how your xml string is formatted, isXmlEqualTo is able to compare it's content with another xml String. String oneLineXml = "<rings><bearer><name>Frodo</name><ring><name>one ring</name><createdBy>Sauron</createdBy></ring></bearer></rings>"; assertThat(oneLineXml).isXmlEqualTo(expectedXml); String xmlWithNewLine = "<rings>\n" + "<bearer> \n" + " <name>Frodo</name>\n" + " <ring>\n" + " <name>one ring</name>\n" + " <createdBy>Sauron</createdBy>\n" + " </ring>\n" + "</bearer>\n" + "</rings>"; assertThat(xmlWithNewLine).isXmlEqualTo(expectedXml); // You can compare it with oneLineXml assertThat(xmlWithNewLine).isXmlEqualTo(oneLineXml); // Tip : use isXmlEqualToContentOf assertion to compare your XML String with the content of an XML file : assertThat(oneLineXml).isXmlEqualToContentOf(new File("src/test/resources/formatted.xml"));
- isXmlEqualToContentOf(File) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Deprecated.
- 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.AbstractBigIntegerAssert
-
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.AbstractDurationAssert
-
Verifies that the actual
Duration
is equal toDuration.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.AbstractLongAdderAssert
- 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.
- iterable(Class<ELEMENT>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for anIterable
. - iterable(T...) - Static method in class org.assertj.core.util.IterableUtil
- ITERABLE - Enum constant in enum org.assertj.core.presentation.StandardRepresentation.GroupType
- ITERABLE - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- IterableAssert<ELEMENT> - Class in org.assertj.core.api
-
Assertion methods for
Iterable
. - IterableAssert(Iterable<? extends ELEMENT>) - Constructor for class org.assertj.core.api.IterableAssert
- iterables - Variable in class org.assertj.core.api.AbstractIterableAssert
- IterableSizeAssert<T> - Class in org.assertj.core.api
- IterableSizeAssert(AbstractIterableAssert<IterableAssert<T>, Iterable<? extends T>, T, ObjectAssert<T>>, Integer) - Constructor for class org.assertj.core.api.IterableSizeAssert
- IterableUtil - Class in org.assertj.core.util
- iterator(Class<ELEMENT>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for anIterator
. - iterator(T...) - Static method in class org.assertj.core.util.IterableUtil
- ITERATOR - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- IteratorAssert<ELEMENT> - Class in org.assertj.core.api
-
Assertion methods for
Iterator
. - IteratorAssert(Iterator<? extends ELEMENT>) - Constructor for class org.assertj.core.api.IteratorAssert
J
- j - Variable in class org.assertj.core.util.diff.myers.PathNode
-
Position in the revised sequence.
- Java6Assertions - Class in org.assertj.core.api
-
Deprecated.For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.
Assertions compatible with Android. Duplicated from
Assertions
. - Java6Assertions() - Constructor for class org.assertj.core.api.Java6Assertions
-
Deprecated.
- Java6BDDAssertions - Class in org.assertj.core.api
-
Deprecated.For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.
Android-compatible BDD-style assertions duplicated from
BDDAssertions
. - Java6BDDAssertions() - Constructor for class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new
.BDDAssertions
- Java6BDDSoftAssertions - Class in org.assertj.core.api
-
Deprecated.For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.
BDD-style Android-compatible soft assertions. Duplicated from
BDDSoftAssertions
. - Java6BDDSoftAssertions() - Constructor for class org.assertj.core.api.Java6BDDSoftAssertions
-
Deprecated.
- Java6BDDSoftAssertionsProvider - Interface in org.assertj.core.api
-
AbstractBDDSoftAssertions compatible with Android.
- Java6JUnitBDDSoftAssertions - Class in org.assertj.core.api
-
Deprecated.For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.
Duplicate of
JUnitBDDSoftAssertions
compatible with Android. - Java6JUnitBDDSoftAssertions() - Constructor for class org.assertj.core.api.Java6JUnitBDDSoftAssertions
-
Deprecated.
- Java6JUnitSoftAssertions - Class in org.assertj.core.api
-
Deprecated.For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.
JUnitSoftAssertions rule compatible with Android. Duplicated from
JUnitSoftAssertions
. - Java6JUnitSoftAssertions() - Constructor for class org.assertj.core.api.Java6JUnitSoftAssertions
-
Deprecated.
- Java6SoftAssertions - Class in org.assertj.core.api
-
Deprecated.For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.
Soft assertions compatible with Android. Duplicated from
SoftAssertions
. - Java6SoftAssertions() - Constructor for class org.assertj.core.api.Java6SoftAssertions
-
Deprecated.
- Java6StandardSoftAssertionsProvider - Interface in org.assertj.core.api
-
AbstractStandardSoftAssertions compatible with Android.
- join(Iterable<?>) - Static method in class org.assertj.core.util.Strings
-
Joins the given
Object
s using a given delimiter. - join(String...) - Static method in class org.assertj.core.util.Strings
-
Joins the given
String
s using a given delimiter. - Join<T> - Class in org.assertj.core.condition
-
Join of two or more
s.Condition
- Join(Iterable<? extends Condition<? super T>>) - Constructor for class org.assertj.core.condition.Join
-
Creates a new
.Join
- Join(Condition<? super T>...) - Constructor for class org.assertj.core.condition.Join
-
Creates a new
.Join
- JoinDescription - Class in org.assertj.core.description
-
The
Description
combining multipleDescription
s. - JoinDescription(String, String, Collection<Description>) - Constructor for class org.assertj.core.description.JoinDescription
-
Creates a new
.JoinDescription
- JUNIT4 - Enum constant in enum org.assertj.core.configuration.PreferredAssumptionException
-
org.junit.AssumptionViolatedException
- works with JUnit 4 - JUNIT5 - Enum constant in enum org.assertj.core.configuration.PreferredAssumptionException
-
org.opentest4j.TestAbortedException
- works with JUnit 5 - JUnitBDDSoftAssertions - Class in org.assertj.core.api
-
Same as
SoftAssertions
, but with the following differences:
First, it's a junit rule, which can be used without having to callassertAll()
, example: - JUnitBDDSoftAssertions() - Constructor for class org.assertj.core.api.JUnitBDDSoftAssertions
- JUnitJupiterBDDSoftAssertions - Class in org.assertj.core.api
-
Deprecated.use
SoftAssertionsExtension
instead. Same asSoftAssertions
, but with the following differences:
First, it's a JUnit Jupiter extension, which can be used without having to callassertAll()
, example:
Second, the failures are recognized by IDE's (like IntelliJ IDEA) which open a comparison window.public class SoftlyTest { @RegisterExtension public final JUnitJupiterBDDSoftAssertions softly = new JUnitJupiterBDDSoftAssertions(); @Test public void soft_bdd_assertions() throws Exception { softly.then(1).isEqualTo(2); softly.then(Lists.newArrayList(1, 2)).containsOnly(1, 2); } }
- JUnitJupiterBDDSoftAssertions() - Constructor for class org.assertj.core.api.JUnitJupiterBDDSoftAssertions
-
Deprecated.
- JUnitJupiterSoftAssertions - Class in org.assertj.core.api
-
Deprecated.use
SoftAssertionsExtension
instead. Same asSoftAssertions
, but with the following differences:
First, it's a JUnit Jupiter extension, which can be used without having to callassertAll()
, example:
Second, the failures are recognized by IDE's (like IntelliJ IDEA) which open a comparison window.public class SoftlyTest { @RegisterExtension public final JUnitJupiterSoftAssertions softly = new JUnitJupiterSoftAssertions(); @Test public void testSoftly() throws Exception { softly.assertThat(1).isEqualTo(2); softly.assertThat(Lists.newArrayList(1, 2)).containsOnly(1, 2); } }
- JUnitJupiterSoftAssertions() - Constructor for class org.assertj.core.api.JUnitJupiterSoftAssertions
-
Deprecated.
- JUnitSoftAssertions - Class in org.assertj.core.api
-
Same as
SoftAssertions
, but with the following differences:
First, it's a junit rule, which can be used without having to callassertAll()
, example: - JUnitSoftAssertions() - Constructor for class org.assertj.core.api.JUnitSoftAssertions
K
L
- label - Variable in enum org.assertj.core.api.Condition.Status
- last() - Method in class org.assertj.core.api.AbstractIterableAssert
-
Navigate and allow to perform assertions on the last element of the
Iterable
under test. - last() - Method in class org.assertj.core.util.diff.Chunk
-
Returns the index of the last line of the chunk.
- last(InstanceOfAssertFactory<?, ASSERT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Navigate and allow to perform assertions on the last element of the
Iterable
under test. - LazyTextDescription - Class in org.assertj.core.description
-
A text-based description that is evaluated lazily.
- LazyTextDescription(Supplier<String>) - Constructor for class org.assertj.core.description.LazyTextDescription
- LENIENT_DATE_PARSING - Static variable in class org.assertj.core.configuration.Configuration
- lenientDateParsingEnabled() - Method in class org.assertj.core.configuration.Configuration
-
Returns whether AssertJ will use lenient parsing mode for default date formats.
- lineNumber() - Method in class org.assertj.core.util.diff.Delta
- linesOf(File) - Static method in class org.assertj.core.api.Assertions
-
Loads the text content of a file into a list of strings with the default charset, each string corresponding to a line.
- linesOf(File) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Loads the text content of a file into a list of strings with the default charset, each string corresponding to a line.
- linesOf(File) - Static method in class org.assertj.core.api.BDDAssertions
-
Loads the text content of a file into a list of strings with the default charset, each string corresponding to a line.
- linesOf(File) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Loads the text content of a file into a list of strings with the default charset, each string corresponding to a line.
- linesOf(File) - Method in interface org.assertj.core.api.WithAssertions
-
Loads the text content of a file into a list of strings with the default charset, each string corresponding to a line.
- linesOf(File, String) - Static method in class org.assertj.core.api.Assertions
-
Loads the text content of a file into a list of strings, each string corresponding to a line.
- linesOf(File, String) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Loads the text content of a file into a list of strings, each string corresponding to a line.
- linesOf(File, String) - Static method in class org.assertj.core.api.BDDAssertions
-
Loads the text content of a file into a list of strings, each string corresponding to a line.
- linesOf(File, String) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Loads the text content of a file into a list of strings, each string corresponding to a line.
- linesOf(File, String) - Method in interface org.assertj.core.api.WithAssertions
-
Loads the text content of a file into a list of strings, each string corresponding to a line.
- linesOf(File, String) - Static method in class org.assertj.core.util.Files
-
Loads the text content of a file into a list of strings, each string corresponding to a line.
- linesOf(File, Charset) - Static method in class org.assertj.core.api.Assertions
-
Loads the text content of a file into a list of strings, each string corresponding to a line.
- linesOf(File, Charset) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Loads the text content of a file into a list of strings, each string corresponding to a line.
- linesOf(File, Charset) - Static method in class org.assertj.core.api.BDDAssertions
-
Loads the text content of a file into a list of strings, each string corresponding to a line.
- linesOf(File, Charset) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Loads the text content of a file into a list of strings, each string corresponding to a line.
- linesOf(File, Charset) - Method in interface org.assertj.core.api.WithAssertions
-
Loads the text content of a file into a list of strings, each string corresponding to a line.
- linesOf(File, Charset) - Static method in class org.assertj.core.util.Files
-
Loads the text content of a file into a list of strings, each string corresponding to a line.
- linesOf(URL) - Static method in class org.assertj.core.api.Assertions
-
Loads the text content of a URL into a list of strings with the default charset, each string corresponding to a line.
- linesOf(URL) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Loads the text content of a URL into a list of strings with the default charset, each string corresponding to a line.
- linesOf(URL) - Static method in class org.assertj.core.api.BDDAssertions
-
Loads the text content of a URL into a list of strings with the default charset, each string corresponding to a line.
- linesOf(URL) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Loads the text content of a URL into a list of strings with the default charset, each string corresponding to a line.
- linesOf(URL) - Method in interface org.assertj.core.api.WithAssertions
-
Loads the text content of a URL into a list of strings with the default charset, each string corresponding to a line.
- linesOf(URL, String) - Static method in class org.assertj.core.api.Assertions
-
Loads the text content of a URL into a list of strings, each string corresponding to a line.
- linesOf(URL, String) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Loads the text content of a URL into a list of strings, each string corresponding to a line.
- linesOf(URL, String) - Static method in class org.assertj.core.api.BDDAssertions
-
Loads the text content of a URL into a list of strings, each string corresponding to a line.
- linesOf(URL, String) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Loads the text content of a URL into a list of strings, each string corresponding to a line.
- linesOf(URL, String) - Method in interface org.assertj.core.api.WithAssertions
-
Loads the text content of a URL into a list of strings, each string corresponding to a line.
- linesOf(URL, String) - Static method in class org.assertj.core.util.URLs
-
Loads the text content of a URL into a list of strings, each string corresponding to a line.
- linesOf(URL, Charset) - Static method in class org.assertj.core.api.Assertions
-
Loads the text content of a URL into a list of strings, each string corresponding to a line.
- linesOf(URL, Charset) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Loads the text content of a URL into a list of strings, each string corresponding to a line.
- linesOf(URL, Charset) - Static method in class org.assertj.core.api.BDDAssertions
-
Loads the text content of a URL into a list of strings, each string corresponding to a line.
- linesOf(URL, Charset) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Loads the text content of a URL into a list of strings, each string corresponding to a line.
- linesOf(URL, Charset) - Method in interface org.assertj.core.api.WithAssertions
-
Loads the text content of a URL into a list of strings, each string corresponding to a line.
- linesOf(URL, Charset) - Static method in class org.assertj.core.util.URLs
-
Loads the text content of a URL into a list of strings, each string corresponding to a line.
- linesOf(Path) - Static method in class org.assertj.core.api.Assertions
-
Loads the text content of a file at a given path into a list of strings with the default charset, each string corresponding to a line.
- linesOf(Path) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Loads the text content of a path into a list of strings with the default charset, each string corresponding to a line.
- linesOf(Path) - Static method in class org.assertj.core.api.BDDAssertions
-
Loads the text content of a file at a given path into a list of strings with the default charset, each string corresponding to a line.
- linesOf(Path) - Method in interface org.assertj.core.api.WithAssertions
-
Loads the text content of a file at a given path into a list of strings with the default charset, each string corresponding to a line.
- linesOf(Path, String) - Static method in class org.assertj.core.api.Assertions
-
Loads the text content of a file at a given path into a list of strings, each string corresponding to a line.
- linesOf(Path, String) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Loads the text content of a path into a list of strings, each string corresponding to a line.
- linesOf(Path, String) - Static method in class org.assertj.core.api.BDDAssertions
-
Loads the text content of a file at a given path into a list of strings, each string corresponding to a line.
- linesOf(Path, String) - Method in interface org.assertj.core.api.WithAssertions
-
Loads the text content of a file at a given path into a list of strings, each string corresponding to a line.
- linesOf(Path, String) - Static method in class org.assertj.core.util.Paths
-
Loads the text content of a file at a given path into a list of strings, each string corresponding to a line.
- linesOf(Path, Charset) - Static method in class org.assertj.core.api.Assertions
-
Loads the text content of a file at a given path into a list of strings, each string corresponding to a line.
- linesOf(Path, Charset) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Loads the text content of a path into a list of strings, each string corresponding to a line.
- linesOf(Path, Charset) - Static method in class org.assertj.core.api.BDDAssertions
-
Loads the text content of a file at a given path into a list of strings, each string corresponding to a line.
- linesOf(Path, Charset) - Method in interface org.assertj.core.api.WithAssertions
-
Loads the text content of a file at a given path into a list of strings, each string corresponding to a line.
- linesOf(Path, Charset) - Static method in class org.assertj.core.util.Paths
-
Loads the text content of a file at a given path into a list of strings, each string corresponding to a line.
- list(Class<ELEMENT>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for aList
. - list(T...) - Static method in class org.assertj.core.util.Lists
- LIST - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- ListAssert<ELEMENT> - Class in org.assertj.core.api
-
Assertion methods for
List
s. - ListAssert(List<? extends ELEMENT>) - Constructor for class org.assertj.core.api.ListAssert
- ListAssert(DoubleStream) - Constructor for class org.assertj.core.api.ListAssert
- ListAssert(IntStream) - Constructor for class org.assertj.core.api.ListAssert
- ListAssert(LongStream) - Constructor for class org.assertj.core.api.ListAssert
- ListAssert(Stream<? extends ELEMENT>) - Constructor for class org.assertj.core.api.ListAssert
- Lists - Class in org.assertj.core.util
-
Utility methods related to
List
s. - loadRegisteredConfiguration() - Static method in class org.assertj.core.configuration.ConfigurationProvider
-
Triggers loading any registered
Configuration
. - LOCAL_DATE - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for aLocalDate
. - LOCAL_DATE_TIME - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- LOCAL_TIME - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for aLocalTime
. - LocalDateAssert - Class in org.assertj.core.api
- LocalDateAssert(LocalDate) - Constructor for class org.assertj.core.api.LocalDateAssert
-
Creates a new
.LocalDateAssert
- LocalDateTimeAssert - Class in org.assertj.core.api
- LocalDateTimeAssert(LocalDateTime) - Constructor for class org.assertj.core.api.LocalDateTimeAssert
-
Creates a new
.LocalDateTimeAssert
- LocalTimeAssert - Class in org.assertj.core.api
- LocalTimeAssert(LocalTime) - Constructor for class org.assertj.core.api.LocalTimeAssert
-
Creates a new
.LocalTimeAssert
- LONG - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- LONG_2D_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for along
two-dimensional array. - LONG_ADDER - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for aLongAdder
. - LONG_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for along
array. - LONG_PREDICATE - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- LONG_STREAM - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- Long2DArrayAssert - Class in org.assertj.core.api
-
Assertion methods for two-dimensional arrays of
long
s. - Long2DArrayAssert(long[][]) - Constructor for class org.assertj.core.api.Long2DArrayAssert
- long2dArrays - Variable in class org.assertj.core.api.Long2DArrayAssert
- LongAdderAssert - Class in org.assertj.core.api
-
Assertions for
LongAdder
. - LongAdderAssert(LongAdder) - Constructor for class org.assertj.core.api.LongAdderAssert
- LongArrayAssert - Class in org.assertj.core.api
-
Assertion methods for arrays of
long
s. - LongArrayAssert(long[]) - Constructor for class org.assertj.core.api.LongArrayAssert
- LongArrayAssert(AtomicLongArray) - Constructor for class org.assertj.core.api.LongArrayAssert
- LongAssert - Class in org.assertj.core.api
-
Assertion methods for
Long
s. - LongAssert(Long) - Constructor for class org.assertj.core.api.LongAssert
- LongAssert(AtomicLong) - Constructor for class org.assertj.core.api.LongAssert
- LongPredicateAssert - Class in org.assertj.core.api
-
Assertions for
LongPredicate
. - LongPredicateAssert(LongPredicate) - Constructor for class org.assertj.core.api.LongPredicateAssert
M
- map(Class<K>, Class<V>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for aMap
. - map(Function<? super ELEMENT, ?>...) - Method in class org.assertj.core.api.AbstractIterableAssert
- map(Function<? super ELEMENT, V>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Maps the Iterable's elements under test by applying a mapping function, the resulting list becomes the instance under test.
- map(Function<? super VALUE, ? extends U>) - Method in class org.assertj.core.api.AbstractOptionalAssert
-
Call
map
on theOptional
under test, assertions chained afterwards are performed on theOptional
resulting from the map call. - map(ThrowingExtractor<? super ELEMENT, V, EXCEPTION>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Maps the Iterable's elements by applying the given mapping function (which might throw an exception), the returned list becomes the instance under test.
- MAP - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- MapAssert<KEY,
VALUE> - Class in org.assertj.core.api -
Assertions for
Map
s. - MapAssert(Map<KEY, VALUE>) - Constructor for class org.assertj.core.api.MapAssert
- MapEntry<K,
V> - Class in org.assertj.core.data -
Understands an entry in a
.Map
- mappedCondition(Function<FROM, TO>, Condition<TO>) - Static method in class org.assertj.core.condition.MappedCondition
-
Creates a new
MappedCondition
- mappedCondition(Function<FROM, TO>, Condition<TO>, String, Object...) - Static method in class org.assertj.core.condition.MappedCondition
-
Creates a new
.MappedCondition
- MappedCondition<FROM,
TO> - Class in org.assertj.core.condition - Maps - Class in org.assertj.core.util
-
Utility methods related to maps.
- MapSizeAssert<KEY,
VALUE> - Class in org.assertj.core.api - MapSizeAssert(AbstractMapAssert<MapAssert<KEY, VALUE>, Map<KEY, VALUE>, KEY, VALUE>, Integer) - Constructor for class org.assertj.core.api.MapSizeAssert
- MATCHER - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for anMatcher
. - MatcherAssert - Class in org.assertj.core.api
-
Assertions for
Matcher
. - MatcherAssert(Matcher) - Constructor for class org.assertj.core.api.MatcherAssert
- MatcherShouldMatch - Class in org.assertj.core.error
-
Build error message when an
Matcher
should match. - matches() - Method in class org.assertj.core.api.AbstractMatcherAssert
-
Verifies that the Matcher matches.
- matches(FROM) - Method in class org.assertj.core.condition.MappedCondition
-
Maps the value with the given function and verifies that it satisfies the nested
.Condition
- matches(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
matches the given regular expression. - matches(Object) - Method in class org.assertj.core.matcher.AssertionMatcher
- matches(Predicate<? super ACTUAL>) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual object matches the given predicate.
- matches(Predicate<? super ACTUAL>, String) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual object matches the given predicate, the predicate description is used to get an informative error message.
- matches(Pattern) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
matches the given regular expression pattern. - matches(T) - Method in class org.assertj.core.api.Condition
-
Verifies that the given value satisfies this condition.
- matches(T) - Method in class org.assertj.core.api.HamcrestCondition
-
Verifies that the given value satisfies this condition.
- matches(T) - Method in class org.assertj.core.condition.AllOf
-
Verifies that the given value satisfies this condition.
- matches(T) - Method in class org.assertj.core.condition.AnyOf
-
Verifies that the given value satisfies this condition.
- matches(T) - Method in class org.assertj.core.condition.Negative
- matches(T) - Method in class org.assertj.core.condition.VerboseCondition
- matching(Matcher<? extends T>) - Static method in class org.assertj.core.api.HamcrestCondition
-
Constructs a
Condition
using the matcher given as a parameter. - MAX_ELEMENTS_FOR_PRINTING - Static variable in class org.assertj.core.configuration.Configuration
- MAX_LENGTH_FOR_SINGLE_LINE_DESCRIPTION - Static variable in class org.assertj.core.configuration.Configuration
- MAX_STACKTRACE_ELEMENTS_DISPLAYED - Static variable in class org.assertj.core.configuration.Configuration
- maxElementsForPrinting() - Method in class org.assertj.core.configuration.Configuration
-
Returns how many elements at most from one iterable/array/map will be displayed in error messages.
- maxLengthForSingleLineDescription() - Method in class org.assertj.core.configuration.Configuration
-
Returns the maximum length for an iterable/array to be displayed on one line.
- maxStackTraceElementsDisplayed() - Method in class org.assertj.core.configuration.Configuration
-
Returns the maximum number of lines for a stacktrace to be displayed on one throw.
- message() - Method in class org.assertj.core.api.AbstractThrowableAssert
-
A shortcut for
extracting(Throwable::getMessage, as(InstanceOfAssertFactories.STRING))
which allows to extract a throwable's message and then execute assertions on it. - messageByFields() - Method in class org.assertj.core.api.recursive.comparison.FieldMessages
-
Returns a sequence of associated field-message pairs.
- messageFormatter - Variable in class org.assertj.core.error.ShouldBeEqual
- MessageFormatter - Class in org.assertj.core.error
-
Formats the messages to be included in assertion errors.
- methodResultFor(Object, String) - Static method in class org.assertj.core.util.introspection.MethodSupport
-
Returns result of given method invocation on provided object.
- MethodSupport - Class in org.assertj.core.util.introspection
-
Utility class for reflective method invocation.
- MethodSupport() - Constructor for class org.assertj.core.util.introspection.MethodSupport
- millisecondOf(Date) - Static method in class org.assertj.core.util.DateUtil
-
Extracts the millisecond of the given Date.
- minuteOf(Date) - Static method in class org.assertj.core.util.DateUtil
-
Dates Extracts the minute of the given Date.
- monthOf(Date) - Static method in class org.assertj.core.util.DateUtil
-
Dates Extracts the month of the given Date starting at 1 (January=1, February=2, ...).
- mostRelevantDescription(Description, String) - Static method in class org.assertj.core.description.Description
- mostRelevantDescriptionIn(WritableAssertionInfo, String) - Static method in class org.assertj.core.api.WritableAssertionInfo
- multiLineDescription() - Method in class org.assertj.core.api.recursive.comparison.ComparisonDifference
- multiLineDescription(Representation) - Method in class org.assertj.core.api.recursive.comparison.ComparisonDifference
- multiLineDescription(Representation) - Method in class org.assertj.core.api.recursive.comparison.ComparisonKeyDifference
- multiLineDescription(Representation) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- multiLineFormat(Iterable<?>) - Method in class org.assertj.core.presentation.StandardRepresentation
- multiLineFormat(Object[], Object) - Method in class org.assertj.core.presentation.StandardRepresentation
- multipleAssertionsError(Description, List<? extends AssertionError>) - Method in class org.assertj.core.error.AssertionErrorCreator
- MultipleAssertionsError - Error in org.assertj.core.error
- MultipleAssertionsError(List<? extends AssertionError>) - Constructor for error org.assertj.core.error.MultipleAssertionsError
- MultipleAssertionsError(Description, List<? extends AssertionError>) - Constructor for error org.assertj.core.error.MultipleAssertionsError
- multipleSoftAssertionsError(List<? extends Throwable>) - Method in class org.assertj.core.error.AssertionErrorCreator
- MyersDiff<T> - Class in org.assertj.core.util.diff.myers
-
Copy from https://code.google.com/p/java-diff-utils/.
- MyersDiff() - Constructor for class org.assertj.core.util.diff.myers.MyersDiff
-
Constructs an instance of the Myers differencing algorithm.
- myself - Variable in class org.assertj.core.api.AbstractAssert
N
- namesOf(Class<?>...) - Static method in class org.assertj.core.util.Objects
-
Returns an array containing the names of the given types.
- NaturalOrderComparator<T extends Comparable<? super T>> - Class in org.assertj.core.util
- NaturalOrderComparator(Class<T>) - Constructor for class org.assertj.core.util.NaturalOrderComparator
- NaturalOrderComparator(String) - Constructor for class org.assertj.core.util.NaturalOrderComparator
- navigationDescription(String) - Method in class org.assertj.core.api.AbstractIterableAssert
- navigationDescription(String) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
- Negative<T> - Class in org.assertj.core.condition
-
Inverse the condition.
- Negative(Condition<? super T>) - Constructor for class org.assertj.core.condition.Negative
- newAbstractIterableAssert(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
This methods is needed to build a new concrete instance of AbstractIterableAssert after a filtering operation is executed.
- newAbstractIterableAssert(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.ClassBasedNavigableIterableAssert
- newAbstractIterableAssert(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.ClassBasedNavigableListAssert
- newAbstractIterableAssert(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.CollectionAssert
- newAbstractIterableAssert(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.FactoryBasedNavigableIterableAssert
- newAbstractIterableAssert(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.FactoryBasedNavigableListAssert
- newAbstractIterableAssert(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.IterableAssert
- newAbstractIterableAssert(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.ListAssert
- newAbstractIterableAssertForProxy(List<ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
- newArrayList() - Static method in class org.assertj.core.util.Lists
-
Creates a mutable
ArrayList
. - newArrayList(Iterable<? extends T>) - Static method in class org.assertj.core.util.Lists
-
Creates a mutable
ArrayList
containing the given elements. - newArrayList(Iterator<? extends T>) - Static method in class org.assertj.core.util.Lists
-
Creates a mutable
ArrayList
containing the given elements. - newArrayList(T...) - Static method in class org.assertj.core.util.Lists
-
Creates a mutable
ArrayList
containing the given elements. - newAssertionError(Description, Representation) - Method in interface org.assertj.core.error.AssertionErrorFactory
-
Creates an
.AssertionError
- newAssertionError(Description, Representation) - Method in class org.assertj.core.error.ShouldBeEqual
-
Creates an
indicating that an assertion that verifies that two objects are equal failed.AssertionError
The
message is built so that it differentiatesAssertionError
ShouldBeEqual.actual
andShouldBeEqual.expected
description in case their string representation are the same (like 42 float and 42 double). - newFile(String) - Static method in class org.assertj.core.util.Files
-
Creates a new file using the given path.
- newFolder(String) - Static method in class org.assertj.core.util.Files
-
Creates a new directory using the given path.
- newHashMap(K, V) - Static method in class org.assertj.core.util.Maps
- newHashSet() - Static method in class org.assertj.core.util.Sets
-
Creates a mutable
HashSet
. - newHashSet(Iterable<? extends T>) - Static method in class org.assertj.core.util.Sets
-
Creates a mutable
HashSet
containing the given elements. - newInstance(String, Class<?>[], Object...) - Method in class org.assertj.core.error.ConstructorInvoker
- newIsoDateFormat() - Static method in class org.assertj.core.util.DateUtil
-
ISO 8601 date format (yyyy-MM-dd), example :
2003-04-23
- newIsoDateTimeFormat() - Static method in class org.assertj.core.util.DateUtil
-
ISO 8601 date-time format (yyyy-MM-dd'T'HH:mm:ss), example :
2003-04-26T13:01:02
- newIsoDateTimeWithIsoTimeZoneFormat() - Static method in class org.assertj.core.util.DateUtil
-
ISO 8601 date-time format with ISO time zone (yyyy-MM-dd'T'HH:mm:ssX), example :
2003-04-26T03:01:02+00:00
- newIsoDateTimeWithMsAndIsoTimeZoneFormat() - Static method in class org.assertj.core.util.DateUtil
-
ISO 8601 date-time format with millisecond and ISO time zone (yyyy-MM-dd'T'HH:mm:ss.SSSX), example :
2003-04-26T03:01:02.758+00:00
- newIsoDateTimeWithMsFormat() - Static method in class org.assertj.core.util.DateUtil
-
ISO 8601 date-time format with millisecond (yyyy-MM-dd'T'HH:mm:ss.SSS), example :
2003-04-26T03:01:02.999
- newLinkedHashSet() - Static method in class org.assertj.core.util.Sets
-
Creates a mutable
LinkedHashSet
. - newLinkedHashSet(T...) - Static method in class org.assertj.core.util.Sets
-
Creates a mutable
LinkedHashSet
containing the given elements. - newListAssertInstance(List<? extends E>) - Method in class org.assertj.core.api.AbstractAssert
-
Create a
AbstractListAssert
from the given list. - newListAssertInstance(List<? extends E>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Create a friendly soft or "hard" assertion.
- newObjectArrayAssert(ELEMENT[]) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
- newObjectArrayAssert(ELEMENT[]) - Method in class org.assertj.core.api.ObjectArrayAssert
- newObjectAssert(RESULT) - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
- newObjectAssert(T) - Method in class org.assertj.core.api.AbstractObjectAssert
- newTemporaryFile() - Static method in class org.assertj.core.util.Files
-
Creates a new file in the system's temporary directory.
- newTemporaryFolder() - Static method in class org.assertj.core.util.Files
-
Creates a new directory in the system's temporary directory.
- newTimestampDateFormat() - Static method in class org.assertj.core.util.DateUtil
-
Timestamp
date-time format with millisecond (yyyy-MM-dd HH:mm:ss.SSS), example :2003-04-26 03:01:02.999
- newTreeSet() - Static method in class org.assertj.core.util.Sets
-
Creates a mutable
TreeSet
. - newTreeSet(T...) - Static method in class org.assertj.core.util.Sets
-
Creates a mutable
TreeSet
containing the given elements. - NIBBLE_SIZE - Static variable in class org.assertj.core.presentation.HexadecimalRepresentation
- noElementsShouldMatch(Object, T, PredicateDescription) - Static method in class org.assertj.core.error.NoElementsShouldMatch
- NoElementsShouldMatch - Class in org.assertj.core.error
- noElementsShouldSatisfy(Object, Object) - Static method in class org.assertj.core.error.NoElementsShouldSatisfy
- NoElementsShouldSatisfy - Class in org.assertj.core.error
- NON_NULL_ELEMENTS - Enum constant in enum org.assertj.core.error.ShouldContainOnlyNulls.ErrorType
- noneMatch(Predicate<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
- noneMatch(Predicate<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that no elements match the given
Predicate
. - noneMatch(Predicate<? super ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that no elements match the given
Predicate
. - noneMatch(Predicate<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that no elements match the given
Predicate
. - noneSatisfy(BiConsumer<? super K, ? super V>) - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that no map entry satisfies the given
entryRequirements
. - noneSatisfy(Consumer<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that no elements satisfy the given restrictions expressed as a
Consumer
. - noneSatisfy(Consumer<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that no elements satisfy the given restrictions expressed as a
Consumer
. - noneSatisfy(Consumer<? super ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that no elements satisfy the given restrictions expressed as a
Consumer
. - noneSatisfy(Consumer<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that no elements satisfy the given restrictions expressed as a
Consumer
. - noneSatisfy(ThrowingConsumer<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that no elements satisfy the given restrictions expressed as a
Consumer
. - noneSatisfy(ThrowingConsumer<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that no elements satisfy the given restrictions expressed as a
Consumer
. - noneSatisfy(ThrowingConsumer<? super ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that no elements satisfy the given restrictions expressed as a
Consumer
. - noneSatisfy(ThrowingConsumer<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that no elements satisfy the given restrictions expressed as a
Consumer
. - nonNullElementsIn(Iterable<? extends T>) - Static method in class org.assertj.core.util.IterableUtil
-
Returns all the non-
null
elements in the givenIterable
. - nonNullElementsIn(T[]) - Static method in class org.assertj.core.util.Arrays
-
Returns all the non-
null
elements in the given array. - not(Object) - Static method in class org.assertj.core.api.Assertions
-
Create a
FilterOperator
to use infilteredOn(String, FilterOperation)
to express a filter keeping all Iterable elements whose property/field value matches does not match the given value. - not(Object) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Create a
FilterOperator
to use infilteredOn(String, FilterOperation)
to express a filter keeping all Iterable elements whose property/field value matches does not match the given value. - not(Object) - Static method in class org.assertj.core.api.BDDAssertions
-
Create a
FilterOperator
to use infilteredOn(String, FilterOperation)
to express a filter keeping all Iterable elements whose property/field value matches does not match the given value. - not(Object) - Static method in class org.assertj.core.api.filter.NotFilter
- not(Object) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Create a
FilterOperator
to use infilteredOn(String, FilterOperation)
to express a filter keeping all Iterable elements whose property/field value matches does not match the given value. - not(Object) - Method in interface org.assertj.core.api.WithAssertions
-
Create a
FilterOperator
to use infilteredOn(String, FilterOperation)
to express a filter keeping all Iterable elements whose property/field value matches does not match the given value. - not(Condition<? super T>) - Static method in class org.assertj.core.api.Assertions
-
Creates a new
.Not
- not(Condition<? super T>) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new
.Not
- not(Condition<? super T>) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new
.Not
- not(Condition<? super T>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new
.Not
- not(Condition<? super T>) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new
.Not
- not(Condition<? super T>) - Static method in class org.assertj.core.condition.Not
-
Creates a new
.Not
- Not<T> - Class in org.assertj.core.condition
-
Returns
true
if the condition is not satisfied. - NOT_EXPECTED_ONLY - Enum constant in enum org.assertj.core.error.ShouldContainExactlyInAnyOrder.ErrorType
- NOT_EXPECTED_ONLY - Enum constant in enum org.assertj.core.error.ShouldContainOnly.ErrorType
- NOT_FOUND_ONLY - Enum constant in enum org.assertj.core.error.ShouldContainExactlyInAnyOrder.ErrorType
- NOT_FOUND_ONLY - Enum constant in enum org.assertj.core.error.ShouldContainOnly.ErrorType
- notAnArrayOfPrimitives(Object) - Static method in class org.assertj.core.util.Arrays
- notEqualsTo(Object) - Method in class org.assertj.core.api.filter.Filters
-
Filters the underlying iterable to keep object with property (specified by
Filters.with(String)
) not equals to given value. - NotFilter - Class in org.assertj.core.api.filter
- notIn(Object...) - Static method in class org.assertj.core.api.Assertions
-
Create a
FilterOperator
to use infilteredOn(String, FilterOperation)
to express a filter keeping all Iterable elements whose property/field value matches does not match any of the given values. - notIn(Object...) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Create a
FilterOperator
to use infilteredOn(String, FilterOperation)
to express a filter keeping all Iterable elements whose property/field value matches does not match any of the given values. - notIn(Object...) - Static method in class org.assertj.core.api.BDDAssertions
-
Create a
FilterOperator
to use infilteredOn(String, FilterOperation)
to express a filter keeping all Iterable elements whose property/field value matches does not match any of the given values. - notIn(Object...) - Method in class org.assertj.core.api.filter.Filters
-
Filters the underlying iterable to keep object with property (specified by
Filters.with(String)
) not in the given values. - notIn(Object...) - Static method in class org.assertj.core.api.filter.NotInFilter
- notIn(Object...) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Create a
FilterOperator
to use infilteredOn(String, FilterOperation)
to express a filter keeping all Iterable elements whose property/field value matches does not match any of the given values. - notIn(Object...) - Method in interface org.assertj.core.api.WithAssertions
-
Create a
FilterOperator
to use infilteredOn(String, FilterOperation)
to express a filter keeping all Iterable elements whose property/field value matches does not match any of the given values. - NotInFilter - Class in org.assertj.core.api.filter
- NotThrownAssert - Class in org.assertj.core.api
-
Assertion class checking a
ThrowableAssert.ThrowingCallable
throws no exception. - NotThrownAssert() - Constructor for class org.assertj.core.api.NotThrownAssert
- now() - Static method in class org.assertj.core.util.DateUtil
- NULL_DATE_TIME_PARAMETER_MESSAGE - Static variable in class org.assertj.core.api.AbstractZonedDateTimeAssert
- NULL_LOCAL_DATE_TIME_PARAMETER_MESSAGE - Static variable in class org.assertj.core.api.AbstractLocalDateAssert
- NULL_LOCAL_DATE_TIME_PARAMETER_MESSAGE - Static variable in class org.assertj.core.api.AbstractLocalDateTimeAssert
- NULL_LOCAL_TIME_PARAMETER_MESSAGE - Static variable in class org.assertj.core.api.AbstractLocalTimeAssert
- NULL_OFFSET_DATE_TIME_PARAMETER_MESSAGE - Static variable in class org.assertj.core.api.AbstractOffsetDateTimeAssert
- NULL_OFFSET_TIME_PARAMETER_MESSAGE - Static variable in class org.assertj.core.api.AbstractOffsetTimeAssert
- NumberAssert<SELF extends NumberAssert<SELF,
ACTUAL>, ACTUAL extends Number> - Interface in org.assertj.core.api -
Assertion methods applicable to
s.Number
O
- Object2DArrayAssert<ELEMENT> - Class in org.assertj.core.api
-
Assertion methods for two-dimensional arrays of objects.
- Object2DArrayAssert(ELEMENT[][]) - Constructor for class org.assertj.core.api.Object2DArrayAssert
- object2dArrays - Variable in class org.assertj.core.api.Object2DArrayAssert
- ObjectArrayAssert<ELEMENT> - Class in org.assertj.core.api
-
Assertion methods for arrays of objects.
- ObjectArrayAssert(ELEMENT[]) - Constructor for class org.assertj.core.api.ObjectArrayAssert
- ObjectArrayAssert(AtomicReferenceArray<ELEMENT>) - Constructor for class org.assertj.core.api.ObjectArrayAssert
- ObjectAssert<ACTUAL> - Class in org.assertj.core.api
-
Assertion methods for
Object
s. - ObjectAssert(ACTUAL) - Constructor for class org.assertj.core.api.ObjectAssert
- ObjectAssert(AtomicReference<ACTUAL>) - Constructor for class org.assertj.core.api.ObjectAssert
- ObjectAssertFactory<T> - Class in org.assertj.core.api
- ObjectAssertFactory() - Constructor for class org.assertj.core.api.ObjectAssertFactory
- ObjectEnumerableAssert<SELF extends ObjectEnumerableAssert<SELF,
ELEMENT>, ELEMENT> - Interface in org.assertj.core.api -
Assertions methods applicable to groups of objects (e.g.
- objects - Variable in class org.assertj.core.api.AbstractAssert
- Objects - Class in org.assertj.core.util
-
Utility methods related to objects.
- offset(Double) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for double
Offset
. - offset(Double) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Assertions entry point for double
Offset
. - offset(Double) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for double
Offset
. - offset(Double) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for double
Offset
. - offset(Float) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for float
Offset
. - offset(Float) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Assertions entry point for float
Offset
. - offset(Float) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for float
Offset
. - offset(Float) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for float
Offset
. - offset(T) - Static method in class org.assertj.core.data.Offset
- Offset<T extends Number> - Class in org.assertj.core.data
-
A positive offset.
- OFFSET_DATE_TIME - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- OFFSET_TIME - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for anOffsetTime
. - OffsetDateTimeAssert - Class in org.assertj.core.api
- OffsetDateTimeAssert(OffsetDateTime) - Constructor for class org.assertj.core.api.OffsetDateTimeAssert
-
Creates a new
.OffsetDateTimeAssert
- OffsetTimeAssert - Class in org.assertj.core.api
- OffsetTimeAssert(OffsetTime) - Constructor for class org.assertj.core.api.OffsetTimeAssert
-
Creates a new
.OffsetTimeAssert
- ofType(Class<U>) - Method in class org.assertj.core.groups.Properties
-
Specifies the target type of an instance that was previously created with
Properties.extractProperty(String)
. - onAssertionErrorCollected(AssertionError) - Method in interface org.assertj.core.api.AfterAssertionErrorCollected
-
This method is called after each
AssertionError
is collected by soft assertions (you can't prevent the error to be collected). - onAssertionErrorCollected(AssertionError) - Method in interface org.assertj.core.api.AssertionErrorCollector
- optional(Class<VALUE>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for anOptional
. - OPTIONAL - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- OPTIONAL_DOUBLE - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- OPTIONAL_INT - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for anOptionalInt
. - OPTIONAL_LONG - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for anOptionalLong
. - OptionalAssert<VALUE> - Class in org.assertj.core.api
-
Assertions for
Optional
. - OptionalAssert(Optional<VALUE>) - Constructor for class org.assertj.core.api.OptionalAssert
- OptionalDoubleAssert - Class in org.assertj.core.api
-
Assertions for
OptionalDouble
. - OptionalDoubleAssert(OptionalDouble) - Constructor for class org.assertj.core.api.OptionalDoubleAssert
- OptionalDoubleShouldHaveValueCloseToOffset - Class in org.assertj.core.error
-
Build error message when an
OptionalDouble
should have a specific value close to an offset. - OptionalDoubleShouldHaveValueCloseToPercentage - Class in org.assertj.core.error
-
Build error message when an
OptionalDouble
should be close to an expected value within a positive percentage. - OptionalIntAssert - Class in org.assertj.core.api
-
Assertions for
OptionalInt
. - OptionalIntAssert(OptionalInt) - Constructor for class org.assertj.core.api.OptionalIntAssert
- OptionalLongAssert - Class in org.assertj.core.api
-
Assertions for
OptionalLong
. - OptionalLongAssert(OptionalLong) - Constructor for class org.assertj.core.api.OptionalLongAssert
- OptionalShouldBeEmpty - Class in org.assertj.core.error
-
Build error message when an
Optional
should be empty. - OptionalShouldBePresent - Class in org.assertj.core.error
-
Build error message when a value should be present in an
Optional
. - OptionalShouldContain - Class in org.assertj.core.error
-
Build error message when an
Optional
,OptionalDouble
,OptionalInt
orOptionalLong
should contain a specific value. - OptionalShouldContainInstanceOf - Class in org.assertj.core.error
-
Build an error message when a value should be instance of a specific class.
- org.assertj.core.annotations - package org.assertj.core.annotations
- org.assertj.core.api - package org.assertj.core.api
- org.assertj.core.api.exception - package org.assertj.core.api.exception
- org.assertj.core.api.filter - package org.assertj.core.api.filter
- org.assertj.core.api.iterable - package org.assertj.core.api.iterable
- org.assertj.core.api.junit.jupiter - package org.assertj.core.api.junit.jupiter
- org.assertj.core.api.recursive.comparison - package org.assertj.core.api.recursive.comparison
- org.assertj.core.condition - package org.assertj.core.condition
- org.assertj.core.configuration - package org.assertj.core.configuration
- org.assertj.core.data - package org.assertj.core.data
- org.assertj.core.description - package org.assertj.core.description
- org.assertj.core.error - package org.assertj.core.error
- org.assertj.core.error.future - package org.assertj.core.error.future
- org.assertj.core.error.uri - package org.assertj.core.error.uri
- org.assertj.core.extractor - package org.assertj.core.extractor
- org.assertj.core.groups - package org.assertj.core.groups
- org.assertj.core.matcher - package org.assertj.core.matcher
- org.assertj.core.presentation - package org.assertj.core.presentation
- org.assertj.core.util - package org.assertj.core.util
- org.assertj.core.util.diff - package org.assertj.core.util.diff
- org.assertj.core.util.diff.myers - package org.assertj.core.util.diff.myers
- org.assertj.core.util.introspection - package org.assertj.core.util.introspection
- org.assertj.core.util.xml - package org.assertj.core.util.xml
- otherElement - Variable in class org.assertj.core.error.ZippedElementsShouldSatisfy.ZipSatisfyError
- overridingErrorMessage() - Method in interface org.assertj.core.api.AssertionInfo
-
Returns the message that, if specified, will replace the default message of an assertion failure.
- overridingErrorMessage() - Method in class org.assertj.core.api.WritableAssertionInfo
-
Returns the message that, if specified, will replace the default message of an assertion failure.
- overridingErrorMessage(String) - Method in class org.assertj.core.api.WritableAssertionInfo
-
Sets the message that will replace the default message of an assertion failure.
- overridingErrorMessage(String, Object...) - Method in class org.assertj.core.api.AbstractAssert
-
Overrides AssertJ default error message by the given one.
- overridingErrorMessage(String, Object...) - Method in class org.assertj.core.api.AbstractIterableAssert
- overridingErrorMessage(String, Object...) - Method in class org.assertj.core.api.AbstractListAssert
- overridingErrorMessage(String, Object...) - Method in class org.assertj.core.api.AbstractMapAssert
- overridingErrorMessage(Supplier<String>) - Method in class org.assertj.core.api.AbstractAssert
-
Overrides AssertJ default error message by the given one.
- overridingErrorMessage(Supplier<String>) - Method in class org.assertj.core.api.WritableAssertionInfo
-
Sets the lazy fail message that will replace the default message of an assertion failure by using a supplier.
P
- parse(String) - Method in class org.assertj.core.api.AbstractInstantAssert
- parse(String) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Obtains an instance of
TEMPORAL
from a string representation in ISO date format. - parse(String) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Obtains an instance of
TEMPORAL
from a string representation in ISO date format. - parse(String) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Obtains an instance of
TEMPORAL
from a string representation in ISO date format. - parse(String) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Obtains an instance of
TEMPORAL
from a string representation in ISO date format. - parse(String) - Method in class org.assertj.core.api.AbstractOffsetTimeAssert
-
Obtains an instance of
TEMPORAL
from a string representation in ISO date format. - parse(String) - Method in class org.assertj.core.api.AbstractTemporalAssert
-
Obtains an instance of
TEMPORAL
from a string representation in ISO date format. - parse(String) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Obtains an instance of
ZonedDateTime
from a string representation in ISO date format. - parse(String) - Static method in class org.assertj.core.util.DateUtil
-
Utility method to parse a Date following
DateUtil.ISO_DATE_FORMAT
, returns null if the given String is null. - parseDatetime(String) - Static method in class org.assertj.core.util.DateUtil
-
Utility method to parse a Date following
DateUtil.ISO_DATE_TIME_FORMAT
, returns null if the given String is null. - parseDatetimeWithMs(String) - Static method in class org.assertj.core.util.DateUtil
-
Utility method to parse a Date following
DateUtil.ISO_DATE_TIME_FORMAT_WITH_MS
, returns null if the given String is null. - parseUnifiedDiff(List<String>) - Static method in class org.assertj.core.util.diff.DiffUtils
-
Parse the given text in unified format and creates the list of deltas for it.
- patch(List<T>, Patch<T>) - Static method in class org.assertj.core.util.diff.DiffUtils
-
Patch the original text with given patch
- Patch<T> - Class in org.assertj.core.util.diff
-
Copy from https://code.google.com/p/java-diff-utils/.
- Patch() - Constructor for class org.assertj.core.util.diff.Patch
- PATH - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for aPath
. - PATH_HAS_PARENT - Static variable in class org.assertj.core.error.ShouldHaveNoParent
- PATH_NO_PARENT - Static variable in class org.assertj.core.error.ShouldHaveParent
- PATH_NOT_EXPECTED_PARENT - Static variable in class org.assertj.core.error.ShouldHaveParent
- PATH_SHOULD_BE_DIRECTORY - Static variable in class org.assertj.core.error.ShouldBeDirectory
- PATH_SHOULD_END_WITH - Static variable in class org.assertj.core.error.ShouldEndWithPath
- PATH_SHOULD_EXIST - Static variable in class org.assertj.core.error.ShouldExist
- PATH_SHOULD_EXIST_NO_FOLLOW_LINKS - Static variable in class org.assertj.core.error.ShouldExist
- PATH_SHOULD_NOT_EXIST - Static variable in class org.assertj.core.error.ShouldNotExist
- PATH_SHOULD_START_WITH - Static variable in class org.assertj.core.error.ShouldStartWithPath
- PathAssert - Class in org.assertj.core.api
-
Assertion class for
Path
s - PathAssert(Path) - Constructor for class org.assertj.core.api.PathAssert
-
Constructor
- PathNaturalOrderComparator - Class in org.assertj.core.util
- PathNode - Class in org.assertj.core.util.diff.myers
-
Copy from https://code.google.com/p/java-diff-utils/.
- PathNode(int, int, PathNode) - Constructor for class org.assertj.core.util.diff.myers.PathNode
-
Concatenates a new path node with an existing diffpath.
- paths - Variable in class org.assertj.core.api.AbstractPathAssert
- Paths - Class in org.assertj.core.util
-
Utility methods related to
Path
s. - PathsException - Exception in org.assertj.core.api.exception
- PathsException(String, Throwable) - Constructor for exception org.assertj.core.api.exception.PathsException
- Percentage - Class in org.assertj.core.data
-
A positive percentage value.
- PERIOD - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for aPeriod
. - PeriodAssert - Class in org.assertj.core.api
-
Assertion methods for
Period
- PeriodAssert(Period) - Constructor for class org.assertj.core.api.PeriodAssert
-
Creates a new
PeriodAssert
- postProcessTestInstance(Object, ExtensionContext) - Method in class org.assertj.core.api.junit.jupiter.SoftAssertionsExtension
- postProcessTestInstance(Object, ExtensionContext) - Method in class org.assertj.core.api.junit.jupiter.SoftlyExtension
-
Deprecated.
- Preconditions - Class in org.assertj.core.util
-
Verifies correct argument values and state.
- predicate(Class<T>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for aPredicate
. - PREDICATE - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- PredicateAssert<T> - Class in org.assertj.core.api
-
Assertions for
Predicate
. - PredicateAssert(Predicate<T>) - Constructor for class org.assertj.core.api.PredicateAssert
- PredicateDescription - Class in org.assertj.core.presentation
-
Encapsulate a
Predicate
description to be able to control how it is formatted in error messages using aRepresentation
. - PredicateDescription(String) - Constructor for class org.assertj.core.presentation.PredicateDescription
-
Build a
PredicateDescription
. - PREFERRED_ASSUMPTION_EXCEPTION - Static variable in class org.assertj.core.configuration.Configuration
- preferredAssumptionException() - Method in class org.assertj.core.configuration.Configuration
-
Returns which exception is thrown if an assumption is not met.
- PreferredAssumptionException - Enum in org.assertj.core.configuration
- PREFIX - Static variable in class org.assertj.core.presentation.HexadecimalRepresentation
- PREFIX_DELIMITER - Static variable in class org.assertj.core.condition.Join
- prepend(T, T...) - Static method in class org.assertj.core.util.Arrays
- prev - Variable in class org.assertj.core.util.diff.myers.PathNode
-
The previous node in the path.
- previousSnake() - Method in class org.assertj.core.util.diff.myers.PathNode
- PRINT_ASSERTIONS_DESCRIPTION_ENABLED - Static variable in class org.assertj.core.configuration.Configuration
- printAssertionsDescription() - Method in class org.assertj.core.configuration.Configuration
- Properties<T> - Class in org.assertj.core.groups
-
Extracts the values of a specified property from the elements of a given
or array.Iterable
- PropertyOrFieldSupport - Class in org.assertj.core.util.introspection
- PropertySupport - Class in org.assertj.core.util.introspection
-
Utility methods for properties access.
- propertyValue(String, Class<T>, Object) - Method in class org.assertj.core.util.introspection.PropertySupport
-
Return the value of a simple property from a target object.
- propertyValueOf(String, Class<T>, Object) - Method in class org.assertj.core.util.introspection.PropertySupport
-
Returns the value of the given property name given target.
- propertyValueOf(String, Object, Class<T>) - Static method in class org.assertj.core.util.introspection.PropertySupport
-
Static variant of
PropertySupport.propertyValueOf(String, Class, Object)
for syntactic sugar. - propertyValues(String, Class<T>, Iterable<?>) - Method in class org.assertj.core.util.introspection.PropertySupport
- propertyValues(String, Iterable<?>) - Method in class org.assertj.core.util.introspection.PropertySupport
- ProxifyMethodChangingTheObjectUnderTest - Class in org.assertj.core.api
- proxy(Class<SELF>, Class<ACTUAL>, ACTUAL) - Method in class org.assertj.core.api.AbstractSoftAssertions
- proxy(Class<SELF>, Class<ACTUAL>, ACTUAL) - Method in interface org.assertj.core.api.SoftAssertionsProvider
-
Creates a proxied assertion class of the given type.
- publicGetterExistsFor(String, Object) - Method in class org.assertj.core.util.introspection.PropertySupport
- put(String, String) - Method in class org.assertj.core.api.recursive.comparison.FieldMessages
-
Pairs the giving
entity
with thefieldLocation
.
Q
- quote(Object) - Static method in class org.assertj.core.util.Strings
-
Returns the given object surrounded by single quotes, only if the object is a
String
. - quote(String) - Static method in class org.assertj.core.util.Strings
-
Returns the given
String
surrounded by single quotes, ornull
if the givenString
isnull
.
R
- RecursiveComparisonAssert<SELF extends RecursiveComparisonAssert<SELF>> - Class in org.assertj.core.api
- RecursiveComparisonAssert(Object, RecursiveComparisonConfiguration) - Constructor for class org.assertj.core.api.RecursiveComparisonAssert
- RecursiveComparisonConfiguration - Class in org.assertj.core.api.recursive.comparison
- RecursiveComparisonConfiguration() - Constructor for class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- RecursiveComparisonConfiguration.Builder - Class in org.assertj.core.api.recursive.comparison
-
Builder to build
RecursiveComparisonConfiguration
. - RecursiveComparisonDifferenceCalculator - Class in org.assertj.core.api.recursive.comparison
-
Based on
DeepDifference
but takes aRecursiveComparisonConfiguration
,DeepDifference
being itself based on the deep equals implementation of https://github.com/jdereg/java-util - RecursiveComparisonDifferenceCalculator() - Constructor for class org.assertj.core.api.recursive.comparison.RecursiveComparisonDifferenceCalculator
- registerComparator(String, Comparator<?>) - Method in class org.assertj.core.api.recursive.comparison.FieldComparators
-
Puts the
comparator
for the givenfieldLocation
. - registerComparatorForFields(Comparator<?>, String...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Registers the given
Comparator
to compare the fields at the given locations. - registerComparatorForType(Comparator<? super T>, Class<T>) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Registers the given
Comparator
to compare the fields with the given type. - registerCustomDateFormat(String) - Static method in class org.assertj.core.api.AbstractDateAssert
-
Add the given date format to the ones used to parse date String in String based Date assertions like
AbstractDateAssert.isEqualTo(String)
. - registerCustomDateFormat(String) - Static method in class org.assertj.core.api.Assertions
-
Add the given date format to the ones used to parse date String in String based Date assertions like
AbstractDateAssert.isEqualTo(String)
. - registerCustomDateFormat(String) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Add the given date format to the ones used to parse date String in String based Date assertions like
AbstractDateAssert.isEqualTo(String)
. - registerCustomDateFormat(String) - Static method in class org.assertj.core.api.BDDAssertions
-
Add the given date format to the ones used to parse date String in String based Date assertions like
AbstractDateAssert.isEqualTo(String)
. - registerCustomDateFormat(String) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Add the given date format to the ones used to parse date String in String based Date assertions like
AbstractDateAssert.isEqualTo(String)
. - registerCustomDateFormat(String) - Method in interface org.assertj.core.api.WithAssertions
-
Add the given date format to the ones used to parse date String in String based Date assertions like
AbstractDateAssert.isEqualTo(String)
. - registerCustomDateFormat(DateFormat) - Static method in class org.assertj.core.api.AbstractDateAssert
-
Add the given date format to the ones used to parse date String in String based Date assertions like
AbstractDateAssert.isEqualTo(String)
. - registerCustomDateFormat(DateFormat) - Static method in class org.assertj.core.api.Assertions
-
Add the given date format to the ones used to parse date String in String based Date assertions like
AbstractDateAssert.isEqualTo(String)
. - registerCustomDateFormat(DateFormat) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Add the given date format to the ones used to parse date String in String based Date assertions like
AbstractDateAssert.isEqualTo(String)
. - registerCustomDateFormat(DateFormat) - Static method in class org.assertj.core.api.BDDAssertions
-
Add the given date format to the ones used to parse date String in String based Date assertions like
AbstractDateAssert.isEqualTo(String)
. - registerCustomDateFormat(DateFormat) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Add the given date format to the ones used to parse date String in String based Date assertions like
AbstractDateAssert.isEqualTo(String)
. - registerCustomDateFormat(DateFormat) - Method in interface org.assertj.core.api.WithAssertions
-
Add the given date format to the ones used to parse date String in String based Date assertions like
AbstractDateAssert.isEqualTo(String)
. - registerEqualsForFields(BiPredicate<?, ?>, String...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Registers the given
BiPredicate
to compare the fields at the given locations. - registerEqualsForType(BiPredicate<? super T, ? super T>, Class<T>) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Registers the given
BiPredicate
to compare the fields with the given type. - registerErrorMessageForFields(String, String...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Registers the giving message which would be shown when differences in the given fields while comparison occurred.
- registerErrorMessageForType(String, Class<?>) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Registers the giving message which would be shown when differences for the giving type while comparison occurred.
- registerFormatterForType(Class<T>, Function<T, String>) - Static method in class org.assertj.core.api.Assertions
-
Assertions error messages uses a
Representation
to format the different types involved, using this method you can control the formatting of a given type by providing a specific formatter. - registerFormatterForType(Class<T>, Function<T, String>) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions error messages uses a
Representation
to format the different types involved, using this method you can control the formatting of a given type by providing a specific formatter. - registerFormatterForType(Class<T>, Function<T, String>) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions error messages uses a
Representation
to format the different types involved, using this method you can control the formatting of a given type by providing a specific formatter. - registerFormatterForType(Class<T>, Function<T, String>) - Static method in class org.assertj.core.presentation.StandardRepresentation
-
Registers new formatter for the given type.
- registerMessage(String, String) - Method in class org.assertj.core.api.recursive.comparison.FieldMessages
-
Pairs the giving error
message
with thefieldLocation
. - rejects(double...) - Method in class org.assertj.core.api.DoublePredicateAssert
-
Verifies that
DoublePredicate
evaluates all the given values tofalse
. - rejects(int...) - Method in class org.assertj.core.api.IntPredicateAssert
-
Verifies that
IntPredicate
evaluates all the given values tofalse
. - rejects(long...) - Method in class org.assertj.core.api.LongPredicateAssert
-
Verifies that
LongPredicate
evaluates all the given values tofalse
. - rejects(T...) - Method in class org.assertj.core.api.AbstractPredicateAssert
-
Verifies that the
Predicate
evaluates all given values tofalse
. - rejectsAll(Iterable<? extends T>) - Method in class org.assertj.core.api.AbstractPredicateAssert
- rejectsAllInternal(Iterable<? extends Long>) - Method in class org.assertj.core.api.LongPredicateAssert
- rejectsForProxy(T[]) - Method in class org.assertj.core.api.AbstractPredicateAssert
- rejectsInternal(Long) - Method in class org.assertj.core.api.LongPredicateAssert
- REMOVE_ASSERTJ_RELATED_ELEMENTS_FROM_STACK_TRACE - Static variable in class org.assertj.core.configuration.Configuration
- removeAllRegisteredFormatters() - Static method in class org.assertj.core.presentation.StandardRepresentation
-
Clear all formatters registered per type with
StandardRepresentation.registerFormatterForType(Class, Function)
. - removeAssertJRelatedElementsFromStackTrace(Throwable) - Static method in class org.assertj.core.util.Throwables
-
Removes the AssertJ-related elements from the
stack trace that have little value for end user.Throwable
- removeAssertJRelatedElementsFromStackTraceEnabled() - Method in class org.assertj.core.configuration.Configuration
-
Returns whether AssertJ related elements are removed from assertion errors stack trace.
- representation() - Method in interface org.assertj.core.api.AssertionInfo
- representation() - Method in class org.assertj.core.api.WritableAssertionInfo
- representation() - Method in class org.assertj.core.configuration.Configuration
- representation() - Method in class org.assertj.core.configuration.ConfigurationProvider
-
Returns the
Representation
that AssertJ will use, which is taken first from: the representation returned by a customConfiguration
throughrepresentation()
but only if it is different from theStandardRepresentation
theRepresentation
with highest priority loaded from the classpath by theServiceLoader
If no custom representation was registered or overridden in a specificConfiguration
, theStandardRepresentation
is used. - Representation - Interface in org.assertj.core.presentation
-
Controls the formatting (String representation) of types in assertion error messages.
- resetDefaults() - Static method in class org.assertj.core.presentation.StandardRepresentation
-
It resets the static defaults for the standard representation.
- resolveParameter(ParameterContext, ExtensionContext) - Method in class org.assertj.core.api.junit.jupiter.SoftAssertionsExtension
- resultOf(String) - Static method in class org.assertj.core.extractor.Extractors
-
Provides extractor for extracting values by method name from any object using reflection
- returns(T, Function<ACTUAL, T>) - Method in class org.assertj.core.api.AbstractObjectAssert
-
Verifies that the object under test returns the given expected value from the given
Function
, a typical usage is to pass a method reference to assert object's property. - returnToBigDecimal() - Method in class org.assertj.core.api.AbstractBigDecimalScaleAssert
-
Returns to the BigDecimal on which we ran scale assertions on.
- returnToBigDecimal() - Method in class org.assertj.core.api.BigDecimalScaleAssert
- returnToFile() - Method in class org.assertj.core.api.AbstractFileSizeAssert
-
Returns to the file on which we ran size assertions on.
- returnToFile() - Method in class org.assertj.core.api.FileSizeAssert
- returnToIterable() - Method in class org.assertj.core.api.AbstractIterableSizeAssert
- returnToIterable() - Method in class org.assertj.core.api.IterableSizeAssert
- returnToMap() - Method in class org.assertj.core.api.AbstractMapSizeAssert
- returnToMap() - Method in class org.assertj.core.api.MapSizeAssert
- rootCause() - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Returns a new assertion object that uses the root cause of the current Throwable as the actual Throwable under test.
- rootComparisonDifference(Object, Object, String) - Static method in class org.assertj.core.api.recursive.comparison.ComparisonDifference
- run() - Method in interface org.assertj.core.api.SoftAssertionsProvider.ThrowingRunnable
S
- safeStringOf(Object, String, String, String, String, Object) - Method in class org.assertj.core.presentation.StandardRepresentation
- satisfies(Consumer<? super ACTUAL>...) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual object satisfied the given requirements expressed as
Consumer
s. - satisfies(Consumer<? super ELEMENT>, Index) - Method in class org.assertj.core.api.AbstractListAssert
-
Verifies that the actual
List
contains a value at givenIndex
that satisfies the givenrequirements
. - satisfies(Condition<? super ACTUAL>) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value satisfies the given condition.
- satisfies(Condition<? super ACTUAL>) - Method in interface org.assertj.core.api.ExtensionPoints
-
Verifies that the actual value satisfies the given condition.
- satisfies(ThrowingConsumer<? super ACTUAL>...) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual object satisfied the given requirements expressed as
ThrowingConsumer
s. - satisfiesAnyOf(Consumer<? super ACTUAL>...) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual object under test satisfies at least one of the given assertions group expressed as
Consumer
s. - satisfiesAnyOf(ThrowingConsumer<? super ACTUAL>...) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual object under test satisfies at least one of the given assertions group expressed as
ThrowingConsumer
s. - satisfiesAnyOfForProxy(Consumer<? super ACTUAL>[]) - Method in class org.assertj.core.api.AbstractAssert
- satisfiesExactly(Consumer<? super ELEMENT>...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that each element satisfies the requirements corresponding to its index, so the first element must satisfy the first requirements, the second element the second requirements etc...
- satisfiesExactly(Consumer<? super ELEMENT>...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that each element satisfies the requirements corresponding to its index, so the first element must satisfy the first requirements, the second element the second requirements etc...
- satisfiesExactly(Consumer<? super ELEMENT>...) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that each element satisfies the requirements corresponding to its index, so the first element must satisfy the first requirements, the second element the second requirements etc...
- satisfiesExactly(Consumer<? super T>...) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that each element satisfies the requirements corresponding to its index, so the first element must satisfy the first requirements, the second element the second requirements etc...
- satisfiesExactly(ThrowingConsumer<? super ELEMENT>...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that each element satisfies the requirements corresponding to its index, so the first element must satisfy the first requirements, the second element the second requirements etc...
- satisfiesExactly(ThrowingConsumer<? super ELEMENT>...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that each element satisfies the requirements corresponding to its index, so the first element must satisfy the first requirements, the second element the second requirements etc...
- satisfiesExactly(ThrowingConsumer<? super ELEMENT>...) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that each element satisfies the requirements corresponding to its index, so the first element must satisfy the first requirements, the second element the second requirements etc...
- satisfiesExactly(ThrowingConsumer<? super T>...) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that each element satisfies the requirements corresponding to its index, so the first element must satisfy the first requirements, the second element the second requirements etc...
- satisfiesExactlyForProxy(Consumer<? super ELEMENT>[]) - Method in class org.assertj.core.api.AbstractIterableAssert
- satisfiesExactlyForProxy(Consumer<? super ELEMENT>[]) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
- satisfiesExactlyForProxy(Consumer<? super T>[]) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
- satisfiesExactlyInAnyOrder(Consumer<? super ELEMENT>...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that at least one combination of iterable elements exists that satisfies the consumers in order (there must be as many consumers as iterable elements and once a consumer is matched it cannot be reused to match other elements).
- satisfiesExactlyInAnyOrder(Consumer<? super ELEMENT>...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that at least one combination of iterable elements exists that satisfies the consumers in order (there must be as many consumers as iterable elements and once a consumer is matched it cannot be reused to match other elements).
- satisfiesExactlyInAnyOrder(Consumer<? super ELEMENT>...) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that at least one combination of iterable elements exists that satisfies the consumers in order (there must be as many consumers as iterable elements and once a consumer is matched it cannot be reused to match other elements).
- satisfiesExactlyInAnyOrder(Consumer<? super T>...) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that at least one combination of iterable elements exists that satisfies the consumers in order (there must be as many consumers as iterable elements and once a consumer is matched it cannot be reused to match other elements).
- satisfiesExactlyInAnyOrder(ThrowingConsumer<? super ELEMENT>...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that at least one combination of iterable elements exists that satisfies the
ThrowingConsumer
s in order (there must be as many consumers as iterable elements and once a consumer is matched it cannot be reused to match other elements). - satisfiesExactlyInAnyOrder(ThrowingConsumer<? super ELEMENT>...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that at least one combination of iterable elements exists that satisfies the
ThrowingConsumer
s in order (there must be as many consumers as iterable elements and once a consumer is matched it cannot be reused to match other elements). - satisfiesExactlyInAnyOrder(ThrowingConsumer<? super ELEMENT>...) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that at least one combination of iterable elements exists that satisfies the
ThrowingConsumer
s in order (there must be as many consumers as iterable elements and once a consumer is matched it cannot be reused to match other elements). - satisfiesExactlyInAnyOrder(ThrowingConsumer<? super T>...) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that at least one combination of iterable elements exists that satisfies the
ThrowingConsumer
s in order (there must be as many consumers as iterable elements and once a consumer is matched it cannot be reused to match other elements). - satisfiesExactlyInAnyOrderForProxy(Consumer<? super ELEMENT>[]) - Method in class org.assertj.core.api.AbstractIterableAssert
- satisfiesExactlyInAnyOrderForProxy(Consumer<? super ELEMENT>[]) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
- satisfiesExactlyInAnyOrderForProxy(Consumer<? super T>[]) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
- satisfiesForProxy(Consumer<? super ACTUAL>[]) - Method in class org.assertj.core.api.AbstractAssert
- scale() - Method in class org.assertj.core.api.AbstractBigDecimalAssert
-
Returns an
Assert
object that allows performing assertions on the scale of theBigDecimal
under test. - secondOf(Date) - Static method in class org.assertj.core.util.DateUtil
-
Extracts the second of the given Date.
- set(T...) - Static method in class org.assertj.core.util.Sets
-
Creates a mutable
HashSet
containing the given elements. - setAdditionalDateFormats(List<DateFormat>) - Method in class org.assertj.core.configuration.Configuration
-
Returns the additional date formats AssertJ will use in date assertions.
- setAfterAssertionErrorCollected(AfterAssertionErrorCollected) - Method in class org.assertj.core.api.DefaultAssertionErrorCollector
-
Register a callback allowing to react after an
AssertionError
is collected by the current soft assertion. - setAllowComparingPrivateFields(boolean) - Static method in class org.assertj.core.api.Assertions
-
Globally sets whether the use of private fields is allowed for comparison.
- setAllowComparingPrivateFields(boolean) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Globally sets whether the use of private fields is allowed for comparison.
- setAllowComparingPrivateFields(boolean) - Static method in class org.assertj.core.api.BDDAssertions
-
Globally sets whether the use of private fields is allowed for comparison.
- setAllowComparingPrivateFields(boolean) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Globally sets whether the use of private fields is allowed for comparison.
- setAllowComparingPrivateFields(boolean) - Method in interface org.assertj.core.api.WithAssertions
-
Globally sets whether the use of private fields is allowed for comparison.
- setAllowExtractingPrivateFields(boolean) - Static method in class org.assertj.core.api.Assertions
-
Globally sets whether
andIterableAssert#extracting(String)
should be allowed to extract private fields, if not and they try it fails with exception.ObjectArrayAssert#extracting(String)
- setAllowExtractingPrivateFields(boolean) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Globally sets whether
andIterableAssert#extracting(String)
should be allowed to extract private fields, if not and they try it fails with exception.ObjectArrayAssert#extracting(String)
- setAllowExtractingPrivateFields(boolean) - Static method in class org.assertj.core.api.BDDAssertions
-
Globally sets whether
andIterableAssert#extracting(String)
should be allowed to extract private fields, if not and they try it fails with exception.ObjectArrayAssert#extracting(String)
- setAllowExtractingPrivateFields(boolean) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Globally sets whether
andIterableAssert#extracting(String)
should be allowed to extract private fields, if not and they try it fails with exception.ObjectArrayAssert#extracting(String)
- setAllowExtractingPrivateFields(boolean) - Method in interface org.assertj.core.api.WithAssertions
-
Globally sets whether
andIterableAssert#extracting(String)
should be allowed to extract private fields, if not and they try it fails with exception.ObjectArrayAssert#extracting(String)
- setAllowUsingPrivateFields(boolean) - Method in enum org.assertj.core.util.introspection.FieldSupport
-
Sets whether the use of private fields is allowed.
- setAllowUsingPrivateFields(boolean) - Method in class org.assertj.core.util.introspection.PropertyOrFieldSupport
- setBareNamePropertyExtraction(boolean) - Method in class org.assertj.core.configuration.Configuration
-
Sets whether the extractor considers bare-named property methods like
String name()
. - setComparingPrivateFields(boolean) - Method in class org.assertj.core.configuration.Configuration
-
Sets whether private fields comparison is enabled.
- setCustomRepresentation(Representation) - Static method in class org.assertj.core.api.AbstractAssert
- setDelegate(AssertionErrorCollector) - Method in interface org.assertj.core.api.AssertionErrorCollector
-
Optionally sets a "delegate" collector into which the collected assertions will be deposited.
- setDelegate(AssertionErrorCollector) - Method in class org.assertj.core.api.DefaultAssertionErrorCollector
- setDescriptionConsumer(Consumer<Description>) - Static method in class org.assertj.core.api.AbstractAssert
- setDescriptionConsumer(Consumer<Description>) - Static method in class org.assertj.core.api.Assertions
-
All assertions description will be consumed by the given
Consumer<Description>
allowing for example to record them in a file. - setDescriptionConsumer(Consumer<Description>) - Static method in class org.assertj.core.api.BDDAssertions
-
All assertions description will be consumed by the given
Consumer<Description>
allowing for example to record them in a file. - setDescriptionConsumer(Consumer<Description>) - Static method in interface org.assertj.core.api.WithAssertions
-
All assertions description will be consumed by the given
Consumer<Description>
allowing for example to record them in a file. - setDescriptionConsumer(Consumer<Description>) - Method in class org.assertj.core.configuration.Configuration
- setExtractBareNamePropertyMethods(boolean) - Static method in class org.assertj.core.api.Assertions
-
Globally sets whether the extractor considers bare-named property methods like
String name()
. - setExtractBareNamePropertyMethods(boolean) - Static method in class org.assertj.core.api.BDDAssertions
-
Globally sets whether the extractor considers bare-named property methods like
String name()
. - setExtractBareNamePropertyMethods(boolean) - Method in interface org.assertj.core.api.WithAssertions
-
Globally sets whether the extractor considers bare-named property methods like
String name()
. - setExtractBareNamePropertyMethods(boolean) - Static method in class org.assertj.core.util.introspection.Introspection
- setExtractingPrivateFields(boolean) - Method in class org.assertj.core.configuration.Configuration
-
Sets whether private fields comparison is enabled.
- setIgnoreAllActualEmptyOptionalFields(boolean) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Sets whether actual empty optional fields are ignored in the recursive comparison.
- setIgnoreAllActualNullFields(boolean) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Sets whether actual null fields are ignored in the recursive comparison.
- setIgnoreAllExpectedNullFields(boolean) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Sets whether expected null fields are ignored in the recursive comparison.
- setLenientDateParsing(boolean) - Static method in class org.assertj.core.api.AbstractDateAssert
-
Instead of using default strict date/time parsing, it is possible to use lenient parsing mode for default date formats parser to interpret inputs that do not precisely match supported date formats (lenient parsing).
- setLenientDateParsing(boolean) - Static method in class org.assertj.core.api.Assertions
-
Instead of using default strict date/time parsing, it is possible to use lenient parsing mode for default date formats parser to interpret inputs that do not precisely match supported date formats (lenient parsing).
- setLenientDateParsing(boolean) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Instead of using default strict date/time parsing, it is possible to use lenient parsing mode for default date formats parser to interpret inputs that do not precisely match supported date formats (lenient parsing).
- setLenientDateParsing(boolean) - Static method in class org.assertj.core.api.BDDAssertions
-
Instead of using default strict date/time parsing, it is possible to use lenient parsing mode for default date formats parser to interpret inputs that do not precisely match supported date formats (lenient parsing).
- setLenientDateParsing(boolean) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Instead of using default strict date/time parsing, it is possible to use lenient parsing mode for default date formats parser to interpret inputs that do not precisely match supported date formats (lenient parsing).
- setLenientDateParsing(boolean) - Method in interface org.assertj.core.api.WithAssertions
-
Instead of using default strict date/time parsing, it is possible to use lenient parsing mode for default date formats parser to interpret inputs that do not precisely match supported date formats (lenient parsing).
- setLenientDateParsing(boolean) - Method in class org.assertj.core.configuration.Configuration
-
Returns whether AssertJ will use lenient parsing mode for default date formats.
- setMaxElementsForPrinting(int) - Static method in class org.assertj.core.api.Assertions
-
Sets the maximum number of elements to display in error messages for iterables, arrays and map .
- setMaxElementsForPrinting(int) - Static method in class org.assertj.core.api.BDDAssertions
-
Sets the maximum number of elements to display in error messages for iterables, arrays and map .
- setMaxElementsForPrinting(int) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.In error messages, sets the threshold for how many elements from one iterable/array/map will be included in the in the description.
- setMaxElementsForPrinting(int) - Method in interface org.assertj.core.api.WithAssertions
-
Sets the maximum number of elements to display in error messages for iterables, arrays and map .
- setMaxElementsForPrinting(int) - Method in class org.assertj.core.configuration.Configuration
-
Sets the threshold for how many elements at most from one iterable/array/map will be displaye in error messages.
- setMaxElementsForPrinting(int) - Static method in class org.assertj.core.presentation.StandardRepresentation
- setMaxLengthForSingleLineDescription(int) - Static method in class org.assertj.core.api.Assertions
-
In error messages, sets the threshold when iterable/array formatting will be on one line (if their String description length <= this parameter) or it will be formatted with one element per line.
- setMaxLengthForSingleLineDescription(int) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
In error messages, sets the threshold when iterable/array formatting will on one line (if their String description is less than this parameter) or it will be formatted with one element per line.
- setMaxLengthForSingleLineDescription(int) - Static method in class org.assertj.core.api.BDDAssertions
-
In error messages, sets the threshold when iterable/array formatting will be on one line (if their String description length <= this parameter) or it will be formatted with one element per line.
- setMaxLengthForSingleLineDescription(int) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.In error messages, sets the threshold when iterable/array formatting will on one line (if their String description is less than this parameter) or it will be formatted with one element per line.
- setMaxLengthForSingleLineDescription(int) - Method in interface org.assertj.core.api.WithAssertions
-
In error messages, sets the threshold when iterable/array formatting will on one line (if their String description is less than this parameter) or it will be formatted with one element per line.
- setMaxLengthForSingleLineDescription(int) - Method in class org.assertj.core.configuration.Configuration
-
Sets the maximum length for an iterable/array to be displayed on one line.
- setMaxLengthForSingleLineDescription(int) - Static method in class org.assertj.core.presentation.StandardRepresentation
- setMaxStackTraceElementsDisplayed(int) - Static method in class org.assertj.core.api.Assertions
-
Sets how many stacktrace elements are included in
Throwable
representation (by default this set to 3). - setMaxStackTraceElementsDisplayed(int) - Static method in class org.assertj.core.api.BDDAssertions
-
Sets how many stacktrace elements are included in
Throwable
representation (by default this set to 3). - setMaxStackTraceElementsDisplayed(int) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Sets how many stacktrace elements are included in
Throwable
representation (by default this set to 3). - setMaxStackTraceElementsDisplayed(int) - Method in interface org.assertj.core.api.WithAssertions
-
Sets how many stacktrace elements are included in
Throwable
representation (by default this set to 3). - setMaxStackTraceElementsDisplayed(int) - Method in class org.assertj.core.configuration.Configuration
-
Returns the maximum number of lines for a stacktrace to be displayed on one throw.
- setMaxStackTraceElementsDisplayed(int) - Static method in class org.assertj.core.presentation.StandardRepresentation
- setPreferredAssumptionException(PreferredAssumptionException) - Static method in class org.assertj.core.api.Assumptions
-
Sets which exception is thrown if an assumption is not met.
- setPreferredAssumptionException(PreferredAssumptionException) - Static method in class org.assertj.core.api.BDDAssumptions
-
Sets which exception is thrown if an assumption is not met.
- setPreferredAssumptionException(PreferredAssumptionException) - Method in interface org.assertj.core.api.WithAssumptions
-
Sets which exception is thrown if an assumption is not met.
- setPreferredAssumptionException(PreferredAssumptionException) - Method in class org.assertj.core.configuration.Configuration
-
Sets which exception is thrown if an assumption is not met.
- setPrintAssertionsDescription(boolean) - Static method in class org.assertj.core.api.AbstractAssert
- setPrintAssertionsDescription(boolean) - Static method in class org.assertj.core.api.Assertions
-
Enable/disable printing assertions description to the console (disabled by default).
- setPrintAssertionsDescription(boolean) - Static method in class org.assertj.core.api.BDDAssertions
-
Enable/disable printing assertions description to the console (disabled by default).
- setPrintAssertionsDescription(boolean) - Static method in interface org.assertj.core.api.WithAssertions
-
Enable/disable printing assertions description to the console (disabled by default).
- setPrintAssertionsDescriptionEnabled(boolean) - Method in class org.assertj.core.configuration.Configuration
- setRemoveAssertJRelatedElementsFromStackTrace(boolean) - Static method in class org.assertj.core.api.Assertions
-
Sets whether we remove elements related to AssertJ from assertion error stack trace.
- setRemoveAssertJRelatedElementsFromStackTrace(boolean) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Only delegate to
Fail.setRemoveAssertJRelatedElementsFromStackTrace(boolean)
so that Assertions offers a full feature entry point to all AssertJ Assert features (but you can useFail
if you prefer). - setRemoveAssertJRelatedElementsFromStackTrace(boolean) - Static method in class org.assertj.core.api.BDDAssertions
-
Sets whether we remove elements related to AssertJ from assertion error stack trace.
- 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 interface org.assertj.core.api.WithAssertions
-
Sets whether we remove elements related to AssertJ from assertion error stack trace.
- setRemoveAssertJRelatedElementsFromStackTrace(boolean) - Method in class org.assertj.core.configuration.Configuration
-
Returns whether AssertJ related elements are removed from assertion errors stack trace.
- Sets - Class in org.assertj.core.util
-
Utility methods related to
Set
s. - setValue(V) - Method in class org.assertj.core.data.MapEntry
-
Always throws
UnsupportedOperationException
as this class represents an immutable map entry. - SHORT - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- SHORT_2D_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for ashort
two-dimensional array. - SHORT_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for ashort
array. - Short2DArrayAssert - Class in org.assertj.core.api
-
Assertion methods for arrays of
short
s. - Short2DArrayAssert(short[][]) - Constructor for class org.assertj.core.api.Short2DArrayAssert
- short2dArrays - Variable in class org.assertj.core.api.Short2DArrayAssert
- ShortArrayAssert - Class in org.assertj.core.api
-
Assertion methods for arrays of
short
s. - ShortArrayAssert(short[]) - Constructor for class org.assertj.core.api.ShortArrayAssert
- ShortAssert - Class in org.assertj.core.api
-
Assertion methods for
Short
s. - ShortAssert(Short) - Constructor for class org.assertj.core.api.ShortAssert
- shortDescription() - Method in class org.assertj.core.api.recursive.comparison.FieldLocation
- 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_EMPTY_DIRECTORY - Static variable in class org.assertj.core.error.ShouldBeEmptyDirectory
- SHOULD_BE_EXHAUSTED - Static variable in class org.assertj.core.error.ShouldBeExhausted
- 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
- shouldAccept(Predicate<? super T>, T, PredicateDescription) - Static method in class org.assertj.core.error.ShouldAccept
-
Creates a new
.ShouldAccept
- ShouldAccept - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that
accepts a value failed.Predicate
- shouldBe(T, Condition<? super T>) - Static method in class org.assertj.core.error.ShouldBe
-
Creates a new
.ShouldBe
- ShouldBe - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a value satisfies a
failed.Condition
- shouldBeAbsolutePath(File) - Static method in class org.assertj.core.error.ShouldBeAbsolutePath
-
Creates a new
.ShouldBeAbsolutePath
- shouldBeAbsolutePath(Path) - Static method in class org.assertj.core.error.ShouldBeAbsolutePath
- ShouldBeAbsolutePath - Class in org.assertj.core.error
- shouldBeAbstract(Class<?>) - Static method in class org.assertj.core.error.ShouldBeAbstract
- ShouldBeAbstract - Class in org.assertj.core.error
- shouldBeAfter(Object, Object) - Static method in class org.assertj.core.error.ShouldBeAfter
-
Creates a new
.ShouldBeAfter
- shouldBeAfter(Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeAfter
-
Creates a new
.ShouldBeAfter
- shouldBeAfter(Date, int) - Static method in class org.assertj.core.error.ShouldBeAfter
-
Creates a new
.ShouldBeAfter
- 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. - shouldBeAfterOrEqualTo(Object, Object) - Static method in class org.assertj.core.error.ShouldBeAfterOrEqualTo
-
Creates a new
.ShouldBeAfterOrEqualTo
- shouldBeAfterOrEqualTo(Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeAfterOrEqualTo
-
Creates a new
.ShouldBeAfterOrEqualTo
- ShouldBeAfterOrEqualTo - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that an
Object
is after or equal to another one failed. - shouldBeAfterYear(Date, int) - Static method in class org.assertj.core.error.ShouldBeAfterYear
-
Creates a new
.ShouldBeAfterYear
- shouldBeAfterYear(Date, int, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeAfterYear
-
Creates a new
.ShouldBeAfterYear
- 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. - shouldBeAnArray(Object) - Static method in class org.assertj.core.error.ShouldBeAnArray
-
Creates a new instance of
.ShouldBeAnArray
- ShouldBeAnArray - Class in org.assertj.core.error
-
Creates an error message indicating that a group of elements should have been an array.
- shouldBeAnnotation(Class<?>) - Static method in class org.assertj.core.error.ShouldBeAnnotation
-
Creates a new
.ShouldBeAnnotation
- 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.
- shouldBeAssignableFrom(Class<?>, Set<Class<?>>, Set<Class<?>>) - Static method in class org.assertj.core.error.ShouldBeAssignableFrom
-
Creates a new
.ShouldBeAssignableFrom
- ShouldBeAssignableFrom - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a class is assignable from.
- shouldBeAtIndex(List<? extends T>, Condition<? super T>, Index, T) - Static method in class org.assertj.core.error.ShouldBeAtIndex
-
Creates a new
.ShouldBeAtIndex
- 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
failed.Condition
- shouldBeAtSameInstant(OffsetDateTime, OffsetDateTime) - Static method in class org.assertj.core.error.ShouldBeAtSameInstant
-
Creates a new
.ShouldBeAtSameInstant
- ShouldBeAtSameInstant - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that two
OffsetDateTimes
have the sameInstant
, failed. - shouldBeBase64(String) - Static method in class org.assertj.core.error.ShouldBeBase64
-
Creates a new
.ShouldBeBase64
- ShouldBeBase64 - Class in org.assertj.core.error
-
Creates an error message that indicates an assertion that verifies that a string is a valid Base64 encoded string failed.
- shouldBeBefore(Object, Object) - Static method in class org.assertj.core.error.ShouldBeBefore
-
Creates a new
.ShouldBeBefore
- shouldBeBefore(Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeBefore
-
Creates a new
.ShouldBeBefore
- ShouldBeBefore - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Object
is before another one failed. - shouldBeBeforeOrEqualTo(Object, Object) - Static method in class org.assertj.core.error.ShouldBeBeforeOrEqualTo
-
Creates a new
.ShouldBeBeforeOrEqualTo
- shouldBeBeforeOrEqualTo(Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeBeforeOrEqualTo
-
Creates a new
.ShouldBeBeforeOrEqualTo
- ShouldBeBeforeOrEqualTo - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that an
Object
is before or equal to another one failed. - shouldBeBeforeYear(Date, int) - Static method in class org.assertj.core.error.ShouldBeBeforeYear
-
Creates a new
.ShouldBeBeforeYear
- shouldBeBeforeYear(Date, int, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeBeforeYear
-
Creates a new
.ShouldBeBeforeYear
- 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. - shouldBeBetween(Comparable<? super T>, Comparable<? super T>, Comparable<? super T>, boolean, boolean) - Static method in class org.assertj.core.error.ShouldBeBetween
-
Creates a new
.ShouldBeBetween
- shouldBeBetween(Comparable<? super T>, Comparable<? super T>, Comparable<? super T>, boolean, boolean, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeBetween
-
Deprecated.
- shouldBeBetween(Object, Object, Object, boolean, boolean, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeBetween
-
Creates a new
.ShouldBeBetween
- shouldBeBetween(Date, Date, Date, boolean, boolean) - Static method in class org.assertj.core.error.ShouldBeBetween
-
Creates a new
.ShouldBeBetween
- shouldBeBetween(Date, Date, Date, boolean, boolean, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeBetween
-
Creates a new
.ShouldBeBetween
- ShouldBeBetween - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a value is between a start and an end (inclusive or not) failed.
- shouldBeBlank(CharSequence) - Static method in class org.assertj.core.error.ShouldBeBlank
-
Creates a new
.ShouldBeBlank
- ShouldBeBlank - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a
CharSequence
is blank. - shouldBeCancelled(Future<?>) - Static method in class org.assertj.core.error.future.ShouldBeCancelled
- ShouldBeCancelled - Class in org.assertj.core.error.future
- shouldBeCanonicalPath(Path) - Static method in class org.assertj.core.error.ShouldBeCanonicalPath
- ShouldBeCanonicalPath - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Path
is canonical has failed. - shouldBeCloseTo(TemporalAmount, TemporalAmount, TemporalAmount, TemporalAmount) - Static method in class org.assertj.core.error.ShouldBeCloseTo
- shouldBeCloseTo(Temporal, Temporal, String) - Static method in class org.assertj.core.error.ShouldBeCloseTo
-
Creates a new
.ShouldBeCloseTo
- shouldBeCloseTo(Date, Date, long, long) - Static method in class org.assertj.core.error.ShouldBeCloseTo
-
Creates a new
.ShouldBeCloseTo
- 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. - shouldBeCompleted(CompletableFuture<?>) - Static method in class org.assertj.core.error.future.ShouldBeCompleted
- ShouldBeCompleted - Class in org.assertj.core.error.future
- ShouldBeCompletedExceptionally - Class in org.assertj.core.error.future
- shouldBeCompletedWithin(Future<?>, long, TimeUnit, Exception) - Static method in class org.assertj.core.error.future.ShouldBeCompletedWithin
- shouldBeCompletedWithin(Future<?>, Duration, Exception) - Static method in class org.assertj.core.error.future.ShouldBeCompletedWithin
- ShouldBeCompletedWithin - Class in org.assertj.core.error.future
- shouldBeDirectory(File) - Static method in class org.assertj.core.error.ShouldBeDirectory
- shouldBeDirectory(Path) - Static method in class org.assertj.core.error.ShouldBeDirectory
- ShouldBeDirectory - Class in org.assertj.core.error
- shouldBeDone(Future<?>) - Static method in class org.assertj.core.error.future.ShouldBeDone
- ShouldBeDone - Class in org.assertj.core.error.future
- shouldBeEmpty(File) - Static method in class org.assertj.core.error.ShouldBeEmpty
-
Creates a new
.ShouldBeEmpty
- shouldBeEmpty(Object) - Static method in class org.assertj.core.error.ShouldBeEmpty
-
Creates a new
.ShouldBeEmpty
- shouldBeEmpty(Path) - Static method in class org.assertj.core.error.ShouldBeEmpty
-
Creates a new
.ShouldBeEmpty
- shouldBeEmpty(Optional<VALUE>) - Static method in class org.assertj.core.error.OptionalShouldBeEmpty
-
Indicates that the provided
Optional
should be empty. - shouldBeEmpty(OptionalDouble) - Static method in class org.assertj.core.error.OptionalShouldBeEmpty
-
Indicates that the provided
OptionalDouble
should be empty. - shouldBeEmpty(OptionalInt) - Static method in class org.assertj.core.error.OptionalShouldBeEmpty
-
Indicates that the provided
OptionalInt
should be empty. - shouldBeEmpty(OptionalLong) - Static method in class org.assertj.core.error.OptionalShouldBeEmpty
-
Indicates that the provided
OptionalLong
should be empty. - ShouldBeEmpty - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a group of elements is empty failed.
- shouldBeEmptyDirectory(File, List<File>) - Static method in class org.assertj.core.error.ShouldBeEmptyDirectory
- shouldBeEmptyDirectory(Path, List<Path>) - Static method in class org.assertj.core.error.ShouldBeEmptyDirectory
- ShouldBeEmptyDirectory - Class in org.assertj.core.error
- shouldBeEqual(CharSequence, CharSequence) - Static method in class org.assertj.core.error.ShouldBeEqualIgnoringCase
-
Creates a new
.ShouldBeEqualIgnoringCase
- shouldBeEqual(Object, Object, ComparisonStrategy, Representation) - Static method in class org.assertj.core.error.ShouldBeEqual
-
Creates a new
.ShouldBeEqual
- shouldBeEqual(Object, Object, Representation) - Static method in class org.assertj.core.error.ShouldBeEqual
-
Creates a new
.ShouldBeEqual
- shouldBeEqual(Date, Date, TimeUnit) - Static method in class org.assertj.core.error.ShouldBeEqualWithTimePrecision
-
Creates a new
.ShouldBeEqualWithTimePrecision
- shouldBeEqual(T, T, Offset<T>, T) - Static method in class org.assertj.core.error.ShouldBeEqualWithinOffset
-
Creates a new
.ShouldBeEqualWithinOffset
- ShouldBeEqual - Class in org.assertj.core.error
-
Creates an
indicating that an assertion that verifies that two objects are equal failed.AssertionError
- ShouldBeEqual(Object, Object, ComparisonStrategy, Representation) - Constructor for class org.assertj.core.error.ShouldBeEqual
- shouldBeEqualByComparingFieldByFieldRecursive(Object, Object, List<DeepDifference.Difference>, Representation) - Static method in class org.assertj.core.error.ShouldBeEqualByComparingFieldByFieldRecursively
- shouldBeEqualByComparingFieldByFieldRecursively(Object, Object, List<ComparisonDifference>, RecursiveComparisonConfiguration, Representation) - Static method in class org.assertj.core.error.ShouldBeEqualByComparingFieldByFieldRecursively
- ShouldBeEqualByComparingFieldByFieldRecursively - Class in org.assertj.core.error
- ShouldBeEqualByComparingOnlyGivenFields - Class in org.assertj.core.error
-
Creates an
indicating that an assertion that verifies that two objects are lenient equal by accepting fields failed.AssertionError
- shouldBeEqualComparingOnlyGivenFields(Object, List<String>, List<Object>, List<Object>, List<String>) - Static method in class org.assertj.core.error.ShouldBeEqualByComparingOnlyGivenFields
-
Creates a new
.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. - shouldBeEqualIgnoringHours(Object, Object) - Static method in class org.assertj.core.error.ShouldBeEqualIgnoringHours
-
Creates a new
.ShouldBeEqualIgnoringHours
- ShouldBeEqualIgnoringHours - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that two
ZonedDateTime
have same year, month, and day fields failed. - shouldBeEqualIgnoringMinutes(Object, Object) - Static method in class org.assertj.core.error.ShouldBeEqualIgnoringMinutes
-
Creates a new
.ShouldBeEqualIgnoringMinutes
- shouldBeEqualIgnoringMinutes(LocalTime, LocalTime) - Static method in class org.assertj.core.error.ShouldBeEqualIgnoringMinutes
-
Creates a new
.ShouldBeEqualIgnoringSeconds
- shouldBeEqualIgnoringMinutes(OffsetTime, OffsetTime) - Static method in class org.assertj.core.error.ShouldBeEqualIgnoringMinutes
-
Creates a new
.ShouldBeEqualIgnoringSeconds
- ShouldBeEqualIgnoringMinutes - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that two
ZonedDateTime
have same year, month, day and hour fields failed. - shouldBeEqualIgnoringNanos(Object, Object) - Static method in class org.assertj.core.error.ShouldBeEqualIgnoringNanos
-
Creates a new
.ShouldBeEqualIgnoringNanos
- shouldBeEqualIgnoringNanos(LocalTime, LocalTime) - Static method in class org.assertj.core.error.ShouldBeEqualIgnoringNanos
-
Creates a new
.ShouldBeEqualIgnoringNanos
- shouldBeEqualIgnoringNanos(OffsetTime, OffsetTime) - Static method in class org.assertj.core.error.ShouldBeEqualIgnoringNanos
-
Creates a new
.ShouldBeEqualIgnoringNanos
- ShouldBeEqualIgnoringNanos - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that : two
ZonedDateTime
,LocalDateTime
have same year, month, day, hour, minute and second failed. twoLocalTime
have same hour, minute and second failed. twoOffsetTime
have same hour, minute and second failed. - shouldBeEqualIgnoringNewLineDifferences(CharSequence, CharSequence) - Static method in class org.assertj.core.error.ShouldBeEqualIgnoringNewLineDifferences
- ShouldBeEqualIgnoringNewLineDifferences - Class in org.assertj.core.error
- shouldBeEqualIgnoringNewLines(CharSequence, CharSequence) - Static method in class org.assertj.core.error.ShouldBeEqualIgnoringNewLines
- ShouldBeEqualIgnoringNewLines - Class in org.assertj.core.error
- shouldBeEqualIgnoringSeconds(Object, Object) - Static method in class org.assertj.core.error.ShouldBeEqualIgnoringSeconds
-
Creates a new
.ShouldBeEqualIgnoringSeconds
- shouldBeEqualIgnoringSeconds(LocalTime, LocalTime) - Static method in class org.assertj.core.error.ShouldBeEqualIgnoringSeconds
-
Creates a new
.ShouldBeEqualIgnoringSeconds
- shouldBeEqualIgnoringSeconds(OffsetTime, OffsetTime) - Static method in class org.assertj.core.error.ShouldBeEqualIgnoringSeconds
-
Creates a new
.ShouldBeEqualIgnoringSeconds
- ShouldBeEqualIgnoringSeconds - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that two
ZonedDateTime
have same year, month, day, hour and minute failed. - shouldBeEqualIgnoringTimezone(OffsetDateTime, OffsetDateTime) - Static method in class org.assertj.core.error.ShouldBeEqualIgnoringTimezone
-
Creates a new
.ShouldBeEqualIgnoringTimezone
- shouldBeEqualIgnoringTimezone(OffsetTime, OffsetTime) - Static method in class org.assertj.core.error.ShouldBeEqualIgnoringTimezone
-
Creates a new
.ShouldBeEqualIgnoringTimezone
- ShouldBeEqualIgnoringTimezone - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that two
OffsetTime
have same time fields except the timezone. - shouldBeEqualIgnoringWhitespace(CharSequence, CharSequence) - Static method in class org.assertj.core.error.ShouldBeEqualIgnoringWhitespace
-
Creates a new
.ShouldBeEqualIgnoringWhitespace
- ShouldBeEqualIgnoringWhitespace - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that two
CharSequence
s are equal, ignoring whitespace differences, failed. - shouldBeEqualNormalizingPunctuationAndWhitespace(CharSequence, CharSequence) - Static method in class org.assertj.core.error.ShouldBeEqualNormalizingPunctuationAndWhitespace
-
Creates a new
.ShouldBeEqualNormalizingPunctuationAndWhitespace
- ShouldBeEqualNormalizingPunctuationAndWhitespace - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that two
CharSequence
s are equal, after the punctuation of both strings have been normalized, failed. - shouldBeEqualNormalizingUnicode(CharSequence, CharSequence, CharSequence, CharSequence) - Static method in class org.assertj.core.error.ShouldBeEqualNormalizingUnicode
-
Creates a new
.ShouldBeEqualNormalizingUnicode
- ShouldBeEqualNormalizingUnicode - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that two
CharSequence
s are equal, on their canonical form relying onNormalizer
, failed. - shouldBeEqualNormalizingWhitespace(CharSequence, CharSequence) - Static method in class org.assertj.core.error.ShouldBeEqualNormalizingWhitespace
-
Creates a new
.ShouldBeEqualNormalizingWhitespace
- ShouldBeEqualNormalizingWhitespace - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that two
CharSequence
s are equal, after the whitespace of both strings has been normalized, failed. - ShouldBeEqualToIgnoringFields - Class in org.assertj.core.error
-
Creates an
indicating that an assertion that verifies that two objects are lenient equal by ignoring fields failed.AssertionError
- shouldBeEqualToIgnoringGivenFields(Object, List<String>, List<Object>, List<Object>, List<String>) - Static method in class org.assertj.core.error.ShouldBeEqualToIgnoringFields
-
Creates a new
.ShouldBeEqualToIgnoringFields
- shouldBeEqualToWithSortedQueryParameters(URL, URL) - Static method in class org.assertj.core.error.uri.ShouldBeEqualToWithSortedQueryParameters
- ShouldBeEqualToWithSortedQueryParameters - Class in org.assertj.core.error.uri
- 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.
- shouldBeEqualWithinPercentage(T, T, Percentage, T) - Static method in class org.assertj.core.error.ShouldBeEqualWithinPercentage
-
Creates a new
.ShouldBeEqualWithinPercentage
- ShouldBeEqualWithinPercentage - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that two numbers are equal within a positive percentage failed.
- ShouldBeEqualWithTimePrecision - Class in org.assertj.core.error
-
Creates an
indicating that an assertion that verifies that two dates are equals up to a given precision failed.AssertionError
- shouldBeEven(Number) - Static method in class org.assertj.core.error.ShouldBeEven
-
Creates a new
.ShouldBeEven
- ShouldBeEven - Class in org.assertj.core.error
-
Creates an error message that indicates an assertion that verifies that a whole number is even failed.
- shouldBeExactlyInstance(Object, Class<?>) - Static method in class org.assertj.core.error.ShouldBeExactlyInstanceOf
-
Creates a new
.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(File) - Static method in class org.assertj.core.error.ShouldBeExecutable
-
Creates a new
.ShouldBeExecutable
- shouldBeExecutable(Path) - Static method in class org.assertj.core.error.ShouldBeExecutable
- ShouldBeExecutable - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
is executable failed.File
- shouldBeExhausted() - Static method in class org.assertj.core.error.ShouldBeExhausted
-
Creates a new
.ShouldBeExhausted
- ShouldBeExhausted - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that an
Iterator
has no more elements failed. - shouldBeFalse(boolean) - Static method in class org.assertj.core.error.ShouldBeFalse
- ShouldBeFalse - Class in org.assertj.core.error
- shouldBeFile(File) - Static method in class org.assertj.core.error.ShouldBeFile
-
Creates a new
.ShouldBeFile
- ShouldBeFile - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
is an existing file failed.File
- shouldBeFinal(Class<?>) - Static method in class org.assertj.core.error.ClassModifierShouldBe
-
Creates a new instance for a positive check of the
final
modifier. - shouldBeFinite(Number) - Static method in class org.assertj.core.error.ShouldBeFinite
- ShouldBeFinite - Class in org.assertj.core.error
- shouldBeGreater(Comparable<? super T>, Comparable<? super T>) - Static method in class org.assertj.core.error.ShouldBeGreater
-
Creates a new
.ShouldBeGreater
- shouldBeGreater(Comparable<? super T>, Comparable<? super T>, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeGreater
-
Deprecated.
- shouldBeGreater(Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeGreater
-
Creates a new
.ShouldBeGreater
- 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.
- shouldBeGreaterOrEqual(Comparable<? super T>, Comparable<? super T>) - Static method in class org.assertj.core.error.ShouldBeGreaterOrEqual
-
Creates a new
.ShouldBeGreaterOrEqual
- shouldBeGreaterOrEqual(Comparable<? super T>, Comparable<? super T>, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeGreaterOrEqual
-
Deprecated.
- shouldBeGreaterOrEqual(Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeGreaterOrEqual
-
Creates a new
.ShouldBeGreaterOrEqual
- 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.
- shouldBeIn(Object, Object) - Static method in class org.assertj.core.error.ShouldBeIn
-
Creates a new
.ShouldBeIn
- shouldBeIn(Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeIn
-
Creates a new
.ShouldBeIn
- 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.
- shouldBeInfinite(Number) - Static method in class org.assertj.core.error.ShouldBeInfinite
- ShouldBeInfinite - Class in org.assertj.core.error
- shouldBeInSameDay(Date, Date) - Static method in class org.assertj.core.error.ShouldBeInSameDay
-
Creates a new
.ShouldBeInSameDay
- 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. - shouldBeInSameHour(Date, Date) - Static method in class org.assertj.core.error.ShouldBeInSameHour
-
Creates a new
.ShouldBeInSameHour
- 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. - shouldBeInSameHourWindow(Date, Date) - Static method in class org.assertj.core.error.ShouldBeInSameHourWindow
-
Creates a new
.ShouldBeInSameHourWindow
- 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. - shouldBeInSameMinute(Date, Date) - Static method in class org.assertj.core.error.ShouldBeInSameMinute
-
Creates a new
.ShouldBeInSameMinute
- 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. - shouldBeInSameMinuteWindow(Date, Date) - Static method in class org.assertj.core.error.ShouldBeInSameMinuteWindow
-
Creates a new
.ShouldBeInSameMinuteWindow
- 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. - shouldBeInSameMonth(Date, Date) - Static method in class org.assertj.core.error.ShouldBeInSameMonth
-
Creates a new
.ShouldBeInSameMonth
- 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. - shouldBeInSameSecond(Date, Date) - Static method in class org.assertj.core.error.ShouldBeInSameSecond
-
Creates a new
.ShouldBeInSameSecond
- 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. - shouldBeInSameSecondWindow(Date, Date) - Static method in class org.assertj.core.error.ShouldBeInSameSecondWindow
- 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. - shouldBeInSameYear(Date, Date) - Static method in class org.assertj.core.error.ShouldBeInSameYear
-
Creates a new
.ShouldBeInSameYear
- 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. - shouldBeInstance(Object, Class<?>) - Static method in class org.assertj.core.error.ShouldBeInstance
-
Creates a new
.ShouldBeInstance
- 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.
- shouldBeInstanceButWasNull(String, Class<?>) - Static method in class org.assertj.core.error.ShouldBeInstance
-
Creates a new
when object we want to check type is null.ShouldBeInstance
- shouldBeInstanceOfAny(Object, Class<?>[]) - Static method in class org.assertj.core.error.ShouldBeInstanceOfAny
-
Creates a new
.ShouldBeInstanceOfAny
- 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.
- shouldBeInterface(Class<?>) - Static method in class org.assertj.core.error.ShouldBeInterface
-
Creates a new
.ShouldBeInterface
- 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.
- shouldBeInTheFuture(Date) - Static method in class org.assertj.core.error.ShouldBeInTheFuture
-
Creates a new
.ShouldBeInTheFuture
- shouldBeInTheFuture(Date, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeInTheFuture
-
Creates a new
.ShouldBeInTheFuture
- 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. - shouldBeInThePast(Date) - Static method in class org.assertj.core.error.ShouldBeInThePast
-
Creates a new
.ShouldBeInThePast
- shouldBeInThePast(Date, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeInThePast
-
Creates a new
.ShouldBeInThePast
- 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. - shouldBeLess(Comparable<? super T>, Comparable<? super T>) - Static method in class org.assertj.core.error.ShouldBeLess
-
Creates a new
.ShouldBeLess
- shouldBeLess(Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeLess
-
Creates a new
.ShouldBeLess
- shouldBeLess(T, T, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeLess
-
Deprecated.
- 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.
- shouldBeLessOrEqual(Comparable<? super T>, Comparable<? super T>) - Static method in class org.assertj.core.error.ShouldBeLessOrEqual
-
Creates a new
.ShouldBeLessOrEqual
- shouldBeLessOrEqual(Comparable<? super T>, Comparable<? super T>, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeLessOrEqual
-
Deprecated.
- shouldBeLessOrEqual(Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeLessOrEqual
-
Creates a new
.ShouldBeLessOrEqual
- 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.
- shouldBeLowerCase(Object) - Static method in class org.assertj.core.error.ShouldBeLowerCase
-
Creates a new
.ShouldBeLowerCase
- ShouldBeLowerCase - Class in org.assertj.core.error
-
Creates an error message that indicates an assertion that verifies that a character is lowercase failed.
- shouldBeMarked(AtomicMarkableReference<?>) - Static method in class org.assertj.core.error.ShouldBeMarked
- ShouldBeMarked - Class in org.assertj.core.error
- shouldBeMixedCase(CharSequence) - Static method in class org.assertj.core.error.ShouldBeMixedCase
-
Creates a new
.ShouldBeMixedCase
- ShouldBeMixedCase - Class in org.assertj.core.error
-
Creates an error message that indicates an assertion that verifies that a
CharSequence
is mixed case failed. - shouldBeNegative(Period) - Static method in class org.assertj.core.error.ShouldBePeriod
- shouldBeNormalized(Path) - Static method in class org.assertj.core.error.ShouldBeNormalized
- ShouldBeNormalized - Class in org.assertj.core.error
-
Assertion error message delivered when a
Path
is not normalized - shouldBeNullOrEmpty(Object) - Static method in class org.assertj.core.error.ShouldBeNullOrEmpty
-
Creates a new instance of
.ShouldBeNullOrEmpty
- 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. - shouldBeOdd(Number) - Static method in class org.assertj.core.error.ShouldBeOdd
-
Creates a new
.ShouldBeOdd
- ShouldBeOdd - Class in org.assertj.core.error
-
Creates an error message that indicates an assertion that verifies that a whole number is odd failed.
- shouldBeOfClassIn(Object, Object) - Static method in class org.assertj.core.error.ShouldBeOfClassIn
-
Creates a new
.ShouldBeOfClassIn
- 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.
- shouldBePackagePrivate(Class<?>) - Static method in class org.assertj.core.error.ClassModifierShouldBe
-
Creates a new instance for a positive check of the
package-private
modifier. - ShouldBePeriod - Class in org.assertj.core.error
- shouldBePositive(Period) - Static method in class org.assertj.core.error.ShouldBePeriod
- shouldBePresent(Object) - Static method in class org.assertj.core.error.OptionalShouldBePresent
-
Indicates that a value should be present in an empty
Optional
. - shouldBeProtected(Class<?>) - Static method in class org.assertj.core.error.ClassModifierShouldBe
-
Creates a new instance for a positive check of the
protected
modifier. - shouldBePublic(Class<?>) - Static method in class org.assertj.core.error.ClassModifierShouldBe
-
Creates a new instance for a positive check of the
public
modifier. - shouldBeReadable(File) - Static method in class org.assertj.core.error.ShouldBeReadable
-
Creates a new
.ShouldBeReadable
- shouldBeReadable(Path) - Static method in class org.assertj.core.error.ShouldBeReadable
- ShouldBeReadable - Class in org.assertj.core.error
- shouldBeRegularFile(Path) - Static method in class org.assertj.core.error.ShouldBeRegularFile
- 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. - shouldBeRelativePath(File) - Static method in class org.assertj.core.error.ShouldBeRelativePath
-
Creates a new
.ShouldBeRelativePath
- shouldBeRelativePath(Path) - Static method in class org.assertj.core.error.ShouldBeRelativePath
- ShouldBeRelativePath - Class in org.assertj.core.error
- shouldBeSame(Object, Object) - Static method in class org.assertj.core.error.ShouldBeSame
-
Creates a new
.ShouldBeSame
- 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.
- shouldBeSameGenericBetweenIterableAndCondition(Object, Condition<?>) - Static method in class org.assertj.core.error.ConditionAndGroupGenericParameterTypeShouldBeTheSame
-
Creates a new
ConditionAndGroupGenericParameterTypeShouldBeTheSame
- shouldBeSorted(int, Object) - Static method in class org.assertj.core.error.ShouldBeSorted
-
Creates a new
.ShouldBeSorted
- 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. - shouldBeSortedAccordingToGivenComparator(int, Object, Comparator<?>) - Static method in class org.assertj.core.error.ShouldBeSorted
- shouldBeStatic(Class<?>) - Static method in class org.assertj.core.error.ClassModifierShouldBe
-
Creates a new instance for a positive check of the
static
modifier. - shouldBeSubsetOf(Object, Object, Iterable<?>) - Static method in class org.assertj.core.error.ShouldBeSubsetOf
-
Creates a new
.ShouldBeSubsetOf
- shouldBeSubsetOf(Object, Object, Iterable<?>, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeSubsetOf
-
Creates a new
ShouldBeSubsetOf
- 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 setIterable
failed. - shouldBeSubstring(CharSequence, CharSequence, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeSubstring
-
Creates a new
.ShouldBeSubstring
- ShouldBeSubstring - Class in org.assertj.core.error
- shouldBeSymbolicLink(Path) - Static method in class org.assertj.core.error.ShouldBeSymbolicLink
- 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. - shouldBeToday(LocalDate) - Static method in class org.assertj.core.error.ShouldBeToday
-
Creates a new
.ShouldBeToday
- shouldBeToday(Date) - Static method in class org.assertj.core.error.ShouldBeToday
-
Creates a new
.ShouldBeToday
- shouldBeToday(Date, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldBeToday
-
Creates a new
.ShouldBeToday
- 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). - shouldBeTrue(boolean) - Static method in class org.assertj.core.error.ShouldBeTrue
- ShouldBeTrue - Class in org.assertj.core.error
- shouldBeUnmodifiable(String) - Static method in class org.assertj.core.error.ShouldBeUnmodifiable
- shouldBeUnmodifiable(String, RuntimeException) - Static method in class org.assertj.core.error.ShouldBeUnmodifiable
- ShouldBeUnmodifiable - Class in org.assertj.core.error
- shouldBeUpperCase(Object) - Static method in class org.assertj.core.error.ShouldBeUpperCase
-
Creates a new
.ShouldBeUpperCase
- ShouldBeUpperCase - Class in org.assertj.core.error
-
Creates an error message that indicates an assertion that verifies that a character is uppercase failed.
- shouldBeWritable(File) - Static method in class org.assertj.core.error.ShouldBeWritable
-
Creates a new
.ShouldBeWritable
- shouldBeWritable(Path) - Static method in class org.assertj.core.error.ShouldBeWritable
- ShouldBeWritable - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
is writable failed.File
- shouldContain(CharSequence, CharSequence) - Static method in class org.assertj.core.error.ShouldContainCharSequence
-
Creates a new
.ShouldContainCharSequence
- shouldContain(CharSequence, CharSequence[], Set<? extends CharSequence>) - Static method in class org.assertj.core.error.ShouldContainCharSequence
-
Creates a new
.ShouldContainCharSequence
- shouldContain(CharSequence, CharSequence[], Set<? extends CharSequence>, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainCharSequence
-
Creates a new
.ShouldContainCharSequence
- shouldContain(CharSequence, CharSequence, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainCharSequence
-
Creates a new
.ShouldContainCharSequence
- shouldContain(Class<?>, Object, Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContain
-
Creates a new
.ShouldContain
- shouldContain(Object) - Static method in class org.assertj.core.error.OptionalShouldContain
-
Indicates that an
Optional
is empty so it doesn't contain the expected value. - shouldContain(Object, Object, Object) - Static method in class org.assertj.core.error.ShouldContain
-
Creates a new
.ShouldContain
- shouldContain(Object, Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContain
-
Creates a new
.ShouldContain
- shouldContain(Throwable, CharSequence) - Static method in class org.assertj.core.error.ShouldContainCharSequence
- shouldContain(Throwable, CharSequence[], Set<? extends CharSequence>) - Static method in class org.assertj.core.error.ShouldContainCharSequence
- shouldContain(Optional<VALUE>, VALUE) - Static method in class org.assertj.core.error.OptionalShouldContain
-
Indicates that the provided
Optional
does not contain the provided argument. - shouldContain(OptionalDouble, double) - Static method in class org.assertj.core.error.OptionalShouldContain
-
Indicates that the provided
OptionalDouble
does not contain the provided argument. - shouldContain(OptionalInt, int) - Static method in class org.assertj.core.error.OptionalShouldContain
-
Indicates that the provided
OptionalInt
does not contain the provided argument. - shouldContain(OptionalLong, long) - Static method in class org.assertj.core.error.OptionalShouldContain
-
Indicates that the provided
OptionalLong
does not contain the provided argument. - 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.
- shouldContainAnyOf(Object, Object) - Static method in class org.assertj.core.error.ShouldContainAnyOf
- shouldContainAnyOf(Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainAnyOf
- ShouldContainAnyOf - Class in org.assertj.core.error
- shouldContainAtIndex(Object, Object, Index, Object) - Static method in class org.assertj.core.error.ShouldContainAtIndex
-
Creates a new
.ShouldContainAtIndex
- shouldContainAtIndex(Object, Object, Index, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainAtIndex
-
Creates a new
.ShouldContainAtIndex
- 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.
- ShouldContainCharSequence - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
CharSequence
contains anotherCharSequence
failed. - ShouldContainCharSequenceOnlyOnce - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
CharSequence
contains anotherCharSequence
only once failed. - shouldContainEntries(Map<? extends K, ? extends V>, Map.Entry<? extends K, ? extends V>[], Set<Map.Entry<? extends K, ? extends V>>, Set<Map.Entry<? extends K, ? extends V>>, Representation) - Static method in class org.assertj.core.error.ShouldContainEntries
- ShouldContainEntries - Class in org.assertj.core.error
- shouldContainEntry(Map<K, V>, Condition<?>) - Static method in class org.assertj.core.error.ShouldContainEntry
-
Creates a new
.ShouldContainEntry
- shouldContainEntry(Map<K, V>, Condition<? super K>, Condition<? super V>) - Static method in class org.assertj.core.error.ShouldContainEntry
-
Creates a new
.ShouldContainEntry
- ShouldContainEntry - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a map contains an entry..
- shouldContainExactly(Object, Iterable<?>, Iterable<?>, Iterable<?>) - Static method in class org.assertj.core.error.ShouldContainExactly
-
Creates a new
.ShouldContainExactly
- shouldContainExactly(Object, Iterable<?>, Iterable<?>, Iterable<?>, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainExactly
-
Creates a new
.ShouldContainExactly
- 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.
- shouldContainExactlyInAnyOrder(Object, Object, Iterable<?>, Iterable<?>, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainExactlyInAnyOrder
-
Creates a new
.ShouldContainExactlyInAnyOrder
- ShouldContainExactlyInAnyOrder - 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.
- ShouldContainExactlyInAnyOrder.ErrorType - Enum in org.assertj.core.error
- shouldContainIgnoringCase(CharSequence, CharSequence) - Static method in class org.assertj.core.error.ShouldContainCharSequence
-
Creates a new
.ShouldContainCharSequence
- shouldContainIgnoringWhitespaces(CharSequence, CharSequence[], Set<? extends CharSequence>, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainCharSequence
-
Creates a new
.ShouldContainCharSequence
- shouldContainIgnoringWhitespaces(CharSequence, CharSequence, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainCharSequence
-
Creates a new
.ShouldContainCharSequence
- shouldContainInstanceOf(Object, Class<?>) - Static method in class org.assertj.core.error.OptionalShouldContainInstanceOf
-
Indicates that a value should be present in an empty
Optional
. - shouldContainKey(Object, Condition<?>) - Static method in class org.assertj.core.error.ShouldContainKey
-
Creates a new
.ShouldContainKey
- ShouldContainKey - 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
-
Creates a new
.ShouldContainKeys
- ShouldContainKeys - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a map contains a key..
- shouldContainNull(Object) - Static method in class org.assertj.core.error.ShouldContainNull
-
Creates a new
.ShouldContainNull
- 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.
- shouldContainOneOrMoreWhitespaces(CharSequence) - Static method in class org.assertj.core.error.ShouldContainOneOrMoreWhitespaces
-
Creates a new
.ShouldContainOneOrMoreWhitespaces
- ShouldContainOneOrMoreWhitespaces - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
CharSequence
contains one or more whitespaces. - shouldContainOnly(Object, Object, Iterable<?>, Iterable<?>) - Static method in class org.assertj.core.error.ShouldContainOnly
-
Creates a new
.ShouldContainOnly
- shouldContainOnly(Object, Object, Iterable<?>, Iterable<?>, GroupTypeDescription) - Static method in class org.assertj.core.error.ShouldContainOnly
- shouldContainOnly(Object, Object, Iterable<?>, Iterable<?>, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainOnly
-
Creates a new
.ShouldContainOnly
- 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.ErrorType - Enum in org.assertj.core.error
- shouldContainOnlyDigits(CharSequence) - Static method in class org.assertj.core.error.ShouldContainOnlyDigits
-
Creates a new
.ShouldContainOnlyDigits
- shouldContainOnlyDigits(CharSequence, char, int) - Static method in class org.assertj.core.error.ShouldContainOnlyDigits
-
Creates a new
.ShouldContainOnlyDigits
- ShouldContainOnlyDigits - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a CharSequence contains only digits failed.
- shouldContainOnlyKeys(Object, Object, Object, Iterable<?>) - Static method in class org.assertj.core.error.ShouldContainOnlyKeys
-
Creates a new
.ShouldContainOnlyKeys
- shouldContainOnlyKeys(Object, Object, Object, Object) - Static method in class org.assertj.core.error.ShouldContainOnlyKeys
-
Creates a new
.ShouldContainOnlyKeys
- 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.
- shouldContainOnlyNulls(Object) - Static method in class org.assertj.core.error.ShouldContainOnlyNulls
-
Creates a new
.ShouldContainOnlyNulls
- shouldContainOnlyNulls(Object, Iterable<?>) - Static method in class org.assertj.core.error.ShouldContainOnlyNulls
- ShouldContainOnlyNulls - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a group of elements contains only null elements failed.
- ShouldContainOnlyNulls.ErrorType - Enum in org.assertj.core.error
- shouldContainOnlyOnce(CharSequence, CharSequence, int) - Static method in class org.assertj.core.error.ShouldContainCharSequenceOnlyOnce
-
Creates a new
.ShouldContainCharSequenceOnlyOnce
- shouldContainOnlyOnce(CharSequence, CharSequence, int, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainCharSequenceOnlyOnce
-
Creates a new
.ShouldContainCharSequenceOnlyOnce
- shouldContainOnlyWhitespaces(CharSequence) - Static method in class org.assertj.core.error.ShouldContainOnlyWhitespaces
-
Creates a new
.ShouldContainOnlyWhitespaces
- ShouldContainOnlyWhitespaces - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a
CharSequence
contains only whitespaces. - shouldContainPattern(CharSequence, CharSequence) - Static method in class org.assertj.core.error.ShouldContainPattern
-
Creates a new
.ShouldContainPattern
- ShouldContainPattern - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
CharSequence
contains a pattern failed. - ShouldContainRecursively - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a group of elements contains recursively a given set of values failed.
- shouldContainSame(Optional<VALUE>, VALUE) - Static method in class org.assertj.core.error.OptionalShouldContain
-
Indicates that the provided
Optional
does not contain the provided argument (judging by reference equality). - shouldContainSequence(CharSequence, CharSequence[]) - Static method in class org.assertj.core.error.ShouldContainSequenceOfCharSequence
-
Create a new
.ShouldContainSequenceOfCharSequence
- shouldContainSequence(CharSequence, CharSequence[], ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainSequenceOfCharSequence
-
Create a new
.ShouldContainSequenceOfCharSequence
- shouldContainSequence(Object, Object) - Static method in class org.assertj.core.error.ShouldContainSequence
-
Creates a new
.ShouldContainSequence
- shouldContainSequence(Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainSequence
-
Creates a new
.ShouldContainSequence
- 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.
- ShouldContainSequenceOfCharSequence - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
CharSequence
contains a Sequence of severalCharSequence
s in order failed. - shouldContainsOnlyOnce(Object, Object, Set<?>, Set<?>) - Static method in class org.assertj.core.error.ShouldContainsOnlyOnce
-
Creates a new
.ShouldContainsOnlyOnce
- shouldContainsOnlyOnce(Object, Object, Set<?>, Set<?>, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainsOnlyOnce
-
Creates a new
.ShouldContainsOnlyOnce
- 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.
- shouldContainSubsequence(CharSequence, CharSequence[], int) - Static method in class org.assertj.core.error.ShouldContainSubsequenceOfCharSequence
-
Creates a new
.ShouldContainSubsequenceOfCharSequence
- shouldContainSubsequence(CharSequence, CharSequence[], int, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainSubsequenceOfCharSequence
-
Creates a new
.ShouldContainSubsequenceOfCharSequence
- shouldContainSubsequence(Object, Object, int, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainSubsequence
-
Creates a new
.ShouldContainSubsequence
- 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.
- ShouldContainSubsequenceOfCharSequence - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
CharSequence
contains a Subsequence of severalCharSequence
s in order failed. - shouldContainValue(Object, Object) - Static method in class org.assertj.core.error.ShouldContainValue
-
Creates a new
.ShouldContainValue
- shouldContainValue(Object, Condition<?>) - Static method in class org.assertj.core.error.ShouldContainValue
-
Creates a new
.ShouldContainValue
- ShouldContainValue - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a map contains a value.
- shouldContainValues(Object, Set<V>) - Static method in class org.assertj.core.error.ShouldContainValues
-
Creates a new
.ShouldContainValues
- ShouldContainValues - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a map contains a values.
- shouldEndWith(Object, Object) - Static method in class org.assertj.core.error.ShouldEndWith
-
Creates a new
.ShouldEndWith
- shouldEndWith(Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldEndWith
-
Creates a new
.ShouldEndWith
- shouldEndWith(Path, Path) - Static method in class org.assertj.core.error.ShouldEndWithPath
- 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.
- shouldEndWithIgnoringCase(CharSequence, CharSequence, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldEndWithIgnoringCase
-
Creates a new
.ShouldEndWithIgnoringCase
- ShouldEndWithIgnoringCase - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that
CharSequence
ends with a given value (ignoring case considerations) failed. - ShouldEndWithPath - Class in org.assertj.core.error
- shouldExist(File) - Static method in class org.assertj.core.error.ShouldExist
-
Creates a new
.ShouldExist
- shouldExist(Path) - Static method in class org.assertj.core.error.ShouldExist
- ShouldExist - Class in org.assertj.core.error
- shouldExistNoFollowLinks(Path) - Static method in class org.assertj.core.error.ShouldExist
- shouldExistNoFollowLinks(Path) - Static method in class org.assertj.core.error.ShouldNotExist
- shouldHave(T, Condition<? super T>) - Static method in class org.assertj.core.error.ShouldHave
-
Creates a new
.ShouldHave
- ShouldHave - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a value satisfies a
failed.Condition
- shouldHaveAllNullFields(Object, List<String>, List<String>) - Static method in class org.assertj.core.error.ShouldHaveAllNullFields
- ShouldHaveAllNullFields - Class in org.assertj.core.error
-
Creates an
indicating that an assertion that verifies that an object has null fields failed.AssertionError
- ShouldHaveAllNullFields(Object, String) - Constructor for class org.assertj.core.error.ShouldHaveAllNullFields
- ShouldHaveAllNullFields(Object, String, List<String>) - Constructor for class org.assertj.core.error.ShouldHaveAllNullFields
- ShouldHaveAllNullFields(Object, List<String>) - Constructor for class org.assertj.core.error.ShouldHaveAllNullFields
- ShouldHaveAllNullFields(Object, List<String>, List<String>) - Constructor for class org.assertj.core.error.ShouldHaveAllNullFields
- shouldHaveAnchor(URL, String) - Static method in class org.assertj.core.error.uri.ShouldHaveAnchor
- ShouldHaveAnchor - Class in org.assertj.core.error.uri
- shouldHaveAnnotations(Class<?>, Collection<Class<? extends Annotation>>, Collection<Class<? extends Annotation>>) - Static method in class org.assertj.core.error.ShouldHaveAnnotations
-
Creates a new
.ShouldHaveAnnotations
- ShouldHaveAnnotations - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a class has annotations failed.
- shouldHaveAtIndex(List<? extends T>, Condition<? super T>, Index, T) - Static method in class org.assertj.core.error.ShouldHaveAtIndex
-
Creates a new
.ShouldHaveAtIndex
- 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
failed.Condition
- shouldHaveAtLeastOneElementOfType(Object, Class<?>) - Static method in class org.assertj.core.error.ShouldHaveAtLeastOneElementOfType
-
Creates a new
.ShouldHaveAtLeastOneElementOfType
- ShouldHaveAtLeastOneElementOfType - Class in org.assertj.core.error
-
Creates an error message indicating that a group does not have an element of the given type.
- shouldHaveAuthority(URI, String) - Static method in class org.assertj.core.error.uri.ShouldHaveAuthority
- shouldHaveAuthority(URL, String) - Static method in class org.assertj.core.error.uri.ShouldHaveAuthority
- ShouldHaveAuthority - Class in org.assertj.core.error.uri
- shouldHaveBinaryContent(File, BinaryDiffResult) - Static method in class org.assertj.core.error.ShouldHaveBinaryContent
-
Creates a new
.ShouldHaveBinaryContent
- shouldHaveBinaryContent(InputStream, BinaryDiffResult) - Static method in class org.assertj.core.error.ShouldHaveBinaryContent
-
Creates a new
.ShouldHaveBinaryContent
- shouldHaveBinaryContent(Path, BinaryDiffResult) - Static method in class org.assertj.core.error.ShouldHaveBinaryContent
-
Creates a new
.ShouldHaveBinaryContent
- ShouldHaveBinaryContent - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a file/path has a given binary content failed.
- shouldHaveCause(Throwable) - Static method in class org.assertj.core.error.ShouldHaveCause
- shouldHaveCause(Throwable, Throwable) - Static method in class org.assertj.core.error.ShouldHaveCause
- ShouldHaveCause - Class in org.assertj.core.error
- shouldHaveCauseExactlyInstance(Throwable, Class<? extends Throwable>) - Static method in class org.assertj.core.error.ShouldHaveCauseExactlyInstance
-
Creates a new
.BasicErrorMessageFactory
- 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. - shouldHaveCauseInstance(Throwable, Class<? extends Throwable>) - Static method in class org.assertj.core.error.ShouldHaveCauseInstance
-
Creates a new
.BasicErrorMessageFactory
- 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. - shouldHaveCauseReference(Throwable, Throwable) - Static method in class org.assertj.core.error.ShouldHaveCauseReference
- ShouldHaveCauseReference - Class in org.assertj.core.error
- shouldHaveComparableElementsAccordingToGivenComparator(Object, Comparator<?>) - Static method in class org.assertj.core.error.ShouldBeSorted
- shouldHaveCompletedExceptionally(CompletableFuture<?>) - Static method in class org.assertj.core.error.future.ShouldBeCompletedExceptionally
- shouldHaveContent(File, Charset, List<Delta<String>>) - Static method in class org.assertj.core.error.ShouldHaveContent
-
Creates a new
.ShouldHaveContent
- shouldHaveContent(Path, Charset, List<Delta<String>>) - Static method in class org.assertj.core.error.ShouldHaveContent
-
Creates a new
.ShouldHaveContent
- ShouldHaveContent - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a file/path has a given text content failed.
- shouldHaveDateField(Temporal, String, int) - Static method in class org.assertj.core.error.ShouldHaveDateField
- shouldHaveDateField(Date, String, int) - Static method in class org.assertj.core.error.ShouldHaveDateField
-
Creates a new
.ShouldHaveDateField
- ShouldHaveDateField - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Date
has a year, month, day, ... - shouldHaveDays(Duration, long, long) - Static method in class org.assertj.core.error.ShouldHaveDuration
- shouldHaveDays(Period, int, int) - Static method in class org.assertj.core.error.ShouldHavePeriod
- shouldHaveDeclaredFields(Class<?>, Set<String>, Set<String>) - Static method in class org.assertj.core.error.ShouldHaveFields
-
Creates a new
.ShouldHaveFields
- shouldHaveDigest(File, DigestDiff) - Static method in class org.assertj.core.error.ShouldHaveDigest
- shouldHaveDigest(InputStream, DigestDiff) - Static method in class org.assertj.core.error.ShouldHaveDigest
- shouldHaveDigest(Path, DigestDiff) - Static method in class org.assertj.core.error.ShouldHaveDigest
- ShouldHaveDigest - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that file/inputStream/path have digest failed.
- ShouldHaveDimensions - Class in org.assertj.core.error
- ShouldHaveDuration - Class in org.assertj.core.error
- ShouldHaveExactlyTypes - Class in org.assertj.core.error
- shouldHaveExtension(File, String) - Static method in class org.assertj.core.error.ShouldHaveExtension
- shouldHaveExtension(File, String, String) - Static method in class org.assertj.core.error.ShouldHaveExtension
- shouldHaveExtension(Path, String) - Static method in class org.assertj.core.error.ShouldHaveExtension
- shouldHaveExtension(Path, String, String) - Static method in class org.assertj.core.error.ShouldHaveExtension
- ShouldHaveExtension - Class in org.assertj.core.error
-
Creates an error message indicating that a
File
or aPath
should have extension. - shouldHaveFailed(CompletableFuture<?>) - Static method in class org.assertj.core.error.future.ShouldHaveFailed
- ShouldHaveFailed - Class in org.assertj.core.error.future
- shouldHaveFailedWithin(Future<?>, long, TimeUnit) - Static method in class org.assertj.core.error.future.ShouldHaveFailedWithin
- shouldHaveFailedWithin(Future<?>, Duration) - Static method in class org.assertj.core.error.future.ShouldHaveFailedWithin
- ShouldHaveFailedWithin - Class in org.assertj.core.error.future
- shouldHaveFields(Class<?>, Set<String>, Set<String>) - Static method in class org.assertj.core.error.ShouldHaveFields
-
Creates a new
.ShouldHaveFields
- ShouldHaveFields - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a class have field.
- shouldHaveFileSystem(Path, FileSystem) - Static method in class org.assertj.core.error.ShouldHaveFileSystem
- ShouldHaveFileSystem - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies the
FileSystem
for a given path does not match a given file system. - shouldHaveFirstDimension(Object, int, int) - Static method in class org.assertj.core.error.ShouldHaveDimensions
- shouldHaveFragment(URI, String) - Static method in class org.assertj.core.error.uri.ShouldHaveFragment
- ShouldHaveFragment - Class in org.assertj.core.error.uri
- shouldHaveHost(URI, String) - Static method in class org.assertj.core.error.uri.ShouldHaveHost
- shouldHaveHost(URL, String) - Static method in class org.assertj.core.error.uri.ShouldHaveHost
- ShouldHaveHost - Class in org.assertj.core.error.uri
- shouldHaveHours(Duration, long, long) - Static method in class org.assertj.core.error.ShouldHaveDuration
- 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
-
Creates a new
.ShouldHaveLineCount
- shouldHaveMessage(Throwable, String) - Static method in class org.assertj.core.error.ShouldHaveMessage
-
Creates a new
.ShouldHaveMessage
- ShouldHaveMessage - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Throwable
have certain message failed. - shouldHaveMessageFindingMatchRegex(Throwable, CharSequence) - Static method in class org.assertj.core.error.ShouldHaveMessageFindingMatchRegex
- ShouldHaveMessageFindingMatchRegex - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
CharSequence
matches given regular expression. - shouldHaveMessageMatchingRegex(Throwable, CharSequence) - Static method in class org.assertj.core.error.ShouldHaveMessageMatchingRegex
- ShouldHaveMessageMatchingRegex - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
CharSequence
matches given regular expression. - shouldHaveMethods(Class<?>, boolean, SortedSet<String>, String, Map<String, String>) - Static method in class org.assertj.core.error.ShouldHaveMethods
- shouldHaveMethods(Class<?>, boolean, SortedSet<String>, SortedSet<String>) - Static method in class org.assertj.core.error.ShouldHaveMethods
-
Creates a new
.ShouldHaveMethods
- ShouldHaveMethods - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a class have methods.
- shouldHaveMillis(Duration, long, long) - Static method in class org.assertj.core.error.ShouldHaveDuration
- shouldHaveMinutes(Duration, long, long) - Static method in class org.assertj.core.error.ShouldHaveDuration
- shouldHaveMonth(Temporal, Month) - Static method in class org.assertj.core.error.ShouldHaveDateField
- shouldHaveMonths(Period, int, int) - Static method in class org.assertj.core.error.ShouldHavePeriod
- shouldHaveMutuallyComparableElements(Object) - Static method in class org.assertj.core.error.ShouldBeSorted
- shouldHaveName(File, String) - Static method in class org.assertj.core.error.ShouldHaveName
- shouldHaveName(Path, String) - Static method in class org.assertj.core.error.ShouldHaveName
- ShouldHaveName - Class in org.assertj.core.error
-
Creates an error message indicating that a
File
should have name. - shouldHaveNanos(Duration, long, long) - Static method in class org.assertj.core.error.ShouldHaveDuration
- shouldHaveNext() - Static method in class org.assertj.core.error.ShouldHaveNext
-
Creates a new
.ShouldHaveNext
- ShouldHaveNext - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that an
Iterator
has a next element failed. - shouldHaveNoCause(Throwable) - Static method in class org.assertj.core.error.ShouldHaveNoCause
-
Creates a new
.ShouldHaveNoCause
- ShouldHaveNoCause - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that an
Throwable
has no cause failed. - shouldHaveNoDeclaredFields(Class<?>, Set<String>) - Static method in class org.assertj.core.error.ShouldHaveNoFields
- shouldHaveNoExtension(File, String) - Static method in class org.assertj.core.error.ShouldHaveNoExtension
- shouldHaveNoExtension(Path, String) - Static method in class org.assertj.core.error.ShouldHaveNoExtension
- ShouldHaveNoExtension - Class in org.assertj.core.error
-
Creates an error message indicating that a
Path
should have no extension. - ShouldHaveNoFields - Class in org.assertj.core.error
- shouldHaveNoHost(URI) - Static method in class org.assertj.core.error.uri.ShouldHaveNoHost
- shouldHaveNoHost(URL) - Static method in class org.assertj.core.error.uri.ShouldHaveNoHost
- ShouldHaveNoHost - Class in org.assertj.core.error.uri
- ShouldHaveNoNullFields - Class in org.assertj.core.error
-
Creates an
indicating that an assertion that verifies that an object has no null fields failed.AssertionError
- ShouldHaveNoNullFields(Object, String) - Constructor for class org.assertj.core.error.ShouldHaveNoNullFields
- ShouldHaveNoNullFields(Object, String, List<String>) - Constructor for class org.assertj.core.error.ShouldHaveNoNullFields
- ShouldHaveNoNullFields(Object, List<String>) - Constructor for class org.assertj.core.error.ShouldHaveNoNullFields
- ShouldHaveNoNullFields(Object, List<String>, List<String>) - Constructor for class org.assertj.core.error.ShouldHaveNoNullFields
- shouldHaveNoNullFieldsExcept(Object, List<String>, List<String>) - Static method in class org.assertj.core.error.ShouldHaveNoNullFields
- shouldHaveNoParameter(Object, String, String, List<String>) - Static method in class org.assertj.core.error.uri.ShouldHaveParameter
- shouldHaveNoParameter(Object, String, List<String>) - Static method in class org.assertj.core.error.uri.ShouldHaveParameter
- shouldHaveNoParameters(Object, Set<String>) - Static method in class org.assertj.core.error.uri.ShouldHaveParameter
- shouldHaveNoParent(File) - Static method in class org.assertj.core.error.ShouldHaveNoParent
-
Creates a new
.ShouldHaveNoParent
- shouldHaveNoParent(Path) - Static method in class org.assertj.core.error.ShouldHaveNoParent
- ShouldHaveNoParent - Class in org.assertj.core.error
-
Creates an error message when a
File
should not have a parent. - shouldHaveNoPublicFields(Class<?>, Set<String>) - Static method in class org.assertj.core.error.ShouldHaveNoFields
- shouldHaveNoSuperclass(Class<?>) - Static method in class org.assertj.core.error.ShouldHaveNoSuperclass
-
Creates a new
.ShouldHaveNoSuperclass
- ShouldHaveNoSuperclass - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a class has no superclass failed.
- shouldHaveNoSuppressedExceptions(Throwable) - Static method in class org.assertj.core.error.ShouldHaveNoSuppressedExceptions
-
Creates a new
.ShouldHaveNoSuppressedExceptions
- ShouldHaveNoSuppressedExceptions - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Throwable
has no suppressed exceptions failed. - shouldHaveOnlyElementsOfType(Object, Class<?>, Class<?>) - Static method in class org.assertj.core.error.ShouldHaveOnlyElementsOfType
-
Creates a new
.ShouldHaveOnlyElementsOfType
- ShouldHaveOnlyElementsOfType - Class in org.assertj.core.error
-
Creates an error message indicating that a group does not have an element of the given type.
- shouldHavePackage(Class<?>, Package) - Static method in class org.assertj.core.error.ShouldHavePackage
-
Creates a new
ShouldHavePackage
with aPackage
instance. - shouldHavePackage(Class<?>, String) - Static method in class org.assertj.core.error.ShouldHavePackage
-
Creates a new
ShouldHavePackage
with a package name. - ShouldHavePackage - Class in org.assertj.core.error
-
Creates an error message indicating that a
Class
should have a given package. - shouldHaveParameter(Object, String) - Static method in class org.assertj.core.error.uri.ShouldHaveParameter
- shouldHaveParameter(Object, String, String) - Static method in class org.assertj.core.error.uri.ShouldHaveParameter
- shouldHaveParameter(Object, String, String, List<String>) - Static method in class org.assertj.core.error.uri.ShouldHaveParameter
- ShouldHaveParameter - Class in org.assertj.core.error.uri
- 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
- ShouldHaveParent - Class in org.assertj.core.error
-
Creates an error message indicating that a
File
should have a parent. - shouldHavePath(URI, String) - Static method in class org.assertj.core.error.uri.ShouldHavePath
- shouldHavePath(URL, String) - Static method in class org.assertj.core.error.uri.ShouldHavePath
- ShouldHavePath - Class in org.assertj.core.error.uri
- ShouldHavePeriod - Class in org.assertj.core.error
- shouldHavePort(URI, int) - Static method in class org.assertj.core.error.uri.ShouldHavePort
- shouldHavePort(URL, int) - Static method in class org.assertj.core.error.uri.ShouldHavePort
- ShouldHavePort - Class in org.assertj.core.error.uri
- shouldHavePropertyOrField(Object, String) - Static method in class org.assertj.core.error.ShouldHavePropertyOrField
-
Creates a new
.ShouldHavePropertyOrField
- ShouldHavePropertyOrField - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a class has a given field/property.
- shouldHavePropertyOrFieldWithValue(Object, String, Object, Object) - Static method in class org.assertj.core.error.ShouldHavePropertyOrFieldWithValue
-
Creates a new
.ShouldHavePropertyOrFieldWithValue
- ShouldHavePropertyOrFieldWithValue - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a class has a field/property with a value.
- shouldHaveProtocol(URL, String) - Static method in class org.assertj.core.error.uri.ShouldHaveProtocol
- ShouldHaveProtocol - Class in org.assertj.core.error.uri
- shouldHaveQuery(URI, String) - Static method in class org.assertj.core.error.uri.ShouldHaveQuery
- shouldHaveQuery(URL, String) - Static method in class org.assertj.core.error.uri.ShouldHaveQuery
- ShouldHaveQuery - Class in org.assertj.core.error.uri
- shouldHaveReference(Object, REF, REF) - Static method in class org.assertj.core.error.ShouldHaveReference
- ShouldHaveReference - Class in org.assertj.core.error
- shouldHaveRootCause(Throwable) - Static method in class org.assertj.core.error.ShouldHaveRootCause
- shouldHaveRootCause(Throwable, Throwable, Throwable) - Static method in class org.assertj.core.error.ShouldHaveRootCause
- ShouldHaveRootCause - Class in org.assertj.core.error
- shouldHaveRootCauseExactlyInstance(Throwable, Class<? extends Throwable>) - Static method in class org.assertj.core.error.ShouldHaveRootCauseExactlyInstance
-
Creates a new
.BasicErrorMessageFactory
- 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. - shouldHaveRootCauseInstance(Throwable, Class<? extends Throwable>) - Static method in class org.assertj.core.error.ShouldHaveRootCauseInstance
-
Creates a new
.BasicErrorMessageFactory
- 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. - shouldHaveRootCauseWithMessage(Throwable, Throwable, String) - Static method in class org.assertj.core.error.ShouldHaveRootCause
- shouldHaveSameClass(Object, Object) - Static method in class org.assertj.core.error.ShouldHaveSameClass
-
Creates a new
.ShouldHaveSameClass
- 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.
- shouldHaveSameContent(File, File, List<Delta<String>>) - Static method in class org.assertj.core.error.ShouldHaveSameContent
-
Creates a new
.ShouldHaveSameContent
- shouldHaveSameContent(InputStream, InputStream, List<Delta<String>>) - Static method in class org.assertj.core.error.ShouldHaveSameContent
-
Creates a new
.ShouldHaveSameContent
- shouldHaveSameContent(InputStream, String, List<Delta<String>>) - Static method in class org.assertj.core.error.ShouldHaveSameContent
-
Creates a new
.ShouldHaveSameContent
- shouldHaveSameContent(Path, Path, List<Delta<String>>) - Static method in class org.assertj.core.error.ShouldHaveSameContent
-
Creates a new
.ShouldHaveSameContent
- ShouldHaveSameContent - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that two files/inputStreams/paths have same content failed.
- shouldHaveSameDimensionsAs(int, int, int, Object, Object, Object, Object) - Static method in class org.assertj.core.error.ShouldHaveSameDimensionsAs
- shouldHaveSameDimensionsAs(Object, Object, Object, Object) - Static method in class org.assertj.core.error.ShouldHaveSameDimensionsAs
-
Creates a new
.ShouldHaveSameDimensionsAs
- ShouldHaveSameDimensionsAs - Class in org.assertj.core.error
- shouldHaveSameFileSystemAs(Path, Path) - Static method in class org.assertj.core.error.ShouldHaveSameFileSystemAs
- ShouldHaveSameFileSystemAs - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies the
FileSystem
for a given path does not match a given path's file system. - shouldHaveSameHashCode(Object, Object) - Static method in class org.assertj.core.error.ShouldHaveSameHashCode
- ShouldHaveSameHashCode - Class in org.assertj.core.error
- shouldHaveSameHourAs(Temporal, Temporal) - Static method in class org.assertj.core.error.ShouldHaveSameHourAs
-
Creates a new
.ShouldHaveSameHourAs
- ShouldHaveSameHourAs - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that two
ZonedDateTime
have same year, month, day and hour fields failed. - shouldHaveSameSizeAs(Object, Object, Object, Object) - Static method in class org.assertj.core.error.ShouldHaveSameSizeAs
-
Creates a new
.ShouldHaveSameSizeAs
- ShouldHaveSameSizeAs - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a value have certain size failed.
- shouldHaveSameTime(Date, Date) - Static method in class org.assertj.core.error.ShouldHaveSameTime
-
Creates a new
.ShouldHaveSameTime
- ShouldHaveSameTime - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a date has same time as other date.
- shouldHaveScale(BigDecimal, int) - Static method in class org.assertj.core.error.ShouldHaveScale
- ShouldHaveScale - Class in org.assertj.core.error
- shouldHaveScheme(URI, String) - Static method in class org.assertj.core.error.uri.ShouldHaveScheme
- ShouldHaveScheme - Class in org.assertj.core.error.uri
- shouldHaveSeconds(Duration, long, long) - Static method in class org.assertj.core.error.ShouldHaveDuration
- shouldHaveSize(File, long) - Static method in class org.assertj.core.error.ShouldHaveSize
-
Creates a new
for file size.ShouldHaveSize
- shouldHaveSize(Object, int, int) - Static method in class org.assertj.core.error.ShouldHaveSize
-
Creates a new
.ShouldHaveSize
- shouldHaveSize(Object, int, int, int) - Static method in class org.assertj.core.error.ShouldHaveDimensions
- shouldHaveSize(Object, int, int, int) - Static method in class org.assertj.core.error.ShouldHaveSize
-
Creates a new
.ShouldHaveSize
- shouldHaveSize(Path, long) - Static method in class org.assertj.core.error.ShouldHaveSize
-
Creates a new
for Path file sizeShouldHaveSize
- ShouldHaveSize - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a value have certain size failed.
- shouldHaveSizeBetween(Object, int, int, int) - Static method in class org.assertj.core.error.ShouldHaveSizeBetween
-
Creates a new
.ShouldHaveSizeBetween
- ShouldHaveSizeBetween - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion - that verifies that size of a value is between two given values - failed.
- shouldHaveSizeGreaterThan(Object, int, int) - Static method in class org.assertj.core.error.ShouldHaveSizeGreaterThan
-
Creates a new
.ShouldHaveSizeGreaterThan
- ShouldHaveSizeGreaterThan - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a minimum size failed.
- shouldHaveSizeGreaterThanOrEqualTo(Object, int, int) - Static method in class org.assertj.core.error.ShouldHaveSizeGreaterThanOrEqualTo
-
Creates a new
.ShouldHaveSizeGreaterThanOrEqualTo
- ShouldHaveSizeGreaterThanOrEqualTo - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a minimum size failed.
- shouldHaveSizeLessThan(Object, int, int) - Static method in class org.assertj.core.error.ShouldHaveSizeLessThan
-
Creates a new
.ShouldHaveSizeLessThan
- ShouldHaveSizeLessThan - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a maximum size failed.
- shouldHaveSizeLessThanOrEqualTo(Object, int, int) - Static method in class org.assertj.core.error.ShouldHaveSizeLessThanOrEqualTo
-
Creates a new
.ShouldHaveSizeLessThanOrEqualTo
- ShouldHaveSizeLessThanOrEqualTo - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a maximum size failed.
- shouldHaveStamp(AtomicStampedReference<?>, int) - Static method in class org.assertj.core.error.ShouldHaveStamp
- ShouldHaveStamp - Class in org.assertj.core.error
- shouldHaveSuperclass(Class<?>, Class<?>) - Static method in class org.assertj.core.error.ShouldHaveSuperclass
-
Creates a new
.ShouldHaveSuperclass
- ShouldHaveSuperclass - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a class has a given superclass failed.
- shouldHaveSuppressedException(Throwable, Throwable) - Static method in class org.assertj.core.error.ShouldHaveSuppressedException
-
Creates a new
.ShouldHaveSuppressedException
- ShouldHaveSuppressedException - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
Throwable
has a given suppressed exception failed. - shouldHaveThrown(Class<? extends Throwable>) - Method in class org.assertj.core.api.AbstractSoftAssertions
-
Fails with a message explaining that a
Throwable
of given class was expected to be thrown but had not been. - shouldHaveThrown(Class<? extends Throwable>) - Static method in class org.assertj.core.api.Assertions
-
Throws an
AssertionError
with a message explaining that aThrowable
of given class was expected to be thrown but had not been. - shouldHaveThrown(Class<? extends Throwable>) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
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.BDDAssertions
-
Throws an
AssertionError
with a message explaining that aThrowable
of given class was expected to be thrown but had not been. - shouldHaveThrown(Class<? extends Throwable>) - Static method in class org.assertj.core.api.Fail
-
Throws an
AssertionError
with a message explaining that aThrowable
of given class was expected to be thrown but had not been. - shouldHaveThrown(Class<? extends Throwable>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Throws an
AssertionError
with a message explaining that aThrowable
of given class was expected to be thrown but had not been. - shouldHaveThrown(Class<? extends Throwable>) - Method in interface org.assertj.core.api.WithAssertions
-
Throws an
AssertionError
with a message explaining that aThrowable
of given class was expected to be thrown but had not been. - shouldHaveTime(Date, long) - Static method in class org.assertj.core.error.ShouldHaveTime
-
Creates a new
.ShouldHaveTime
- ShouldHaveTime - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a date have a certain timestamp.
- shouldHaveToString(Object, String) - Static method in class org.assertj.core.error.ShouldHaveToString
- ShouldHaveToString - Class in org.assertj.core.error
- shouldHaveTypes(Object, Iterable<Class<?>>, Iterable<Class<?>>, Iterable<Class<?>>) - Static method in class org.assertj.core.error.ShouldHaveExactlyTypes
- shouldHaveUserInfo(URI, String) - Static method in class org.assertj.core.error.uri.ShouldHaveUserInfo
- shouldHaveUserInfo(URL, String) - Static method in class org.assertj.core.error.uri.ShouldHaveUserInfo
- ShouldHaveUserInfo - Class in org.assertj.core.error.uri
- shouldHaveValue(Object, REF) - Static method in class org.assertj.core.error.ShouldHaveValue
- shouldHaveValue(Object, REF, REF, Object) - Static method in class org.assertj.core.error.ShouldHaveValue
- ShouldHaveValue - Class in org.assertj.core.error
- shouldHaveValueCloseToOffset(double) - Static method in class org.assertj.core.error.OptionalDoubleShouldHaveValueCloseToOffset
-
Indicates that an
OptionalDouble
is empty so it doesn't have the expected value. - shouldHaveValueCloseToOffset(OptionalDouble, double, Offset<Double>, double) - Static method in class org.assertj.core.error.OptionalDoubleShouldHaveValueCloseToOffset
-
Indicates that the provided
OptionalDouble
does not have the provided argument. - shouldHaveValueCloseToPercentage(double) - Static method in class org.assertj.core.error.OptionalDoubleShouldHaveValueCloseToPercentage
-
Indicates that the provided
OptionalDouble
is empty so it doesn't have the expected value. - shouldHaveValueCloseToPercentage(OptionalDouble, double, Percentage, double) - Static method in class org.assertj.core.error.OptionalDoubleShouldHaveValueCloseToPercentage
-
Indicates that the provided
OptionalDouble
has a value, but it is not within the given positive percentage. - shouldHaveYears(Period, int, int) - Static method in class org.assertj.core.error.ShouldHavePeriod
- shouldMatch(CharSequence, CharSequence) - Static method in class org.assertj.core.error.ShouldMatchPattern
-
Creates a new
.ShouldMatchPattern
- shouldMatch(Matcher) - Static method in class org.assertj.core.error.MatcherShouldMatch
-
Indicates that the provided
Matcher
should match. - shouldMatch(T, Predicate<? super T>, PredicateDescription) - Static method in class org.assertj.core.error.ShouldMatch
-
Creates a new
.ShouldMatch
- ShouldMatch - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a value satisfies a
failed.Predicate
- ShouldMatchPattern - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
CharSequence
matches a pattern failed. - shouldNotAccept(Predicate<? super T>, T, PredicateDescription) - Static method in class org.assertj.core.error.ShouldNotAccept
-
Creates a new
.ShouldNotAccept
- ShouldNotAccept - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that
not accepting a value failed.Predicate
- shouldNotBe(T, Condition<? super T>) - Static method in class org.assertj.core.error.ShouldNotBe
-
Creates a new
.ShouldNotBe
- ShouldNotBe - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a value does not satisfy a
failed.Condition
- shouldNotBeAnnotation(Class<?>) - Static method in class org.assertj.core.error.ShouldBeAnnotation
-
Creates a new
.ShouldBeAnnotation
- shouldNotBeBetween(Date, Date, Date, boolean, boolean) - Static method in class org.assertj.core.error.ShouldNotBeBetween
-
Creates a new
.ShouldNotBeBetween
- shouldNotBeBetween(Date, Date, Date, boolean, boolean, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldNotBeBetween
-
Creates a new
.ShouldNotBeBetween
- 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. - shouldNotBeBlank(CharSequence) - Static method in class org.assertj.core.error.ShouldNotBeBlank
-
Creates a new
.ShouldNotBeBlank
- ShouldNotBeBlank - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies
CharSequence
is not blank. - shouldNotBeCancelled(Future<?>) - Static method in class org.assertj.core.error.future.ShouldNotBeCancelled
- ShouldNotBeCancelled - Class in org.assertj.core.error.future
- shouldNotBeCompleted(CompletableFuture<?>) - Static method in class org.assertj.core.error.future.ShouldNotBeCompleted
- ShouldNotBeCompleted - Class in org.assertj.core.error.future
- ShouldNotBeCompletedExceptionally - Class in org.assertj.core.error.future
- shouldNotBeDone(Future<?>) - Static method in class org.assertj.core.error.future.ShouldNotBeDone
- ShouldNotBeDone - Class in org.assertj.core.error.future
- shouldNotBeEmpty() - Static method in class org.assertj.core.error.ShouldNotBeEmpty
-
Returns the singleton instance of this class.
- shouldNotBeEmpty(File) - Static method in class org.assertj.core.error.ShouldNotBeEmpty
-
Creates a new
.ShouldNotBeEmpty
- shouldNotBeEmpty(Path) - Static method in class org.assertj.core.error.ShouldNotBeEmpty
-
Creates a new
.ShouldNotBeEmpty
- 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.
- shouldNotBeEqual(Object, Object) - Static method in class org.assertj.core.error.ShouldNotBeEqual
-
Creates a new
.ShouldNotBeEqual
- shouldNotBeEqual(Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldNotBeEqual
-
Creates a new
.ShouldNotBeEqual
- shouldNotBeEqual(T, T, Offset<T>, T) - Static method in class org.assertj.core.error.ShouldNotBeEqualWithinOffset
-
Creates a new
.ShouldNotBeEqualWithinOffset
- ShouldNotBeEqual - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that two objects are not equal failed.
- shouldNotBeEqualComparingFieldByFieldRecursively(Object) - Static method in class org.assertj.core.error.ShouldNotBeEqualComparingFieldByFieldRecursively
- shouldNotBeEqualComparingFieldByFieldRecursively(Object, Object, RecursiveComparisonConfiguration, Representation) - Static method in class org.assertj.core.error.ShouldNotBeEqualComparingFieldByFieldRecursively
- ShouldNotBeEqualComparingFieldByFieldRecursively - Class in org.assertj.core.error
- shouldNotBeEqualIgnoringCase(CharSequence, CharSequence) - Static method in class org.assertj.core.error.ShouldNotBeEqualIgnoringCase
-
Creates a new
.ShouldNotBeEqualIgnoringCase
- ShouldNotBeEqualIgnoringCase - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that two
CharSequence
s are not equal, ignoring case considerations, failed. - shouldNotBeEqualIgnoringWhitespace(CharSequence, CharSequence) - Static method in class org.assertj.core.error.ShouldNotBeEqualIgnoringWhitespace
-
Creates a new
.ShouldNotBeEqualIgnoringWhitespace
- ShouldNotBeEqualIgnoringWhitespace - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that two
CharSequence
s are not equal, ignoring whitespace differences, failed. - shouldNotBeEqualNormalizingWhitespace(CharSequence, CharSequence) - Static method in class org.assertj.core.error.ShouldNotBeEqualNormalizingWhitespace
-
Creates a new
.ShouldNotBeEqualNormalizingWhitespace
- ShouldNotBeEqualNormalizingWhitespace - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that two
CharSequence
s are not equal, after the whitespace of both strings has been normalized, failed. - ShouldNotBeEqualWithinOffset - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that two numbers are not equal within a positive offset failed.
- shouldNotBeEqualWithinPercentage(T, T, Percentage, T) - Static method in class org.assertj.core.error.ShouldNotBeEqualWithinPercentage
-
Creates a new
.ShouldNotBeEqualWithinPercentage
- ShouldNotBeEqualWithinPercentage - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that two numbers are not equal within a positive percentage failed.
- shouldNotBeExactlyInstance(Object, Class<?>) - Static method in class org.assertj.core.error.ShouldNotBeExactlyInstanceOf
-
Creates a new
.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.
- shouldNotBeFinal(Class<?>) - Static method in class org.assertj.core.error.ClassModifierShouldBe
-
Creates a new instance for a negative check of the
final
modifier. - shouldNotBeFinite(Number) - Static method in class org.assertj.core.error.ShouldNotBeFinite
- ShouldNotBeFinite - Class in org.assertj.core.error
- shouldNotBeIn(Object, Object) - Static method in class org.assertj.core.error.ShouldNotBeIn
-
Creates a new
.ShouldNotBeIn
- shouldNotBeIn(Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldNotBeIn
-
Creates a new
.ShouldNotBeIn
- 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.
- shouldNotBeInfinite(Number) - Static method in class org.assertj.core.error.ShouldNotBeInfinite
- ShouldNotBeInfinite - Class in org.assertj.core.error
- shouldNotBeInstance(Object, Class<?>) - Static method in class org.assertj.core.error.ShouldNotBeInstance
-
Creates a new
.ShouldNotBeInstance
- 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.
- shouldNotBeInstanceOfAny(Object, Class<?>[]) - Static method in class org.assertj.core.error.ShouldNotBeInstanceOfAny
-
Creates a new
.ShouldNotBeInstanceOfAny
- 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.
- shouldNotBeInterface(Class<?>) - Static method in class org.assertj.core.error.ShouldBeInterface
-
Creates a new
.ShouldBeInterface
- shouldNotBeMarked(AtomicMarkableReference<?>) - Static method in class org.assertj.core.error.ShouldBeMarked
- shouldNotBeNull() - Static method in class org.assertj.core.error.ShouldNotBeNull
-
Returns the default instance of this class.
- shouldNotBeNull(String) - Static method in class org.assertj.core.error.ShouldNotBeNull
-
Create a instance specifying a label
- ShouldNotBeNull - Class in org.assertj.core.error
-
Creates an error message that indicates an assertion that verifies that an object is not
null
failed. - shouldNotBeOfClassIn(Object, Object) - Static method in class org.assertj.core.error.ShouldNotBeOfClassIn
-
Creates a new
.ShouldNotBeOfClassIn
- 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.
- shouldNotBeSame(Object) - Static method in class org.assertj.core.error.ShouldNotBeSame
-
Creates a new
.ShouldNotBeSame
- 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.
- shouldNotBeStatic(Class<?>) - Static method in class org.assertj.core.error.ClassModifierShouldBe
-
Creates a new instance for a negative check of the
static
modifier. - shouldNotContain(CharSequence, CharSequence) - Static method in class org.assertj.core.error.ShouldNotContainCharSequence
- shouldNotContain(CharSequence, CharSequence[], Set<? extends CharSequence>, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldNotContainCharSequence
-
Creates a new
ShouldNotContainCharSequence
- shouldNotContain(CharSequence, CharSequence, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldNotContainCharSequence
-
Creates a new
.ShouldNotContainCharSequence
- shouldNotContain(Object, Object, Object) - Static method in class org.assertj.core.error.ShouldNotContain
-
Creates a new
.ShouldNotContain
- shouldNotContain(Object, Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldNotContain
-
Creates a new
.ShouldNotContain
- 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.
- shouldNotContainAnyWhitespaces(CharSequence) - Static method in class org.assertj.core.error.ShouldNotContainAnyWhitespaces
-
Creates a new
.ShouldNotContainAnyWhitespaces
- ShouldNotContainAnyWhitespaces - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
CharSequence
does not contain whitespace characters. - shouldNotContainAtIndex(Object, Object, Index) - Static method in class org.assertj.core.error.ShouldNotContainAtIndex
-
Creates a new
.ShouldNotContainAtIndex
- shouldNotContainAtIndex(Object, Object, Index, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldNotContainAtIndex
-
Creates a new
.ShouldNotContainAtIndex
- 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.
- ShouldNotContainCharSequence - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
CharSequence
does not contain anotherCharSequence
failed. - shouldNotContainIgnoringCase(CharSequence, CharSequence) - Static method in class org.assertj.core.error.ShouldNotContainCharSequence
-
Creates a new
.ShouldContainCharSequence
- shouldNotContainIgnoringCase(CharSequence, CharSequence[], Set<CharSequence>) - Static method in class org.assertj.core.error.ShouldNotContainCharSequence
- shouldNotContainKey(Object, Object) - Static method in class org.assertj.core.error.ShouldNotContainKey
-
Creates a new
.ShouldNotContainKey
- 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.
- shouldNotContainKeys(Object, Set<K>) - Static method in class org.assertj.core.error.ShouldNotContainKeys
-
Creates a new
.ShouldNotContainKeys
- ShouldNotContainKeys - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a map does not contain keys.
- shouldNotContainNull(Object) - Static method in class org.assertj.core.error.ShouldNotContainNull
-
Creates a new
.ShouldNotContainNull
- 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.
- shouldNotContainOnlyWhitespaces(CharSequence) - Static method in class org.assertj.core.error.ShouldNotContainOnlyWhitespaces
-
Creates a new
.ShouldNotContainOnlyWhitespaces
- ShouldNotContainOnlyWhitespaces - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies
CharSequence
is not blank. - shouldNotContainPattern(CharSequence, CharSequence) - Static method in class org.assertj.core.error.ShouldNotContainPattern
-
Creates a new
.ShouldNotContainPattern
- ShouldNotContainPattern - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
CharSequence
does not contain a regular expression failed. - shouldNotContainSequence(Object, Object, int) - Static method in class org.assertj.core.error.ShouldNotContainSequence
-
Creates a new
.ShouldNotContainSequence
- shouldNotContainSequence(Object, Object, int, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldNotContainSequence
-
Creates a new
.ShouldNotContainSequence
- ShouldNotContainSequence - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a group of elements does not contain a sequence of values failed.
- shouldNotContainSubsequence(Object, Object, int) - Static method in class org.assertj.core.error.ShouldNotContainSubsequence
-
Creates a new
.ShouldNotContainSubsequence
- shouldNotContainSubsequence(Object, Object, ComparisonStrategy, int) - Static method in class org.assertj.core.error.ShouldNotContainSubsequence
-
Creates a new
.ShouldNotContainSubsequence
- ShouldNotContainSubsequence - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a group of elements does not contains a subsequence of values failed.
- shouldNotContainValue(Object, Object) - Static method in class org.assertj.core.error.ShouldNotContainValue
-
Creates a new
.ShouldNotContainValue
- ShouldNotContainValue - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a map does not contains a value.
- shouldNotEndWith(Object, Object) - Static method in class org.assertj.core.error.ShouldNotEndWith
-
Creates a new
.ShouldNotEndWith
- shouldNotEndWith(Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldNotEndWith
-
Creates a new
.ShouldNotEndWith
- ShouldNotEndWith - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a group of elements does not end with a given value or sequence of values failed.
- shouldNotEndWithIgnoringCase(CharSequence, CharSequence, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldNotEndWithIgnoringCase
-
Creates a new
.ShouldNotEndWithIgnoringCase
- ShouldNotEndWithIgnoringCase - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that
CharSequence
does not end with a given value (ignoring case considerations) failed. - shouldNotExist(File) - Static method in class org.assertj.core.error.ShouldNotExist
-
Creates a new
.ShouldNotExist
- shouldNotExist(Path) - Static method in class org.assertj.core.error.ShouldNotExist
- ShouldNotExist - Class in org.assertj.core.error
- shouldNotHave(T, Condition<? super T>) - Static method in class org.assertj.core.error.ShouldNotHave
-
Creates a new
.ShouldNotHave
- ShouldNotHave - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a value does not satisfy a
failed.Condition
- shouldNotHaveAnyElementsOfTypes(Object, Class<?>[], Map<Class<?>, List<Object>>) - Static method in class org.assertj.core.error.ShouldNotHaveAnyElementsOfTypes
-
Creates a new
.ShouldNotHaveAnyElementsOfTypes
- ShouldNotHaveAnyElementsOfTypes - Class in org.assertj.core.error
- shouldNotHaveCompletedExceptionally(CompletableFuture<?>) - Static method in class org.assertj.core.error.future.ShouldNotBeCompletedExceptionally
- shouldNotHaveDuplicates(Object, Object) - Static method in class org.assertj.core.error.ShouldNotHaveDuplicates
-
Creates a new
.ShouldNotHaveDuplicates
- shouldNotHaveDuplicates(Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldNotHaveDuplicates
-
Creates a new
.ShouldNotHaveDuplicates
- 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.
- shouldNotHaveFailed(CompletableFuture<?>) - Static method in class org.assertj.core.error.future.ShouldNotHaveFailed
- ShouldNotHaveFailed - Class in org.assertj.core.error.future
- shouldNotHaveMethods(Class<?>, boolean, SortedSet<String>) - Static method in class org.assertj.core.error.ShouldHaveMethods
- shouldNotHaveMethods(Class<?>, String, boolean, SortedSet<String>) - Static method in class org.assertj.core.error.ShouldHaveMethods
- shouldNotHaveSameClass(Object, Object) - Static method in class org.assertj.core.error.ShouldNotHaveSameClass
-
Creates a new
.ShouldNotHaveSameClass
- 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.
- shouldNotHaveSameHashCode(Object, Object) - Static method in class org.assertj.core.error.ShouldNotHaveSameHashCode
- ShouldNotHaveSameHashCode - Class in org.assertj.core.error
- shouldNotHaveThrown(Throwable) - Static method in class org.assertj.core.error.ShouldNotHaveThrown
- ShouldNotHaveThrown - Class in org.assertj.core.error
- shouldNotHaveToString(String) - Static method in class org.assertj.core.error.ShouldNotHaveToString
- ShouldNotHaveToString - Class in org.assertj.core.error
- shouldNotMatch(CharSequence, CharSequence) - Static method in class org.assertj.core.error.ShouldNotMatchPattern
-
Creates a new
.ShouldStartWith
- shouldNotMatch(T, Predicate<? super T>, PredicateDescription) - Static method in class org.assertj.core.error.ShouldNotMatch
-
Creates a new
.ShouldNotMatch
- ShouldNotMatch - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a value not satisfying a
failed.Predicate
- 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. - shouldNotStartWith(Object, Object) - Static method in class org.assertj.core.error.ShouldNotStartWith
-
Creates a new
.ShouldNotStartWith
- shouldNotStartWith(Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldNotStartWith
-
Creates a new
.ShouldNotStartWith
- ShouldNotStartWith - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a group of elements does not start with a given value or sequence of values failed.
- shouldNotStartWithIgnoringCase(CharSequence, CharSequence, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldNotStartWithIgnoringCase
-
Creates a new
.ShouldNotStartWithIgnoringCase
- ShouldNotStartWithIgnoringCase - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies
CharSequence
does not start with a given value (ignoring case considerations) failed. - shouldOnlyHaveDeclaredFields(Class<?>, Collection<String>, Collection<String>, Collection<String>) - Static method in class org.assertj.core.error.ShouldOnlyHaveFields
-
Creates a new
.ShouldOnlyHaveFields
- shouldOnlyHaveElementsOfTypes(Object, Class<?>[], Iterable<?>) - Static method in class org.assertj.core.error.ShouldOnlyHaveElementsOfTypes
-
Creates a new
.ShouldOnlyHaveElementsOfTypes
- ShouldOnlyHaveElementsOfTypes - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies a group of elements contains elements that are not an instance of one of the given types.
- shouldOnlyHaveFields(Class<?>, Collection<String>, Collection<String>, Collection<String>) - Static method in class org.assertj.core.error.ShouldOnlyHaveFields
-
Creates a new
.ShouldOnlyHaveFields
- ShouldOnlyHaveFields - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a class has only the fields.
- shouldSatisfy(T, Condition<? super T>) - Static method in class org.assertj.core.error.ShouldSatisfy
- ShouldSatisfy - Class in org.assertj.core.error
- shouldSatisfyExactlyInAnyOrder(Iterable<E>) - Static method in class org.assertj.core.error.ShouldSatisfy
-
Creates a new
.ShouldSatisfy
- shouldStartWith(Object, Object) - Static method in class org.assertj.core.error.ShouldStartWith
-
Creates a new
.ShouldStartWith
- shouldStartWith(Object, Object, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldStartWith
-
Creates a new
.ShouldStartWith
- shouldStartWith(Path, Path) - Static method in class org.assertj.core.error.ShouldStartWithPath
- 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.
- shouldStartWithIgnoringCase(CharSequence, CharSequence, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldStartWithIgnoringCase
-
Creates a new
.ShouldStartWithIgnoringCase
- ShouldStartWithIgnoringCase - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies
CharSequence
starts with a given value (ignoring case considerations) failed. - ShouldStartWithPath - Class in org.assertj.core.error
- singleElement() - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the
Iterable
under test contains a single element and allows to perform assertions on that element. - singleElement() - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the array under test contains a single element and allows to perform assertions on that element.
- singleElement(InstanceOfAssertFactory<?, ASSERT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the
Iterable
under test contains a single element and allows to perform assertions on that element, the assertions are strongly typed according to the givenAssertFactory
parameter. - singleElement(InstanceOfAssertFactory<?, ASSERT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the array under test contains a single element and allows to perform assertions on that element, the assertions are strongly typed according to the given
AssertFactory
parameter. - singleLineFormat(Iterable<?>, String, String) - Method in class org.assertj.core.presentation.StandardRepresentation
- singleLineFormat(Object[], Object) - Method in class org.assertj.core.presentation.StandardRepresentation
- size() - Method in class org.assertj.core.api.AbstractFileAssert
-
Returns an
Assert
object that allows performing assertions on the size of theFile
under test. - size() - Method in class org.assertj.core.api.AbstractIterableAssert
-
Returns an
Assert
object that allows performing assertions on the size of theIterable
under test. - size() - Method in class org.assertj.core.api.AbstractMapAssert
-
Returns an
Assert
object that allows performing assertions on the size of theMap
under test. - size() - Method in class org.assertj.core.util.ArrayWrapperList
- size() - Method in class org.assertj.core.util.diff.Chunk
-
Return the chunk size
- sizeOf(Iterable<?>) - Static method in class org.assertj.core.util.IterableUtil
-
Returns the size of the given
Iterable
. - sizeOf(Object) - Static method in class org.assertj.core.util.Arrays
- smartErrorMessage(Description, Representation) - Method in class org.assertj.core.error.ShouldBeEqual
-
Builds and returns an error message from the given description using
ShouldBeEqual.expected
andShouldBeEqual.actual
basic representation if their description differ otherwise useShouldBeEqual.defaultDetailedErrorMessage(Description, Representation)
to represent them differently. - smartFormat(Iterable<?>) - Method in class org.assertj.core.presentation.StandardRepresentation
-
Returns the
String
representation of the givenIterable
, ornull
if the givenIterable
isnull
. - smartFormat(Object[]) - Method in class org.assertj.core.presentation.StandardRepresentation
- Snake - Class in org.assertj.core.util.diff.myers
-
Copy from https://code.google.com/p/java-diff-utils/.
- Snake(int, int, PathNode) - Constructor for class org.assertj.core.util.diff.myers.Snake
-
Constructs a snake node.
- 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.
- 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
- SoftAssertionsExtension - Class in org.assertj.core.api.junit.jupiter
-
Extension for JUnit Jupiter that provides support for injecting a concrete implementation of
SoftAssertionsProvider
into test methods and (since 3.18.0) into test fields annotated with@InjectSoftAssertions
. - SoftAssertionsExtension() - Constructor for class org.assertj.core.api.junit.jupiter.SoftAssertionsExtension
- SoftAssertionsProvider - Interface in org.assertj.core.api
-
Parent interface for soft assertion implementations.
- SoftAssertionsProvider.ThrowingRunnable - Interface in org.assertj.core.api
- SoftAssertionsRule - Interface in org.assertj.core.api
- SoftlyExtension - Class in org.assertj.core.api.junit.jupiter
-
Deprecated.This functionality (and more) has been rolled into
SoftAssertionsExtension
as of AssertJ 3.18.0. - SoftlyExtension() - Constructor for class org.assertj.core.api.junit.jupiter.SoftlyExtension
-
Deprecated.
- SoftThrowableAssertAlternative<ACTUAL extends Throwable> - Class in org.assertj.core.api
-
ThrowableAssertAlternative
subclass used in soft assertions. - SoftThrowableAssertAlternative(ACTUAL, SoftAssertionsProvider) - Constructor for class org.assertj.core.api.SoftThrowableAssertAlternative
- SoftThrowableTypeAssert<T extends Throwable> - Class in org.assertj.core.api
-
ThrowableTypeAssert for soft assertions.
- SoftThrowableTypeAssert(Class<? extends T>, SoftAssertionsProvider) - Constructor for class org.assertj.core.api.SoftThrowableTypeAssert
-
Default constructor.
- spliterator(Class<ELEMENT>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
- SPLITERATOR - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- SpliteratorAssert<ELEMENT> - Class in org.assertj.core.api
-
Assertion methods for
Spliterator
s. - SpliteratorAssert(Spliterator<ELEMENT>) - Constructor for class org.assertj.core.api.SpliteratorAssert
-
Creates a new
.SpliteratorAssert
- STANDARD_REPRESENTATION - Static variable in class org.assertj.core.presentation.StandardRepresentation
- StandardRepresentation - Class in org.assertj.core.presentation
-
Standard java object representation.
- StandardRepresentation() - Constructor for class org.assertj.core.presentation.StandardRepresentation
- StandardRepresentation.GroupType - Enum in org.assertj.core.presentation
- StandardSoftAssertionsProvider - Interface in org.assertj.core.api
- 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(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(double[], Offset<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(float[], Offset<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.AbstractByteArrayAssert
-
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(int...) - 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(int...) - Method in class org.assertj.core.api.AtomicIntegerArrayAssert
-
Verifies that the actual atomic array starts with the given sequence of values, without any other values 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(long...) - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the actual atomic array starts with the given sequence of values, without any other values between them.
- 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(ELEMENT...) - 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(ELEMENT...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual array starts with the given sequence of objects, without any other objects between them.
- startsWith(ELEMENT...) - 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.
- 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(Character[]) - 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(Double[], Offset<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(Float[], Offset<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(Integer[]) - 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(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(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(Path) - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
starts with the given path. - startsWith(T...) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the actual AtomicReferenceArray starts with the given sequence of objects, without any other objects between them.
- startsWithForProxy(ELEMENT[]) - Method in class org.assertj.core.api.AbstractIterableAssert
- startsWithForProxy(ELEMENT[]) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
- startsWithForProxy(ELEMENT[]) - Method in class org.assertj.core.api.ListAssert
- startsWithForProxy(T[]) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
- startsWithIgnoringCase(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequence
starts with the given prefix, ignoring case considerations. - startsWithRaw(Path) - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Path
starts with the given path. - status(T) - Method in class org.assertj.core.api.Condition
- stream(Class<ELEMENT>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for aStream
. - stream(Iterable<T>) - Static method in class org.assertj.core.util.Streams
-
Returns a sequential
Stream
of the contents ofiterable
, delegating toCollection.stream()
if possible. - stream(Iterator<T>) - Static method in class org.assertj.core.util.Streams
- STREAM - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- Streams - Class in org.assertj.core.util
- Streams() - Constructor for class org.assertj.core.util.Streams
- strict - Variable in class org.assertj.core.data.Offset
-
When |actual-expected|=offset and strict is true the assertThat(actual).isCloseTo(expected, offset); assertion will fail.
- strictOffset(T) - Static method in class org.assertj.core.data.Offset
-
Creates a new strict
Offset
that letisCloseTo
assertion pass when|actual-expected| < offset value
. - strictTypeChecking(boolean) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Sets whether the recursive comparison will check that actual's type is compatible with expected's type (the same applies for each field).
- STRING - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for aString
. - STRING_BUFFER - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- STRING_BUILDER - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- StringAssert - Class in org.assertj.core.api
-
Assertion methods for
String
s. - StringAssert(String) - Constructor for class org.assertj.core.api.StringAssert
- 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 givenString
to append. - subarraysShouldHaveSameSize(Object, Object, Object, int, Object, int, int) - Static method in class org.assertj.core.error.SubarraysShouldHaveSameSize
-
Creates a new
.SubarraysShouldHaveSameSize
- SubarraysShouldHaveSameSize - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that some subarray (in multidimensional arrays) has certain size failed.
- succeeded() - Method in interface org.assertj.core.api.AssertionErrorCollector
-
Indicates/sets that the last assertion was a success.
- succeeded() - Method in class org.assertj.core.api.DefaultAssertionErrorCollector
- succeedsWithin(long, TimeUnit) - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Waits if necessary for at most the given time for this future to complete, and then returns its result for further assertions.
- succeedsWithin(long, TimeUnit) - Method in class org.assertj.core.api.AbstractFutureAssert
-
Waits if necessary for at most the given time for this future to complete and then returns its result for further assertions.
- succeedsWithin(long, TimeUnit, InstanceOfAssertFactory<RESULT, ASSERT>) - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Waits if necessary for at most the given time for this future to complete, the
InstanceOfAssertFactory
parameter is used to return assertions specific to the the future's result type. - succeedsWithin(long, TimeUnit, InstanceOfAssertFactory<RESULT, ASSERT>) - Method in class org.assertj.core.api.AbstractFutureAssert
-
Waits if necessary for at most the given time for this future to complete, the
InstanceOfAssertFactory
parameter is used to return assertions specific to the the future's result type. - succeedsWithin(Duration) - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Waits if necessary for at most the given time for this future to complete, and then returns its result for further assertions.
- succeedsWithin(Duration) - Method in class org.assertj.core.api.AbstractFutureAssert
-
Waits if necessary for at most the given time for this future to complete and then returns its result for further assertions.
- succeedsWithin(Duration, InstanceOfAssertFactory<RESULT, ASSERT>) - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Waits if necessary for at most the given time for this future to complete, the
InstanceOfAssertFactory
parameter is used to return assertions specific to the the future's result type. - succeedsWithin(Duration, InstanceOfAssertFactory<RESULT, ASSERT>) - Method in class org.assertj.core.api.AbstractFutureAssert
-
Waits if necessary for at most the given time for this future to complete, the
InstanceOfAssertFactory
parameter is used to return assertions specific to the the future's result type. - SUCCESS - Enum constant in enum org.assertj.core.api.Condition.Status
- SUFFIX_DELIMITER - Static variable in class org.assertj.core.condition.Join
- supportsParameter(ParameterContext, ExtensionContext) - Method in class org.assertj.core.api.junit.jupiter.SoftAssertionsExtension
T
- TemporalOffset<T extends Temporal> - Interface in org.assertj.core.data
-
Temporal
offset. - TemporalUnitLessThanOffset - Class in org.assertj.core.data
-
TemporalUnitOffset
with strict less than condition. - TemporalUnitLessThanOffset(long, TemporalUnit) - Constructor for class org.assertj.core.data.TemporalUnitLessThanOffset
- TemporalUnitOffset - Class in org.assertj.core.data
-
Base class for
TemporalOffset
on basis ofTemporalUnit
. - TemporalUnitOffset(long, TemporalUnit) - Constructor for class org.assertj.core.data.TemporalUnitOffset
-
Creates a new temporal offset for a given temporal unit.
- TemporalUnitWithinOffset - Class in org.assertj.core.data
-
TemporalUnitOffset
with less than or equal condition. - TemporalUnitWithinOffset(long, TemporalUnit) - Constructor for class org.assertj.core.data.TemporalUnitWithinOffset
- temporaryFolder() - Static method in class org.assertj.core.util.Files
-
Deprecated.Use either
TempDir
orTemporaryFolder
- temporaryFolderPath() - Static method in class org.assertj.core.util.Files
-
Returns the path of the system's temporary directory.
- TEST_NG - Enum constant in enum org.assertj.core.configuration.PreferredAssumptionException
-
org.testng.SkipException
- works with TestNG - TextDescription - Class in org.assertj.core.description
-
A text-based description.
- TextDescription(String, Object...) - Constructor for class org.assertj.core.description.TextDescription
-
Creates a new
.TextDescription
- TextFileWriter - Class in org.assertj.core.util
- then(boolean) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.BooleanAssert
- then(boolean) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.BooleanAssert
- then(boolean) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.BooleanAssert
- then(boolean[]) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.BooleanArrayAssert
- then(boolean[]) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.BooleanArrayAssert
- then(boolean[]) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.BooleanArrayAssert
- then(boolean[][]) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.Boolean2DArrayAssert
- then(boolean[][]) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.Boolean2DArrayAssert
- then(boolean[][]) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.Boolean2DArrayAssert
- then(byte) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.ByteAssert
- then(byte) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.ByteAssert
- then(byte) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.ByteAssert
- then(byte[]) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.ByteArrayAssert
- then(byte[]) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.ByteArrayAssert
- then(byte[]) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.ByteArrayAssert
- then(byte[][]) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.Byte2DArrayAssert
- then(byte[][]) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.Byte2DArrayAssert
- then(byte[][]) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.Byte2DArrayAssert
- then(char) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.CharacterAssert
- then(char) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.CharacterAssert
- then(char) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.CharacterAssert
- then(char[]) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.CharArrayAssert
- then(char[]) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.CharArrayAssert
- then(char[]) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.CharArrayAssert
- then(char[][]) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.Char2DArrayAssert
- then(char[][]) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.Char2DArrayAssert
- then(char[][]) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.Char2DArrayAssert
- then(double) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.DoubleAssert
- then(double) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.DoubleAssert
- then(double) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.DoubleAssert
- then(double[]) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.DoubleArrayAssert
- then(double[]) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.DoubleArrayAssert
- then(double[]) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.DoubleArrayAssert
- then(double[][]) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.Double2DArrayAssert
- then(double[][]) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.Double2DArrayAssert
- then(double[][]) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.Double2DArrayAssert
- then(float) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.FloatAssert
- then(float) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.FloatAssert
- then(float) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.FloatAssert
- then(float[]) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.FloatArrayAssert
- then(float[]) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.FloatArrayAssert
- then(float[]) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.FloatArrayAssert
- then(float[][]) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.Float2DArrayAssert
- then(float[][]) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.Float2DArrayAssert
- then(float[][]) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.Float2DArrayAssert
- then(int) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.IntegerAssert
- then(int) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.IntegerAssert
- then(int) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.IntegerAssert
- then(int[]) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.IntArrayAssert
- then(int[]) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.IntArrayAssert
- then(int[]) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.IntArrayAssert
- then(int[][]) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.Int2DArrayAssert
- then(int[][]) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.Int2DArrayAssert
- then(int[][]) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.Int2DArrayAssert
- then(long) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.LongAssert
- then(long) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.LongAssert
- then(long) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.LongAssert
- then(long[]) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.LongArrayAssert
- then(long[]) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.LongArrayAssert
- then(long[]) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.LongArrayAssert
- then(long[][]) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.Long2DArrayAssert
- then(long[][]) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.Long2DArrayAssert
- then(long[][]) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.Long2DArrayAssert
- then(short) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.ShortAssert
- then(short) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.ShortAssert
- then(short) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.ShortAssert
- then(short[]) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.ShortArrayAssert
- then(short[]) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.ShortArrayAssert
- then(short[]) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.ShortArrayAssert
- then(short[][]) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.Short2DArrayAssert
- then(short[][]) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.Short2DArrayAssert
- then(short[][]) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.Short2DArrayAssert
- then(ACTUAL, Class<ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
allowing to navigate to anyClassBasedNavigableIterableAssert
Iterable
element in order to perform assertions on it. - then(ACTUAL, Class<ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
allowing to navigate to anyClassBasedNavigableIterableAssert
Iterable
element in order to perform assertions on it. - then(File) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.FileAssert
- then(File) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.FileAssert
- then(File) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.FileAssert
- then(InputStream) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.InputStreamAssert
- then(InputStream) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.InputStreamAssert
- then(InputStream) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.InputStreamAssert
- then(Boolean) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.BooleanAssert
- then(Boolean) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.BooleanAssert
- then(Boolean) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.BooleanAssert
- then(Byte) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.ByteAssert
- then(Byte) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.ByteAssert
- then(Byte) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.ByteAssert
- then(Character) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.CharacterAssert
- then(Character) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.CharacterAssert
- then(Character) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.CharacterAssert
- then(CharSequence) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.CharSequenceAssert
- then(CharSequence) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.CharSequenceAssert
- then(CharSequence) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.CharSequenceAssert
- then(Class<?>) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
ClassAssert
- then(Class<?>) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
ClassAssert
- then(Class<?>) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
ClassAssert
- then(Double) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.DoubleAssert
- then(Double) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.DoubleAssert
- then(Double) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.DoubleAssert
- then(Float) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.FloatAssert
- then(Float) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.FloatAssert
- then(Float) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.FloatAssert
- then(Integer) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.IntegerAssert
- then(Integer) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.IntegerAssert
- then(Integer) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.IntegerAssert
- then(Iterable<? extends ELEMENT>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
allowing to navigate to anyFactoryBasedNavigableIterableAssert
Iterable
element in order to perform assertions on it. - then(Iterable<? extends ELEMENT>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
allowing to navigate to anyFactoryBasedNavigableIterableAssert
Iterable
element in order to perform assertions on it. - then(Iterable<? extends T>) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.IterableAssert
- then(Iterable<? extends T>) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.IterableAssert
- then(Iterable<? extends T>) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.IterableAssert
- then(Long) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.LongAssert
- then(Long) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.LongAssert
- then(Long) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.LongAssert
- then(Short) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.ShortAssert
- then(Short) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.ShortAssert
- then(Short) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.ShortAssert
- then(String) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.StringAssert
- then(String) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.StringAssert
- then(String) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.StringAssert
- then(StringBuffer) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
from aCharSequenceAssert
StringBuffer
. - then(StringBuffer) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
from aCharSequenceAssert
StringBuffer
. - then(StringBuffer) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
from aCharSequenceAssert
StringBuffer
. - then(StringBuilder) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
from aCharSequenceAssert
StringBuilder
. - then(StringBuilder) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
from aCharSequenceAssert
StringBuilder
. - then(StringBuilder) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
from aCharSequenceAssert
StringBuilder
. - then(BigDecimal) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.BigDecimalAssert
- then(BigDecimal) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.BigDecimalAssert
- then(BigDecimal) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.BigDecimalAssert
- then(BigInteger) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.BigIntegerAssert
- then(BigInteger) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.BigIntegerAssert
- then(BigInteger) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.BigIntegerAssert
- then(URI) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.UriAssert
- then(URI) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.UriAssert
- then(URI) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.UriAssert
- then(URL) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.UrlAssert
- then(URL) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.UrlAssert
- then(URL) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.UrlAssert
- then(Path) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
PathAssert
- then(Path) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Creates a new, proxied instance of a
PathAssert
- then(Duration) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.DurationAssert
- then(Duration) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Creates a new instance of
.DurationAssert
- then(Instant) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.InstantAssert
- then(Instant) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Creates a new instance of
.InstantAssert
- then(LocalDate) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.LocalDateAssert
- then(LocalDate) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Creates a new instance of
.LocalDateAssert
- then(LocalDateTime) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.LocalDateTimeAssert
- then(LocalDateTime) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Creates a new instance of
.LocalDateTimeAssert
- then(LocalTime) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.LocalTimeAssert
- then(LocalTime) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Creates a new instance of
.LocalTimeAssert
- then(OffsetDateTime) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.OffsetTimeAssert
- then(OffsetDateTime) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Creates a new instance of
.OffsetDateTimeAssert
- then(OffsetTime) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.OffsetTimeAssert
- then(OffsetTime) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Creates a new instance of
.OffsetTimeAssert
- then(Period) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.PeriodAssert
- then(Period) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Creates a new instance of
.PeriodAssert
- then(ZonedDateTime) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.ZonedDateTimeAssert
- then(ZonedDateTime) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Creates a new instance of
.ZonedDateTimeAssert
- then(Collection<? extends E>) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.CollectionAssert
- then(Collection<? extends T>) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.CollectionAssert
- then(Collection<? extends T>) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.CollectionAssert
- then(AtomicBoolean) - Static method in class org.assertj.core.api.BDDAssertions
-
Create assertion for
AtomicBoolean
. - then(AtomicBoolean) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Create assertion for
AtomicBoolean
. - then(AtomicBoolean) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Create assertion for
AtomicBoolean
. - then(AtomicInteger) - Static method in class org.assertj.core.api.BDDAssertions
-
Create assertion for
AtomicInteger
. - then(AtomicInteger) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Create assertion for
AtomicInteger
. - then(AtomicInteger) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Create assertion for
AtomicInteger
. - then(AtomicIntegerArray) - Static method in class org.assertj.core.api.BDDAssertions
-
Create assertion for
AtomicIntegerArray
. - then(AtomicIntegerArray) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Create int[] assertion for
AtomicIntegerArray
. - then(AtomicIntegerArray) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Create assertion for
AtomicIntegerArray
. - then(AtomicIntegerFieldUpdater<OBJECT>) - Static method in class org.assertj.core.api.BDDAssertions
-
Create assertion for
AtomicIntegerFieldUpdater
. - then(AtomicIntegerFieldUpdater<OBJECT>) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Create assertion for
AtomicIntegerFieldUpdater
. - then(AtomicIntegerFieldUpdater<OBJECT>) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Create assertion for
AtomicIntegerFieldUpdater
. - then(AtomicLong) - Static method in class org.assertj.core.api.BDDAssertions
-
Create assertion for
AtomicLong
. - then(AtomicLong) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Create assertion for
AtomicLong
. - then(AtomicLong) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Create assertion for
AtomicLong
. - then(AtomicLongArray) - Static method in class org.assertj.core.api.BDDAssertions
-
Create assertion for
AtomicLongArray
. - then(AtomicLongArray) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Create assertion for
AtomicLongArray
. - then(AtomicLongArray) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Create assertion for
AtomicLongArray
. - then(AtomicLongFieldUpdater<OBJECT>) - Static method in class org.assertj.core.api.BDDAssertions
-
Create assertion for
AtomicLongFieldUpdater
. - then(AtomicLongFieldUpdater<OBJECT>) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Create assertion for
AtomicLongFieldUpdater
. - then(AtomicLongFieldUpdater<OBJECT>) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Create assertion for
AtomicLongFieldUpdater
. - then(AtomicMarkableReference<VALUE>) - Static method in class org.assertj.core.api.BDDAssertions
-
Create assertion for
AtomicMarkableReference
. - then(AtomicMarkableReference<VALUE>) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Create assertion for
AtomicMarkableReference
. - then(AtomicMarkableReference<VALUE>) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Create assertion for
AtomicMarkableReference
. - then(AtomicReference<VALUE>) - Static method in class org.assertj.core.api.BDDAssertions
-
Create assertion for
AtomicReference
. - then(AtomicReference<VALUE>) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Create assertion for
AtomicReference
. - then(AtomicReference<VALUE>) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Create assertion for
AtomicReference
. - then(AtomicReferenceArray<ELEMENT>) - Static method in class org.assertj.core.api.BDDAssertions
-
Create assertion for
AtomicReferenceArray
. - then(AtomicReferenceArray<ELEMENT>) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Create assertion for
AtomicReferenceArray
. - then(AtomicReferenceArray<ELEMENT>) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Create assertion for
AtomicReferenceArray
. - then(AtomicReferenceFieldUpdater<OBJECT, FIELD>) - Static method in class org.assertj.core.api.BDDAssertions
-
Create assertion for
AtomicReferenceFieldUpdater
. - then(AtomicReferenceFieldUpdater<OBJECT, FIELD>) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Create assertion for
AtomicReferenceFieldUpdater
. - then(AtomicReferenceFieldUpdater<OBJECT, FIELD>) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Create assertion for
AtomicReferenceFieldUpdater
. - then(AtomicStampedReference<VALUE>) - Static method in class org.assertj.core.api.BDDAssertions
-
Create assertion for
AtomicStampedReference
. - then(AtomicStampedReference<VALUE>) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Create assertion for
AtomicStampedReference
. - then(AtomicStampedReference<VALUE>) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Create assertion for
AtomicStampedReference
. - then(LongAdder) - Static method in class org.assertj.core.api.BDDAssertions
-
Create assertion for
LongAdder
. - then(LongAdder) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Create assertion for
LongAdder
. - then(CompletableFuture<RESULT>) - Static method in class org.assertj.core.api.BDDAssertions
-
Create assertion for
CompletableFuture
. - then(CompletableFuture<RESULT>) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Create assertion for
CompletableFuture
. - then(CompletionStage<RESULT>) - Static method in class org.assertj.core.api.BDDAssertions
-
Create assertion for
CompletionStage
by converting it to aCompletableFuture
and returning aCompletableFutureAssert
. - then(CompletionStage<RESULT>) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Create assertion for
CompletionStage
by converting it to aCompletableFuture
and returning aCompletableFutureAssert
. - then(Future<RESULT>) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
FutureAssert
- then(Future<RESULT>) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.FutureAssert
- then(Future<RESULT>) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.FutureAssert
- then(Date) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.DateAssert
- then(Date) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.DateAssert
- then(Date) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.DateAssert
- then(DoublePredicate) - Static method in class org.assertj.core.api.BDDAssertions
-
Create assertion for
DoublePredicate
. - then(DoublePredicate) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Create assertion for
DoublePredicate
. - then(IntPredicate) - Static method in class org.assertj.core.api.BDDAssertions
-
Create assertion for
IntPredicate
. - then(IntPredicate) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Create assertion for
IntPredicate
. - then(LongPredicate) - Static method in class org.assertj.core.api.BDDAssertions
-
Create assertion for
LongPredicate
. - then(LongPredicate) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Create assertion for
DoublePredicate
. - then(Predicate<T>) - Static method in class org.assertj.core.api.BDDAssertions
-
Create assertion for
Predicate
. - then(Predicate<T>) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Create assertion for
Predicate
. - then(Iterator<? extends T>) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.IteratorAssert
- then(Iterator<? extends T>) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.IteratorAssert
- then(Iterator<? extends T>) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.IteratorAssert
- then(List<? extends ELEMENT>, Class<ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
allowing to navigate to anyClassBasedNavigableListAssert
List
element in order to perform assertions on it. - then(List<? extends ELEMENT>, Class<ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
allowing to navigate to anyClassBasedNavigableListAssert
List
element in order to perform assertions on it. - then(List<? extends ELEMENT>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
allowing to navigate to anyFactoryBasedNavigableListAssert
List
element in order to perform assertions on it. - then(List<? extends ELEMENT>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
allowing to navigate to anyFactoryBasedNavigableListAssert
List
element in order to perform assertions on it. - then(List<? extends T>) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.ListAssert
- then(List<? extends T>) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.ListAssert
- then(List<? extends T>) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.ListAssert
- then(Map<K, V>) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.MapAssert
- then(Map<K, V>) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.MapAssert
- then(Map<K, V>) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.MapAssert
- then(Optional<VALUE>) - Static method in class org.assertj.core.api.BDDAssertions
-
Create assertion for
Optional
. - then(Optional<VALUE>) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Create assertion for
Optional
. - then(OptionalDouble) - Static method in class org.assertj.core.api.BDDAssertions
-
Create assertion for
OptionalDouble
. - then(OptionalDouble) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Create assertion for
OptionalDouble
. - then(OptionalInt) - Static method in class org.assertj.core.api.BDDAssertions
-
Create assertion for
OptionalInt
. - then(OptionalInt) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Create assertion for
OptionalInt
. - then(OptionalLong) - Static method in class org.assertj.core.api.BDDAssertions
-
Create assertion for
OptionalLong
. - then(OptionalLong) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Create assertion for
OptionalLong
. - then(Matcher) - Static method in class org.assertj.core.api.BDDAssertions
-
Create assertion for
Matcher
- then(Matcher) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Create assertion for
Matcher
. - then(Spliterator<ELEMENT>) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
from the givenSpliteratorAssert
Spliterator
. - then(Spliterator<ELEMENT>) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Creates a new instance of
from the givenSpliteratorAssert
Spliterator
. - then(DoubleStream) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
from the givenListAssert
DoubleStream
. - then(DoubleStream) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Creates a new instance of
from the givenListAssert
DoubleStream
. - then(IntStream) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
from the givenListAssert
IntStream
. - then(IntStream) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Creates a new instance of
from the givenListAssert
IntStream
. - then(LongStream) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
from the givenListAssert
LongStream
. - then(LongStream) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Creates a new instance of
from the givenListAssert
LongStream
. - then(Stream<? extends ELEMENT>) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
from the givenListAssert
Stream
. - then(Stream<? extends ELEMENT>) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Creates a new instance of
from the givenListAssert
Stream
. - then(AssertProvider<T>) - Static method in class org.assertj.core.api.BDDAssertions
-
Delegates the creation of the
Assert
to theAssertProvider.assertThat()
of the given component. - then(AssertProvider<T>) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Delegates the creation of the
Assert
to theAssertProvider.assertThat()
of the given component. - then(T) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
with standard comparison semantics.GenericComparableAssert
- then(T) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
with standard comparison semantics.GenericComparableAssert
- then(T) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
with standard comparison semantics.GenericComparableAssert
- then(T[]) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.ObjectArrayAssert
- then(T[]) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.ObjectArrayAssert
- then(T[]) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.ObjectArrayAssert
- then(T[][]) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.Object2DArrayAssert
- then(T[][]) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.Object2DArrayAssert
- then(T[][]) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.Object2DArrayAssert
- thenCode(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.BDDAssertions
-
Allows to capture and then assert on a
Throwable
more easily when used with Java 8 lambdas. - thenCode(ThrowableAssert.ThrowingCallable) - Method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Allows to capture and then assert on a
Throwable
more easily when used with Java 8 lambdas. - thenCode(ThrowableAssert.ThrowingCallable) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Allows to capture and then assert on a
Throwable
more easily when used with Java 8 lambdas. - thenCollection(Collection<? extends E>) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.CollectionAssert
- thenCollection(Collection<? extends E>) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.CollectionAssert
- thenComparable(Comparable<T>) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
with standard comparison semantics.UniversalComparableAssert
- thenComparable(Comparable<T>) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
with standard comparison semantics.UniversalComparableAssert
- thenException() - Static method in class org.assertj.core.api.BDDAssertions
-
Alias for
BDDAssertions.thenExceptionOfType(Class)
forException
. - thenException() - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
- thenExceptionOfType(Class<? extends T>) - Static method in class org.assertj.core.api.BDDAssertions
-
Entry point to check that an exception of type T is thrown by a given
throwingCallable
which allows to chain assertions on the thrown exception. - thenExceptionOfType(Class<T>) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Entry point to check that an exception of type T is thrown by a given
throwingCallable
which allows to chain assertions on the thrown exception. - thenIllegalArgumentException() - Static method in class org.assertj.core.api.BDDAssertions
-
Alias for
BDDAssertions.thenExceptionOfType(Class)
forIllegalArgumentException
. - thenIllegalArgumentException() - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
- thenIllegalStateException() - Static method in class org.assertj.core.api.BDDAssertions
-
Alias for
BDDAssertions.thenExceptionOfType(Class)
forIllegalStateException
. - thenIllegalStateException() - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
- thenIndexOutOfBoundsException() - Static method in class org.assertj.core.api.BDDAssertions
- thenIndexOutOfBoundsException() - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
- thenIOException() - Static method in class org.assertj.core.api.BDDAssertions
-
Alias for
BDDAssertions.thenExceptionOfType(Class)
forIOException
. - thenIOException() - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
- thenIterable(Iterable<? extends ELEMENT>) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.IterableAssert
- thenIterable(Iterable<? extends ELEMENT>) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.IterableAssert
- thenIterator(Iterator<? extends ELEMENT>) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.IteratorAssert
- thenIterator(Iterator<? extends ELEMENT>) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.IteratorAssert
- thenList(List<? extends ELEMENT>) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.ListAssert
- thenList(List<? extends ELEMENT>) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.ListAssert
- thenNoException() - Static method in class org.assertj.core.api.BDDAssertions
-
Entry point to check that no exception of any type is thrown by a given
throwingCallable
. - thenNullPointerException() - Static method in class org.assertj.core.api.BDDAssertions
-
Alias for
BDDAssertions.thenExceptionOfType(Class)
forNullPointerException
. - thenNullPointerException() - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
- thenObject(T) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
for any object.ObjectAssert
- thenObject(T) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
for any object.ObjectAssert
- thenObject(T) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
for any object.ObjectAssert
- thenPath(Path) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
PathAssert
- thenPath(Path) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Creates a new instance of
PathAssert
- thenPredicate(Predicate<T>) - Static method in class org.assertj.core.api.BDDAssertions
-
Create assertion for
Predicate
. - thenPredicate(Predicate<T>) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Create assertion for
Predicate
. - thenReflectiveOperationException() - Static method in class org.assertj.core.api.BDDAssertions
- thenReflectiveOperationException() - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
- thenRuntimeException() - Static method in class org.assertj.core.api.BDDAssertions
-
Alias for
BDDAssertions.thenExceptionOfType(Class)
forRuntimeException
. - thenRuntimeException() - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
- thenSoftly(Consumer<BDDSoftAssertions>) - Static method in class org.assertj.core.api.BDDSoftAssertions
-
Convenience method for calling
SoftAssertionsProvider.assertSoftly(java.lang.Class<S>, java.util.function.Consumer<S>)
for these assertion types. - thenStream(Stream<? extends ELEMENT>) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
from the givenListAssert
Stream
. - thenStream(Stream<? extends ELEMENT>) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Creates a new instance of
from the givenListAssert
Stream
. - thenThrownBy(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.BDDAssertions
-
Allows to capture and then assert on a
Throwable
(easier done with lambdas). - thenThrownBy(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Allows to capture and then assert on a
Throwable
more easily when used with Java 8 lambdas. - thenThrownBy(ThrowableAssert.ThrowingCallable) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Allows to capture and then assert on a
Throwable
more easily when used with Java 8 lambdas. - thenThrownBy(ThrowableAssert.ThrowingCallable, String, Object...) - Static method in class org.assertj.core.api.BDDAssertions
-
Allows to capture and then assert on a
Throwable
likethenThrownBy(ThrowingCallable)
but this method let you set the assertion description the same way you do withas(String, Object...)
. - thenThrownBy(ThrowableAssert.ThrowingCallable, String, Object...) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Allows to capture and then assert on a
Throwable
likethenThrownBy(ThrowingCallable)
but this method let you set the assertion description the same way you do withas(String, Object...)
. - thenThrownBy(ThrowableAssert.ThrowingCallable, String, Object...) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Allows to capture and then assert on a
Throwable
likethenThrownBy(ThrowingCallable)
but this method let you set the assertion description the same way you do withas(String, Object...)
. - thenWith(T, Consumer<T>...) - Static method in class org.assertj.core.api.BDDAssertions
-
Uses the given instance as the instance under test for all the assertions expressed as the passed
Consumer
s. - throwable(Class<T>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for aThrowable
. - THROWABLE - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for aThrowable
. - ThrowableAssert<ACTUAL extends Throwable> - Class in org.assertj.core.api
-
Assertion methods for
Throwable
s. - ThrowableAssert(ACTUAL) - Constructor for class org.assertj.core.api.ThrowableAssert
- ThrowableAssert(Callable<V>) - Constructor for class org.assertj.core.api.ThrowableAssert
- ThrowableAssert.ThrowingCallable - Interface in org.assertj.core.api
- ThrowableAssertAlternative<ACTUAL extends Throwable> - Class in org.assertj.core.api
-
Assertion methods for
Throwable
similar toThrowableAssert
but with assertions methods named differently to make testing code fluent (ex :withMessage
instead ofhasMessage
. - ThrowableAssertAlternative(ACTUAL) - Constructor for class org.assertj.core.api.ThrowableAssertAlternative
- Throwables - Class in org.assertj.core.util
-
Utility methods related to
s.Throwable
- ThrowableTypeAssert<T extends Throwable> - Class in org.assertj.core.api
-
Assertion class checking
Throwable
type. - ThrowableTypeAssert(Class<? extends T>) - Constructor for class org.assertj.core.api.ThrowableTypeAssert
-
Default constructor.
- throwAssertionError(ErrorMessageFactory) - Method in class org.assertj.core.api.AbstractAssert
-
Utility method to throw an
AssertionError
given aBasicErrorMessageFactory
. - ThrowingConsumer<T> - Interface in org.assertj.core.api
-
Consumer
that deals with checked exceptions by rethrowing them asRuntimeException
. - ThrowingExtractor<F,
T, EXCEPTION extends Exception> - Interface in org.assertj.core.api.iterable -
Function converting an element to another element.
- throwUnsupportedExceptionOnEquals - Static variable in class org.assertj.core.api.AbstractAssert
- timeDifference(Date, Date) - Static method in class org.assertj.core.util.DateUtil
-
Compute the time difference between the two given dates in milliseconds, it always gives a positive result.
- to(String) - Method in class org.assertj.core.util.Strings.StringToAppend
-
Appends the
String
specified in the constructor to theString
passed as argument. - toArray() - Method in class org.assertj.core.groups.Tuple
- toArray(Iterable<? extends T>) - Static method in class org.assertj.core.util.IterableUtil
-
Create an array from an
Iterable
. - toArray(Iterable<? extends T>, Class<T>) - Static method in class org.assertj.core.util.IterableUtil
-
Create an typed array from an
Iterable
. - toAssert(ELEMENT, String) - Method in class org.assertj.core.api.AbstractIterableAssert
-
This method is used in navigating assertions like
AbstractIterableAssert.first()
,AbstractIterableAssert.last()
andAbstractIterableAssert.element(int)
to build the assertion for the given element navigated to. - toAssert(ELEMENT, String) - Method in class org.assertj.core.api.ClassBasedNavigableIterableAssert
- toAssert(ELEMENT, String) - Method in class org.assertj.core.api.ClassBasedNavigableListAssert
- toAssert(ELEMENT, String) - Method in class org.assertj.core.api.CollectionAssert
- toAssert(ELEMENT, String) - Method in class org.assertj.core.api.FactoryBasedNavigableIterableAssert
- toAssert(ELEMENT, String) - Method in class org.assertj.core.api.FactoryBasedNavigableListAssert
- toCalendar(Date) - Static method in class org.assertj.core.util.DateUtil
-
Converts the given Date to Calendar, returns null if the given Date is null.
- toCollection(Iterable<T>) - Static method in class org.assertj.core.util.IterableUtil
- toHexString(byte...) - Static method in class org.assertj.core.util.Hexadecimals
- toIterable() - Method in class org.assertj.core.api.AbstractIteratorAssert
-
Creates a new
IterableAssert
from thisIteratorAssert
which allows for using any Iterable assertions likeAbstractIterableAssert.contains(Object[])
. - toList() - Method in class org.assertj.core.groups.Tuple
- tomorrow() - Static method in class org.assertj.core.util.DateUtil
- toString() - Method in enum org.assertj.core.api.Condition.Status
- toString() - Method in class org.assertj.core.api.Condition
- toString() - Method in class org.assertj.core.api.InstanceOfAssertFactory
- toString() - Method in class org.assertj.core.api.recursive.comparison.ComparisonDifference
- toString() - Method in class org.assertj.core.api.recursive.comparison.ComparisonKeyDifference
- toString() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- toString() - Method in class org.assertj.core.api.recursive.comparison.FieldMessages
- toString() - Method in class org.assertj.core.api.recursive.comparison.FieldLocation
- toString() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- toString() - Method in class org.assertj.core.api.WritableAssertionInfo
- toString() - Method in enum org.assertj.core.configuration.PreferredAssumptionException
- toString() - Method in class org.assertj.core.data.Index
- toString() - Method in class org.assertj.core.data.MapEntry
- toString() - Method in class org.assertj.core.data.Offset
- toString() - Method in class org.assertj.core.data.Percentage
- toString() - Method in class org.assertj.core.description.Description
- toString() - Method in class org.assertj.core.error.BasicErrorMessageFactory
- toString() - Method in class org.assertj.core.error.UnsatisfiedRequirement
- toString() - Method in class org.assertj.core.error.ZippedElementsShouldSatisfy.ZipSatisfyError
- toString() - Method in class org.assertj.core.groups.Tuple
- toString() - Method in class org.assertj.core.presentation.CompositeRepresentation
- toString() - Method in class org.assertj.core.presentation.StandardRepresentation
- toString() - Method in class org.assertj.core.util.BigDecimalComparator
- toString() - Method in class org.assertj.core.util.diff.Chunk
- toString() - Method in class org.assertj.core.util.diff.Delta
- toString() - Method in class org.assertj.core.util.diff.myers.PathNode
- toString() - Method in class org.assertj.core.util.DoubleComparator
- toString() - Method in class org.assertj.core.util.FloatComparator
- toString() - Method in class org.assertj.core.util.NaturalOrderComparator
- toStringMethod() - Static method in class org.assertj.core.extractor.Extractors
-
Provides extractor for extracting
Object.toString()
from any object - toStringOf(File) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(Byte) - Method in class org.assertj.core.presentation.BinaryRepresentation
- toStringOf(Byte) - Method in class org.assertj.core.presentation.HexadecimalRepresentation
- toStringOf(Character) - Method in class org.assertj.core.presentation.BinaryRepresentation
- toStringOf(Character) - Method in class org.assertj.core.presentation.HexadecimalRepresentation
- toStringOf(Character) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(Character) - Method in class org.assertj.core.presentation.UnicodeRepresentation
- toStringOf(Class<?>) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(Double) - Method in class org.assertj.core.presentation.BinaryRepresentation
- toStringOf(Double) - Method in class org.assertj.core.presentation.HexadecimalRepresentation
- toStringOf(Float) - Method in class org.assertj.core.presentation.BinaryRepresentation
- toStringOf(Float) - Method in class org.assertj.core.presentation.HexadecimalRepresentation
- toStringOf(Float) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(Integer) - Method in class org.assertj.core.presentation.BinaryRepresentation
- toStringOf(Integer) - Method in class org.assertj.core.presentation.HexadecimalRepresentation
- toStringOf(Long) - Method in class org.assertj.core.presentation.BinaryRepresentation
- toStringOf(Long) - Method in class org.assertj.core.presentation.HexadecimalRepresentation
- toStringOf(Long) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(Number) - Method in class org.assertj.core.presentation.BinaryRepresentation
- toStringOf(Number) - Method in class org.assertj.core.presentation.HexadecimalRepresentation
- toStringOf(Number) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(Object) - Method in class org.assertj.core.presentation.BinaryRepresentation
-
Returns binary the
toString
representation of the given object. - toStringOf(Object) - Method in class org.assertj.core.presentation.CompositeRepresentation
- toStringOf(Object) - Method in class org.assertj.core.presentation.HexadecimalRepresentation
-
Returns hexadecimal the
toString
representation of the given object. - toStringOf(Object) - Method in interface org.assertj.core.presentation.Representation
-
Returns the
String
representation of the given object. - toStringOf(Object) - Method in class org.assertj.core.presentation.StandardRepresentation
-
Returns standard the
toString
representation of the given object. - toStringOf(Object) - Method in class org.assertj.core.presentation.UnicodeRepresentation
-
Returns hexadecimal the
toString
representation of the given String or Character. - toStringOf(Short) - Method in class org.assertj.core.presentation.BinaryRepresentation
- toStringOf(Short) - Method in class org.assertj.core.presentation.HexadecimalRepresentation
- toStringOf(String) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(String) - Method in class org.assertj.core.presentation.UnicodeRepresentation
- toStringOf(Throwable) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(SimpleDateFormat) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(LocalDate) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(LocalDateTime) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(OffsetDateTime) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(ZonedDateTime) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(Calendar) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(Comparator<?>) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(AtomicBoolean) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(AtomicInteger) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(AtomicLong) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(AtomicMarkableReference<?>) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(AtomicReference<?>) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(AtomicStampedReference<?>) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(LongAdder) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(Future<?>) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(Date) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(Map.Entry<?, ?>) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(Map<?, ?>) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(MapEntry<?, ?>) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(Tuple) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(ComparatorBasedComparisonStrategy) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(PredicateDescription) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(Representation, String) - Method in class org.assertj.core.presentation.BinaryRepresentation
- toStringOf(Representation, String) - Method in class org.assertj.core.presentation.HexadecimalRepresentation
- TriFunction<A,
B, C, R> - Interface in org.assertj.core.util - truncateTime(Date) - Static method in class org.assertj.core.util.DateUtil
-
Returns a copy of the given date without the time part (which is set to 00:00:00), for example :
truncateTime(2008-12-29T23:45:12)
will give2008-12-29T00:00:00
. - tryThrowingMultipleFailuresError(List<? extends Throwable>) - Method in class org.assertj.core.error.AssertionErrorCreator
- tuple(Object...) - Static method in class org.assertj.core.api.Assertions
-
Utility method to build nicely a
Tuple
when working withAbstractIterableAssert.extracting(String...)
orAbstractObjectArrayAssert.extracting(String...)
- tuple(Object...) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Utility method to build nicely a
Tuple
when working withAbstractIterableAssert.extracting(String...)
orAbstractObjectArrayAssert.extracting(String...)
- tuple(Object...) - Static method in class org.assertj.core.api.BDDAssertions
-
Utility method to build nicely a
Tuple
when working withAbstractIterableAssert.extracting(String...)
orAbstractObjectArrayAssert.extracting(String...)
- tuple(Object...) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Utility method to build nicely a
Tuple
when working withAbstractIterableAssert.extracting(String...)
orAbstractObjectArrayAssert.extracting(String...)
- tuple(Object...) - Method in interface org.assertj.core.api.WithAssertions
-
Utility method to build nicely a
Tuple
when working withAbstractIterableAssert.extracting(String...)
orAbstractObjectArrayAssert.extracting(String...)
- tuple(Object...) - Static method in class org.assertj.core.groups.Tuple
- Tuple - Class in org.assertj.core.groups
- Tuple(Object...) - Constructor for class org.assertj.core.groups.Tuple
- type(Class<T>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for an object of a specific type.
U
- unambiguousToStringOf(Object) - Method in class org.assertj.core.presentation.CompositeRepresentation
- unambiguousToStringOf(Object) - Method in interface org.assertj.core.presentation.Representation
-
Override this method to return a
String
representation of the given object that is unambigous so that it can be differentiated from other objects with the sameRepresentation.toStringOf(Object)
representation. - unambiguousToStringOf(Object) - Method in class org.assertj.core.presentation.StandardRepresentation
-
Returns the
String
representation of the given object with its type and hexadecimal identity hash code so that it can be differentiated from other objects with the sameStandardRepresentation.toStringOf(Object)
representation. - UNICODE_REPRESENTATION - Static variable in class org.assertj.core.presentation.UnicodeRepresentation
- UnicodeRepresentation - Class in org.assertj.core.presentation
-
Unicode object representation instead of standard java representation.
- UnicodeRepresentation() - Constructor for class org.assertj.core.presentation.UnicodeRepresentation
- unit - Variable in class org.assertj.core.data.TemporalUnitOffset
- UniversalComparableAssert<T> - Class in org.assertj.core.api
-
Comparable
assertions. - UniversalComparableAssert(Comparable<T>) - Constructor for class org.assertj.core.api.UniversalComparableAssert
- unquotedString(String) - Static method in class org.assertj.core.error.BasicErrorMessageFactory
-
Return a string who will be unquoted in message format (without '')
- unsatisfiedRequirement(Object, String) - Static method in class org.assertj.core.error.ElementsShouldSatisfy
- UnsatisfiedRequirement - Class in org.assertj.core.error
- UnsatisfiedRequirement(Object, String) - Constructor for class org.assertj.core.error.UnsatisfiedRequirement
- URI_TYPE - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for aURI
. - UriAssert - Class in org.assertj.core.api
-
Assertion class for
URI
s - UriAssert(URI) - Constructor for class org.assertj.core.api.UriAssert
-
Constructor
- uris - Variable in class org.assertj.core.api.AbstractUriAssert
- URL_TYPE - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactory
for aURL
. - UrlAssert - Class in org.assertj.core.api
-
Assertion class for
URL
s - UrlAssert(URL) - Constructor for class org.assertj.core.api.UrlAssert
-
Constructor
- urls - Variable in class org.assertj.core.api.AbstractUrlAssert
- URLs - Class in org.assertj.core.util
-
Utility methods related to URLs.
- useBinaryRepresentation() - Method in class org.assertj.core.api.WritableAssertionInfo
- useDefaultDateFormatsOnly() - Static method in class org.assertj.core.api.AbstractDateAssert
-
Remove all registered custom date formats => use only the defaults date formats to parse string as date.
- useDefaultDateFormatsOnly() - Static method in class org.assertj.core.api.Assertions
-
Remove all registered custom date formats => use only the defaults date formats to parse string as date.
- useDefaultDateFormatsOnly() - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Remove all registered custom date formats => use only the defaults date formats to parse string as date.
- useDefaultDateFormatsOnly() - Static method in class org.assertj.core.api.BDDAssertions
-
Remove all registered custom date formats => use only the defaults date formats to parse string as date.
- useDefaultDateFormatsOnly() - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Remove all registered custom date formats => use only the defaults date formats to parse string as date.
- useDefaultDateFormatsOnly() - Method in interface org.assertj.core.api.WithAssertions
-
Remove all registered custom date formats => use only the defaults date formats to parse string as date.
- useDefaultRepresentation() - Static method in class org.assertj.core.api.Assertions
-
Reset the representaion being used to the one from the
Configuration
to revert the effect of callingAssertions.useRepresentation(Representation)
. - useDefaultRepresentation() - Static method in class org.assertj.core.api.BDDAssertions
-
Fallback to use
StandardRepresentation
to revert the effect of callingBDDAssertions.useRepresentation(Representation)
. - useDefaultRepresentation() - Method in interface org.assertj.core.api.WithAssertions
-
Fallback to use
StandardRepresentation
to revert the effect of callingWithAssertions.useRepresentation(Representation)
. - useHexadecimalRepresentation() - Method in class org.assertj.core.api.WritableAssertionInfo
- useOverriddenEquals() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Force a recursive comparison on all fields (except java types).
- useRepresentation(Representation) - Static method in class org.assertj.core.api.Assertions
-
Use the given
Representation
in all remaining tests assertions. - useRepresentation(Representation) - Static method in class org.assertj.core.api.BDDAssertions
-
Register a
Representation
that will be used in all following assertions. - useRepresentation(Representation) - Method in interface org.assertj.core.api.WithAssertions
-
Register a
Representation
that will be used in all following assertions. - useRepresentation(Representation) - Method in class org.assertj.core.api.WritableAssertionInfo
- useUnicodeRepresentation() - Method in class org.assertj.core.api.WritableAssertionInfo
- usingCharset(String) - Method in class org.assertj.core.api.AbstractFileAssert
-
Specifies the name of the charset to use for text-based assertions on the file's contents.
- usingCharset(String) - Method in class org.assertj.core.api.AbstractPathAssert
-
Specifies the name of the charset to use for text-based assertions on the path's contents (path must be a readable file).
- usingCharset(Charset) - Method in class org.assertj.core.api.AbstractFileAssert
-
Specifies the charset to use for text-based assertions on the file's contents.
- usingCharset(Charset) - Method in class org.assertj.core.api.AbstractPathAssert
-
Specifies the charset to use for text-based assertions on the path's contents (path must be a readable file).
- usingComparator(Comparator<? super ACTUAL>) - Method in class org.assertj.core.api.AbstractAssert
-
Use the given custom comparator instead of relying on actual type A equals method for incoming assertion checks.
- usingComparator(Comparator<? super ACTUAL>) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
- usingComparator(Comparator<? super ACTUAL>) - Method in class org.assertj.core.api.AbstractComparableAssert
- usingComparator(Comparator<? super ACTUAL>) - Method in class org.assertj.core.api.AbstractIterableAssert
- usingComparator(Comparator<? super ACTUAL>) - Method in class org.assertj.core.api.AbstractListAssert
- usingComparator(Comparator<? super ACTUAL>) - Method in class org.assertj.core.api.AbstractMapAssert
- usingComparator(Comparator<? super ACTUAL>) - Method in interface org.assertj.core.api.Assert
-
Use the given custom comparator instead of relying on actual type A equals method for incoming assertion checks.
- usingComparator(Comparator<? super ACTUAL>, String) - Method in class org.assertj.core.api.AbstractAssert
-
Use the given custom comparator instead of relying on actual type A equals method for incoming assertion checks.
- usingComparator(Comparator<? super ACTUAL>, String) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
- usingComparator(Comparator<? super ACTUAL>, String) - Method in class org.assertj.core.api.AbstractComparableAssert
- usingComparator(Comparator<? super ACTUAL>, String) - Method in class org.assertj.core.api.AbstractIterableAssert
- usingComparator(Comparator<? super ACTUAL>, String) - Method in class org.assertj.core.api.AbstractListAssert
- usingComparator(Comparator<? super ACTUAL>, String) - Method in class org.assertj.core.api.AbstractMapAssert
- usingComparator(Comparator<? super ACTUAL>, String) - Method in interface org.assertj.core.api.Assert
-
Use the given custom comparator instead of relying on actual type A equals method for incoming assertion checks.
- usingComparator(Comparator<? super Boolean>) - Method in class org.assertj.core.api.AbstractBooleanAssert
-
Deprecated.Custom Comparator is not supported for Boolean comparison.
- usingComparator(Comparator<? super Boolean>, String) - Method in class org.assertj.core.api.AbstractBooleanAssert
-
Deprecated.Custom Comparator is not supported for Boolean comparison.
- usingComparator(Comparator<? super Byte>) - Method in class org.assertj.core.api.AbstractByteAssert
- usingComparator(Comparator<? super Byte>, String) - Method in class org.assertj.core.api.AbstractByteAssert
- usingComparator(Comparator<? super Character>) - Method in class org.assertj.core.api.AbstractCharacterAssert
- usingComparator(Comparator<? super Character>, String) - Method in class org.assertj.core.api.AbstractCharacterAssert
- usingComparator(Comparator<? super Comparable<T>>) - Method in class org.assertj.core.api.AbstractUniversalComparableAssert
-
Use the given custom comparator instead of relying on actual type A equals method for incoming assertion checks.
- usingComparator(Comparator<? super Comparable<T>>, String) - Method in class org.assertj.core.api.AbstractUniversalComparableAssert
-
Use the given custom comparator instead of relying on actual type A equals method for incoming assertion checks.
- usingComparator(Comparator<? super Double>) - Method in class org.assertj.core.api.AbstractDoubleAssert
- usingComparator(Comparator<? super Double>, String) - Method in class org.assertj.core.api.AbstractDoubleAssert
- usingComparator(Comparator<? super Float>) - Method in class org.assertj.core.api.AbstractFloatAssert
- usingComparator(Comparator<? super Float>, String) - Method in class org.assertj.core.api.AbstractFloatAssert
- usingComparator(Comparator<? super Integer>) - Method in class org.assertj.core.api.AbstractIntegerAssert
- usingComparator(Comparator<? super Integer>, String) - Method in class org.assertj.core.api.AbstractIntegerAssert
- usingComparator(Comparator<? super Long>) - Method in class org.assertj.core.api.AbstractLongAssert
- usingComparator(Comparator<? super Long>, String) - Method in class org.assertj.core.api.AbstractLongAssert
- usingComparator(Comparator<? super Short>) - Method in class org.assertj.core.api.AbstractShortAssert
- usingComparator(Comparator<? super Short>, String) - Method in class org.assertj.core.api.AbstractShortAssert
- usingComparator(Comparator<? super String>) - Method in class org.assertj.core.api.AbstractStringAssert
-
Use the given custom comparator instead of relying on
String
natural comparator for the incoming assertions. - usingComparator(Comparator<? super String>, String) - Method in class org.assertj.core.api.AbstractStringAssert
-
Use the given custom comparator instead of relying on
String
natural comparator for the incoming assertions. - usingComparator(Comparator<? super BigDecimal>) - Method in class org.assertj.core.api.AbstractBigDecimalAssert
- usingComparator(Comparator<? super BigDecimal>, String) - Method in class org.assertj.core.api.AbstractBigDecimalAssert
- usingComparator(Comparator<? super BigInteger>) - Method in class org.assertj.core.api.AbstractBigIntegerAssert
- usingComparator(Comparator<? super BigInteger>, String) - Method in class org.assertj.core.api.AbstractBigIntegerAssert
- usingComparator(Comparator<? super AtomicBoolean>) - Method in class org.assertj.core.api.AtomicBooleanAssert
-
Deprecated.Custom Comparator is not supported for Boolean comparison.
- usingComparator(Comparator<? super AtomicBoolean>, String) - Method in class org.assertj.core.api.AtomicBooleanAssert
-
Deprecated.Custom Comparator is not supported for Boolean comparison.
- usingComparator(Comparator<? super AtomicInteger>) - Method in class org.assertj.core.api.AtomicIntegerAssert
- usingComparator(Comparator<? super AtomicInteger>, String) - Method in class org.assertj.core.api.AtomicIntegerAssert
- usingComparator(Comparator<? super AtomicLong>) - Method in class org.assertj.core.api.AtomicLongAssert
- usingComparator(Comparator<? super AtomicLong>, String) - Method in class org.assertj.core.api.AtomicLongAssert
- usingComparator(Comparator<? super LongAdder>) - Method in class org.assertj.core.api.AbstractLongAdderAssert
- usingComparator(Comparator<? super LongAdder>, String) - Method in class org.assertj.core.api.AbstractLongAdderAssert
- usingComparator(Comparator<? super Date>) - Method in class org.assertj.core.api.AbstractDateAssert
- usingComparator(Comparator<? super Date>, String) - Method in class org.assertj.core.api.AbstractDateAssert
- usingComparator(Comparator<? super TEMPORAL>) - Method in class org.assertj.core.api.AbstractTemporalAssert
-
Use the given custom comparator instead of relying on actual type A equals method for incoming assertion checks.
- usingComparator(Comparator<? super TEMPORAL>, String) - Method in class org.assertj.core.api.AbstractTemporalAssert
-
Use the given custom comparator instead of relying on actual type A equals method for incoming assertion checks.
- usingComparatorForElementFieldsWithNames(Comparator<C>, String...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Deprecated.This method is used with
AbstractObjectArrayAssert.usingFieldByFieldElementComparator()
which is deprecated in favor ofAbstractObjectArrayAssert.usingRecursiveFieldByFieldElementComparator(RecursiveComparisonConfiguration)
orAbstractObjectArrayAssert.usingRecursiveComparison()
.When using
AbstractObjectArrayAssert.usingRecursiveComparison()
the equivalent is:RecursiveComparisonAssert.withEqualsForFields(java.util.function.BiPredicate, String...)
RecursiveComparisonAssert.withComparatorForFields(Comparator, String...)
and when using
RecursiveComparisonConfiguration
: - usingComparatorForElementFieldsWithNames(Comparator<C>, String...) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Deprecated.This method is used with
AtomicReferenceArrayAssert.usingFieldByFieldElementComparator()
which is deprecated in favor ofAtomicReferenceArrayAssert.usingRecursiveFieldByFieldElementComparator(RecursiveComparisonConfiguration)
orAbstractAssert.usingRecursiveComparison()
.When using
AbstractAssert.usingRecursiveComparison()
the equivalent is:RecursiveComparisonAssert.withEqualsForFields(java.util.function.BiPredicate, String...)
RecursiveComparisonAssert.withComparatorForFields(Comparator, String...)
and when using
RecursiveComparisonConfiguration
: - usingComparatorForElementFieldsWithNames(Comparator<T>, String...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Deprecated.This method is used with
AbstractIterableAssert.usingFieldByFieldElementComparator()
which is deprecated in favor ofAbstractIterableAssert.usingRecursiveFieldByFieldElementComparator(RecursiveComparisonConfiguration)
orAbstractIterableAssert.usingRecursiveComparison()
.When using
AbstractIterableAssert.usingRecursiveComparison()
the equivalent is:RecursiveComparisonAssert.withEqualsForFields(java.util.function.BiPredicate, String...)
RecursiveComparisonAssert.withComparatorForFields(Comparator, String...)
and when using
RecursiveComparisonConfiguration
: - usingComparatorForElementFieldsWithType(Comparator<C>, Class<C>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Deprecated.This method is used with
AbstractObjectArrayAssert.usingFieldByFieldElementComparator()
which is deprecated in favor ofAbstractObjectArrayAssert.usingRecursiveFieldByFieldElementComparator(RecursiveComparisonConfiguration)
orAbstractObjectArrayAssert.usingRecursiveComparison()
.When using
AbstractObjectArrayAssert.usingRecursiveComparison()
the equivalent is:RecursiveComparisonAssert.withEqualsForType(java.util.function.BiPredicate, Class)
RecursiveComparisonAssert.withComparatorForType(Comparator, Class)
and when using
RecursiveComparisonConfiguration
: - usingComparatorForElementFieldsWithType(Comparator<C>, Class<C>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Deprecated.This method is used with
AtomicReferenceArrayAssert.usingFieldByFieldElementComparator()
which is deprecated in favor ofAtomicReferenceArrayAssert.usingRecursiveFieldByFieldElementComparator(RecursiveComparisonConfiguration)
orAbstractAssert.usingRecursiveComparison()
.When using
AbstractAssert.usingRecursiveComparison()
the equivalent is:RecursiveComparisonAssert.withEqualsForType(java.util.function.BiPredicate, Class)
RecursiveComparisonAssert.withComparatorForType(Comparator, Class)
and when using
RecursiveComparisonConfiguration
: - usingComparatorForElementFieldsWithType(Comparator<T>, Class<T>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Deprecated.This method is used with
AbstractIterableAssert.usingFieldByFieldElementComparator()
which is deprecated in favor ofAbstractIterableAssert.usingRecursiveFieldByFieldElementComparator(RecursiveComparisonConfiguration)
orAbstractIterableAssert.usingRecursiveComparison()
.When using
AbstractIterableAssert.usingRecursiveComparison()
the equivalent is:RecursiveComparisonAssert.withEqualsForType(java.util.function.BiPredicate, Class)
RecursiveComparisonAssert.withComparatorForType(Comparator, Class)
and when using
RecursiveComparisonConfiguration
: - usingComparatorForFields(Comparator<T>, String...) - Method in class org.assertj.core.api.AbstractObjectAssert
-
Allows to set a specific comparator to compare properties or fields with the given names.
- usingComparatorForType(Comparator<? super T>, Class<T>) - Method in class org.assertj.core.api.AbstractObjectAssert
-
Allows to set a specific comparator to compare properties or fields with the given type.
- usingComparatorForType(Comparator<C>, Class<C>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Allows to set a specific comparator for the given type of elements or their fields.
- usingComparatorForType(Comparator<C>, Class<C>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Allows to set a specific comparator for the given type of elements or their fields.
- usingComparatorForType(Comparator<T>, Class<T>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Allows to set a specific comparator for the given type of elements or their fields.
- usingComparatorWithPrecision(Double) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Create a
Double
comparator which compares double at the given precision and pass it toAbstractDoubleArrayAssert.usingElementComparator(Comparator)
. - usingComparatorWithPrecision(Float) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Create a
Float
comparator which compares floats at the given precision and pass it toAbstractFloatArrayAssert.usingElementComparator(Comparator)
. - usingComparisonStrategy(ComparisonStrategy) - Method in class org.assertj.core.api.AbstractIterableAssert
- usingComparisonStrategy(ComparisonStrategy) - Method in class org.assertj.core.api.AbstractListAssert
- usingDefaultComparator() - Method in class org.assertj.core.api.AbstractAssert
-
Revert to standard comparison for the incoming assertion checks.
- usingDefaultComparator() - Method in class org.assertj.core.api.AbstractBigDecimalAssert
- usingDefaultComparator() - Method in class org.assertj.core.api.AbstractBigIntegerAssert
- usingDefaultComparator() - Method in class org.assertj.core.api.AbstractByteAssert
- usingDefaultComparator() - Method in class org.assertj.core.api.AbstractCharacterAssert
- usingDefaultComparator() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
- usingDefaultComparator() - Method in class org.assertj.core.api.AbstractComparableAssert
- usingDefaultComparator() - Method in class org.assertj.core.api.AbstractDateAssert
- usingDefaultComparator() - Method in class org.assertj.core.api.AbstractDoubleAssert
- usingDefaultComparator() - Method in class org.assertj.core.api.AbstractFloatAssert
- usingDefaultComparator() - Method in class org.assertj.core.api.AbstractIntegerAssert
- usingDefaultComparator() - Method in class org.assertj.core.api.AbstractIterableAssert
- usingDefaultComparator() - Method in class org.assertj.core.api.AbstractListAssert
- usingDefaultComparator() - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Revert to standard comparison for the incoming assertion checks.
- usingDefaultComparator() - Method in class org.assertj.core.api.AbstractLongAdderAssert
- usingDefaultComparator() - Method in class org.assertj.core.api.AbstractLongAssert
- usingDefaultComparator() - Method in class org.assertj.core.api.AbstractMapAssert
- usingDefaultComparator() - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Revert to standard comparison for the incoming assertion checks.
- usingDefaultComparator() - Method in class org.assertj.core.api.AbstractShortAssert
- usingDefaultComparator() - Method in class org.assertj.core.api.AbstractStringAssert
- usingDefaultComparator() - Method in class org.assertj.core.api.AbstractTemporalAssert
-
Revert to standard comparison for the incoming assertion checks.
- usingDefaultComparator() - Method in class org.assertj.core.api.AbstractUniversalComparableAssert
-
Revert to standard comparison for the incoming assertion checks.
- usingDefaultComparator() - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Revert to standard comparison for the incoming assertion checks.
- usingDefaultComparator() - Method in interface org.assertj.core.api.Assert
-
Revert to standard comparison for the incoming assertion checks.
- usingDefaultComparator() - Method in class org.assertj.core.api.AtomicIntegerAssert
- usingDefaultComparator() - Method in class org.assertj.core.api.AtomicLongAssert
- usingDefaultElementComparator() - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Deprecated.Custom element Comparator is not supported for Boolean array comparison.
- usingDefaultElementComparator() - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Revert to standard comparison for incoming assertion group element checks.
- usingDefaultElementComparator() - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Revert to standard comparison for incoming assertion group element checks.
- usingDefaultElementComparator() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Deprecated.Custom element Comparator is not supported for CharSequence comparison.
- usingDefaultElementComparator() - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Revert to standard comparison for incoming assertion group element checks.
- usingDefaultElementComparator() - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Revert to standard comparison for incoming assertion group element checks.
- usingDefaultElementComparator() - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Revert to standard comparison for incoming assertion group element checks.
- usingDefaultElementComparator() - Method in class org.assertj.core.api.AbstractIterableAssert
-
Revert to standard comparison for incoming assertion group element checks.
- usingDefaultElementComparator() - Method in class org.assertj.core.api.AbstractListAssert
- usingDefaultElementComparator() - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Revert to standard comparison for incoming assertion group element checks.
- usingDefaultElementComparator() - Method in class org.assertj.core.api.AbstractMapAssert
-
Deprecated.Custom element Comparator is not supported for MapEntry comparison.
- usingDefaultElementComparator() - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Revert to standard comparison for incoming assertion group element checks.
- usingDefaultElementComparator() - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Revert to standard comparison for incoming assertion group element checks.
- usingDefaultElementComparator() - Method in class org.assertj.core.api.AtomicIntegerArrayAssert
-
Revert to standard comparison for incoming assertion group element checks.
- usingDefaultElementComparator() - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Revert to standard comparison for incoming assertion group element checks.
- usingDefaultElementComparator() - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Revert to standard comparison for incoming assertion group element checks.
- usingDefaultElementComparator() - Method in interface org.assertj.core.api.EnumerableAssert
-
Revert to standard comparison for incoming assertion group element checks.
- usingDefaultValueComparator() - Method in class org.assertj.core.api.AbstractOptionalAssert
-
Revert to standard comparison for incoming assertion
Optional
value checks. - usingElementComparator(Comparator<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Use given custom comparator instead of relying on actual type A
equals
method to compare group elements for incoming assertion checks. - usingElementComparator(Comparator<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractListAssert
- usingElementComparator(Comparator<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Use given custom comparator instead of relying on actual type A
equals
method to compare group elements for incoming assertion checks. - usingElementComparator(Comparator<? super ELEMENT>) - Method in interface org.assertj.core.api.EnumerableAssert
-
Use given custom comparator instead of relying on actual type A
equals
method to compare group elements for incoming assertion checks. - usingElementComparator(Comparator<? super Boolean>) - Method in class org.assertj.core.api.AbstractBooleanArrayAssert
-
Deprecated.Custom element Comparator is not supported for Boolean array comparison.
- usingElementComparator(Comparator<? super Byte>) - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Use given custom comparator instead of relying on actual type A
equals
method to compare group elements for incoming assertion checks. - usingElementComparator(Comparator<? super Character>) - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Use given custom comparator instead of relying on actual type A
equals
method to compare group elements for incoming assertion checks. - usingElementComparator(Comparator<? super Character>) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Deprecated.Custom element Comparator is not supported for CharSequence comparison.
- usingElementComparator(Comparator<? super Double>) - Method in class org.assertj.core.api.AbstractDoubleArrayAssert
-
Use given custom comparator instead of relying on actual type A
equals
method to compare group elements for incoming assertion checks. - usingElementComparator(Comparator<? super Float>) - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Use given custom comparator instead of relying on actual type A
equals
method to compare group elements for incoming assertion checks. - usingElementComparator(Comparator<? super Integer>) - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Use given custom comparator instead of relying on actual type A
equals
method to compare group elements for incoming assertion checks. - usingElementComparator(Comparator<? super Integer>) - Method in class org.assertj.core.api.AtomicIntegerArrayAssert
-
Use given custom comparator instead of relying on Integer
equals
method to compare elements for incoming assertion checks. - usingElementComparator(Comparator<? super Long>) - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Use given custom comparator instead of relying on actual type A
equals
method to compare group elements for incoming assertion checks. - usingElementComparator(Comparator<? super Long>) - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Use given custom comparator instead of relying on Long
equals
method to compare elements for incoming assertion checks. - usingElementComparator(Comparator<? super Short>) - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Use given custom comparator instead of relying on actual type A
equals
method to compare group elements for incoming assertion checks. - usingElementComparator(Comparator<? super Map.Entry<? extends K, ? extends V>>) - Method in class org.assertj.core.api.AbstractMapAssert
-
Deprecated.Custom element Comparator is not supported for MapEntry comparison.
- usingElementComparator(Comparator<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Use given custom comparator instead of relying on actual element type
equals
method to compare AtomicReferenceArray elements for incoming assertion checks. - usingElementComparatorIgnoringFields(String...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Deprecated.This method is deprecated because it performs a shallow field by field comparison, i.e. elements are compared field by field but the fields are compared with equals, use
AbstractIterableAssert.usingRecursiveFieldByFieldElementComparatorIgnoringFields(String...)
instead.
See https://assertj.github.io/doc/#assertj-core-recursive-comparison - usingElementComparatorIgnoringFields(String...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Deprecated.This method is deprecated because it performs a shallow field by field comparison, i.e. elements are compared field by field but the fields are compared with equals, use
AbstractObjectArrayAssert.usingRecursiveFieldByFieldElementComparatorIgnoringFields(String...)
instead.
See https://assertj.github.io/doc/#assertj-core-recursive-comparison - usingElementComparatorIgnoringFields(String...) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Deprecated.This method is deprecated because it performs a shallow field by field comparison, i.e. elements are compared field by field but the fields are compared with equals, use
AtomicReferenceArrayAssert.usingRecursiveFieldByFieldElementComparatorIgnoringFields(String...)
instead.
See https://assertj.github.io/doc/#assertj-core-recursive-comparison - usingElementComparatorOnFields(String...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Deprecated.This method is deprecated because it performs a shallow field by field comparison, i.e. elements are compared field by field but the fields are compared with equals, use
AbstractIterableAssert.usingRecursiveFieldByFieldElementComparatorOnFields(String...)
instead.
See https://assertj.github.io/doc/#assertj-core-recursive-comparison - usingElementComparatorOnFields(String...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Deprecated.This method is deprecated because it performs a shallow field by field comparison, i.e. elements are compared field by field but the fields are compared with equals, use
AbstractObjectArrayAssert.usingRecursiveFieldByFieldElementComparatorOnFields(String...)
instead.
See https://assertj.github.io/doc/#assertj-core-recursive-comparison - usingElementComparatorOnFields(String...) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Deprecated.This method is deprecated because it performs a shallow field by field comparison, i.e. elements are compared field by field but the fields are compared with equals, use
AtomicReferenceArrayAssert.usingRecursiveFieldByFieldElementComparatorOnFields(String...)
instead.
See https://assertj.github.io/doc/#assertj-core-recursive-comparison - usingFieldByFieldElementComparator() - Method in class org.assertj.core.api.AbstractIterableAssert
-
Deprecated.This method is deprecated because it performs a shallow field by field comparison, i.e. elements are compared field by field but the fields are compared with equals, use
AbstractIterableAssert.usingRecursiveFieldByFieldElementComparator()
orAbstractIterableAssert.usingRecursiveComparison()
instead to perform a true recursive comparison.
See https://assertj.github.io/doc/#assertj-core-recursive-comparison - usingFieldByFieldElementComparator() - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Deprecated.This method is deprecated because it performs a shallow field by field comparison, i.e. elements are compared field by field but the fields are compared with equals, use
AbstractObjectArrayAssert.usingRecursiveFieldByFieldElementComparator()
orAbstractObjectArrayAssert.usingRecursiveComparison()
instead to perform a true recursive comparison.
See https://assertj.github.io/doc/#assertj-core-recursive-comparison - usingFieldByFieldElementComparator() - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Deprecated.This method is deprecated because it performs a shallow field by field comparison, i.e. elements are compared field by field but the fields are compared with equals, use
AtomicReferenceArrayAssert.usingRecursiveFieldByFieldElementComparator()
orAbstractAssert.usingRecursiveComparison()
instead to perform a true recursive comparison.
See https://assertj.github.io/doc/#assertj-core-recursive-comparison - usingFieldByFieldValueComparator() - Method in class org.assertj.core.api.AbstractOptionalAssert
-
Deprecated.This method is deprecated because it performs a shallow field by field comparison, i.e. elements are compared field by field but the fields are compared with equals, use
AbstractOptionalAssert.get()
chained withAbstractObjectAssert.usingRecursiveComparison()
instead.TolkienCharacter frodo = new TolkienCharacter("Frodo", 33, HOBBIT); TolkienCharacter frodoClone = new TolkienCharacter("Frodo", 33, HOBBIT); // frodo and frodoClone are equals when doing a field by field comparison. assertThat(Optional.of(frodo)).get().usingRecursiveComparison() .isEqualTo(frodoClone);
See https://assertj.github.io/doc/#assertj-core-recursive-comparison - usingOverriddenEquals() - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
By default the recursive comparison compare recursively all fields including the ones whose type have overridden equals except fields with java types (at some point we need to compare something!).
- usingRecursiveComparison() - Method in class org.assertj.core.api.AbstractAssert
- usingRecursiveComparison() - Method in class org.assertj.core.api.AbstractIterableAssert
-
Enable using a recursive field by field comparison strategy when calling the chained
RecursiveComparisonAssert
, - usingRecursiveComparison() - Method in class org.assertj.core.api.AbstractMapAssert
-
Enable using a recursive field by field comparison strategy when calling the chained
RecursiveComparisonAssert
, - usingRecursiveComparison() - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Enable using a recursive field by field comparison strategy when calling the chained
RecursiveComparisonAssert
, - usingRecursiveComparison() - Method in class org.assertj.core.api.AbstractObjectAssert
-
Enable using a recursive field by field comparison strategy when calling the chained
isEqualTo
assertion. - usingRecursiveComparison() - Method in class org.assertj.core.api.AbstractOptionalAssert
-
Enable using a recursive field by field comparison strategy when calling the chained
RecursiveComparisonAssert
, - usingRecursiveComparison(RecursiveComparisonConfiguration) - Method in class org.assertj.core.api.AbstractAssert
- usingRecursiveComparison(RecursiveComparisonConfiguration) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Same as
AbstractIterableAssert.usingRecursiveComparison()
but allows to specify your ownRecursiveComparisonConfiguration
. - usingRecursiveComparison(RecursiveComparisonConfiguration) - Method in class org.assertj.core.api.AbstractMapAssert
-
Same as
AbstractMapAssert.usingRecursiveComparison()
but allows to specify your ownRecursiveComparisonConfiguration
. - usingRecursiveComparison(RecursiveComparisonConfiguration) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Same as
AbstractObjectArrayAssert.usingRecursiveComparison()
but allows to specify your ownRecursiveComparisonConfiguration
. - usingRecursiveComparison(RecursiveComparisonConfiguration) - Method in class org.assertj.core.api.AbstractObjectAssert
-
Same as
AbstractObjectAssert.usingRecursiveComparison()
but allows to specify your ownRecursiveComparisonConfiguration
. - usingRecursiveComparison(RecursiveComparisonConfiguration) - Method in class org.assertj.core.api.AbstractOptionalAssert
-
Same as
AbstractOptionalAssert.usingRecursiveComparison()
but allows to specify your ownRecursiveComparisonConfiguration
. - usingRecursiveFieldByFieldElementComparator() - Method in class org.assertj.core.api.AbstractIterableAssert
-
Enable using a recursive field by field comparison strategy similar to
AbstractIterableAssert.usingRecursiveComparison()
but contrary to the latter you can chain any iterable assertions after this method (this is why this method exists). - usingRecursiveFieldByFieldElementComparator() - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Enable using a recursive field by field comparison strategy similar to
AbstractObjectArrayAssert.usingRecursiveComparison()
but contrary to the latter you can chain any iterable assertions after this method (this is why this method exists). - usingRecursiveFieldByFieldElementComparator() - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Enable using a recursive field by field comparison strategy similar to
AbstractAssert.usingRecursiveComparison()
but contrary to the latter you can chain any iterable assertions after this method (this is why this method exists). - usingRecursiveFieldByFieldElementComparator(RecursiveComparisonConfiguration) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Enable using a recursive field by field comparison strategy similar to
AbstractIterableAssert.usingRecursiveComparison()
but contrary to the latter you can chain any iterable assertions after this method (this is why this method exists). - usingRecursiveFieldByFieldElementComparator(RecursiveComparisonConfiguration) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Enable using a recursive field by field comparison strategy similar to
AbstractObjectArrayAssert.usingRecursiveComparison()
but contrary to the latter you can chain any iterable assertions after this method (this is why this method exists). - usingRecursiveFieldByFieldElementComparator(RecursiveComparisonConfiguration) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Enable using a recursive field by field comparison strategy similar to
AbstractAssert.usingRecursiveComparison()
but contrary to the latter you can chain any iterable assertions after this method (this is why this method exists). - usingRecursiveFieldByFieldElementComparatorIgnoringFields(String...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
The assertions chained after this method will use a recursive field by field comparison on all fields (including inherited fields) except the given ones instead of relying on the element
equals
method. - usingRecursiveFieldByFieldElementComparatorIgnoringFields(String...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
The assertions chained after this method will use a recursive field by field comparison on all fields (including inherited fields) except the given ones instead of relying on the element
equals
method. - usingRecursiveFieldByFieldElementComparatorIgnoringFields(String...) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
The assertions chained after this method will use a recursive field by field comparison on all fields (including inherited fields) except the given ones instead of relying on the element
equals
method. - usingRecursiveFieldByFieldElementComparatorOnFields(String...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
The assertions chained after this method will use a recursive field by field comparison on the given fields (including inherited fields) instead of relying on the element
equals
method. - usingRecursiveFieldByFieldElementComparatorOnFields(String...) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
The assertions chained after this method will use a recursive field by field comparison on the given fields (including inherited fields) instead of relying on the element
equals
method. - usingRecursiveFieldByFieldElementComparatorOnFields(String...) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
The assertions chained after this method will use a recursive field by field comparison on the given fields (including inherited fields) instead of relying on the element
equals
method. - usingValueComparator(Comparator<? super VALUE>) - Method in class org.assertj.core.api.AbstractOptionalAssert
-
Use given custom comparator instead of relying on actual type A
equals
method to compare theOptional
value's object for incoming assertion checks.
V
- validate(VALUE) - Method in class org.assertj.core.api.AbstractAtomicFieldUpdaterAssert
- value - Variable in class org.assertj.core.data.Index
- value - Variable in class org.assertj.core.data.MapEntry
- value - Variable in class org.assertj.core.data.Offset
- value - Variable in class org.assertj.core.data.Percentage
- value - Variable in class org.assertj.core.data.TemporalUnitOffset
- value() - Method in class org.assertj.core.description.Description
- value() - Method in class org.assertj.core.description.JoinDescription
- value() - Method in class org.assertj.core.description.LazyTextDescription
- value() - Method in class org.assertj.core.description.TextDescription
- valueOf(String) - Static method in enum org.assertj.core.api.Condition.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.assertj.core.configuration.PreferredAssumptionException
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.assertj.core.error.ShouldContainExactlyInAnyOrder.ErrorType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.assertj.core.error.ShouldContainOnly.ErrorType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.assertj.core.error.ShouldContainOnlyNulls.ErrorType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.assertj.core.presentation.StandardRepresentation.GroupType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.assertj.core.util.diff.Delta.TYPE
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.assertj.core.util.introspection.FieldSupport
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.assertj.core.api.Condition.Status
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.assertj.core.configuration.PreferredAssumptionException
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.assertj.core.error.ShouldContainExactlyInAnyOrder.ErrorType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.assertj.core.error.ShouldContainOnly.ErrorType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.assertj.core.error.ShouldContainOnlyNulls.ErrorType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.assertj.core.presentation.StandardRepresentation.GroupType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.assertj.core.util.diff.Delta.TYPE
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.assertj.core.util.introspection.FieldSupport
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verboseCondition(Predicate<T>, String, Function<T, String>) - Static method in class org.assertj.core.condition.VerboseCondition
-
Creates a new
to have better control over the condition description when the condition fails thanks to theVerboseCondition
objectUnderTestDescriptor
function parameter. - VerboseCondition<T> - Class in org.assertj.core.condition
-
Condition
that shows the value under test when the condition fails thanks to the specifiedobjectUnderTestDescriptor
function. - verify(List<T>) - Method in class org.assertj.core.util.diff.ChangeDelta
-
Verifies that this delta can be used to patch the given text.
- verify(List<T>) - Method in class org.assertj.core.util.diff.Chunk
-
Verifies that this chunk's saved text matches the corresponding text in the given sequence.
- verify(List<T>) - Method in class org.assertj.core.util.diff.DeleteDelta
- verify(List<T>) - Method in class org.assertj.core.util.diff.Delta
-
Verifies that this delta can be used to patch the given text.
- verify(List<T>) - Method in class org.assertj.core.util.diff.InsertDelta
- VisibleForTesting - Annotation Type in org.assertj.core.util
-
Indicates that the visibility of a type or member has been relaxed to make the code testable.
W
- Warning - Class in org.assertj.core.error.future
- Warning() - Constructor for class org.assertj.core.error.future.Warning
- WARNING - Static variable in class org.assertj.core.error.future.Warning
- wasSuccess() - Method in interface org.assertj.core.api.AssertionErrorCollector
-
Returns the result of last soft assertion which can be used to decide what the next one should be.
- wasSuccess() - Method in class org.assertj.core.api.DefaultAssertionErrorCollector
- with(String) - Method in class org.assertj.core.api.filter.Filters
-
Sets the name of the property used for filtering, it may be a nested property like
"address.street.name"
. - with(String) - Method in class org.assertj.core.util.Strings.StringsToJoin
-
Specifies the delimiter to use to join
String
s. - with(String, Object) - Method in class org.assertj.core.api.filter.Filters
-
Filter the underlying group, keeping only elements with a property equals to given value.
- with(String, String) - Method in class org.assertj.core.util.Strings.StringsToJoin
-
Specifies the delimiter to use to join
String
s and the escape String to wrap strings with. - WithAssertions - Interface in org.assertj.core.api
-
A unified entry point to all non-deprecated assertions from both the new Java 8 core API and the pre-Java 8 core API.
- WithAssumptions - Interface in org.assertj.core.api
-
A unified entry point to all assumptions from both the new Java 8 core API and the pre-Java 8 core API.
- withCause(Throwable) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the actual
Throwable
has a cause similar to the given one, that is with same type and message (it does not useequals
method for comparison). - withCauseExactlyInstanceOf(Class<? extends Throwable>) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the cause of the actual
Throwable
is exactly an instance of the given type. - withCauseInstanceOf(Class<? extends Throwable>) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the cause of the actual
Throwable
is an instance of the given type. - withComparatorForFields(Comparator<?>, String...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Registers the given
Comparator
to compare the fields at the given locations. - withComparatorForFields(Comparator<?>, String...) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Allows to register a comparator to compare fields with the given locations.
- withComparatorForType(Comparator<? super T>, Class<T>) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Registers the given
Comparator
to compare the fields with the given type. - withComparatorForType(Comparator<? super T>, Class<T>) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Allows to register a comparator to compare the fields with the given type.
- withComparedFields(String...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Adds the given fields to the set of fields from the object under test to compare in the recursive comparison.
- withDateFormat(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Instead of using default date formats for the date String based Date assertions like
AbstractDateAssert.isEqualTo(String)
, AssertJ is gonna use any date formats registered with one of these methods : this methodAbstractDateAssert.withDateFormat(java.text.DateFormat)
AbstractDateAssert.registerCustomDateFormat(java.text.DateFormat)
AbstractDateAssert.registerCustomDateFormat(String)
- withDateFormat(DateFormat) - Method in class org.assertj.core.api.AbstractDateAssert
-
Instead of using default date formats for the date String based Date assertions like
AbstractDateAssert.isEqualTo(String)
, AssertJ is gonna use any date formats registered with one of these methods :AbstractDateAssert.withDateFormat(String)
this methodAbstractDateAssert.registerCustomDateFormat(java.text.DateFormat)
AbstractDateAssert.registerCustomDateFormat(String)
- withDefaultDateFormatsOnly() - Method in class org.assertj.core.api.AbstractDateAssert
-
Remove all registered custom date formats => use only the defaults date formats to parse string as date.
- withEqualsForFields(BiPredicate<?, ?>, String...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Registers the given
BiPredicate
to compare the fields at the given locations. - withEqualsForFields(BiPredicate<?, ?>, String...) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Allows to register a
BiPredicate
to compare fields with the given locations. - withEqualsForType(BiPredicate<? super T, ? super T>, Class<T>) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Registers the given
BiPredicate
to compare the fields with the given type. - withEqualsForType(BiPredicate<? super T, ? super T>, Class<T>) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Allows to register a
BiPredicate
to compare the fields with the given type. - withErrorMessageForFields(String, String...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Registers the giving message which would be shown when differences in the given fields while comparison occurred.
- withErrorMessageForFields(String, String...) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Overrides an error message which would be shown when differences in the given fields while comparison occurred with the giving error message.
- withErrorMessageForType(String, Class<?>) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Registers the giving message which would be shown when differences for the giving type while comparison occurred.
- withErrorMessageForType(String, Class<?>) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Overrides an error message which would be shown when differences for the giving type while comparison occurred with the giving error message.
- withFailMessage(String, Object...) - Method in class org.assertj.core.api.AbstractAssert
-
Alternative method for
AbstractAssert.overridingErrorMessage(java.lang.String, java.lang.Object...)
- withFailMessage(String, Object...) - Method in class org.assertj.core.api.AbstractIterableAssert
- withFailMessage(String, Object...) - Method in class org.assertj.core.api.AbstractListAssert
- withFailMessage(String, Object...) - Method in class org.assertj.core.api.AbstractMapAssert
- withFailMessage(Supplier<String>) - Method in class org.assertj.core.api.AbstractAssert
-
Alternative method for
AbstractAssert.overridingErrorMessage(java.lang.String, java.lang.Object...)
- withIgnoreAllActualEmptyOptionalFields(boolean) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Sets whether actual empty optional fields are ignored in the recursive comparison.
- withIgnoreAllActualNullFields(boolean) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Sets whether actual null fields are ignored in the recursive comparison.
- withIgnoreAllExpectedNullFields(boolean) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Sets whether expected null fields are ignored in the recursive comparison.
- withIgnoreAllOverriddenEquals(boolean) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Force a recursive comparison on all fields (except java types) if true.
- withIgnoreCollectionOrder(boolean) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Sets whether to ignore collection order in the comparison.
- withIgnoredCollectionOrderInFields(String...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Adds the given fields to the list fields from the object under test to ignore collection order in the recursive comparison.
- withIgnoredCollectionOrderInFieldsMatchingRegexes(String...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Adds the given regexes to the list of regexes used to find the object under test fields to ignore collection order in the recursive comparison.
- withIgnoredFields(String...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Adds the given fields to the set of fields from the object under test to ignore in the recursive comparison.
- withIgnoredFieldsMatchingRegexes(String...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Allows to ignore in the recursive comparison the object under test fields matching the given regexes.
- withIgnoredFieldsOfTypes(Class<?>...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Adds the given types to the list fields from the object under test types to ignore in the recursive comparison.
- withIgnoredOverriddenEqualsForFields(String...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Adds the given fields to the list of fields to force a recursive comparison on.
- withIgnoredOverriddenEqualsForFieldsMatchingRegexes(String...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Adds the given regexes to the list of regexes used find the fields to force a recursive comparison on.
- withIgnoredOverriddenEqualsForTypes(Class<?>...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Adds the given types to the list of types to force a recursive comparison on.
- within(long, TemporalUnit) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for
TemporalUnitOffset
with with less than or equal condition to use with isCloseTo temporal assertions. - within(long, TemporalUnit) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for
TemporalUnitOffset
with with less than or equal condition to use with isCloseTo temporal assertions. - within(long, TemporalUnit) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for
TemporalUnitOffset
with with less than or equal condition to use with isCloseTo temporal assertions. - within(Byte) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for Byte
Offset
to use with isCloseTo assertions. - within(Byte) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Assertions entry point for Byte
Offset
to use with isCloseTo assertions. - within(Byte) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for Byte
Offset
to use with isCloseTo assertions. - within(Byte) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for Byte
Offset
to use with isCloseTo assertions. - within(Byte) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for Byte
Offset
to use with isCloseTo assertions. - within(Double) - Static method in class org.assertj.core.api.Assertions
-
Alias for
Assertions.offset(Double)
to use with isCloseTo assertions. - within(Double) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Alias for
AssertionsForClassTypes.offset(Double)
to use with isCloseTo assertions. - within(Double) - Static method in class org.assertj.core.api.BDDAssertions
-
Builds an
Offset
to use withisCloseTo
assertions. - within(Double) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Alias for
Java6Assertions.offset(Double)
to use with isCloseTo assertions. - within(Double) - Method in interface org.assertj.core.api.WithAssertions
-
Alias for
WithAssertions.offset(Double)
to use with isCloseTo assertions. - within(Float) - Static method in class org.assertj.core.api.Assertions
-
Alias for
Assertions.offset(Float)
to use with isCloseTo assertions. - within(Float) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Alias for
AssertionsForClassTypes.offset(Float)
to use with isCloseTo assertions. - within(Float) - Static method in class org.assertj.core.api.BDDAssertions
-
Builds an
Offset
to use with isCloseTo assertions. - within(Float) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Alias for
Java6Assertions.offset(Float)
to use with isCloseTo assertions. - within(Float) - Method in interface org.assertj.core.api.WithAssertions
-
Alias for
WithAssertions.offset(Float)
to use with isCloseTo assertions. - within(Integer) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for Integer
Offset
to use with isCloseTo assertions. - within(Integer) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Assertions entry point for Integer
Offset
to use with isCloseTo assertions. - within(Integer) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for Integer
Offset
to use with isCloseTo assertions. - within(Integer) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for Integer
Offset
to use with isCloseTo assertions. - within(Integer) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for Integer
Offset
to use with isCloseTo assertions. - within(Long) - Static method in class org.assertj.core.api.Assertions
- within(Long) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Assertions entry point for Long
Offset
to use with isCloseTo assertions. - within(Long) - Static method in class org.assertj.core.api.BDDAssertions
- within(Long) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for Long
Offset
to use with isCloseTo assertions. - within(Long) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for Long
Offset
to use with isCloseTo assertions. - within(Short) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for Short
Offset
to use with isCloseTo assertions. - within(Short) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Assertions entry point for Short
Offset
to use with isCloseTo assertions. - within(Short) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for Short
Offset
to use with isCloseTo assertions. - within(Short) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for Short
Offset
to use with isCloseTo assertions. - within(Short) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for Short
Offset
to use with isCloseTo assertions. - within(BigDecimal) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for BigDecimal
Offset
to use with isCloseTo assertions. - within(BigDecimal) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Assertions entry point for BigDecimal
Offset
to use with isCloseTo assertions. - within(BigDecimal) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for BigDecimal
Offset
to use with isCloseTo assertions. - within(BigDecimal) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for BigDecimal
Offset
to use with isCloseTo assertions. - within(BigDecimal) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for BigDecimal
Offset
to use with isCloseTo assertions. - within(BigInteger) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for BigInteger
Offset
to use with isCloseTo assertions. - within(BigInteger) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for BigInteger
Offset
to use with isCloseTo assertions. - within(BigInteger) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for BigInteger
Offset
to use with isCloseTo assertions. - within(BigInteger) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for BigInteger
Offset
to use with isCloseTo assertions. - withinPercentage(Double) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for Double
Percentage
to use with isCloseTo assertions for percentages. - withinPercentage(Double) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Assertions entry point for Double
Percentage
to use with isCloseTo assertions for percentages. - withinPercentage(Double) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for Double
Percentage
to use with isCloseTo assertions for percentages. - withinPercentage(Double) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for Double
Percentage
to use with isCloseTo assertions for percentages. - withinPercentage(Double) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for Double
Percentage
to use with isCloseTo assertions for percentages. - withinPercentage(Integer) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for Integer
Percentage
to use with isCloseTo assertions for percentages. - withinPercentage(Integer) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Assertions entry point for Integer
Percentage
to use with isCloseTo assertions for percentages. - withinPercentage(Integer) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for Integer
Percentage
to use with isCloseTo assertions for percentages. - withinPercentage(Integer) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for Integer
Percentage
to use with isCloseTo assertions for percentages. - withinPercentage(Integer) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for Integer
Percentage
to use with isCloseTo assertions for percentages. - withinPercentage(Long) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for Long
Percentage
to use with isCloseTo assertions for percentages. - withinPercentage(Long) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Assertions entry point for Long
Percentage
to use with isCloseTo assertions for percentages. - withinPercentage(Long) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for Long
Percentage
to use with isCloseTo assertions for percentages. - withinPercentage(Long) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for Long
Percentage
to use with isCloseTo assertions for percentages. - withinPercentage(Long) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for Long
Percentage
to use with isCloseTo assertions for percentages. - withMarginOf(Duration) - Static method in class org.assertj.core.api.Assertions
-
Syntactic sugar method to use with
AbstractDurationAssert.isCloseTo(Duration, Duration)
assertion. - withMarginOf(Duration) - Static method in class org.assertj.core.api.BDDAssertions
-
Syntactic sugar method to use with
AbstractDurationAssert.isCloseTo(Duration, Duration)
assertion. - withMarginOf(Duration) - Method in interface org.assertj.core.api.WithAssertions
-
Syntactic sugar method to use with
AbstractDurationAssert.isCloseTo(Duration, Duration)
assertion. - withMessage(String) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the message of the actual
Throwable
is equal to the given one. - withMessage(String, Object...) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the message of the actual
Throwable
is equal to the given one built usingString.format(String, Object...)
syntax. - withMessageContaining(String) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the message of the actual
Throwable
contains the given description. - withMessageContaining(String, Object...) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the message of the actual
Throwable
contains the given description, after being formatted using theString.format(java.lang.String, java.lang.Object...)
method. - withMessageContainingAll(CharSequence...) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the message of the actual
Throwable
contains all the given values. - withMessageEndingWith(String) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the message of the actual
Throwable
ends with the given description. - withMessageEndingWith(String, Object...) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the message of the actual
Throwable
ends with the given description, after being formatted using theString.format(java.lang.String, java.lang.Object...)
method. - withMessageMatching(String) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the message of the actual
Throwable
matches with the given regular expression. - withMessageNotContaining(String) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the message of the actual
Throwable
does not contain the given content or is null. - withMessageNotContainingAny(CharSequence...) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the message of the actual
Throwable
does not contain any of the given values or isnull
. - withMessageStartingWith(String) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the message of the actual
Throwable
starts with the given description. - withMessageStartingWith(String, Object...) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the message of the actual
Throwable
starts with the given description, after being formatted using theString.format(java.lang.String, java.lang.Object...)
method. - withNoCause() - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the actual
Throwable
does not have a cause. - withPercentage(double) - Static method in class org.assertj.core.data.Percentage
-
Creates a new
Percentage
. - withPrecision(Double) - Static method in class org.assertj.core.api.Assertions
-
Alias for
Assertions.offset(Double)
to use with real number assertions. - withPrecision(Double) - Static method in class org.assertj.core.api.BDDAssertions
-
Builds an
Offset
to use with real number assertions. - withPrecision(Double) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for double
Offset
. - withPrecision(Float) - Static method in class org.assertj.core.api.Assertions
-
Alias for
Assertions.offset(Float)
to use with real number assertions. - withPrecision(Float) - Static method in class org.assertj.core.api.BDDAssertions
-
Builds an
Offset
to use with real number assertions. - withPrecision(Float) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for float
Offset
. - withRepresentation(Representation) - Method in class org.assertj.core.api.AbstractAssert
-
Use the given
Representation
to describe/represent values in AssertJ error messages. - withRepresentation(Representation) - Method in interface org.assertj.core.api.Assert
-
Use the given
Representation
to describe/represent values in AssertJ error messages. - withRootCauseExactlyInstanceOf(Class<? extends Throwable>) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the root cause of the actual
Throwable
is exactly an instance of the given type. - withRootCauseInstanceOf(Class<? extends Throwable>) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the root cause of the actual
Throwable
is an instance of the given type. - withStackTraceContaining(String) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the stack trace of the actual
Throwable
contains with the given description. - withStackTraceContaining(String, Object...) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the stack trace of the actual
Throwable
contains with the given description, after being formatted using theString.format(java.lang.String, java.lang.Object...)
method. - withStrictTypeChecking() - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Makes the recursive comparison to check that actual's type is compatible with expected's type (and do the same for each field).
- withStrictTypeChecking(boolean) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Sets whether the recursive comparison will check that actual's type is compatible with expected's type (the same applies for each field).
- withThreadDumpOnError() - Method in class org.assertj.core.api.AbstractAssert
-
In case of an assertion error, a thread dump will be printed to
System.err
. - withThreadDumpOnError() - Method in class org.assertj.core.api.AbstractIterableAssert
- withThreadDumpOnError() - Method in class org.assertj.core.api.AbstractListAssert
- withThreadDumpOnError() - Method in class org.assertj.core.api.AbstractMapAssert
- withThreadDumpOnError() - Method in interface org.assertj.core.api.Assert
-
In case of an assertion error, a thread dump will be printed to
System.err
. - WithThrowable - Class in org.assertj.core.api
- withThrowableOfType(Class<? extends Throwable>) - Method in class org.assertj.core.api.WithThrowable
-
Checks that the underlying throwable is of the given type and returns a
ThrowableAssertAlternative
to chain further assertions on the underlying throwable. - wrap(Object) - Static method in class org.assertj.core.util.ArrayWrapperList
-
Wraps a given array with a
ArrayWrapperList
- WritableAssertionInfo - Class in org.assertj.core.api
-
Writable information about an assertion.
- WritableAssertionInfo() - Constructor for class org.assertj.core.api.WritableAssertionInfo
- WritableAssertionInfo(Representation) - Constructor for class org.assertj.core.api.WritableAssertionInfo
- write(File, String...) - Method in class org.assertj.core.util.TextFileWriter
- write(File, Charset, String...) - Method in class org.assertj.core.util.TextFileWriter
X
- xmlPrettyFormat(String) - Static method in class org.assertj.core.util.xml.XmlStringPrettyFormatter
- XmlStringPrettyFormatter - Class in org.assertj.core.util.xml
-
Format an XML String with indent = 2 space.
Y
- yearOf(Date) - Static method in class org.assertj.core.util.DateUtil
-
Extracts the year of the given Date.
- yesterday() - Static method in class org.assertj.core.util.DateUtil
Z
- zippedElementsShouldSatisfy(AssertionInfo, Iterable<?>, Iterable<?>, List<ZippedElementsShouldSatisfy.ZipSatisfyError>) - Static method in class org.assertj.core.error.ZippedElementsShouldSatisfy
- ZippedElementsShouldSatisfy - Class in org.assertj.core.error
- ZippedElementsShouldSatisfy.ZipSatisfyError - Class in org.assertj.core.error
- zipSatisfy(Iterable<OTHER_ELEMENT>, BiConsumer<? super ELEMENT, OTHER_ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the zipped pairs of actual and other elements, i.e: (actual 1st element, other 1st element), (actual 2nd element, other 2nd element), ...
- zipSatisfy(OTHER_ELEMENT[], BiConsumer<? super ELEMENT, OTHER_ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the zipped pairs of actual and other elements, i.e: (actual 1st element, other 1st element), (actual 2nd element, other 2nd element), ...
- ZipSatisfyError(Object, Object, String) - Constructor for class org.assertj.core.error.ZippedElementsShouldSatisfy.ZipSatisfyError
- ZONED_DATE_TIME - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- ZonedDateTimeAssert - Class in org.assertj.core.api
-
Assertions for
ZonedDateTime
type from new Date & Time API introduced in Java 8. - ZonedDateTimeAssert(ZonedDateTime) - Constructor for class org.assertj.core.api.ZonedDateTimeAssert
-
Creates a new
.ZonedDateTimeAssert
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
ComparisonStrategy
will become part of the public API in the next major release and this method will be removed.