Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- Abstract2DArrayAssert<SELF,
ACTUAL, - Class in org.assertj.core.apiELEMENT> -
Base class for all two-dimensional array assertions.
- Abstract2DArrayAssert(ACTUAL, Class<?>) - Constructor for class org.assertj.core.api.Abstract2DArrayAssert
- AbstractArrayAssert<SELF,
ACTUAL, - Class in org.assertj.core.apiELEMENT> -
Base class for all array assertions.
- AbstractArrayAssert(ACTUAL, Class<?>) - Constructor for class org.assertj.core.api.AbstractArrayAssert
- AbstractAssert<SELF,
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,
VALUE, - Class in org.assertj.core.apiATOMIC, OBJECT> -
Base class for all fieldupdater assertions.
- AbstractAtomicFieldUpdaterAssert(ATOMIC, Class<?>, boolean) - Constructor for class org.assertj.core.api.AbstractAtomicFieldUpdaterAssert
- AbstractAtomicReferenceAssert<SELF,
VALUE, - Class in org.assertj.core.apiATOMIC> -
Base class for atomic assertions.
- AbstractAtomicReferenceAssert(ATOMIC, Class<?>) - Constructor for class org.assertj.core.api.AbstractAtomicReferenceAssert
- AbstractBigDecimalAssert<SELF> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
BigDecimals. - AbstractBigDecimalAssert(BigDecimal, Class<?>) - Constructor for class org.assertj.core.api.AbstractBigDecimalAssert
- AbstractBigDecimalScaleAssert<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> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
BigIntegers. - AbstractBigIntegerAssert(BigInteger, Class<?>) - Constructor for class org.assertj.core.api.AbstractBigIntegerAssert
- AbstractBooleanArrayAssert<SELF> - Class in org.assertj.core.api
- AbstractBooleanArrayAssert(boolean[], Class<?>) - Constructor for class org.assertj.core.api.AbstractBooleanArrayAssert
- AbstractBooleanAssert<SELF> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
Booleans. - AbstractBooleanAssert(Boolean, Class<?>) - Constructor for class org.assertj.core.api.AbstractBooleanAssert
- AbstractByteArrayAssert<SELF> - Class in org.assertj.core.api
- AbstractByteArrayAssert(byte[], Class<?>) - Constructor for class org.assertj.core.api.AbstractByteArrayAssert
- AbstractByteAssert<SELF> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
Bytes. - AbstractByteAssert(Byte, Class<?>) - Constructor for class org.assertj.core.api.AbstractByteAssert
- AbstractCharacterAssert<SELF> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
Characters. - AbstractCharacterAssert(Character, Class<?>) - Constructor for class org.assertj.core.api.AbstractCharacterAssert
- AbstractCharArrayAssert<SELF> - Class in org.assertj.core.api
- AbstractCharArrayAssert(char[], Class<?>) - Constructor for class org.assertj.core.api.AbstractCharArrayAssert
- AbstractCharSequenceAssert<SELF,
ACTUAL> - Class in org.assertj.core.api -
Base class for all implementations of assertions for
CharSequences. - AbstractCharSequenceAssert(ACTUAL, Class<?>) - Constructor for class org.assertj.core.api.AbstractCharSequenceAssert
- AbstractClassAssert<SELF> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
Classes. - AbstractClassAssert(Class<?>, Class<?>) - Constructor for class org.assertj.core.api.AbstractClassAssert
- AbstractCollectionAssert<SELF,
ACTUAL, - Class in org.assertj.core.apiELEMENT, ELEMENT_ASSERT> -
Base class for all implementations of assertions for
Collections. - AbstractCollectionAssert(ACTUAL, Class<?>) - Constructor for class org.assertj.core.api.AbstractCollectionAssert
- AbstractComparableAssert<SELF,
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> - Class in org.assertj.core.util
- AbstractComparableNumberComparator() - Constructor for class org.assertj.core.util.AbstractComparableNumberComparator
- AbstractCompletableFutureAssert<SELF,
RESULT> - Class in org.assertj.core.api -
Assertions for
CompletableFuture. - AbstractCompletableFutureAssert(CompletableFuture<RESULT>, Class<?>) - Constructor for class org.assertj.core.api.AbstractCompletableFutureAssert
- AbstractDateAssert<SELF> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
Dates. - AbstractDateAssert(Date, Class<?>) - Constructor for class org.assertj.core.api.AbstractDateAssert
- AbstractDoubleArrayAssert<SELF> - Class in org.assertj.core.api
- AbstractDoubleArrayAssert(double[], Class<?>) - Constructor for class org.assertj.core.api.AbstractDoubleArrayAssert
- AbstractDoubleAssert<SELF> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
Doubles. - AbstractDoubleAssert(double, Class<?>) - Constructor for class org.assertj.core.api.AbstractDoubleAssert
- AbstractDoubleAssert(Double, Class<?>) - Constructor for class org.assertj.core.api.AbstractDoubleAssert
- AbstractDurationAssert<SELF> - Class in org.assertj.core.api
-
Assertions for
Durationtype. - AbstractDurationAssert(Duration, Class<?>) - Constructor for class org.assertj.core.api.AbstractDurationAssert
-
Creates a new
AbstractDurationAssert - AbstractEnumerableAssert<SELF,
ACTUAL, - Class in org.assertj.core.apiELEMENT> -
Base implementation for Enumerable class assertions.
- AbstractEnumerableAssert(ACTUAL, Class<?>) - Constructor for class org.assertj.core.api.AbstractEnumerableAssert
- AbstractFileAssert<SELF> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
Files. - AbstractFileAssert(File, Class<?>) - Constructor for class org.assertj.core.api.AbstractFileAssert
- AbstractFileSizeAssert<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> - Class in org.assertj.core.api
- AbstractFloatArrayAssert(float[], Class<?>) - Constructor for class org.assertj.core.api.AbstractFloatArrayAssert
- AbstractFloatAssert<SELF> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
Floats. - AbstractFloatAssert(float, Class<?>) - Constructor for class org.assertj.core.api.AbstractFloatAssert
- AbstractFloatAssert(Float, Class<?>) - Constructor for class org.assertj.core.api.AbstractFloatAssert
- AbstractFutureAssert<SELF,
ACTUAL, - Class in org.assertj.core.apiRESULT> - AbstractFutureAssert(ACTUAL, Class<?>) - Constructor for class org.assertj.core.api.AbstractFutureAssert
- AbstractInputStreamAssert<SELF,
ACTUAL> - Class in org.assertj.core.api -
Base class for all implementations of assertions for
InputStreams. - AbstractInputStreamAssert(ACTUAL, Class<?>) - Constructor for class org.assertj.core.api.AbstractInputStreamAssert
- AbstractInstantAssert<SELF> - Class in org.assertj.core.api
-
Assertions for
Instanttype 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> - Class in org.assertj.core.api
- AbstractIntArrayAssert(int[], Class<?>) - Constructor for class org.assertj.core.api.AbstractIntArrayAssert
- AbstractIntegerAssert<SELF> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
Integers. - AbstractIntegerAssert(Integer, Class<?>) - Constructor for class org.assertj.core.api.AbstractIntegerAssert
- AbstractIterableAssert<SELF,
ACTUAL, - Class in org.assertj.core.apiELEMENT, ELEMENT_ASSERT> -
Base class for implementations of
whose actual value type isObjectEnumerableAssert.Collection - AbstractIterableAssert(ACTUAL, Class<?>) - Constructor for class org.assertj.core.api.AbstractIterableAssert
- AbstractIterableSizeAssert<SELF,
ACTUAL, - Class in org.assertj.core.apiELEMENT, ELEMENT_ASSERT> - AbstractIterableSizeAssert(Integer, Class<?>) - Constructor for class org.assertj.core.api.AbstractIterableSizeAssert
- AbstractIteratorAssert<SELF,
ELEMENT> - Class in org.assertj.core.api -
Base class for all implementations of assertions for
Iterators. - AbstractIteratorAssert(Iterator<? extends ELEMENT>, Class<?>) - Constructor for class org.assertj.core.api.AbstractIteratorAssert
-
Creates a new
.AbstractIteratorAssert - AbstractListAssert<SELF,
ACTUAL, - Class in org.assertj.core.apiELEMENT, ELEMENT_ASSERT> -
Base class for all implementations of assertions for
Lists. - AbstractListAssert(ACTUAL, Class<?>) - Constructor for class org.assertj.core.api.AbstractListAssert
- AbstractLocalDateAssert<SELF> - Class in org.assertj.core.api
-
Assertions for
LocalDatetype 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> - Class in org.assertj.core.api
-
Assertions for
LocalDateTimetype 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> - Class in org.assertj.core.api
-
Assertions for
LocalTimetype 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> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
LongAdders. - AbstractLongAdderAssert(LongAdder, Class<?>) - Constructor for class org.assertj.core.api.AbstractLongAdderAssert
- AbstractLongArrayAssert<SELF> - Class in org.assertj.core.api
- AbstractLongArrayAssert(long[], Class<?>) - Constructor for class org.assertj.core.api.AbstractLongArrayAssert
- AbstractLongAssert<SELF> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
Longs. - AbstractLongAssert(Long, Class<?>) - Constructor for class org.assertj.core.api.AbstractLongAssert
- AbstractMapAssert<SELF,
ACTUAL, - Class in org.assertj.core.apiK, V> -
Base class for all implementations of assertions for
Maps. - AbstractMapAssert(ACTUAL, Class<?>) - Constructor for class org.assertj.core.api.AbstractMapAssert
- AbstractMapSizeAssert<SELF,
A, - Class in org.assertj.core.apiKEY, VALUE> - AbstractMapSizeAssert(Integer, Class<?>) - Constructor for class org.assertj.core.api.AbstractMapSizeAssert
- AbstractMatcherAssert<SELF> - Class in org.assertj.core.api
-
Assertions for
Matcher - AbstractMatcherAssert(Matcher, Class<?>) - Constructor for class org.assertj.core.api.AbstractMatcherAssert
- AbstractObjectArrayAssert<SELF,
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,
ACTUAL> - Class in org.assertj.core.api -
Base class for all implementations of assertions for
Objects. - AbstractObjectAssert(ACTUAL, Class<?>) - Constructor for class org.assertj.core.api.AbstractObjectAssert
- AbstractOffsetDateTimeAssert<SELF> - Class in org.assertj.core.api
-
Assertions for
OffsetDateTimetype 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> - Class in org.assertj.core.api
-
Assertions for
OffsetTimetype 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,
VALUE> - Class in org.assertj.core.api -
Assertions for
Optional. - AbstractOptionalAssert(Optional<VALUE>, Class<?>) - Constructor for class org.assertj.core.api.AbstractOptionalAssert
- AbstractOptionalDoubleAssert<SELF> - Class in org.assertj.core.api
-
Assertions for
OptionalDouble. - AbstractOptionalDoubleAssert(OptionalDouble, Class<?>) - Constructor for class org.assertj.core.api.AbstractOptionalDoubleAssert
- AbstractOptionalIntAssert<SELF> - Class in org.assertj.core.api
-
Assertions for
OptionalInt. - AbstractOptionalIntAssert(OptionalInt, Class<?>) - Constructor for class org.assertj.core.api.AbstractOptionalIntAssert
- AbstractOptionalLongAssert<SELF> - Class in org.assertj.core.api
-
Assertions for
OptionalLong. - AbstractOptionalLongAssert(OptionalLong, Class<?>) - Constructor for class org.assertj.core.api.AbstractOptionalLongAssert
- AbstractPathAssert<SELF> - Class in org.assertj.core.api
-
Assertions for
Pathobjects - AbstractPathAssert(Path, Class<?>) - Constructor for class org.assertj.core.api.AbstractPathAssert
- AbstractPeriodAssert<SELF> - Class in org.assertj.core.api
-
Assertions for
Periodtype. - AbstractPeriodAssert(Period, Class<?>) - Constructor for class org.assertj.core.api.AbstractPeriodAssert
-
Creates a new
AbstractPeriodAssert - AbstractPredicateAssert<SELF,
T> - Class in org.assertj.core.api -
Assertions for
Predicate. - AbstractPredicateAssert(Predicate<T>, Class<?>) - Constructor for class org.assertj.core.api.AbstractPredicateAssert
- AbstractShortArrayAssert<SELF> - Class in org.assertj.core.api
- AbstractShortArrayAssert(short[], Class<?>) - Constructor for class org.assertj.core.api.AbstractShortArrayAssert
- AbstractShortAssert<SELF> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
Shorts. - 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,
ELEMENT> - Class in org.assertj.core.api -
Assertions for
Spliteratortype. - AbstractSpliteratorAssert(Spliterator<ELEMENT>, Class<?>) - Constructor for class org.assertj.core.api.AbstractSpliteratorAssert
- AbstractStringAssert<SELF> - Class in org.assertj.core.api
- AbstractStringAssert(String, Class<?>) - Constructor for class org.assertj.core.api.AbstractStringAssert
- AbstractTemporalAssert<SELF,
TEMPORAL> - Class in org.assertj.core.api -
Base class for all implementations of assertions for
Temporals. - AbstractTemporalAssert(TEMPORAL, Class<?>) - Constructor for class org.assertj.core.api.AbstractTemporalAssert
-
Creates a new
.AbstractTemporalAssert - AbstractThrowableAssert<SELF,
ACTUAL> - Class in org.assertj.core.api -
Base class for all implementations of assertions for
Throwables. - AbstractThrowableAssert(ACTUAL, Class<?>) - Constructor for class org.assertj.core.api.AbstractThrowableAssert
- AbstractUniversalComparableAssert<SELF,
T> - Class in org.assertj.core.api -
Base class for
Comparableassertions. - AbstractUniversalComparableAssert(Comparable<T>, Class<?>) - Constructor for class org.assertj.core.api.AbstractUniversalComparableAssert
- AbstractUriAssert<SELF> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
URIs. - AbstractUriAssert(URI, Class<?>) - Constructor for class org.assertj.core.api.AbstractUriAssert
- AbstractUrlAssert<SELF> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
URLs. - AbstractUrlAssert(URL, Class<?>) - Constructor for class org.assertj.core.api.AbstractUrlAssert
- AbstractYearMonthAssert<SELF> - Class in org.assertj.core.api
-
Base class for all implementations of assertions for
YearMonthtype from new Date & Time API introduced in Java 8. - AbstractYearMonthAssert(YearMonth, Class<?>) - Constructor for class org.assertj.core.api.AbstractYearMonthAssert
-
Creates a new
.AbstractYearMonthAssert - 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
DoublePredicateevaluates all the given values totrue. - accepts(int...) - Method in class org.assertj.core.api.IntPredicateAssert
-
Verifies that
IntPredicateevaluates all the given values totrue. - accepts(long...) - Method in class org.assertj.core.api.LongPredicateAssert
-
Verifies that
LongPredicateevaluates all the given values totrue. - accepts(T...) - Method in class org.assertj.core.api.AbstractPredicateAssert
-
Verifies that the
Predicateevaluates all given values totrue. - acceptsAll(Iterable<? extends T>) - Method in class org.assertj.core.api.AbstractPredicateAssert
- acceptsAllInternal(Iterable<? extends Double>) - Method in class org.assertj.core.api.DoublePredicateAssert
- acceptsAllInternal(Iterable<? extends Integer>) - Method in class org.assertj.core.api.IntPredicateAssert
- acceptsAllInternal(Iterable<? extends Long>) - Method in class org.assertj.core.api.LongPredicateAssert
- acceptsForProxy(T[]) - Method in class org.assertj.core.api.AbstractPredicateAssert
- acceptsInternal(Double) - Method in class org.assertj.core.api.DoublePredicateAssert
- acceptsInternal(Integer) - Method in class org.assertj.core.api.IntPredicateAssert
- 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
- actual() - Method in class org.assertj.core.api.AbstractAssert
-
Returns actual (the object currently under test).
- 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
- actualIsNotEmpty(Object) - Static method in class org.assertj.core.error.ActualIsNotEmpty
- ActualIsNotEmpty - Class in org.assertj.core.error
- 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.
- addAfterAssertionErrorCollected(AfterAssertionErrorCollected) - Method in class org.assertj.core.api.DefaultAssertionErrorCollector
-
Register a callback allowing to react after an
AssertionErroris collected by the current soft 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.
- allFieldsSatisfy(Predicate<Object>) - Method in class org.assertj.core.api.RecursiveAssertionAssert
-
Asserts that the given predicate is met for all fields of the object under test recursively (but not the object itself).
- 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(ThrowingConsumer<? super T>...) - Static method in class org.assertj.core.api.Assertions
-
Create a new
that delegates the evaluation of the given consumers toThrowingConsumerAbstractAssert.satisfies(ThrowingConsumer[]). - allOf(ThrowingConsumer<? super T>...) - Static method in class org.assertj.core.api.BDDAssertions
-
Create a new
that delegates the evaluation of the given consumers toThrowingConsumerAbstractAssert.satisfies(ThrowingConsumer[]). - allOf(ThrowingConsumer<? super T>...) - Method in interface org.assertj.core.api.WithAssertions
-
Create a new
that delegates the evaluation of the given consumers toThrowingConsumerAbstractAssert.satisfies(ThrowingConsumer[]). - AllOf<T> - Class in org.assertj.core.condition
-
Returns
trueif 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
- allowComparingEnumAgainstString(boolean) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Allows the recursive comparison to compare an enum field against a string field.
- 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
BDDAssertionswhich 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 ELEMENT>, String) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies whether any elements match the provided
Predicate. - anyMatch(Predicate<? super ELEMENT>, String) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies whether any elements match the provided
Predicate. - anyMatch(Predicate<? super ELEMENT>, String) - 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. - anyMatch(Predicate<? super T>, String) - 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 useAnyOfif 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 useAnyOfif 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 useAnyOfif 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 useAnyOfif 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 useAnyOfif you prefer). - anyOf(Condition<? super T>...) - Static method in class org.assertj.core.condition.AnyOf
-
Creates a new
AnyOf - anyOf(ThrowingConsumer<? super T>...) - Static method in class org.assertj.core.api.Assertions
-
Create a new
that delegates the evaluation of the given consumers toThrowingConsumerAbstractAssert.satisfiesAnyOf(ThrowingConsumer[]). - anyOf(ThrowingConsumer<? super T>...) - Static method in class org.assertj.core.api.BDDAssertions
-
Create a new
that delegates the evaluation of the given consumers toThrowingConsumerAbstractAssert.satisfiesAnyOf(ThrowingConsumer[]). - anyOf(ThrowingConsumer<? super T>...) - Method in interface org.assertj.core.api.WithAssertions
-
Create a new
that delegates the evaluation of the given consumers toThrowingConsumerAbstractAssert.satisfiesAnyOf(ThrowingConsumer[]). - AnyOf<T> - Class in org.assertj.core.condition
-
Returns
trueif 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
Stringto the given target, only if the target does not end with the givenStringto 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 - Applicability - Search tag in class org.assertj.core.api.junit.jupiter.SoftAssertionsExtension
- Section
- 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(Type) - Method in interface org.assertj.core.api.AssertFactory.ValueProvider
-
Provides a value compatible with the given
type. - 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
-
InstanceOfAssertFactoryfor 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
-
InstanceOfAssertFactoryfor an array ofObject. - ARRAY_2D - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor a two-dimensional array ofObject. - array2D(Class<ELEMENT[][]>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor a two-dimensional array of elements. - Array2DAssert<SELF,
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,
ELEMENT> - Interface in org.assertj.core.api -
Assertions applicable to primitive arrays or arrays of elements either naturally
Comparableor 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
InstanceOfAssertFactoryparameter. - as(InstanceOfAssertFactory<T, ASSERT>) - Static method in class org.assertj.core.api.BDDAssertions
-
A syntax sugar to write fluent assertion with methods having an
InstanceOfAssertFactoryparameter. - as(InstanceOfAssertFactory<T, ASSERT>) - Method in interface org.assertj.core.api.WithAssertions
-
A syntax sugar to write fluent assertion with methods having an
InstanceOfAssertFactoryparameter. - 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.
- asBoolean() - Method in class org.assertj.core.api.AbstractStringAssert
-
Parses the actual value as boolean, the parsed boolean becoming the new value under test.
- asByte() - Method in class org.assertj.core.api.AbstractStringAssert
-
Parses the actual value as byte, using radix 10, the parsed byte becoming the new value under test.
- asDouble() - Method in class org.assertj.core.api.AbstractStringAssert
-
Parses the actual value as double, the parsed double becoming the new value under test.
- asFloat() - Method in class org.assertj.core.api.AbstractStringAssert
-
Parses the actual value as float, the parsed float becoming the new value 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
InstanceOfAssertFactoryto verify that the actual value is an instance of a given type and to produce a newAssertnarrowed to that type. - asInstanceOf(InstanceOfAssertFactory<?, ASSERT>) - Method in interface org.assertj.core.api.Assert
-
Uses an
InstanceOfAssertFactoryto verify that the actual value is an instance of a given type and to produce a newAssertnarrowed to that type. - asInt() - Method in class org.assertj.core.api.AbstractStringAssert
-
Parses the actual value as integer, using radix 10, the parsed integer becoming the new value under test.
- asList() - Method in class org.assertj.core.api.AbstractAssert
-
Deprecated.use
asInstanceOf(InstanceOfAssertFactories.LIST)instead - asList() - Method in interface org.assertj.core.api.Assert
-
Deprecated.use
asInstanceOf(InstanceOfAssertFactories.LIST)instead - asList(Object) - Static method in class org.assertj.core.util.Arrays
-
Get the values of any array (primitive or not) into a
List<Object>. - asLong() - Method in class org.assertj.core.api.AbstractStringAssert
-
Parses the actual value as long, using radix 10, the parsed long becoming the new value under test.
- 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,
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
collectorargument to currentinstance.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> - Interface in org.assertj.core.api -
A factory that creates an
Assertinstance for a given value of typeAssertFactory. - AssertFactory.ValueProvider<T> - Interface in org.assertj.core.api
-
A provider that provides a value compatible with a given
Type. - assertion(T) - Method in class org.assertj.core.matcher.AssertionMatcher
-
Perform the assertions implemented in this method when the
AssertionMatcheris 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
-
Deprecated.don't use it or favor
AssertionErrorCreatorinstead. - 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
AssertionErrorMessagesAggregatorinstead - 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
Matcherthat 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
assertThatmethod 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 properassertThatmethod (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 - Exception Class in org.assertj.core.error
-
AssertJ version of
MultipleFailuresErrorto get more control on the error formatting. - AssertJMultipleFailuresError(String, List<? extends Throwable>) - Constructor for exception class 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
Assertfor 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
Assertfor 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
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Iterableinstance.Deprecated way:
However, there is a better way withIterable<String> hobbits = Set.of("frodo", "sam", "Pippin"); assertThat(hobbits, StringAssert.class).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.assertThat(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - assertThat(ACTUAL, Class<ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Iterableinstance.Deprecated way:
However, there is a better way withIterable<String> hobbits = Set.of("frodo", "sam", "Pippin"); assertThat(hobbits, StringAssert.class).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.assertThat(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - assertThat(ACTUAL, Class<ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.ClassBasedNavigableIterableAssert
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Iterableinstance.Deprecated way:
However, there is a better way withIterable<String> hobbits = Set.of("frodo", "sam", "Pippin"); assertThat(hobbits, StringAssert.class).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.assertThat(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - assertThat(ACTUAL, Class<ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Iterableinstance.Deprecated way:
However, there is a better way withIterable<String> hobbits = Set.of("frodo", "sam", "Pippin"); assertThat(hobbits, StringAssert.class).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.assertThat(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - assertThat(ACTUAL, Class<ELEMENT_ASSERT>) - Method in interface org.assertj.core.api.WithAssertions
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Iterableinstance.Deprecated way:
However, there is a better way withIterable<String> hobbits = Set.of("frodo", "sam", "Pippin"); assertThat(hobbits, StringAssert.class).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.assertThat(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - 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
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Iterableinstance.Deprecated way:
However, there is a better way withIterable<String> hobbits = Set.of("frodo", "sam", "Pippin"); assertThat(hobbits, StringAssert::new).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.assertThat(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - assertThat(Iterable<? extends ELEMENT>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Iterableinstance.Deprecated way:
However, there is a better way withIterable<String> hobbits = Set.of("frodo", "sam", "Pippin"); assertThat(hobbits, StringAssert::new).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.assertThat(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - assertThat(Iterable<? extends ELEMENT>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.FactoryBasedNavigableIterableAssert
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Iterableinstance.Deprecated way:
However, there is a better way withIterable<String> hobbits = Set.of("frodo", "sam", "Pippin"); assertThat(hobbits, StringAssert::new).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.assertThat(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - assertThat(Iterable<? extends ELEMENT>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Iterableinstance.Deprecated way:
However, there is a better way withIterable<String> hobbits = Set.of("frodo", "sam", "Pippin"); assertThat(hobbits, StringAssert::new).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.assertThat(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - assertThat(Iterable<? extends ELEMENT>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Method in interface org.assertj.core.api.WithAssertions
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Iterableinstance.Deprecated way:
However, there is a better way withIterable<String> hobbits = Set.of("frodo", "sam", "Pippin"); assertThat(hobbits, StringAssert::new).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.assertThat(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - 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
.StringAssertfrom 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
.CharSequenceAssertfrom aString - assertThat(StringBuffer) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
from aCharSequenceAssertStringBuffer. - assertThat(StringBuffer) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
from aCharSequenceAssertStringBuffer. - assertThat(StringBuffer) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
from aCharSequenceAssertStringBuffer. - assertThat(StringBuffer) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
from aCharSequenceAssertStringBuffer. - assertThat(StringBuffer) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
from aCharSequenceAssertStringBuffer. - assertThat(StringBuilder) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
from aCharSequenceAssertStringBuilder. - assertThat(StringBuilder) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
from aCharSequenceAssertStringBuilder. - assertThat(StringBuilder) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
from aCharSequenceAssertStringBuilder. - assertThat(StringBuilder) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
from aCharSequenceAssertStringBuilder. - assertThat(StringBuilder) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
from aCharSequenceAssertStringBuilder. - 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(YearMonth) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.YearMonthAssert - assertThat(YearMonth) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Creates a new instance of
.YearMonthAssert - assertThat(YearMonth) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Creates a new instance of
.YearMonthAssert - assertThat(YearMonth) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.YearMonthAssert - 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
CompletionStageby converting it to aCompletableFutureand returning aCompletableFutureAssert. - assertThat(CompletionStage<RESULT>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Create assertion for
CompletionStageby converting it to aCompletableFutureand returning aCompletableFutureAssert. - assertThat(CompletionStage<RESULT>) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Create assertion for
CompletionStageby converting it to aCompletableFutureand returning aCompletableFutureAssert. - assertThat(CompletionStage<RESULT>) - Method in interface org.assertj.core.api.WithAssertions
-
Create assertion for
CompletionStageby converting it to aCompletableFutureand 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
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Listinstance.Deprecated way:
However, there is a better way withList<String> hobbits = List.of("frodo", "sam", "Pippin"); assertThat(hobbits, StringAssert.class).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.assertThat(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - assertThat(List<? extends ELEMENT>, Class<ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Listinstance.Deprecated way:
However, there is a better way withList<String> hobbits = List.of("frodo", "sam", "Pippin"); assertThat(hobbits, StringAssert.class).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.assertThat(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - assertThat(List<? extends ELEMENT>, Class<ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.ClassBasedNavigableListAssert
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Listinstance.Deprecated way:
However, there is a better way withList<String> hobbits = List.of("frodo", "sam", "Pippin"); assertThat(hobbits, StringAssert.class).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.assertThat(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - assertThat(List<? extends ELEMENT>, Class<ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Listinstance.Deprecated way:
However, there is a better way withList<String> hobbits = List.of("frodo", "sam", "Pippin"); assertThat(hobbits, StringAssert.class).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.assertThat(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - assertThat(List<? extends ELEMENT>, Class<ELEMENT_ASSERT>) - Method in interface org.assertj.core.api.WithAssertions
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Listinstance.Deprecated way:
However, there is a better way withList<String> hobbits = List.of("frodo", "sam", "Pippin"); assertThat(hobbits, StringAssert.class).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.assertThat(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - assertThat(List<? extends ELEMENT>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.Assertions
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Listinstance.Deprecated way:
However, there is a better way withList<String> hobbits = List.of("frodo", "sam", "Pippin"); assertThat(hobbits, StringAssert::new).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.assertThat(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - assertThat(List<? extends ELEMENT>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Iterableinstance.Deprecated way:
However, there is a better way withList<String> hobbits = List.of("frodo", "sam", "Pippin"); assertThat(hobbits, StringAssert::new).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.assertThat(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - assertThat(List<? extends ELEMENT>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.FactoryBasedNavigableListAssert
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Listinstance.Deprecated way:
However, there is a better way withList<String> hobbits = List.of("frodo", "sam", "Pippin"); assertThat(hobbits, StringAssert::new).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.assertThat(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - assertThat(List<? extends ELEMENT>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Listinstance.Deprecated way:
However, there is a better way withList<String> hobbits = List.of("frodo", "sam", "Pippin"); assertThat(hobbits, StringAssert::new).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.assertThat(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - assertThat(List<? extends ELEMENT>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Method in interface org.assertj.core.api.WithAssertions
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Listinstance.Deprecated way:
However, there is a better way withList<String> hobbits = List.of("frodo", "sam", "Pippin"); assertThat(hobbits, StringAssert::new).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.assertThat(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - 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 givenSpliteratorAssertSpliterator. - 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 givenSpliteratorAssertSpliterator. - 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 givenListAssertDoubleStream. - assertThat(DoubleStream) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Creates a new instance of
from the givenListAssertDoubleStream. - assertThat(DoubleStream) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Creates a new instance of
from the givenListAssertDoubleStream. - assertThat(DoubleStream) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
from the givenListAssertDoubleStream. - assertThat(IntStream) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
from the givenListAssertIntStream. - assertThat(IntStream) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Creates a new instance of
from the givenListAssertIntStream. - assertThat(IntStream) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Creates a new instance of
from the givenListAssertIntStream. - assertThat(IntStream) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
from the givenListAssertIntStream. - assertThat(LongStream) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
from the givenListAssertLongStream. - assertThat(LongStream) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Creates a new instance of
from the givenListAssertLongStream. - assertThat(LongStream) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Creates a new instance of
from the givenListAssertLongStream. - assertThat(LongStream) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
from the givenListAssertLongStream. - assertThat(Stream<? extends ELEMENT>) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
from the givenListAssertStream. - assertThat(Stream<? extends ELEMENT>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Creates a new instance of
from the givenListAssertStream. - assertThat(Stream<? extends ELEMENT>) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Creates a new instance of
from the givenListAssertStream. - assertThat(Stream<? extends ELEMENT>) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
from the givenListAssertStream. - assertThat(AssertProvider<T>) - Static method in class org.assertj.core.api.Assertions
-
Delegates the creation of the
Assertto theAssertProvider.assertThat()of the given component. - assertThat(AssertProvider<T>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Delegates the creation of the
Assertto theAssertProvider.assertThat()of the given component. - assertThat(AssertProvider<T>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Delegates the creation of the
Assertto theAssertProvider.assertThat()of the given component. - assertThat(AssertProvider<T>) - Method in interface org.assertj.core.api.WithAssertions
-
Delegates the creation of the
Assertto 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.Assertions
-
Creates a new instance of
.CharSequenceAssert - assertThatCharSequence(CharSequence) - Static method in class org.assertj.core.api.CharSequenceAssert
- assertThatCharSequence(CharSequence) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Creates a new instance of
.CharSequenceAssert - assertThatCharSequence(CharSequence) - Method in interface org.assertj.core.api.Java6StandardSoftAssertionsProvider
-
Creates a new instance of
.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 capturing and then assert on a
Throwablemore 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
Throwablemore 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
Throwablemore 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
throwingCallablewhich allows chaining 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
throwingCallablewhich allows chaining 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
throwingCallablewhich 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
throwingCallablewhich 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 givenListAssertStream. - assertThatStream(Stream<? extends ELEMENT>) - Static method in class org.assertj.core.api.AssertionsForInterfaceTypes
-
Creates a new instance of
from the givenListAssertStream. - 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 givenListAssertStream. - assertThatStream(Stream<? extends ELEMENT>) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
from the givenListAssertStream. - assertThatTemporal(Temporal) - Static method in class org.assertj.core.api.Assertions
-
Creates a new instance of
.TemporalAssert - assertThatTemporal(Temporal) - Method in interface org.assertj.core.api.StandardSoftAssertionsProvider
-
Create assertion for
TemporalAssert. - assertThatTemporal(Temporal) - Method in interface org.assertj.core.api.WithAssertions
-
Creates a new instance of
.TemporalAssert - 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
Throwablemore 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
Throwablemore 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
ThrowablelikeassertThatThrownBy(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
ThrowablelikeassertThatThrownBy(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
ThrowablelikeassertThatThrownBy(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
ThrowablelikeassertThatThrownBy(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
ThrowablelikeassertThatThrownBy(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. - asShort() - Method in class org.assertj.core.api.AbstractStringAssert
-
Parses the actual value as short, using radix 10, the parsed short becoming the new value under test.
- 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
InputStreamto aStringby 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 aCharSequenceAssertStringBuffer. - assumeThat(StringBuffer) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption from aCharSequenceAssertStringBuffer. - assumeThat(StringBuilder) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption from aCharSequenceAssertStringBuilder. - assumeThat(StringBuilder) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption from aCharSequenceAssertStringBuilder. - 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
PathAssertassumption. - 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
DurationAssertassumption. - 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
InstantAssertassumption. - 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
LocalDateAssertassumption. - 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
LocalDateTimeAssertassumption. - 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
LocalTimeAssertassumption. - 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
OffsetDateTimeAssertassumption. - 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
OffsetTimeAssertassumption. - 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
PeriodAssertassumption. - assumeThat(Period) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.PeriodAssert - assumeThat(YearMonth) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
YearMonthAssertassumption. - assumeThat(YearMonth) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption.YearMonthAssert - assumeThat(ZonedDateTime) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
ZonedDateTimeAssertassumption. - 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
CompletableFutureAssertassumption. - assumeThat(CompletableFuture<RESULT>) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
CompletableFutureAssertassumption. - assumeThat(CompletionStage<RESULT>) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
CompletableFutureAssertassumption for aCompletionStageby converting it to aCompletableFutureand returning aCompletableFutureAssert. - assumeThat(CompletionStage<RESULT>) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
CompletableFutureAssertassumption for aCompletionStageby converting it to aCompletableFutureand returning aCompletableFutureAssert. - assumeThat(Future<RESULT>) - Static method in class org.assertj.core.api.Assumptions
-
Create assertion for
FutureAssertassumption. - assumeThat(Future<RESULT>) - Method in interface org.assertj.core.api.WithAssumptions
-
Create assertion for
FutureAssertassumption. - 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
DoublePredicateAssertassumption. - assumeThat(DoublePredicate) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
DoublePredicateAssertassumption. - assumeThat(IntPredicate) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
IntPredicateAssertassumption. - assumeThat(IntPredicate) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
IntPredicateAssertassumption. - assumeThat(LongPredicate) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
LongPredicateAssertassumption. - assumeThat(LongPredicate) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
LongPredicateAssertassumption. - assumeThat(Predicate<T>) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
PredicateAssertassumption. - assumeThat(Predicate<T>) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
PredicateAssertassumption. - 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
OptionalAssertassumption. - assumeThat(Optional<VALUE>) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
OptionalAssertassumption. - assumeThat(OptionalDouble) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
OptionalDoubleAssertassumption. - 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
OptionalIntAssertassumption. - 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
OptionalLongAssertassumption. - 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
MatcherAssertassumption. - 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 givenSpliteratorAssertSpliterator. - 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 givenListAssertDoubleStream. - assumeThat(DoubleStream) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption from the givenListAssertDoubleStream. - assumeThat(IntStream) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption from the givenListAssertIntStream. - assumeThat(IntStream) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption from the givenListAssertIntStream. - assumeThat(LongStream) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption from the givenListAssertLongStream. - assumeThat(LongStream) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption from the givenListAssertLongStream. - assumeThat(Stream<? extends ELEMENT>) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption from the givenListAssertStream. - assumeThat(Stream<? extends ELEMENT>) - Method in interface org.assertj.core.api.WithAssumptions
-
Creates a new instance of
assumption from the givenListAssertStream. - 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 - assumeThatCharSequence(CharSequence) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
assumption.CharSequenceAssert - 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
throwingCallablewhich 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 givenListAssertStream. - assumeThatTemporal(Temporal) - Static method in class org.assertj.core.api.Assumptions
-
Creates a new instance of
TemporalAssertassumption. - 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 for 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 useIndexif 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 useIndexif 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 useIndexif 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 useIndexif 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 useIndexif 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
-
InstanceOfAssertFactoryfor anAtomicBoolean. - ATOMIC_INTEGER - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor 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
-
InstanceOfAssertFactoryfor 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
-
InstanceOfAssertFactoryfor anAtomicReferenceFieldUpdater, assumingObjectas 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<T>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
- AtomicIntegerFieldUpdaterAssert<OBJECT> - Class in org.assertj.core.api
-
Assertion methods for
AtomicIntegerFieldUpdaters. - 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<T>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
- AtomicLongFieldUpdaterAssert<OBJECT> - Class in org.assertj.core.api
-
Assertion methods for
AtomicLongFieldUpdaters. - AtomicLongFieldUpdaterAssert(AtomicLongFieldUpdater<OBJECT>) - Constructor for class org.assertj.core.api.AtomicLongFieldUpdaterAssert
- atomicMarkableReference(Class<V>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
- AtomicMarkableReferenceAssert<VALUE> - Class in org.assertj.core.api
-
Assertion methods for
AtomicMarkableReferences. - AtomicMarkableReferenceAssert(AtomicMarkableReference<VALUE>) - Constructor for class org.assertj.core.api.AtomicMarkableReferenceAssert
- atomicReference(Class<V>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
- atomicReferenceArray(Class<E>) - 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<T>, Class<V>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
- AtomicReferenceFieldUpdaterAssert<FIELD,
OBJECT> - Class in org.assertj.core.api -
Assertion methods for
AtomicReferenceFieldUpdaters. - AtomicReferenceFieldUpdaterAssert(AtomicReferenceFieldUpdater<OBJECT, FIELD>) - Constructor for class org.assertj.core.api.AtomicReferenceFieldUpdaterAssert
- atomicStampedReference(Class<V>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
- AtomicStampedReferenceAssert<VALUE> - Class in org.assertj.core.api
-
Assertion methods for
AtomicStampedReferences. - 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.SkipExceptionfor TestNG (if available in the classpath)org.junit.AssumptionViolatedExceptionfor JUnit 4 (if available in the classpath)org.opentest4j.TestAbortedExceptionfor JUnit 5 If none are available, AssertJ throws anIllegalStateException. - AutoCloseableBDDSoftAssertions - Class in org.assertj.core.api
-
A version of
BDDSoftAssertionsthat 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
SoftAssertionsthat 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
BigDecimals. - BigDecimalAssert(BigDecimal) - Constructor for class org.assertj.core.api.BigDecimalAssert
- BigDecimalComparator - Class in org.assertj.core.util
-
A
BigDecimalComparatorbased 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
BigIntegers. - BigIntegerAssert(BigInteger) - Constructor for class org.assertj.core.api.BigIntegerAssert
- BigIntegerComparator - Class in org.assertj.core.util
-
A
BigIntegerComparatorbased 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
ByteArrayassertions on the content of the actualFileread. - binaryContent() - Method in class org.assertj.core.api.AbstractPathAssert
-
Returns
ByteArrayassertions on the content of the actualPathread. - 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
-
InstanceOfAssertFactoryfor abooleantwo-dimensional array. - BOOLEAN_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor abooleanarray. - Boolean2DArrayAssert - Class in org.assertj.core.api
-
Assertion methods for two-dimensional arrays of
booleans. - 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
booleans. - BooleanArrayAssert(boolean[]) - Constructor for class org.assertj.core.api.BooleanArrayAssert
- BooleanAssert - Class in org.assertj.core.api
-
Assertion methods for
Booleans. - 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
Patchfrom 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
TemporalUnitOffsetwith strict less than condition to use withisCloseTotemporal assertions. - byLessThan(long, TemporalUnit) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for
TemporalUnitOffsetwith strict less than condition to use withisCloseTotemporal assertions. - byLessThan(long, TemporalUnit) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for
TemporalUnitOffsetwith strict less than condition to use withisCloseTotemporal assertions. - byLessThan(Byte) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for Byte
Offsetto use with isCloseTo assertions. - byLessThan(Byte) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for Byte
Offsetto use with isCloseTo assertions. - byLessThan(Byte) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for Byte
Offsetto use with isCloseTo assertions. - byLessThan(Byte) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for Byte
Offsetto use with isCloseTo assertions. - byLessThan(Double) - Static method in class org.assertj.core.api.Assertions
-
Build a
strict Offsetto use withAbstractDoubleAssert.isCloseTo(double, Offset)andAbstractDoubleAssert.isNotCloseTo(double, Offset)assertions. - byLessThan(Double) - Static method in class org.assertj.core.api.BDDAssertions
-
Build a
strict Offsetto 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
Offsetto use with isCloseTo assertions. - byLessThan(Integer) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for Integer
Offsetto 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
Offsetto use with isCloseTo assertions. - byLessThan(Long) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for Long
Offsetto use with isCloseTo assertions. - byLessThan(Short) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for Short
Offsetto use with isCloseTo assertions. - byLessThan(Short) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for Short
Offsetto use with isCloseTo assertions. - byLessThan(Short) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for Short
Offsetto use with isCloseTo assertions. - byLessThan(Short) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for Short
Offsetto use with isCloseTo assertions. - byLessThan(BigDecimal) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for BigDecimal
Offsetto use with isCloseTo assertions. - byLessThan(BigDecimal) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for BigDecimal
Offsetto use with isCloseTo assertions. - byLessThan(BigDecimal) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for BigDecimal
Offsetto use with isCloseTo assertions. - byLessThan(BigDecimal) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for BigDecimal
Offsetto use with isCloseTo assertions. - byLessThan(BigInteger) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for BigInteger
Offsetto use with isCloseTo assertions. - byLessThan(BigInteger) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for BigInteger
Offsetto use with isCloseTo assertions. - byLessThan(BigInteger) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for BigInteger
Offsetto use with isCloseTo assertions. - byLessThan(BigInteger) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for BigInteger
Offsetto use with isCloseTo assertions. - byLessThan(Duration) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for
Durationwith strict less than condition to use withisCloseTotemporal assertions. - byLessThan(Duration) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for
Durationwith strict less than condition to use withisCloseTotemporal assertions. - byLessThan(Duration) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for
Durationwith strict less than condition to use withisCloseTotemporal 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 - Enum constant in enum org.assertj.core.error.ShouldBeNumeric.NumericType
- BYTE - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- BYTE_2D_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor abytetwo-dimensional array. - BYTE_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor abytearray. - 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
bytes. - 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
bytes. - ByteArrayAssert(byte[]) - Constructor for class org.assertj.core.api.ByteArrayAssert
- ByteAssert - Class in org.assertj.core.api
-
Assertion methods for
Bytes. - ByteAssert(Byte) - Constructor for class org.assertj.core.api.ByteAssert
- bytes() - Method in class org.assertj.core.api.AbstractStringAssert
-
Encodes the actual value as byte array using the platform's default charset, the encoded byte array becoming the new value under test.
- bytes(String) - Method in class org.assertj.core.api.AbstractStringAssert
-
Encodes the actual value as byte array using a specific
Charset, the encoded byte array becoming the new value under test. - bytes(Charset) - Method in class org.assertj.core.api.AbstractStringAssert
-
Encodes the actual value as byte array using a specific
Charset, the encoded byte array becoming the new value under test. - 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
Filecan be read by the application. - canWrite() - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the actual
Filecan be modified by the application. - CaseFormatUtils - Class in org.assertj.core.util.introspection
-
Utility class for conversion between different case formats
- 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
Throwablemore easily when used with Java 8 lambdas. - catchThrowable(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Allows catching a
Throwablemore easily when used with Java 8 lambdas. - catchThrowable(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.BDDAssertions
-
Allows catching a
Throwablemore easily when used with Java 8 lambdas. - catchThrowable(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Allows to catch an
Throwablemore 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
Throwablemore easily when used with Java 8 lambdas. - catchThrowableOfType(Class<THROWABLE>, ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.Assertions
-
Allows catching a
Throwableof a specific type. - catchThrowableOfType(Class<THROWABLE>, ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Allows catching a
Throwableof a specific type. - catchThrowableOfType(Class<THROWABLE>, ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.BDDAssertions
-
Allows catching a
Throwableof a specific type. - catchThrowableOfType(Class<THROWABLE>, ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Allows catching a
Throwableof a specific type. - catchThrowableOfType(Class<THROWABLE>, ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.ThrowableAssert
- catchThrowableOfType(Class<THROWABLE>, ThrowableAssert.ThrowingCallable) - Method in interface org.assertj.core.api.WithAssertions
-
Allows catching a
Throwableof a specific type. - catchThrowableOfType(ThrowableAssert.ThrowingCallable, Class<THROWABLE>) - Static method in class org.assertj.core.api.Assertions
-
Deprecated.
- catchThrowableOfType(ThrowableAssert.ThrowingCallable, Class<THROWABLE>) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Deprecated.
- catchThrowableOfType(ThrowableAssert.ThrowingCallable, Class<THROWABLE>) - Static method in class org.assertj.core.api.BDDAssertions
-
Deprecated.
- catchThrowableOfType(ThrowableAssert.ThrowingCallable, Class<THROWABLE>) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.
- catchThrowableOfType(ThrowableAssert.ThrowingCallable, Class<THROWABLE>) - Static method in class org.assertj.core.api.ThrowableAssert
-
Deprecated.
- catchThrowableOfType(ThrowableAssert.ThrowingCallable, Class<THROWABLE>) - Method in interface org.assertj.core.api.WithAssertions
-
Deprecated.
- 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
-
InstanceOfAssertFactoryfor achartwo-dimensional array. - CHAR_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor achararray. - 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
chars. - 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
Characters. - 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
chars. - CharArrayAssert(char[]) - Constructor for class org.assertj.core.api.CharArrayAssert
- CharSequenceAssert - Class in org.assertj.core.api
-
Assertion methods for
CharSequences. - 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.
- checkArgument(boolean, Supplier<String>) - Static method in class org.assertj.core.util.Preconditions
-
Ensures the truth of an expression using a supplier to fetch the error message in case of a failure.
- checkNotNull(FilterOperator<T>) - Static method in class org.assertj.core.util.Preconditions
-
Verifies that the given
FilterOperatorreference 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
CharSequenceis notnullor empty. - checkNotNullOrEmpty(CharSequence, String) - Static method in class org.assertj.core.util.Preconditions
-
Verifies that the given
CharSequenceis notnullor empty. - checkNotNullOrEmpty(T[]) - Static method in class org.assertj.core.util.Preconditions
-
Verifies that the given array is not
nullor 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.
- checkThrowableType(Throwable) - Method in class org.assertj.core.api.SoftThrowableTypeAssert
- checkThrowableType(Throwable) - Method in class org.assertj.core.api.ThrowableTypeAssert
- 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
-
InstanceOfAssertFactoryfor aClass. - ClassAssert - Class in org.assertj.core.api
-
Assertion methods for
Classes. - ClassAssert(Class<?>) - Constructor for class org.assertj.core.api.ClassAssert
- ClassBasedNavigableIterableAssert<SELF,
ACTUAL, - Class in org.assertj.core.apiELEMENT, ELEMENT_ASSERT> -
Deprecated.Use
FactoryBasedNavigableIterableAssertinstead. - ClassBasedNavigableIterableAssert(ACTUAL, Class<?>, Class<ELEMENT_ASSERT>) - Constructor for class org.assertj.core.api.ClassBasedNavigableIterableAssert
-
Deprecated.
- ClassBasedNavigableListAssert<SELF,
ACTUAL, - Class in org.assertj.core.apiELEMENT, ELEMENT_ASSERT> -
Deprecated.Use
FactoryBasedNavigableListAssertinstead. - ClassBasedNavigableListAssert(ACTUAL, Class<ELEMENT_ASSERT>) - Constructor for class org.assertj.core.api.ClassBasedNavigableListAssert
-
Deprecated.
- 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
AutoCloseableby 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
Closeables, 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
Collections. - 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,
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
- comparatorByPatterns - Variable in class org.assertj.core.api.recursive.comparison.FieldComparators
- comparatorByRegexFields() - Method in class org.assertj.core.api.recursive.comparison.FieldComparators
- 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(Object, Object) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparator
-
Returns zero if the arguments are recursively equal to each other, or non-zero otherwise (no ordering enforced).
- compare(Delta<?>, Delta<?>) - Method in class org.assertj.core.util.diff.DeltaComparator
- compare(T, T) - Method in class org.assertj.core.util.AbstractComparableNumberComparator
- compare(BigDecimal, BigDecimal) - Method in class org.assertj.core.util.BigDecimalComparator
- compare(BigInteger, BigInteger) - Method in class org.assertj.core.util.BigIntegerComparator
- compare(Double, Double) - Method in class org.assertj.core.util.DoubleComparator
- compare(Float, Float) - Method in class org.assertj.core.util.FloatComparator
- compare(T, T) - Method in class org.assertj.core.util.NaturalOrderComparator
- compare(Path, Path) - Method in class org.assertj.core.util.PathNaturalOrderComparator
- 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).
- compareOnlyFieldsOfTypes(Class<?>...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Adds the given fields of types and their subfields to the set of fields from the object under test to compare (fields of other types will not 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
- COMPARING_FIELDS - Static variable in class org.assertj.core.api.recursive.comparison.ComparingFields
- COMPARING_PROPERTIES - Static variable in class org.assertj.core.api.recursive.comparison.ComparingProperties
- COMPARING_SNAKE_OR_CAMEL_CASE_FIELDS - Static variable in class org.assertj.core.api.recursive.comparison.ComparingSnakeOrCamelCaseFields
- ComparingFields - Class in org.assertj.core.api.recursive.comparison
-
A
RecursiveComparisonIntrospectionStrategythat introspects fields including inherited ones but ignores static and synthetic fields. - ComparingFields() - Constructor for class org.assertj.core.api.recursive.comparison.ComparingFields
- ComparingNormalizedFields - Class in org.assertj.core.api.recursive.comparison
-
A
RecursiveComparisonIntrospectionStrategythat introspects fields provided their normalized name. - ComparingNormalizedFields() - Constructor for class org.assertj.core.api.recursive.comparison.ComparingNormalizedFields
- 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).
- comparingOnlyFieldsOfTypes(Class<?>...) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Makes the recursive comparison to only compare given actual fields of the specified types 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.
- ComparingProperties - Class in org.assertj.core.api.recursive.comparison
-
A
RecursiveComparisonIntrospectionStrategythat introspects properties by looking at public getters likegetName()orisActive()/getActive()for boolean properties. - ComparingProperties() - Constructor for class org.assertj.core.api.recursive.comparison.ComparingProperties
- ComparingSnakeOrCamelCaseFields - Class in org.assertj.core.api.recursive.comparison
-
A
RecursiveComparisonIntrospectionStrategythat transforms snake case field names into camel case. - ComparingSnakeOrCamelCaseFields() - Constructor for class org.assertj.core.api.recursive.comparison.ComparingSnakeOrCamelCaseFields
- 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
- completesExceptionallyWithin(long, TimeUnit) - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Checks that the future completes exceptionally within the given time (by calling
Future.get(long, TimeUnit)) and returns the exception that caused the failure for further (exception) assertions. - completesExceptionallyWithin(Duration) - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Checks that the future completes exceptionally within the given time (by calling
Future.get(long, TimeUnit)) and returns the exception that caused the failure for further (exception) assertions. - 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
ConditionA 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
AtomicIntegerArraycontains 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
AtomicLongArraycontains 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
CharSequencecontains 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
CharSequencecontains all theCharSequences 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
Optionalcontains 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
Iterableelements. - 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
Iterableelements. - 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
Iterablecontains 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
Iterablecontains 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
CharSequencecontains 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 theIterableto 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 theIterableto array conversion : verifies that actual contains exactly the elements of the givenIterableand 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 theIterableto 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 theIterableto array conversion : verifies that actual contains all elements of the givenIterableand 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
CharSequencecontains the given sequence, ignoring case considerations. - containsIgnoringNewLines(CharSequence...) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequencecontains 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
CharSequencecontains all the given values, ignoring whitespace differences. - containsInstanceOf(Class<?>) - Method in class org.assertj.core.api.AbstractOptionalAssert
-
Verifies that the actual
Optionalcontains 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
CharSequencecontains 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 givenIterableand 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 givenIterableand 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
CharSequencecontains 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
CharSequenceconsists of one or more whitespace characters (according toCharacter.isWhitespace(char)). - containsPattern(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequencecontains the given regular expression. - containsPattern(Pattern) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequencecontains the given regular expression pattern. - containsPatternSatisfying(CharSequence, Consumer<Matcher>) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequencecontains the given regular expression pattern, then accepts the givenConsumer<Matcher>for further verification on the matcher. - containsPatternSatisfying(Pattern, Consumer<Matcher>) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequencecontains the given regular expression pattern, then accepts the givenConsumer<Matcher>for further verification on the matcher. - containsSame(VALUE) - Method in class org.assertj.core.api.AbstractOptionalAssert
-
Verifies that the actual
Optionalcontains 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
CharSequencecontains 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
CharSequencecontains 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
CharSequencecontains 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
CharSequencecontains 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
CharSequencecontains 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
Fileread with thedefault charset. - content() - Method in class org.assertj.core.api.AbstractPathAssert
-
Returns String assertions on the content of the actual
Pathread with thedefault charset. - content(Charset) - Method in class org.assertj.core.api.AbstractFileAssert
-
Returns String assertions on the content of the actual
Fileread with the givenCharset. - content(Charset) - Method in class org.assertj.core.api.AbstractPathAssert
-
Returns String assertions on the content of the actual
Pathread 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
Assertinstance for the given value. - createAssert(AssertFactory.ValueProvider<?>) - Method in class org.assertj.core.api.InstanceOfAssertFactory
-
Creates the custom
Assertinstance for the value provided by the givenvalueProvider. - createAssert(AssertFactory.ValueProvider<? extends T>) - Method in interface org.assertj.core.api.AssertFactory
-
Creates the custom
Assertinstance for the value provided by the givenvalueProvider. - createAssert(T) - Method in interface org.assertj.core.api.AssertFactory
-
Creates the custom
Assertinstance for the given value. - createAssert(T) - Method in class org.assertj.core.api.ObjectAssertFactory
-
Deprecated.Creates the custom
Assertinstance for the given value. - 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
-
InstanceOfAssertFactoryfor aDate. - DateAssert - Class in org.assertj.core.api
-
Assertions for
Dates. - 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_RECURSIVE_COMPARISON_INTROSPECTION_STRATEGY - Static variable in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- 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. - DefaultRecursiveComparisonIntrospectionStrategy - Class in org.assertj.core.api.recursive.comparison
-
Introspects all fields (including inherited ones) and get their value according to
PropertyOrFieldSupport.getSimpleValue(String, Object). - DefaultRecursiveComparisonIntrospectionStrategy() - Constructor for class org.assertj.core.api.recursive.comparison.DefaultRecursiveComparisonIntrospectionStrategy
- 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(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.
- 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
- describeIgnoreAllActualEmptyOptionalFields(StringBuilder) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- describeIgnoreAllActualNullFields(StringBuilder) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- 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
Descriptionis set. - description(Description) - Method in class org.assertj.core.api.WritableAssertionInfo
-
Sets the description of an assertion, if given null an empty
Descriptionis 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"
- descriptionPrefix() - Method in class org.assertj.core.condition.NestableCondition
- 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
Patchobject. - 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
Patchobject. - 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
CharSequencedoes 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
CharSequencedoes 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
CharSequenceis 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
CharSequencedoes 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
CharSequenceis either:nullempty 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
CharSequencedoes not contain the given regular expression. - doesNotContainPattern(Pattern) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequencedoes 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
CharSequencedoes not end with the given suffix. - doesNotEndWithIgnoringCase(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequencedoes not end with the given suffix, ignoring case considerations. - doesNotEndWithWhitespaces() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequencedoes not end with whitespaces (as perCharacter.isWhitespace(int)definition), it also checks it is not null as a prerequisite. - doesNotExist() - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the actual
Filedoes not exist. - doesNotExist() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Pathdoes 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
trueif the condition is not satisfied. - doesNotHaveAnyElementsOfTypes(Class<?>...) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that all elements in the actual
Iterabledo 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
Objectgroup 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
Objectgroup 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.
- doesNotHaveNullValue() - Method in class org.assertj.core.api.AtomicReferenceAssert
-
Verifies that the atomic under test does not have the
nullvalue. - 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. - doesNotHaveToString(String, Object...) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that actual
actual.toString()is not equal to the givenString. - doesNotHaveToString(String, Object...) - 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
CharSequencedoes not match the given regular expression. - doesNotMatch(Predicate<? super ACTUAL>) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual object does not match the given predicate.
- doesNotMatch(Predicate<? super ACTUAL>, String) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual object does not match the given predicate, the predicate description is used to get an informative error message.
- doesNotMatch(Pattern) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequencedoes 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
CharSequencedoes not start with the given prefix. - doesNotStartWithIgnoringCase(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequencedoes not start with the given prefix, ignoring case considerations. - doesNotStartWithWhitespaces() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequencedoes not start with whitespaces (as perCharacter.isWhitespace(int)definition), it also checks it is not null as a prerequisite. - doesNotThrowAnyException() - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the
ThrowableAssert.ThrowingCallabledidn't raise a throwable. - doesNotThrowAnyExceptionExcept(Class<? extends Throwable>...) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the
ThrowableAssert.ThrowingCallabledidn't raise a throwable except matching the provided type(s). - 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 - Enum constant in enum org.assertj.core.error.ShouldBeNumeric.NumericType
- DOUBLE - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- DOUBLE_2D_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor adoubletwo-dimensional array. - DOUBLE_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor adoublearray. - 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
doubles. - 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
doubles. - DoubleArrayAssert(double[]) - Constructor for class org.assertj.core.api.DoubleArrayAssert
- DoubleAssert - Class in org.assertj.core.api
-
Assertion methods for
Doubles. - 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
-
InstanceOfAssertFactoryfor 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
Iterableunder 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
Iterableunder 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
Iterableunder 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 givenShouldContainExactlyComparisonStrategy. - 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
ConditionA 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
ConditionA 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
ConditionA 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
ConditionA 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
ConditionA 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
ConditionA 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
ConditionA 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
ConditionA 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
ConditionA 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
ConditionA 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
CharSequenceends 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
Pathends 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
CharSequenceends with the given suffix, ignoring case considerations. - endsWithRaw(Path) - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Pathends 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 useMapEntryif 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 useMapEntryif 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 useMapEntryif 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 useMapEntryif 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 useMapEntryif 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.FieldComparators
-
Returns a sequence of all field-entry pairs which the current holder supplies.
- 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,
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 callUnsupportedOperationExceptionequals(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.FieldComparators
- 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
- exactlyMatches(String) - Method in class org.assertj.core.api.recursive.comparison.FieldLocation
- exactlyMatches(FieldLocation) - Method in class org.assertj.core.api.recursive.comparison.FieldLocation
- Example field injection - Search tag in class org.assertj.core.api.junit.jupiter.SoftAssertionsExtension
- Section
- Example parameter injection - Search tag in class org.assertj.core.api.junit.jupiter.SoftAssertionsExtension
- Section
- Examples - Search tag in class org.assertj.core.api.junit.jupiter.SoftAssertionsExtension
- Section
- Example third-party extension using SoftAssertionsExtension - Search tag in class org.assertj.core.api.junit.jupiter.SoftAssertionsExtension
- Section
- Example using a mix of field and parameter injection - Search tag in class org.assertj.core.api.junit.jupiter.SoftAssertionsExtension
- Section
- exists() - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the actual
Fileexists, regardless it's a file or directory. - exists() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Pathexists according toFiles#exists(Path)) - existsNoFollowLinks() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Pathexists, 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,
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, ? extends T>...) - Method in class org.assertj.core.api.AbstractObjectAssert
-
Uses the given
Functions 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
Functionto 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
Functionto 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
Functionto 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, ? extends T>[]) - 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
Functioninstead - 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 usePropertiesif 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 usePropertiesif 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 usePropertiesif 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 usePropertiesif 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 usePropertiesif you prefer). - extractProperty(String) - Static method in class org.assertj.core.groups.Properties
-
Creates a new
.Propertieswith 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 usePropertiesif 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 usePropertiesif 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 usePropertiesif 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 usePropertiesif 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 usePropertiesif 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,
ACTUAL, - Class in org.assertj.core.apiELEMENT, ELEMENT_ASSERT> -
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,
ACTUAL, - Class in org.assertj.core.apiELEMENT, ELEMENT_ASSERT> -
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() - Method in class org.assertj.core.api.AbstractSoftAssertions
-
Fails with an empty message to be used in code like:
- fail() - Static method in class org.assertj.core.api.Assertions
-
Throws an
AssertionErrorwith an empty message to be used in code like: - fail() - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Only delegate to
Fail.fail()so thatAssertionsoffers a full feature entry point to all Assertj features (but you can useFailif you prefer). - fail() - Static method in class org.assertj.core.api.BDDAssertions
-
Throws an
AssertionErrorwith an empty message to be used in code like: - fail() - Static method in class org.assertj.core.api.Fail
-
Throws an
AssertionErrorwith an empty message to be used in code like: - fail() - Method in interface org.assertj.core.api.WithAssertions
-
Throws an
AssertionErrorwith an empty message to be used in code like: - 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
AssertionErrorwith 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
AssertionErrorwith the given message. - fail(String) - Static method in class org.assertj.core.api.Fail
-
Throws an
AssertionErrorwith the given message. - fail(String) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Throws an
AssertionErrorwith the given message. - fail(String) - Method in interface org.assertj.core.api.WithAssertions
-
Throws an
AssertionErrorwith 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
AssertionErrorwith the given message built asString.format(String, Object...). - fail(String, Object...) - Static method in class org.assertj.core.api.BDDAssertions
-
Throws an
AssertionErrorwith the given message built asString.format(String, Object...). - fail(String, Object...) - Static method in class org.assertj.core.api.Fail
-
Throws an
AssertionErrorwith the given message built asString.format(String, Object...). - fail(String, Object...) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Throws an
AssertionErrorwith the given message built asString.format(String, Object...). - fail(String, Object...) - Method in interface org.assertj.core.api.WithAssertions
-
Throws an
AssertionErrorwith 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
Throwablethat caused the failure. - fail(String, Throwable) - Static method in class org.assertj.core.api.Assertions
-
Throws an
AssertionErrorwith the given message and with theThrowablethat 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
AssertionErrorwith the given message and with theThrowablethat caused the failure. - fail(String, Throwable) - Static method in class org.assertj.core.api.Fail
-
Throws an
AssertionErrorwith the given message and with theThrowablethat caused the failure. - fail(String, Throwable) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Throws an
AssertionErrorwith the given message and with theThrowablethat caused the failure. - fail(String, Throwable) - Method in interface org.assertj.core.api.WithAssertions
-
Throws an
AssertionErrorwith the given message and with theThrowablethat caused the failure. - fail(Throwable) - Method in class org.assertj.core.api.AbstractSoftAssertions
-
Fails with the
Throwablethat caused the failure and an empty message. - fail(Throwable) - Static method in class org.assertj.core.api.Assertions
-
Throws an
AssertionErrorwith theThrowablethat caused the failure and an empty message. - fail(Throwable) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Only delegate to
Fail.fail(Throwable)so that Assertions offers a full feature entry point to all AssertJ features (but you can use Fail if you prefer). - fail(Throwable) - Static method in class org.assertj.core.api.BDDAssertions
-
Throws an
AssertionErrorwith theThrowablethat caused the failure. - fail(Throwable) - Static method in class org.assertj.core.api.Fail
-
Throws an
AssertionErrorwith theThrowablethat caused the failure. - fail(Throwable) - Method in interface org.assertj.core.api.WithAssertions
-
Throws an
AssertionErrorwith theThrowablethat 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
Throwableof 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
AssertionErrorwith a message explaining that aThrowableof 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
AssertionErrorwith a message explaining that aThrowableof 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
AssertionErrorwith a message explaining that aThrowableof 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
AssertionErrorwith a message explaining that aThrowableof 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,TimeoutExceptionorCancellationException. - 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,TimeoutExceptionorCancellationExceptionas 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,TimeoutExceptionorCancellationException. - 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,TimeoutExceptionorCancellationExceptionas 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
Stringrepresentation of the given object. - field(String) - Method in class org.assertj.core.api.recursive.comparison.FieldLocation
- FIELD_NAME - Static variable in class org.assertj.core.api.ErrorCollector
- FIELD_NAME - Static variable in class org.assertj.core.api.ProxifyMethodChangingTheObjectUnderTest
- FIELD_SEPARATOR - Static variable in class org.assertj.core.api.recursive.comparison.FieldLocation
- 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.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
-
InstanceOfAssertFactoryfor 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
Files. - 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 useFiltersif 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 useFiltersif 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 useFiltersif 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 useFiltersif 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 useFiltersif 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 useFiltersif 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 useFiltersif 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 useFiltersif 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 bypropertyOrFieldNameparameter. - 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 bypropertyOrFieldNameparameter. - 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 bypropertyOrFieldNameparameter. - 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 bypropertyOrFieldNameparameter. - 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 bypropertyOrFieldNameparameter. - 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 bypropertyOrFieldNameparameter. - 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
functionis 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
functionis 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
functionis 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
propertyOrFieldNameis 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
propertyOrFieldNameare 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
propertyOrFieldNameis 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
Iterableunder test. - first(InstanceOfAssertFactory<?, ASSERT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Navigate and allow to perform assertions on the first element of the
Iterableunder 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 givenFunctions 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 givenThrowingExtractors 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 givenFunctions 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
Functionand 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
flatMapon theOptionalunder test, assertions chained afterwards are performed on theOptionalresulting 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 givenThrowingExtractors 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 - Enum constant in enum org.assertj.core.error.ShouldBeNumeric.NumericType
- FLOAT - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- FLOAT_2D_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor afloattwo-dimensional array. - FLOAT_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor afloatarray. - Float2DArrayAssert - Class in org.assertj.core.api
-
Reusable assertions for two-dimensional arrays of
floats. - 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
floats. - 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,
ACTUAL> - 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(List<?>, 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
Stringfor 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
Stringrepresentation of the given array, ornullif the given object is eithernullor 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
-
InstanceOfAssertFactoryfor 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> - Class in org.assertj.core.api
-
Concrete generic
to be used throughComparableAssertAssertions.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
Optionalis notnulland 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.FieldComparators
-
Retrieves a specific entity which is associated with the giving
filedLocationfrom the field holder, if it presents. - get(String) - Method in class org.assertj.core.api.recursive.comparison.FieldMessages
-
Retrieves a specific entity which is associated with the giving
filedLocationfrom the field holder, if it presents. - get(InstanceOfAssertFactory<?, ASSERT>) - Method in class org.assertj.core.api.AbstractOptionalAssert
-
Verifies that the actual
Optionalis notnulland 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.recursive.comparison.ComparisonDifference
- getActualChildrenNodeNamesToCompare(DualValue) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- 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
Listof 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
Listof superclasses for the given class. - getAssertionErrorCollector(ExtensionContext) - Static method in class org.assertj.core.api.junit.jupiter.SoftAssertionsExtension
-
Returns the
AssertionErrorCollectorfor 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"); - getChildNodeValue(String, Object) - Method in class org.assertj.core.api.recursive.comparison.ComparingFields
- getChildNodeValue(String, Object) - Method in class org.assertj.core.api.recursive.comparison.ComparingNormalizedFields
-
Returns the value of the given object field identified by the fieldName parameter.
- getChildNodeValue(String, Object) - Method in class org.assertj.core.api.recursive.comparison.ComparingProperties
- getChildNodeValue(String, Object) - Method in class org.assertj.core.api.recursive.comparison.DefaultRecursiveComparisonIntrospectionStrategy
- getChildNodeValue(String, Object) - Method in interface org.assertj.core.api.recursive.comparison.RecursiveComparisonIntrospectionStrategy
-
Returns the value of the given object child node, the child node being identified by the childNodeName parameter.
- getChildrenNodeNamesOf(Object) - Method in class org.assertj.core.api.recursive.comparison.ComparingFields
- getChildrenNodeNamesOf(Object) - Method in class org.assertj.core.api.recursive.comparison.ComparingNormalizedFields
-
Returns the normalized names of the children nodes of the given object that will be used in the recursive comparison.
- getChildrenNodeNamesOf(Object) - Method in class org.assertj.core.api.recursive.comparison.ComparingProperties
- getChildrenNodeNamesOf(Object) - Method in class org.assertj.core.api.recursive.comparison.DefaultRecursiveComparisonIntrospectionStrategy
- getChildrenNodeNamesOf(Object) - Method in interface org.assertj.core.api.recursive.comparison.RecursiveComparisonIntrospectionStrategy
-
Returns the names of the children nodes of the given object that will be used in the recursive comparison.
- 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).
- getComparedTypes() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Returns the set of type to compare from the object under test (fields of other types will not 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.ComparisonDifference
- getConcatenatedPath() - Method in class org.assertj.core.api.recursive.comparison.DualValue
- getDecomposedPath() - Method in class org.assertj.core.api.recursive.comparison.ComparisonDifference
- 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
- getDescription() - Method in class org.assertj.core.api.recursive.comparison.ComparingFields
- getDescription() - Method in class org.assertj.core.api.recursive.comparison.ComparingNormalizedFields
- getDescription() - Method in class org.assertj.core.api.recursive.comparison.ComparingProperties
- getDescription() - Method in class org.assertj.core.api.recursive.comparison.ComparingSnakeOrCamelCaseFields
- getDescription() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparator
- getDescription() - Method in interface org.assertj.core.api.recursive.comparison.RecursiveComparisonIntrospectionStrategy
-
Returns a human-readable description of the strategy to be used in error messages.
- 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 exception class org.assertj.core.api.SoftAssertionError
-
Returns the causal AssertionError error messages in the order that they were thrown.
- getErrors() - Method in exception class 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
- getIgnoreAllActualEmptyOptionalFields() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- getIgnoreAllActualNullFields() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- getIgnoreAllExpectedNullFields() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- getIgnoreAllOverriddenEquals() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- getIgnoreCollectionOrder() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- 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.
- 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
- getIntrospectionStrategy() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- 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 exception class 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
- getPathToUseInErrorReport() - Method in class org.assertj.core.api.recursive.comparison.FieldLocation
- getPathToUseInRules() - Method in class org.assertj.core.api.recursive.comparison.FieldLocation
- getPathToUseInRulesForChildField(String) - 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
ServiceLoaderand 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
Methodfor a property matching the given name in the given object. - getRecursiveComparisonConfiguration() - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Returns the
RecursiveComparisonConfigurationcurrently 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
- getRepresentation() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- 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 (i.e., 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
SoftAssertionsProviderinstance 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
- getterInvocationException() - Method in exception class org.assertj.core.util.introspection.IntrospectionError
- gettersIncludingInheritedOf(Class<?>) - Static method in class org.assertj.core.api.recursive.comparison.ComparingProperties
- 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
WritableAssertionInfoused in the current assertion for better extensibility.
When writing your own assertion class, you can use the returnedWritableAssertionInfoto 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
booleanvalue. - given(boolean[]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
booleans' array. - given(boolean[][]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
booleans' two-dimensional array. - given(byte) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
bytevalue. - given(byte[]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
bytes' array. - given(byte[][]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
bytes' two-dimensional array. - given(char) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
charvalue. - given(char[]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
chars' array. - given(char[][]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
chars' two-dimensional array. - given(double) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
doublevalue. - given(double[]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
doubles' array. - given(double[][]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
doubles' two-dimensional array. - given(float) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
floatvalue. - given(float[]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
floats' array. - given(float[][]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
floats' two-dimensional array. - given(int) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
intvalue. - given(int[]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
ints' array. - given(int[][]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
ints' two-dimensional array. - given(long) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
longvalue. - given(long[]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
longs' array. - given(long[][]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
longs' two-dimensional array. - given(short) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
shortvalue. - given(short[]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
shorts' array. - given(short[][]) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
shorts' two-dimensional array. - given(File) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Filevalue. - given(InputStream) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
InputStreamvalue. - given(Boolean) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Booleanvalue. - given(Byte) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Bytevalue. - given(Character) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Charactervalue. - given(CharSequence) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
CharSequencevalue. - given(Class<?>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Classvalue. - given(Double) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Doublevalue. - given(Float) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Floatvalue. - given(Integer) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
Integervalue. - given(Iterable<? extends ELEMENT>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
Iterablevalue. - given(Long) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Longvalue. - given(Short) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Shortvalue. - given(String) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Stringvalue. - given(StringBuffer) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
StringBuffervalue. - given(StringBuilder) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
StringBuildervalue. - given(BigDecimal) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
BigDecimalvalue. - given(BigInteger) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
BigIntegervalue. - given(URI) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
URIvalue. - given(URL) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
URLvalue. - given(Path) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Pathvalue. - given(Duration) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Instantvalue. - given(Instant) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
Instantvalue. - given(LocalDate) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
LocalDatevalue. - given(LocalDateTime) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
LocalDateTimevalue. - given(LocalTime) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
LocalTimevalue. - given(OffsetDateTime) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
OffsetDateTimevalue. - given(OffsetTime) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
OffsetTimevalue. - given(Period) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Periodvalue. - given(ZonedDateTime) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
ZonedDateTimevalue. - given(Collection<? extends E>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Collectionvalue. - given(AtomicBoolean) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
AtomicBooleanvalue. - given(AtomicInteger) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
AtomicIntegervalue. - given(AtomicIntegerArray) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
AtomicIntegerArrayvalue. - given(AtomicIntegerFieldUpdater<OBJECT>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
AtomicIntegerFieldUpdatervalue. - given(AtomicLong) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
AtomicLongvalue. - given(AtomicLongArray) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
AtomicLongArrayvalue. - given(AtomicLongFieldUpdater<OBJECT>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
AtomicLongFieldUpdatervalue. - given(AtomicMarkableReference<VALUE>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
AtomicMarkableReferencevalue. - given(AtomicReference<VALUE>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
AtomicReferencevalue. - given(AtomicReferenceArray<ELEMENT>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
AtomicReferenceArrayvalue. - given(AtomicReferenceFieldUpdater<OBJECT, FIELD>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
AtomicReferenceFieldUpdatervalue. - given(AtomicStampedReference<VALUE>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
AtomicStampedReferencevalue. - given(LongAdder) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
LongAddervalue. - given(CompletableFuture<RESULT>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
CompletableFuturevalue. - given(CompletionStage<RESULT>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
CompletionStagevalue. - given(Future<RESULT>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Futurevalue. - given(Date) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Datevalue. - given(DoublePredicate) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
DoublePredicatevalue. - given(IntPredicate) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
IntPredicatevalue. - given(LongPredicate) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
LongPredicatevalue. - given(Predicate<T>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Predicatevalue. - given(Iterator<? extends ELEMENT>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
Iteratorvalue. - given(List<? extends ELEMENT>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Listvalue. - given(Map<K, V>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Mapvalue. - given(Optional<VALUE>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
Optionalvalue. - given(OptionalDouble) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
OptionalDoublevalue. - given(OptionalInt) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
OptionalIntvalue. - given(OptionalLong) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
OptionalLongvalue. - 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
Spliteratorvalue. - given(DoubleStream) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
DoubleStreamvalue. - given(IntStream) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for an
IntStreamvalue. - given(LongStream) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
LongStreamvalue. - given(Stream<? extends ELEMENT>) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
Streamvalue. - 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
- givenCharSequence(CharSequence) - Static method in class org.assertj.core.api.BDDAssumptions
-
Creates a new assumption's instance for a
CharSequencevalue. - 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
Throwablevalue. - 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
Conditionusing 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
URLhas the expected anchor. - hasAnnotation(Class<? extends Annotation>) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Classhas the givenAnnotation. - hasAnnotations(Class<? extends Annotation>...) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Classhas the givenAnnotations. - 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
Iterablehas 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
Objectgroup 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
Objectgroup 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
URIhas the expected authority. - hasAuthority(String) - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URLhas 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
Fileis exactly equal to the given one. - hasBinaryContent(byte[]) - Method in class org.assertj.core.api.AbstractInputStreamAssert
-
Verifies that the binary content of the actual
InputStreamis exactly equal to the given one. - hasBinaryContent(byte[]) - Method in class org.assertj.core.api.AbstractPathAssert
-
Verifies that the binary content of the actual
Pathis exactly equal to the given one. - hasCause(Throwable) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the actual
Throwablehas a cause similar to the given one, that is with the same type and message (it does not use theequalsmethod for comparison). - hasCauseExactlyInstanceOf(Class<? extends Throwable>) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the cause of the actual
Throwableis 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
Throwableis an instance of the given type. - hasCauseReference(Throwable) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Deprecated.use
cause().isSameAs(expected)instead. - 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
Fileis exactly equal to the given one except for newlines wich are ignored. - hasContent(String) - Method in class org.assertj.core.api.AbstractInputStreamAssert
-
Verifies that the content of the actual
InputStreamis equal to the givenStringexcept for newlines wich are ignored. - 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 except for newlines wich are ignored. - 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
Dateday of month is equal to the given day of month. - hasDayOfMonth(int) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Verifies that actual
LocalDateis on the given day. - hasDayOfMonth(int) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that actual
LocalDateTimeis in the given day of month. - hasDayOfWeek(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Dateday of week is equal to the given day of week (seeCalendar.DAY_OF_WEEKfor valid values). - hasDays(int) - Method in class org.assertj.core.api.AbstractPeriodAssert
-
Verifies that the actual
Periodhas the given days. - hasDays(long) - Method in class org.assertj.core.api.AbstractDurationAssert
-
Verifies that the actual
Durationhas the given days. - hasDeclaredFields(String...) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Classhas the given declared fields (as inClass.getDeclaredFields()). - hasDeclaredMethods(String...) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Classhas 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
Filedigest (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
InputStreamdigest (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
Pathdigest (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
Filedigest (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
InputStreamdigest (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
Pathdigest (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
Filedigest (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
InputStreamdigest (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
Pathdigest (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
Filedigest (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
InputStreamdigest (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
Pathdigest (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 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 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.FieldComparators
-
Checks, whether an any entity associated with the giving field location.
- 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
keythat 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
keythat 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
keyConditionand 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
Filehas given extension. - hasExtension(String) - Method in class org.assertj.core.api.AbstractPathAssert
-
Verifies that the actual
Pathhas 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
CompletableFuturehas 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
CompletableFuturehas 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); - hasFieldComparators() - Method in class org.assertj.core.api.recursive.comparison.FieldComparators
- 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
Filehas given name (alias ofAbstractFileAssert.hasName(String)). - hasFileName(String) - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Pathlast 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
URIhas 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.FieldComparators
- 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
URIhas the expected host. - hasHost(String) - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URLhas the expected host. - hasHour(int) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that actual
LocalDateTimeis in the given hour. - hasHour(int) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Verifies that actual
LocalTimeis in the given hour. - hasHourOfDay(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Datehour 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
Durationhas 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
CharSequencehas the expected line count. - hasMessage(String) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the message of the actual
Throwableis 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
Throwablecontains the given description. - hasMessageContaining(String, Object...) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the message of the actual
Throwablecontains 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
Throwablecontains all the given values. - hasMessageEndingWith(String) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the message of the actual
Throwableends with the given description. - hasMessageEndingWith(String, Object...) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the message of the actual
Throwableends 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
Throwablematches with the given regular expression (seeMatcher.find()).
ThePatternused under the hood enables thePattern.DOTALLmode. - 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
Throwableunder test matches the given regular expression. - hasMessageMatching(Pattern) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the message of the
Throwableunder test matches the given regular expressionPattern. - hasMessageNotContaining(String) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the message of the actual
Throwabledoes not contain the given content or isnull. - hasMessageNotContainingAny(CharSequence...) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the message of the actual
Throwabledoes 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
Throwablestarts with the given description. - hasMessageStartingWith(String, Object...) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the message of the actual
Throwablestarts 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
Classhas the given methods (including inherited) whatever their visibility are. - hasMillis(long) - Method in class org.assertj.core.api.AbstractDurationAssert
-
Verifies that the actual
Durationhas the given millis. - hasMillisecond(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Datemillisecond is equal to the given millisecond. - hasMinute(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Dateminute is equal to the given minute. - hasMinute(int) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that actual
LocalDateTimeis in the given minute. - hasMinute(int) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Verifies that actual
LocalTimeis in the given minute. - hasMinutes(long) - Method in class org.assertj.core.api.AbstractDurationAssert
-
Verifies that the actual
Durationhas the given minutes. - hasMonth(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Datemonth 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
LocalDateis in the given month. - hasMonth(Month) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that actual
LocalDateTimeis in the givenMonth. - hasMonth(Month) - Method in class org.assertj.core.api.AbstractYearMonthAssert
-
Verifies that the actual
YearMonthis in the given month. - hasMonths(int) - Method in class org.assertj.core.api.AbstractPeriodAssert
-
Verifies that the actual
Periodhas the given months. - hasMonthValue(int) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Verifies that actual
LocalDateis in the given month. - hasMonthValue(int) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that actual
LocalDateTimehas same month value. - hasMonthValue(int) - Method in class org.assertj.core.api.AbstractYearMonthAssert
-
Verifies that the actual
YearMonthis in the given month. - hasName(String) - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the actual
Filehas given name. - hasNano(int) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that actual
LocalDateTimeis in the given nanosecond. - hasNano(int) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Verifies that actual
LocalTimeis in the given nano. - hasNanos(long) - Method in class org.assertj.core.api.AbstractDurationAssert
-
Verifies that the actual
Durationhas 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
Iteratorhas at least one more element. - hasNoAnchor() - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URLhas no anchor. - hasNoCause() - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the actual
Throwabledoes 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
Filehas no extension. - hasNoExtension() - Method in class org.assertj.core.api.AbstractPathAssert
-
Verifies that the actual
Pathhas no extension. - hasNoFragment() - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URIhas no fragment. - hasNoHost() - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URIhas no host. - hasNoHost() - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URLhas 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).
- hasNoNullFields() - Method in class org.assertj.core.api.RecursiveAssertionAssert
-
Asserts that none of the fields of the object under test graph (i.e.
- 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
- hasNoPackage() - Method in class org.assertj.core.api.AbstractClassAssert
- hasNoParameter(String) - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URIdoes not have a parameter with the specified name. - hasNoParameter(String) - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URLdoes not have a parameter with the specified name. - hasNoParameter(String, String) - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URIdoes 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
URLdoes not have a parameter with the expected name and value. - hasNoParameters() - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URIdoes not have any parameters. - hasNoParameters() - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URLdoes not have any parameters. - hasNoParent() - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the actual
Filedoes not have a parent. - hasNoParent() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Pathhas no parent. - hasNoParentRaw() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Pathhas no parent. - hasNoPath() - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URIhas no path. - hasNoPath() - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URLhas no path. - hasNoPort() - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URIhas no port. - hasNoPort() - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URLhas no port. - hasNoQuery() - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URIhas no query. - hasNoQuery() - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URLhas no query. - hasNoSuperclass() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Classhas no superclass (as inClass.getSuperclass(), whennullis returned). - hasNoSuppressedExceptions() - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the actual
Throwablehas 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
CompletableFuturehas 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
URIhas no userinfo. - hasNoUserInfo() - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URLhas no userinfo. - hasNullValue() - Method in class org.assertj.core.api.AtomicReferenceAssert
-
Verifies that the atomic under test has the
nullvalue. - 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
Classonly has the given declaredfieldsand 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
Iterablehave 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
Objectgroup 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
Objectgroup 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
trueif the given array has onlynullelements,falseotherwise. - 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, useSoftAssertionsto get all the errors. - hasOnlyOneElementSatisfying(Consumer<? super ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that the unique element of the
Iterablesatisfies the given assertions expressed as aConsumer, if it does not, only the first error is reported, useSoftAssertionsto get all the errors. - hasOnlyOneElementSatisfying(Consumer<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the unique element of the
AtomicReferenceArraysatisfies the given assertions expressed as aConsumer, if it does not, only the first error is reported, useSoftAssertionsto get all the errors. - hasOnlyPublicFields(String...) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Classonly 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
Classhas the given package (as inClass.getPackage()). - hasPackage(String) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Classhas the given package name (as inClass.getPackage()). - hasParameter(String) - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URIhas a parameter with the expected name. - hasParameter(String) - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URLhas a parameter with the expected name. - hasParameter(String, String) - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URIhas a parameter with the expected name and value. - hasParameter(String, String) - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URLhas a parameter with the expected name and value. - hasParent(File) - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the actual
Filehas given parent. - hasParent(String) - Method in class org.assertj.core.api.AbstractFileAssert
-
Same as
AbstractFileAssert.hasParent(java.io.File)but takes care of converting givenStringasFilefor you - hasParent(Path) - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Pathhas 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
Pathhas the expected parent path. - hasPath(String) - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URIhas the expected path. - hasPath(String) - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URLhas the expected path (which must not be null). - hasPermittedSubclasses(Class<?>...) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Classpermitted subclasses contains the given classes. - hasPort(int) - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URIhas the expected port. - hasPort(int) - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URLhas 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
URLhas the expected protocol. - hasPublicFields(String...) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Classhas the given accessible public fields (as inClass.getFields()). - hasPublicMethods(String...) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Classhas the given public methods. - hasQuery(String) - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URIhas the expected query. - hasQuery(String) - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URLhas the expected query. - hasRecordComponents(String, String...) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Classhas the given record components - hasReference(VALUE) - Method in class org.assertj.core.api.AbstractAtomicReferenceAssert
- hasReference(VALUE) - Method in class org.assertj.core.api.AtomicMarkableReferenceAssert
-
Verifies that the actual
AtomicMarkableReferencecontains the given value. - hasReference(VALUE) - Method in class org.assertj.core.api.AtomicStampedReferenceAssert
-
Verifies that the actual
AtomicStampedReferencecontains the given value. - hasRegexFieldComparators() - Method in class org.assertj.core.api.recursive.comparison.FieldComparators
- hasRootCause(Throwable) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the actual
Throwablehas a root cause similar to the given one, that is with the same type and message (it does not use theequalsmethod for comparison). - hasRootCauseExactlyInstanceOf(Class<? extends Throwable>) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the root cause of the actual
Throwableis 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
Throwableis 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
Throwableis 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
Throwableis 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
Fileis 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
Pathis 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
Fileis 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
InputStreamis 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
Pathis 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
Pathis the same as the expected one, the expectedPathbeing 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 givenIterableand 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 givenIterableand 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
LocalTimehave 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
OffsetTimehave 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
CharSequencehas 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
CharSequencehas 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
CharSequencehas 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
Fileis 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
Fileis the same as the expected one, the expectedFilebeing 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
Pathis 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
Pathis the same as the expected one, the expectedPathbeing 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
Daterepresents the same time as the given date inStringformat. - 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
URIhas the expected scheme. - hasSecond(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Datesecond is equal to the given second. - hasSecond(int) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that actual
LocalDateTimeis in the given second. - hasSecond(int) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Verifies that actual
LocalTimeis in the given second. - hasSeconds(long) - Method in class org.assertj.core.api.AbstractDurationAssert
-
Verifies that the actual
Durationhas 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
CharSequencehas 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
Mapis 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
Fileunder test is exactly equal to the given size in bytes. - hasSize(long) - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Pathhas 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
CharSequencehas 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
Mapis 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
CharSequencehas 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
Mapis 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
CharSequencehas 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
Mapis 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
CharSequencehas 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
Mapis 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
CharSequencehas 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
Mapis 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
Throwablecontains the given description. - hasStackTraceContaining(String, Object...) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the stack trace of the actual
Throwablecontains 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
AtomicStampedReferencehas the given stamp. - hasSuperclass(Class<?>) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Classhas the given class as direct superclass (as inClass.getSuperclass()). - hasSuppressedException(Throwable) - Method in class org.assertj.core.api.AbstractThrowableAssert
-
Verifies that the actual
Throwablehas a suppressed exception similar to the given one, that is with the same type and message (it does not use theequalsmethod for comparison). - hasTime(long) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Datehas 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. - hasToString(String, Object...) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that actual
actual.toString()is equal to the givenStringwhenformattedwith the given arguments. - hasToString(String, Object...) - Method in interface org.assertj.core.api.Assert
-
Verifies that actual
actual.toString()is equal to the givenStringwhenformattedwith the given arguments. - hasUserInfo(String) - Method in class org.assertj.core.api.AbstractUriAssert
-
Verifies that the actual
URIhas the expected userinfo. - hasUserInfo(String) - Method in class org.assertj.core.api.AbstractUrlAssert
-
Verifies that the actual
URLhas the expected userinfo. - hasValue(double) - Method in class org.assertj.core.api.AbstractOptionalDoubleAssert
-
Verifies that the actual
OptionalDoublehas the value in argument. - hasValue(int) - Method in class org.assertj.core.api.AbstractOptionalIntAssert
-
Verifies that the actual
OptionalInthas 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
OptionalLonghas 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
Optionalcontains 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
OptionalDoublehas the value close to the argument. - hasValueCloseTo(Double, Percentage) - Method in class org.assertj.core.api.AbstractOptionalDoubleAssert
-
Verifies that the actual
OptionalDoublehas a value close to the expected value, within the given percentage of the expected value.
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
Dateyear is equal to the given year. - hasYear(int) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Verifies that actual
LocalDateis in the given year. - hasYear(int) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that actual
LocalDateTimeis in the given year. - hasYear(int) - Method in class org.assertj.core.api.AbstractYearMonthAssert
-
Verifies that the actual
YearMonthis in the given year. - hasYears(int) - Method in class org.assertj.core.api.AbstractPeriodAssert
-
Verifies that the actual
Periodhas 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
- hierarchyMatches(String) - Method in class org.assertj.core.api.recursive.comparison.FieldLocation
-
Checks whether this fieldLocation or any of its parents matches the given fieldPath.
- hierarchyMatchesRegex(Pattern) - Method in class org.assertj.core.api.recursive.comparison.FieldLocation
-
Checks whether this fieldLocation or any of its parents matches the given regex.
- 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.
- 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,OptionalLongandOptionalDouble), 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).
- ignoringAllNullFields() - Method in class org.assertj.core.api.RecursiveAssertionAssert
-
Makes the recursive assertion to ignore all null fields.
- 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.RecursiveAssertionAssert
-
Makes the recursive assertion to ignore the specified fields in the object under test.
- 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.RecursiveAssertionAssert
-
Makes the recursive assertion to ignore the fields matching the specified regexes in the object under test.
- ignoringFieldsMatchingRegexes(String...) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Makes the recursive comparison to ignore the object under test fields whose name matches the given regexes.
- ignoringFieldsOfTypes(Class<?>...) - Method in class org.assertj.core.api.RecursiveAssertionAssert
-
Makes the recursive assertion to ignore the object under test fields of the given types.
- 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.
- ignoringFieldsOfTypesMatchingRegexes(String...) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Makes the recursive comparison to ignore the fields of the object under test having types matching one of the given regexes.
- ignoringOverriddenEqualsForFields(String...) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
In case you have instructed the recursive to use overridden
equalswithRecursiveComparisonAssert.usingOverriddenEquals(), this method allows ignoring overriddenequalsfor 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 comparison to use overridden
equalswithRecursiveComparisonAssert.usingOverriddenEquals(), this method allows forcing 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
equalsmethods to compare fields, this method allows forcing a recursive comparison for all fields of the given types (it adds them to the already registered ones). - ignoringPrimitiveFields() - Method in class org.assertj.core.api.RecursiveAssertionAssert
-
Make the recursive assertion not to run the
Predicateover the primitive fields of an object in an object graph, by default asserting over primitives is enabled. - in(Object...) - Static method in class org.assertj.core.api.Assertions
-
Create a
FilterOperatorto 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
FilterOperatorto 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
FilterOperatorto 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
FilterOperatorto 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
FilterOperatorto 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.AbstractCharSequenceAssert
- 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,
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
SoftAssertionsExtensionfor specifying which test instance fields should be initialised with aSoftAssertionsProviderconcrete implementation, for exampleSoftAssertions,BDDSoftAssertionsor any custom soft assertions class. - INPUT_STREAM - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor anInputStream. - InputStreamAssert - Class in org.assertj.core.api
-
Assertion methods for
InputStreams. - 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
-
InstanceOfAssertFactoryinstances for Java types. - InstanceOfAssertFactory<T,
ASSERT> - Class in org.assertj.core.api -
AssertFactorydecorator that casts the input value to the given type before invoking the decorated factory. - InstanceOfAssertFactory(Class<T>, Type[], AssertFactory<T, ASSERT>) - Constructor for class org.assertj.core.api.InstanceOfAssertFactory
-
Instantiates a new
InstanceOfAssertFactoryfor a given type with type arguments. - InstanceOfAssertFactory(Class<T>, AssertFactory<T, ASSERT>) - Constructor for class org.assertj.core.api.InstanceOfAssertFactory
-
Instantiates a new
InstanceOfAssertFactoryfor a given type. - INSTANT - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor anInstant. - InstantAssert - Class in org.assertj.core.api
-
Assertion methods for
Instants. - 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
-
InstanceOfAssertFactoryfor aninttwo-dimensional array. - INT_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor anintarray. - INT_PREDICATE - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor anIntPredicate. - INT_STREAM - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor anIntStream. - Int2DArrayAssert - Class in org.assertj.core.api
-
Assertion methods for two-dimensional arrays of
ints. - 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
ints. - IntArrayAssert(int[]) - Constructor for class org.assertj.core.api.IntArrayAssert
- IntArrayAssert(AtomicIntegerArray) - Constructor for class org.assertj.core.api.IntArrayAssert
- INTEGER - Enum constant in enum org.assertj.core.error.ShouldBeNumeric.NumericType
- INTEGER - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- IntegerAssert - Class in org.assertj.core.api
-
Assertion methods for
Integers. - IntegerAssert(Integer) - Constructor for class org.assertj.core.api.IntegerAssert
- IntegerAssert(AtomicInteger) - Constructor for class org.assertj.core.api.IntegerAssert
- Integration with third-party extensions - Search tag in class org.assertj.core.api.junit.jupiter.SoftAssertionsExtension
- Section
- 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 Class in org.assertj.core.util.introspection
-
Error that occurred when using JavaBeans Introspection.
- IntrospectionError(String) - Constructor for exception class org.assertj.core.util.introspection.IntrospectionError
-
Creates a new
.IntrospectionError - IntrospectionError(String, Throwable) - Constructor for exception class org.assertj.core.util.introspection.IntrospectionError
-
Creates a new
.IntrospectionError - IntrospectionError(String, Throwable, Throwable) - Constructor for exception class 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
Fileis an absolute path. - isAbsolute() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Pathis absolute (the path does not have to exist). - isAbstract() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Classis abstract (hasabstractmodifier). - 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 default date formats 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 theInstantis 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 theLocalDateis 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 theLocalDateTimeis 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 theLocalTimeis 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 theOffsetDateTimeis 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 theOffsetTimeis 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.AbstractYearMonthAssert
-
Verifies that the actual
YearMonthis strictly after the given one. - isAfter(String) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Same assertion as
AbstractZonedDateTimeAssert.isAfter(ZonedDateTime)but theZonedDateTimeis 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
Dateis strictly after the givenInstant. - isAfter(Instant) - Method in class org.assertj.core.api.AbstractInstantAssert
-
Verifies that the actual
Instantis strictly after the given one. - isAfter(LocalDate) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Verifies that the actual
LocalDateis strictly after the given one. - isAfter(LocalDateTime) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that the actual
LocalDateTimeis 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
LocalTimeis strictly after the given one. - isAfter(OffsetDateTime) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Verifies that the actual
OffsetDateTimeis 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
OffsetTimeis strictly after the given one. - isAfter(YearMonth) - Method in class org.assertj.core.api.AbstractYearMonthAssert
-
Verifies that the actual
YearMonthis strictly after the given one. - isAfter(ZonedDateTime) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Verifies that the actual
ZonedDateTimeis 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
Dateis 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 theInstantis 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 theLocalDateis 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 theLocalDateTimeis 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 theLocalTimeis 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 theOffsetDateTimeis 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 theOffsetTimeis 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.AbstractYearMonthAssert
-
Verifies that the actual
YearMonthis after or equal to the given one. - isAfterOrEqualTo(String) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Same assertion as
AbstractZonedDateTimeAssert.isAfterOrEqualTo(ZonedDateTime)but theZonedDateTimeis 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
Dateis after or equal to the givenInstant. - isAfterOrEqualTo(Instant) - Method in class org.assertj.core.api.AbstractInstantAssert
-
Verifies that the actual
Instantis after or equals to the given one. - isAfterOrEqualTo(LocalDate) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Verifies that the actual
LocalDateis after or equals to the given one. - isAfterOrEqualTo(LocalDateTime) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that the actual
LocalDateTimeis 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
LocalTimeis after or equals to the given one. - isAfterOrEqualTo(OffsetDateTime) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Verifies that the actual
OffsetDateTimeis 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
OffsetTimeis after or equals to the given one. - isAfterOrEqualTo(YearMonth) - Method in class org.assertj.core.api.AbstractYearMonthAssert
-
Verifies that the actual
YearMonthis after or equal to the given one. - isAfterOrEqualTo(ZonedDateTime) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Verifies that the actual
ZonedDateTimeis 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
Dateis after or equal to the given one. - isAfterYear(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Dateis 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
- isAlphabetic() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequenceis alphabetic by checking it against the\p{Alpha}+regex pattern POSIX character classes (US-ASCII only). - isAlphanumeric() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequenceis alphanumeric by checking it against the\p{Alnum}+regex pattern POSIX character classes (US-ASCII only). - isAnnotation() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Classis an annotation. - isArray(Object) - Static method in class org.assertj.core.util.Arrays
-
Indicates whether the given object is not
nulland is an array. - isArrayEmpty(Object) - Static method in class org.assertj.core.util.Arrays
- isArrayTypePrimitive(Object) - Static method in class org.assertj.core.util.Arrays
- isASCII() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequenceis ASCII by checking it against the\p{ASCII}+regex pattern POSIX character classes (US-ASCII only). - isAssignableFrom(Class<?>...) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Classis assignable from othersClass - isAssignableTo(Class<?>) - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the
Classunder test is assignable to the givenClass. - isAtSameInstantAs(OffsetDateTime) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Verifies that actual and given
OffsetDateTimeare 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 default date formats 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 theInstantis 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 theLocalDateis 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 theLocalDateTimeis 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 theLocalTimeis 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 theOffsetDateTimeis 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 theOffsetTimeis 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.AbstractYearMonthAssert
-
Verifies that the actual
YearMonthis strictly before the given one. - isBefore(String) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Same assertion as
AbstractZonedDateTimeAssert.isBefore(ZonedDateTime)but theZonedDateTimeis 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
Dateis strictly before the givenInstant. - isBefore(Instant) - Method in class org.assertj.core.api.AbstractInstantAssert
-
Verifies that the actual
Instantis strictly before the given one. - isBefore(LocalDate) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Verifies that the actual
LocalDateis strictly before the given one. - isBefore(LocalDateTime) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that the actual
LocalDateTimeis 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
LocalTimeis strictly before the given one. - isBefore(OffsetDateTime) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Verifies that the actual
OffsetDateTimeis 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
OffsetTimeis strictly before the given one. - isBefore(YearMonth) - Method in class org.assertj.core.api.AbstractYearMonthAssert
-
Verifies that the actual
YearMonthis strictly before the given one. - isBefore(ZonedDateTime) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Verifies that the actual
ZonedDateTimeis 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
Dateis 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 theInstantis 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 theLocalDateis 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 theLocalDateTimeis 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 theLocalTimeis 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 theOffsetDateTimeis 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 theOffsetTimeis 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.AbstractYearMonthAssert
-
Verifies that the actual
YearMonthis before or equal to the given one. - isBeforeOrEqualTo(String) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Same assertion as
AbstractZonedDateTimeAssert.isBeforeOrEqualTo(ZonedDateTime)but theZonedDateTimeis 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
Dateis before or equal to the givenInstant. - isBeforeOrEqualTo(Instant) - Method in class org.assertj.core.api.AbstractInstantAssert
-
Verifies that the actual
Instantis before or equals to the given one. - isBeforeOrEqualTo(LocalDate) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Verifies that the actual
LocalDateis before or equals to the given one. - isBeforeOrEqualTo(LocalDateTime) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that the actual
LocalDateTimeis 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
LocalTimeis before or equals to the given one. - isBeforeOrEqualTo(OffsetDateTime) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Verifies that the actual
OffsetDateTimeis 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
OffsetTimeis before or equals to the given one. - isBeforeOrEqualTo(YearMonth) - Method in class org.assertj.core.api.AbstractYearMonthAssert
-
Verifies that the actual
YearMonthis before or equal to the given one. - isBeforeOrEqualTo(ZonedDateTime) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Verifies that the actual
ZonedDateTimeis 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
Dateis before or equal to the given one. - isBeforeYear(int) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Dateis 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 passInstantString 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 passLocalDateString 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 passLocalDateTimeString 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 passLocalTimeString 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 passOffsetDateTimeString 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 passOffsetTimeString 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.AbstractYearMonthAssert
-
Verifies that the actual
YearMonthis in the [start, end] period (start and end included). - isBetween(String, String) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Same assertion as
AbstractZonedDateTimeAssert.isBetween(ZonedDateTime, ZonedDateTime)but here you passZonedDateTimeString 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 default date formats 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
Instantis 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
LocalDateis in the [start, end] period (start and end included). - isBetween(LocalDateTime, LocalDateTime) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that the actual
LocalDateTimeis 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
LocalTimeis in the [start, end] period (start and end included). - isBetween(OffsetDateTime, OffsetDateTime) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Verifies that the actual
OffsetDateTimeis 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
OffsetTimeis in the [start, end] period (start and end included). - isBetween(YearMonth, YearMonth) - Method in class org.assertj.core.api.AbstractYearMonthAssert
-
Verifies that the actual
YearMonthis in the [start, end] period (start and end included). - isBetween(ZonedDateTime, ZonedDateTime) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Verifies that the actual
ZonedDateTimeis 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
Dateis 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
Dateis 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
CharSequenceis 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
CompletableFutureiscancelled. - isCancelled() - Method in class org.assertj.core.api.AbstractFutureAssert
-
Verifies that the
Futureis 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.TemporalAssert
- isCloseTo(String, TemporalOffset<? super TEMPORAL>) - Method in class org.assertj.core.api.AbstractTemporalAssert
-
Same assertion as
AbstractTemporalAssert.isCloseTo(Temporal, TemporalOffset)but theTEMPORALis 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
Durationis 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
Dateis close to the givenInstantby less than delta (expressed in milliseconds), if the difference is equal to delta the assertion succeeds. - isCloseTo(LocalDateTime, TemporalOffset<? super LocalDateTime>) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that the actual
LocalDateTimeis close to the other according to the givenTemporalOffset. - isCloseTo(LocalTime, TemporalOffset<? super LocalTime>) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
- isCloseTo(OffsetDateTime, TemporalOffset<? super OffsetDateTime>) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Verifies that the actual
OffsetDateTimeis close to the other according to the givenTemporalOffset. - isCloseTo(OffsetTime, TemporalOffset<? super OffsetTime>) - Method in class org.assertj.core.api.AbstractOffsetTimeAssert
-
Verifies that the actual
OffsetTimeis close to the other according to the givenTemporalOffset. - isCloseTo(ZonedDateTime, TemporalOffset<? super ZonedDateTime>) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Verifies that the actual
ZonedDateTimeis close to the other according to the givenTemporalOffset. - isCloseTo(Date, long) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Dateis 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
Temporalis close to the other according to the givenTemporalOffset. - isCloseToUtcNow(TemporalUnitOffset) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that the actual
LocalDateTimeis 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
OffsetDateTimeis close to the current date and time on the UTC timezone, according to the givenTemporalUnitOffset. - isComparingEnumAgainstStringAllowed() - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- isCompleted() - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Verifies that the
CompletableFutureis completed normally (i.e.donebut notcompleted exceptionally) orcancelled. - isCompletedExceptionally() - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Verifies that the
CompletableFutureiscompleted exceptionally. - isCompletedWithValue(RESULT) - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Verifies that the
CompletableFutureis completed normally with theexpectedresult. - isCompletedWithValueMatching(Predicate<? super RESULT>) - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Verifies that the
CompletableFutureis completed normally with a result matching thepredicate. - isCompletedWithValueMatching(Predicate<? super RESULT>, String) - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Verifies that the
CompletableFutureis completed normally with a result matching thepredicate, the String parameter is used in the error message. - isCompletedWithValueMatchingWithin(Predicate<RESULT>, Duration) - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Verifies that the
CompletableFuturewill complete normally withing givenDurationwith a value that matches the givenPredicate. - isCurrentYearMonth() - Method in class org.assertj.core.api.AbstractYearMonthAssert
-
Verifies that the actual
YearMonthis the currentYearMonth. - 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
Fileis an existing directory. - isDirectory() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Pathis a directory. - isDirectoryContaining(String) - Method in class org.assertj.core.api.AbstractFileAssert
-
Verify that the actual
Fileis a directory containing at least one file matching the givenStringinterpreted as a path matcher (as perFileSystem.getPathMatcher(String)). - isDirectoryContaining(String) - Method in class org.assertj.core.api.AbstractPathAssert
-
Verify that the actual
Pathis a directory containing at least one file matching the givenStringinterpreted as a path matcher (as perFileSystem.getPathMatcher(String)). - isDirectoryContaining(Predicate<File>) - Method in class org.assertj.core.api.AbstractFileAssert
-
Verify that the actual
Fileis 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
Pathis 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
Fileis a directory that does not contain any files matching the givenStringinterpreted as a path matcher (as perFileSystem.getPathMatcher(String)). - isDirectoryNotContaining(String) - Method in class org.assertj.core.api.AbstractPathAssert
-
Verify that the actual
Pathis a directory that does not contain any files matching the givenStringinterpreted as a path matcher (as perFileSystem.getPathMatcher(String)). - isDirectoryNotContaining(Predicate<File>) - Method in class org.assertj.core.api.AbstractFileAssert
-
Verify that the actual
Fileis 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
Pathis 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
Filedirectory or any of its subdirectories (recursively) contains at least one file matching the givenStringinterpreted as a path matcher (as perFileSystem.getPathMatcher(String)). - isDirectoryRecursivelyContaining(String) - Method in class org.assertj.core.api.AbstractPathAssert
-
Verify that the actual
Pathdirectory or any of its subdirectories (recursively) contains at least one file matching the givenStringinterpreted as a path matcher (as perFileSystem.getPathMatcher(String)). - isDirectoryRecursivelyContaining(Predicate<File>) - Method in class org.assertj.core.api.AbstractFileAssert
-
Verify that the actual
Filedirectory 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
Pathdirectory 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
CompletableFutureisdonei.e. - isDone() - Method in class org.assertj.core.api.AbstractFutureAssert
-
Verifies that the
Futureis 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
CharSequenceis 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
Fileis 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
InputStreamis 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
Mapis 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
Optionalis empty. - isEmpty() - Method in class org.assertj.core.api.AbstractOptionalDoubleAssert
-
Verifies that the actual
OptionalDoubleis empty. - isEmpty() - Method in class org.assertj.core.api.AbstractOptionalIntAssert
-
Verifies that the actual
OptionalIntis empty. - isEmpty() - Method in class org.assertj.core.api.AbstractOptionalLongAssert
-
Verifies that the actual
OptionalLongis 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.FieldComparators
- 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
Fileis an empty directory. - isEmptyDirectory() - Method in class org.assertj.core.api.AbstractPathAssert
-
Verify that the actual
Pathis an empty directory. - isEmptyFile() - Method in class org.assertj.core.api.AbstractPathAssert
-
Verify that the actual
Pathis 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 toBigIntegerfor 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 toBigIntegerfor 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) == truebutDouble.NaN != Double.NaNDouble.valueOf(0.0).equals(-0.0) == falsebut0.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
LocalDateTimeis 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
OffsetDateTimeis 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
ZonedDateTimeis 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 toBigDecimalfor you. - isEqualTo(String) - Method in class org.assertj.core.api.AbstractBigIntegerAssert
-
Same as
isEqualTo(BigInteger)but takes care of converting given String toBigIntegerfor you. - isEqualTo(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Same assertion as
isEqualTo(Date date)but given date is represented as aStringeither with one of the supported default date formats 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 passInstantString 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 passLocalDateString 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 passLocalDateTimeString 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 passLocalTimeString 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 passOffsetDateTimeString 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 passOffsetTimeString 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.AbstractYearMonthAssert
-
Verifies that the actual
YearMonthis equal to the given one. - isEqualTo(String) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Same assertion as
AbstractZonedDateTimeAssert.isEqualTo(Object)but theZonedDateTimeis 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 iisEqualToComparingFieldByFieldwill compare actual and expectedA.bandA.ifields 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.sandA.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
equalsimplementation 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
equalsmethod.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. - 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. - isEqualToIgnoringCase(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequenceis 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 iisEqualToIgnoringGivenFieldswill compare actual and expectedA.bandA.ifields 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.sandA.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 typeormatching regexes. - isEqualToIgnoringHours(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.Use
AbstractDateAssert.isCloseTo(Date, long)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isEqualToIgnoringHours(Instant) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.Use
AbstractDateAssert.isCloseTo(Instant, long)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isEqualToIgnoringHours(LocalDateTime) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Deprecated.Use
AbstractLocalDateTimeAssert.isCloseTo(LocalDateTime, TemporalOffset)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isEqualToIgnoringHours(OffsetDateTime) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Deprecated.Use
AbstractOffsetDateTimeAssert.isCloseTo(OffsetDateTime, TemporalOffset)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isEqualToIgnoringHours(ZonedDateTime) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Deprecated.Use
AbstractZonedDateTimeAssert.isCloseTo(ZonedDateTime, TemporalOffset)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isEqualToIgnoringHours(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.Use
AbstractDateAssert.isCloseTo(Date, long)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isEqualToIgnoringMillis(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.Use
AbstractDateAssert.isCloseTo(Date, long)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isEqualToIgnoringMillis(Instant) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.Use
AbstractDateAssert.isCloseTo(Instant, long)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isEqualToIgnoringMillis(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.Use
AbstractDateAssert.isCloseTo(Date, long)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isEqualToIgnoringMinutes(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.Use
AbstractDateAssert.isCloseTo(Date, long)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isEqualToIgnoringMinutes(Instant) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.Use
AbstractDateAssert.isCloseTo(Instant, long)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isEqualToIgnoringMinutes(LocalDateTime) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Deprecated.Use
AbstractLocalDateTimeAssert.isCloseTo(LocalDateTime, TemporalOffset)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isEqualToIgnoringMinutes(OffsetDateTime) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Deprecated.Use
AbstractOffsetDateTimeAssert.isCloseTo(OffsetDateTime, TemporalOffset)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isEqualToIgnoringMinutes(ZonedDateTime) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Deprecated.Use
AbstractZonedDateTimeAssert.isCloseTo(ZonedDateTime, TemporalOffset)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isEqualToIgnoringMinutes(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.Use
AbstractDateAssert.isCloseTo(Date, long)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isEqualToIgnoringNanos(LocalDateTime) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that actual and given
LocalDateTimehave 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
-
Deprecated.Use
AbstractLocalTimeAssert.isCloseTo(LocalTime, TemporalOffset)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isEqualToIgnoringNanos(OffsetDateTime) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Deprecated.Use
AbstractOffsetDateTimeAssert.isCloseTo(OffsetDateTime, TemporalOffset)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isEqualToIgnoringNanos(OffsetTime) - Method in class org.assertj.core.api.AbstractOffsetTimeAssert
-
Deprecated.Use
AbstractOffsetTimeAssert.isCloseTo(OffsetTime, TemporalOffset)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isEqualToIgnoringNanos(ZonedDateTime) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Deprecated.Use
AbstractZonedDateTimeAssert.isCloseTo(ZonedDateTime, TemporalOffset)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isEqualToIgnoringNewLines(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequenceis 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 with - isEqualToIgnoringSeconds(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.Use
AbstractDateAssert.isCloseTo(Date, long)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isEqualToIgnoringSeconds(Instant) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.Use
AbstractDateAssert.isCloseTo(Instant, long)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isEqualToIgnoringSeconds(LocalDateTime) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Deprecated.Use
AbstractLocalDateTimeAssert.isCloseTo(LocalDateTime, TemporalOffset)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isEqualToIgnoringSeconds(LocalTime) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Deprecated.Use
AbstractLocalTimeAssert.isCloseTo(LocalTime, TemporalOffset)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isEqualToIgnoringSeconds(OffsetDateTime) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Deprecated.Use
AbstractOffsetDateTimeAssert.isCloseTo(OffsetDateTime, TemporalOffset)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isEqualToIgnoringSeconds(OffsetTime) - Method in class org.assertj.core.api.AbstractOffsetTimeAssert
-
Deprecated.Use
AbstractOffsetTimeAssert.isCloseTo(OffsetTime, TemporalOffset)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isEqualToIgnoringSeconds(ZonedDateTime) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Deprecated.Use
AbstractZonedDateTimeAssert.isCloseTo(ZonedDateTime, TemporalOffset)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isEqualToIgnoringSeconds(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.Use
AbstractDateAssert.isCloseTo(Date, long)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isEqualToIgnoringTimezone(OffsetDateTime) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Verifies that actual and given
OffsetDateTimehave 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
OffsetTimehave same hour, minute, second and nanosecond fields). - isEqualToIgnoringWhitespace(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequenceis equal to the given one, ignoring whitespace differences - isEqualToNormalizingNewlines(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequenceis equals to anotherCharSequenceafter normalizing new line characters (i.e. - isEqualToNormalizingPunctuationAndWhitespace(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequenceis equal to the given one, after the punctuation of both strings has been normalized. - isEqualToNormalizingUnicode(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequenceis equal to the given one after they have been normalized according to theNormalizer.Form.NFCform, which is a canonical decomposition followed by canonical composition. - isEqualToNormalizingWhitespace(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequenceis 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 (including non-breaking spaces), 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
URLis 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.AbstractFileAssert
-
Verifies that the actual
Fileis executable. - isExecutable() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Pathis 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
Iteratorhas 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
Fileis an existing file. - isFinal() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Classis final (hasfinalmodifier). - 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
Stringaccording 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.0is 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.0fis 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
Stringaccording 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.
- isHexadecimal() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequenceis hexadecimal by checking it against the\p{XDigit}+regex pattern POSIX character classes (US-ASCII only). - 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(Iterable<?>) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Verifies that the actual value is present in the given iterable, comparing values with the recursive comparison.
- 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(Object...) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Verifies that the actual value is present in the given array of values, comparing values with the recursive comparison.
- 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 default date formats 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 passInstantString 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 passLocalDateString 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 passLocalDateTimeString 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 passLocalTimeString 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 passOffsetDateTimeString 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 passOffsetTimeString representations that must follow ISO OffsetTime format to allow callingOffsetTime.parse(CharSequence)method. - isIn(String...) - Method in class org.assertj.core.api.AbstractYearMonthAssert
-
Verifies that the actual
YearMonthis present in the given array of values. - isIn(String...) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Same assertion as
AbstractZonedDateTimeAssert.isIn(ZonedDateTime...)but theZonedDateTimeare 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
ZonedDateTimeis equal to one of the givenZonedDateTimein 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
- isInJavaLangPackage(Class<?>) - Static method in class org.assertj.core.util.introspection.ClassUtils
-
Returns whether the given
typebelongs to the java.lang package itself or one of its subpackage. - 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 default date formats or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)). - isInSameDayAs(Instant) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual
Dateand givenInstanthave 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
Datehave the same day of month, month and year fields values. - isInSameHourAs(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.Use
AbstractDateAssert.isCloseTo(Date, long)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isInSameHourAs(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.Use
AbstractDateAssert.isCloseTo(Date, long)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - 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 default date formats or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)). - isInSameHourWindowAs(Instant) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual
Dateand givenInstantare chronologically in the same hour (i.e. - isInSameHourWindowAs(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual and given
Dateare chronologically in the same hour (i.e. - isInSameMinuteAs(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.Use
AbstractDateAssert.isCloseTo(Date, long)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isInSameMinuteAs(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.Use
AbstractDateAssert.isCloseTo(Date, long)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - 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 default date formats or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)). - isInSameMinuteWindowAs(Instant) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual
Dateand givenInstantare chronologically in the same minute (i.e. - isInSameMinuteWindowAs(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual and given
Dateare 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 default date formats or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)). - isInSameMonthAs(Instant) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual
Dateand givenInstanthave same month and year fields. - isInSameMonthAs(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual and given
Datehave same month and year fields. - isInSameSecondAs(String) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.Use
AbstractDateAssert.isCloseTo(Date, long)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - isInSameSecondAs(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Deprecated.Use
AbstractDateAssert.isCloseTo(Date, long)instead, although not exactly the same semantics, this is the right way to compare with a given precision. - 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 default date formats or a user custom date format (set with methodAbstractDateAssert.withDateFormat(DateFormat)). - isInSameSecondWindowAs(Instant) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual
Dateand givenInstantare chronologically strictly in the same second (i.e. - isInSameSecondWindowAs(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual and given
Dateare 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
Dateand givenInstantare in the same year. - isInSameYearAs(Date) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that actual and given
Dateare 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
Classis an interface. - isInTheFuture() - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Dateis strictly in the future. - isInTheFuture() - Method in class org.assertj.core.api.AbstractInstantAssert
-
Verifies that the actual
Instantis strictly in the future. - isInTheFuture() - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Verifies that the actual
LocalDateis strictly in the future. - isInTheFuture() - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that the actual
LocalDateTimeis strictly in the future. - isInTheFuture() - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Verifies that the actual
OffsetDateTimeis strictly in the future. - isInTheFuture() - Method in class org.assertj.core.api.AbstractYearMonthAssert
-
Verifies that the actual
YearMonthis strictly in the future. - isInTheFuture() - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Verifies that the actual
ZonedDateTimeis strictly in the future. - isInThePast() - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Dateis strictly in the past. - isInThePast() - Method in class org.assertj.core.api.AbstractInstantAssert
-
Verifies that the actual
Instantis strictly in the past. - isInThePast() - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Verifies that the actual
LocalDateis strictly in the past. - isInThePast() - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that the actual
LocalDateTimeis strictly in the past. - isInThePast() - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Verifies that the actual
OffsetDateTimeis strictly in the past. - isInThePast() - Method in class org.assertj.core.api.AbstractYearMonthAssert
-
Verifies that the actual
YearMonthis strictly in the past. - isInThePast() - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Verifies that the actual
ZonedDateTimeis 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
Stringaccording 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.0is 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.0is 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
Stringaccording 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
CharSequenceis a lowercaseCharSequenceby comparing it to a lowercaseactualbuilt withString.toLowerCase(). - isMarked() - Method in class org.assertj.core.api.AtomicMarkableReferenceAssert
-
Verifies that the actual
AtomicMarkableReferenceis marked. - isMixedCase() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequenceis 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
Durationis 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
Periodis 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
Pathis 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
Classis 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 default date formats 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 default date formats 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
Dateis not in [start, end[ period - isNotBetween(Instant, Instant, boolean, boolean) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Dateis 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
Dateis not in [start, end[ period - isNotBetween(Date, Date, boolean, boolean) - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Dateis 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
CharSequenceis: notnullnot empty contains at least one non-whitespace character (according toCharacter.isWhitespace(char)) - isNotCancelled() - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Verifies that the
CompletableFutureis not cancelled. - isNotCancelled() - Method in class org.assertj.core.api.AbstractFutureAssert
-
Verifies that the
Futureis 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
CompletableFutureis not completed normally (i.e. - isNotCompletedExceptionally() - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Verifies that the
CompletableFutureis not completed exceptionally. - isNotDone() - Method in class org.assertj.core.api.AbstractCompletableFutureAssert
-
Verifies that the
CompletableFutureis not done. - isNotDone() - Method in class org.assertj.core.api.AbstractFutureAssert
-
Verifies that the
Futureis 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
CharSequenceis not empty, i.e., is notnulland 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
Fileis 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
InputStreamis 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
Mapis 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
Fileis a non-empty directory. - isNotEmptyDirectory() - Method in class org.assertj.core.api.AbstractPathAssert
-
Verify that the actual
Pathis a non empty directory. - isNotEmptyFile() - Method in class org.assertj.core.api.AbstractPathAssert
-
Verify that the actual
Pathis 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
DoubleusingDouble.equals(Object)semantics whereDouble.valueOf(Double.NaN).equals(Double.NaN) == truebutDouble.NaN != Double.NaNDouble.valueOf(0.0).equals(-0.0) == falsebut0.0 == -0.0 - isNotEqualTo(Float) - Method in class org.assertj.core.api.AbstractFloatAssert
-
Verifies that the actual value is not equal to the given
FloatusingFloat.equals(Object)semantics whereFloat.valueOf(Float.NaN).equals(Float.NaN) == truebutFloat.NaN != Float.NaNFloat.valueOf(0.0f).equals(-0.0f) == falsebut0.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
LocalDateTimeis 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
OffsetDateTimeis 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 default date formats 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 passInstantString 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 passLocalDateString 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 passLocalDateTimeString 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 passLocalTimeString 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 passOffsetDateTimeString 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 passOffsetTimeString representation that must follow ISO OffsetTime format to allow callingOffsetTime.parse(CharSequence)method. - isNotEqualTo(String) - Method in class org.assertj.core.api.AbstractYearMonthAssert
-
Verifies that the actual
YearMonthis not equal to the given one. - isNotEqualTo(String) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Same assertion as
#isNotEqualTo(Object)but theZonedDateTimeis 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
CharSequenceis not equal to the given one, ignoring case considerations. - isNotEqualToIgnoringWhitespace(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequenceis not equal to the given one, ignoring whitespace differences. - isNotEqualToNormalizingWhitespace(CharSequence) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequenceis 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 (including non-breaking spaces), 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
Classis not final (does not havefinalmodifier). - 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(Iterable<?>) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Verifies that the actual value is not present in the given iterable, comparing values with the recursive comparison.
- 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(Object...) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Verifies that the actual value is not present in the given array of values, comparing values with the recursive comparison.
- 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 passInstantString 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 passLocalDateString 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 passLocalDateTimeString 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 passLocalTimeString 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 passOffsetDateTimeString 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 passOffsetTimeString representations that must follow ISO OffsetTime format to allow callingOffsetTime.parse(CharSequence)method. - isNotIn(String...) - Method in class org.assertj.core.api.AbstractYearMonthAssert
-
Verifies that the actual
YearMonthis not present in the given array of values. - isNotIn(String...) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Same assertion as
AbstractZonedDateTimeAssert.isNotIn(ZonedDateTime...)but theZonedDateTimeis 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
ZonedDateTimeis equal to one of the givenZonedDateTimein 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
Classis 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 default date formats 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
AtomicMarkableReferenceis 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
Optionalis empty (alias ofAbstractOptionalAssert.isEmpty()). - isNotPresent() - Method in class org.assertj.core.api.AbstractOptionalDoubleAssert
-
Verifies that the actual
Optionalis empty (alias ofAbstractOptionalDoubleAssert.isEmpty()). - isNotPresent() - Method in class org.assertj.core.api.AbstractOptionalIntAssert
-
Verifies that the actual
OptionalIntis empty (alias ofAbstractOptionalIntAssert.isEmpty()). - isNotPresent() - Method in class org.assertj.core.api.AbstractOptionalLongAssert
-
Verifies that the actual
OptionalLongis empty (alias ofAbstractOptionalLongAssert.isEmpty()). - isNotPrimitive() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Classis not a primitive type. - isNotRecord() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Classis not a record. - isNotSameAs(Object) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is not the same as the given one, i.e., 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, i.e., using == comparison.
- isNotSameAs(Object) - Method in class org.assertj.core.api.ListAssert
- isNotSealed() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Classis not sealed. - isNotStatic() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Classis not static (does not havestaticmodifier). - 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
nullor empty. - isNullOrEmpty() - Method in class org.assertj.core.api.AbstractByteArrayAssert
-
Verifies that the actual group of values is
nullor empty. - isNullOrEmpty() - Method in class org.assertj.core.api.AbstractCharArrayAssert
-
Verifies that the actual group of values is
nullor empty. - isNullOrEmpty() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequenceis 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
nullor empty. - isNullOrEmpty() - Method in class org.assertj.core.api.AbstractFloatArrayAssert
-
Verifies that the actual group of values is
nullor empty. - isNullOrEmpty() - Method in class org.assertj.core.api.AbstractIntArrayAssert
-
Verifies that the actual group of values is
nullor empty. - isNullOrEmpty() - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that the actual group of values is
nullor empty. - isNullOrEmpty() - Method in class org.assertj.core.api.AbstractLongArrayAssert
-
Verifies that the actual group of values is
nullor empty. - isNullOrEmpty() - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the
Mapisnullor empty. - isNullOrEmpty() - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that the actual group of values is
nullor empty. - isNullOrEmpty() - Method in class org.assertj.core.api.AbstractShortArrayAssert
-
Verifies that the actual group of values is
nullor empty. - isNullOrEmpty() - Method in interface org.assertj.core.api.Array2DAssert
-
Verifies that the actual array is
nullor 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
nullor empty. - isNullOrEmpty() - Method in class org.assertj.core.api.AtomicLongArrayAssert
-
Verifies that the AtomicLongArray is
nullor empty. - isNullOrEmpty() - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that the AtomicReferenceArray is
nullor empty. - isNullOrEmpty() - Method in class org.assertj.core.api.Boolean2DArrayAssert
-
Verifies that the actual
boolean[][]isnullor 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[][]isnullor 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[][]isnullor 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[][]isnullor 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
nullor empty. - isNullOrEmpty() - Method in class org.assertj.core.api.Float2DArrayAssert
-
Verifies that the actual
float[][]isnullor 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
nullor 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
nullor 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[][]isnullor 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[][]isnullor 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
Iterableisnullor empty. - isNullOrEmpty(String) - Static method in class org.assertj.core.util.Strings
-
Indicates whether the given
Stringisnullor empty. - isNullOrEmpty(T[]) - Static method in class org.assertj.core.util.Arrays
-
Indicates whether the given array is
nullor 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.
- isOptionalOrPrimitiveOptional(Class<?>) - Static method in class org.assertj.core.util.introspection.ClassUtils
-
Returns whether the given
typeis a primitive or primitive wrapper (Optional,OptionalInt,OptionalLong,OptionalDouble). - isOrIsChildOfAnyComparedFields(FieldLocation) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- isPackagePrivate() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Classis package-private (i.e., has no explicit access level 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
Durationis 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
Periodis 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. - isPrimitive() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Classis a primitive type. - isPrimitiveOrWrapper(Class<?>) - Static method in class org.assertj.core.util.introspection.ClassUtils
- isPrintable() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequenceis printable by checking it against the\p{Print}+regex pattern POSIX character classes (US-ASCII only). - isPrivate() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Classis private (hasprivatemodifier). - isProtected() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Classis protected (hasprotectedmodifier). - isPublic() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Classis public (haspublicmodifier). - isReadable() - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the actual
Filecan be read by the application (alias ofAbstractFileAssert.canRead()) - isReadable() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Pathis a readable file, it checks that the file exists (according toFiles.exists(Path, LinkOption...)) and that it is readable(according toFiles.isReadable(Path)). - isRecord() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Classis a record. - isRegularFile() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Pathis a regular file. - isRelative() - Method in class org.assertj.core.api.AbstractFileAssert
-
Verifies that the actual
Fileis a relative path. - isRelative() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Pathis relative (opposite toPath.isAbsolute()). - isRoot() - Method in class org.assertj.core.api.recursive.comparison.FieldLocation
- isSameAs(Object) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual value is the same as the given one, i.e., 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, i.e., using == comparison.
- isSameAs(Object) - Method in class org.assertj.core.api.ListAssert
- isSealed() - Method in class org.assertj.core.api.AbstractClassAssert
-
Verifies that the actual
Classis sealed. - 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
Classis static (hasstaticmodifier). - 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 passInstantString 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 passLocalDateString 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 passLocalDateTimeString 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 passLocalTimeString 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 passOffsetDateTimeString 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 passOffsetTimeString 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.AbstractYearMonthAssert
-
Verifies that the actual
YearMonthis in the ]start, end[ period (start and end excluded). - isStrictlyBetween(String, String) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Same assertion as
AbstractZonedDateTimeAssert.isStrictlyBetween(ZonedDateTime, ZonedDateTime)but here you passZonedDateTimeString 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
Instantis in the ]start, end[ period (start and end excluded). - isStrictlyBetween(LocalDate, LocalDate) - Method in class org.assertj.core.api.AbstractLocalDateAssert
-
Verifies that the actual
LocalDateis in the ]start, end[ period (start and end excluded). - isStrictlyBetween(LocalDateTime, LocalDateTime) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Verifies that the actual
LocalDateTimeis 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
LocalTimeis in the ]start, end[ period (start and end excluded). - isStrictlyBetween(OffsetDateTime, OffsetDateTime) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Verifies that the actual
OffsetDateTimeis 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
OffsetTimeis in the ]start, end[ period (start and end excluded). - isStrictlyBetween(YearMonth, YearMonth) - Method in class org.assertj.core.api.AbstractYearMonthAssert
-
Verifies that the actual
YearMonthis in the ]start, end[ period (start and end excluded). - isStrictlyBetween(ZonedDateTime, ZonedDateTime) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Verifies that the actual
ZonedDateTimeis 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
CharSequenceis a substring of the given one (opposite assertion ofcontains(CharSequence cs). - isSymbolicLink() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Pathis 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
throwingCallableand allow to chain assertions on the thrown exception. - isToday() - Method in class org.assertj.core.api.AbstractDateAssert
-
Verifies that the actual
Dateis 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
LocalDateis today, that is matching current year, month and day. - isTopLevelField() - Method in class org.assertj.core.api.recursive.comparison.FieldLocation
- 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
UnsupportedOperationExceptionwith any attempt to modify the collection. - isUnmodifiable() - Method in class org.assertj.core.api.AbstractIteratorAssert
-
Verifies that the actual iterator is unmodifiable, i.e., throws an
UnsupportedOperationExceptionwith any attempt to remove from the iterator. - isUnmodifiable() - Method in class org.assertj.core.api.AbstractMapAssert
-
Verifies that the actual map is unmodifiable, i.e.
- 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
CharSequenceis an uppercaseCharSequenceby comparing it to an uppercaseactualbuilt withString.toUpperCase(). - isVisible() - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequenceis visible by checking it against the\p{Graph}+regex pattern POSIX character classes (US-ASCII only). - 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
Filecan be modified by the application (alias ofAbstractFileAssert.canWrite()). - isWritable() - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Pathis 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
CharSequenceis equal to the given XMLCharSequenceafter 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
Durationis 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
-
InstanceOfAssertFactoryfor 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
-
InstanceOfAssertFactoryfor 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
JUnitBDDSoftAssertionscompatible 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
Objects using a given delimiter. - join(String...) - Static method in class org.assertj.core.util.Strings
-
Joins the given
Strings 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
Descriptioncombining multipleDescriptions. - 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
SoftAssertionsExtensioninstead. 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
SoftAssertionsExtensioninstead. 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
Iterableunder 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
Iterableunder 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
-
InstanceOfAssertFactoryfor 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
Lists. - 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
Lists. - 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
-
InstanceOfAssertFactoryfor aLocalDate. - LOCAL_DATE_TIME - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- LOCAL_TIME - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor 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 - Enum constant in enum org.assertj.core.error.ShouldBeNumeric.NumericType
- LONG - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- LONG_2D_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor alongtwo-dimensional array. - LONG_ADDER - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor aLongAdder. - LONG_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor alongarray. - 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
longs. - 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
longs. - 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
Longs. - 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
-
InstanceOfAssertFactoryfor 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
mapon theOptionalunder test, assertions chained afterwards are performed on theOptionalresulting 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
Maps. - 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
-
InstanceOfAssertFactoryfor 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
Matchershould match. - matches() - Method in class org.assertj.core.api.AbstractMatcherAssert
-
Verifies that the Matcher matches.
- matches(ACTUAL) - Method in class org.assertj.core.condition.NestableCondition
- 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
CharSequencematches the given regular expression. - matches(Object) - Method in class org.assertj.core.matcher.AssertionMatcher
- matches(String) - Method in class org.assertj.core.api.recursive.comparison.FieldLocation
-
Deprecated.use
FieldLocation.exactlyMatches(String)instead. - 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
CharSequencematches the given regular expression pattern. - matches(FieldLocation) - Method in class org.assertj.core.api.recursive.comparison.FieldLocation
-
Deprecated.use
FieldLocation.exactlyMatches(String)instead. - 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
- matchesSatisfying(CharSequence, Consumer<Matcher>) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequencematches the given regular expression pattern, then accepts the givenConsumer<Matcher>to do further verification on the matcher. - matchesSatisfying(Pattern, Consumer<Matcher>) - Method in class org.assertj.core.api.AbstractCharSequenceAssert
-
Verifies that the actual
CharSequencematches the given regular expression pattern, then accepts the givenConsumer<Matcher>to do further verification on the matcher. - matching(Matcher<? extends T>) - Static method in class org.assertj.core.api.HamcrestCondition
-
Constructs a
Conditionusing the matcher given as a parameter. - MAX_ELEMENTS_FOR_PRINTING - Static variable in class org.assertj.core.configuration.Configuration
- MAX_INDICES_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 - Exception Class in org.assertj.core.error
- MultipleAssertionsError(List<? extends AssertionError>) - Constructor for exception class org.assertj.core.error.MultipleAssertionsError
- MultipleAssertionsError(Description, List<? extends AssertionError>) - Constructor for exception class 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> - 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
- nestable(String, Function<? super ACTUAL, ? extends NESTED>, Condition<? super NESTED>...) - Static method in class org.assertj.core.condition.NestableCondition
-
Creates a new
NestableCondition - nestable(String, Condition<? super ACTUAL>...) - Static method in class org.assertj.core.condition.NestableCondition
-
Creates a new
NestableCondition - NestableCondition<ACTUAL,
NESTED> - Class in org.assertj.core.condition -
Building block to define precise conditions on complex objects.
- newAbstractIterableAssert(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
This method 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
-
Deprecated.
- newAbstractIterableAssert(Iterable<? extends ELEMENT>) - Method in class org.assertj.core.api.ClassBasedNavigableListAssert
-
Deprecated.
- 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
ArrayListcontaining the given elements. - newArrayList(Iterator<? extends T>) - Static method in class org.assertj.core.util.Lists
-
Creates a mutable
ArrayListcontaining the given elements. - newArrayList(T...) - Static method in class org.assertj.core.util.Lists
-
Creates a mutable
ArrayListcontaining the given elements. - newAssertionError(Description, Representation) - Method in interface org.assertj.core.error.AssertionErrorFactory
-
Deprecated.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
Themessage is built so that it differentiatesAssertionErrorShouldBeEqual.actualandShouldBeEqual.expecteddescription 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
HashSetcontaining 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 - newIsoDateFormat(boolean) - 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 - newIsoDateTimeFormat(boolean) - 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 - newIsoDateTimeWithIsoTimeZoneFormat(boolean) - 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 - newIsoDateTimeWithMsAndIsoTimeZoneFormat(boolean) - 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 - newIsoDateTimeWithMsFormat(boolean) - 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
LinkedHashSetcontaining the given elements. - newListAssertInstance(List<? extends E>) - Method in class org.assertj.core.api.AbstractAssert
-
Create a
AbstractListAssertfrom 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
-
Timestampdate-time format with millisecond (yyyy-MM-dd HH:mm:ss.SSS), example :2003-04-26 03:01:02.999 - newTimestampDateFormat(boolean) - Static method in class org.assertj.core.util.DateUtil
-
Timestampdate-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
TreeSetcontaining 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 ELEMENT>, String) - Method in class org.assertj.core.api.AbstractIterableAssert
- noneMatch(Predicate<? super ELEMENT>, String) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that no elements match the given
Predicate. - noneMatch(Predicate<? super ELEMENT>, String) - 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. - noneMatch(Predicate<? super T>, String) - 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-
nullelements in the givenIterable. - nonNullElementsIn(T[]) - Static method in class org.assertj.core.util.Arrays
-
Returns all the non-
nullelements in the given array. - normalizeFieldName(String) - Method in class org.assertj.core.api.recursive.comparison.ComparingNormalizedFields
-
Returns the normalized version of the given field name to allow actual and expected fields to be matched.
- normalizeFieldName(String) - Method in class org.assertj.core.api.recursive.comparison.ComparingSnakeOrCamelCaseFields
-
Transforms snake case field names into camel case (leave camel case fields as is).
- not(Object) - Static method in class org.assertj.core.api.Assertions
-
Create a
FilterOperatorto 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
FilterOperatorto 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
FilterOperatorto 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
FilterOperatorto 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
FilterOperatorto 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
trueif 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
FilterOperatorto 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
FilterOperatorto 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
FilterOperatorto 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
FilterOperatorto 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
FilterOperatorto 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.ThrowingCallablethrows 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,
ACTUAL> - 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
Objects. - ObjectAssert(ACTUAL) - Constructor for class org.assertj.core.api.ObjectAssert
- ObjectAssert(AtomicReference<ACTUAL>) - Constructor for class org.assertj.core.api.ObjectAssert
-
Deprecated.use
assertThat(actual.get())orAtomicReferenceAssert.hasValueSatisfying(Consumer). - ObjectAssertFactory<T> - Class in org.assertj.core.api
-
Deprecated.Use
Assertions.assertThat(Object)instead. - ObjectAssertFactory() - Constructor for class org.assertj.core.api.ObjectAssertFactory
-
Deprecated.
- ObjectEnumerableAssert<SELF,
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> - 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
-
InstanceOfAssertFactoryfor 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
AssertionErroris 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
-
InstanceOfAssertFactoryfor 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
-
InstanceOfAssertFactoryfor anOptionalInt. - OPTIONAL_LONG - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor 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
OptionalDoubleshould have a specific value close to an offset. - OptionalDoubleShouldHaveValueCloseToPercentage - Class in org.assertj.core.error
-
Build error message when an
OptionalDoubleshould 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
Optionalshould 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,OptionalIntorOptionalLongshould 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
TEMPORALfrom a string representation in ISO date format. - parse(String) - Method in class org.assertj.core.api.AbstractLocalDateTimeAssert
-
Obtains an instance of
TEMPORALfrom a string representation in ISO date format. - parse(String) - Method in class org.assertj.core.api.AbstractLocalTimeAssert
-
Obtains an instance of
TEMPORALfrom a string representation in ISO date format. - parse(String) - Method in class org.assertj.core.api.AbstractOffsetDateTimeAssert
-
Obtains an instance of
TEMPORALfrom a string representation in ISO date format. - parse(String) - Method in class org.assertj.core.api.AbstractOffsetTimeAssert
-
Obtains an instance of
TEMPORALfrom a string representation in ISO date format. - parse(String) - Method in class org.assertj.core.api.AbstractTemporalAssert
-
Obtains an instance of
TEMPORALfrom a string representation in ISO date format. - parse(String) - Method in class org.assertj.core.api.AbstractYearMonthAssert
-
Obtains an instance of
YearMonthfrom a text string such as 2007-12. - parse(String) - Method in class org.assertj.core.api.AbstractZonedDateTimeAssert
-
Obtains an instance of
ZonedDateTimefrom a string representation in ISO date format. - parse(String) - Method in class org.assertj.core.api.TemporalAssert
- 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
-
InstanceOfAssertFactoryfor 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
Paths - 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
Paths. - PathsException - Exception Class in org.assertj.core.api.exception
- PathsException(String, Throwable) - Constructor for exception class 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
-
InstanceOfAssertFactoryfor 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
-
InstanceOfAssertFactoryfor 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
Predicatedescription 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
- provide(Type) - Method in interface org.assertj.core.api.AssertFactory.ValueProvider
-
Provides a value compatible with the given
type. - 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, Comparator<?>) - Method in class org.assertj.core.api.recursive.comparison.FieldComparators
-
Pairs the giving
entitywith thefieldLocation. - put(String, String) - Method in class org.assertj.core.api.recursive.comparison.FieldMessages
-
Pairs the giving
entitywith 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
Stringsurrounded by single quotes, ornullif the givenStringisnull.
R
- RecursiveAssertionAssert - Class in org.assertj.core.api
-
An assertion that supports asserting a
Predicateover all the fields of an object graph. - RecursiveAssertionAssert(Object, RecursiveAssertionConfiguration) - Constructor for class org.assertj.core.api.RecursiveAssertionAssert
- RecursiveComparator - Class in org.assertj.core.api.recursive.comparison
-
Comparatorcomparing objects recursively as inRecursiveComparisonAssert. - RecursiveComparator() - Constructor for class org.assertj.core.api.recursive.comparison.RecursiveComparator
-
Returns a new
RecursiveComparatorthat uses the defaultRecursiveComparisonConfigurationwhen comparing objects with the recursive comparison. - RecursiveComparator(RecursiveComparisonConfiguration) - Constructor for class org.assertj.core.api.recursive.comparison.RecursiveComparator
-
Returns a new
RecursiveComparatorthat uses the givenRecursiveComparisonConfigurationwhen comparing objects with the recursive comparison. - 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(Representation) - 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
DeepDifferencebut takes aRecursiveComparisonConfiguration,DeepDifferencebeing 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
- RecursiveComparisonIntrospectionStrategy - Interface in org.assertj.core.api.recursive.comparison
-
Defines how objects are introspected in the recursive comparison, the main operations it specifies are: how to traverse the graph of nodes to compare how to get a child node value
- registerComparator(String, Comparator<?>) - Method in class org.assertj.core.api.recursive.comparison.FieldComparators
-
Registers the
comparatorfor the givenfieldLocation. - registerComparatorForFields(Comparator<?>, String...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Registers the given
Comparatorto compare the fields at the given locations. - registerComparatorForFieldsMatchingRegexes(String[], Comparator<?>) - Method in class org.assertj.core.api.recursive.comparison.FieldComparators
-
Registers the
comparatorfor the given regexes field location. - registerComparatorForType(Comparator<? super T>, Class<T>) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Registers the given
Comparatorto 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
BiPredicateto compare the fields at the given locations. - registerEqualsForFieldsMatchingRegexes(BiPredicate<?, ?>, String...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Allows to register a
BiPredicateto compare fields whose location matches the given regexes. - registerEqualsForType(BiPredicate<? super T, ? super T>, Class<T>) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Registers the given
BiPredicateto 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.
- registerFieldLocationToCompareBecauseOfTypesToCompare(FieldLocation) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- registerFormatterForType(Class<T>, Function<T, String>) - Static method in class org.assertj.core.api.Assertions
-
Assertions error messages uses a
Representationto 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
Representationto 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
Representationto 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
messagewith thefieldLocation. - rejects(double...) - Method in class org.assertj.core.api.DoublePredicateAssert
-
Verifies that
DoublePredicateevaluates all the given values tofalse. - rejects(int...) - Method in class org.assertj.core.api.IntPredicateAssert
-
Verifies that
IntPredicateevaluates all the given values tofalse. - rejects(long...) - Method in class org.assertj.core.api.LongPredicateAssert
-
Verifies that
LongPredicateevaluates all the given values tofalse. - rejects(T...) - Method in class org.assertj.core.api.AbstractPredicateAssert
-
Verifies that the
Predicateevaluates all given values tofalse. - rejectsAll(Iterable<? extends T>) - Method in class org.assertj.core.api.AbstractPredicateAssert
- rejectsAllInternal(Iterable<? extends Double>) - Method in class org.assertj.core.api.DoublePredicateAssert
- rejectsAllInternal(Iterable<? extends Integer>) - Method in class org.assertj.core.api.IntPredicateAssert
- rejectsAllInternal(Iterable<? extends Long>) - Method in class org.assertj.core.api.LongPredicateAssert
- rejectsForProxy(T[]) - Method in class org.assertj.core.api.AbstractPredicateAssert
- rejectsInternal(Double) - Method in class org.assertj.core.api.DoublePredicateAssert
- rejectsInternal(Integer) - Method in class org.assertj.core.api.IntPredicateAssert
- 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, that is assertj elements and the ones coming from assertj (for example assertj calling some java jdk classes to build assertion errors dynamically).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
Representationthat AssertJ will use, which is taken first from: the representation returned by a customConfigurationthroughConfiguration.representation()but only if it is different from theStandardRepresentationtheRepresentationwith highest priority loaded from the classpath by theServiceLoaderIf no custom representation was registered or overridden in a specificConfiguration, theStandardRepresentationis 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
- rootFieldLocation() - Static method in class org.assertj.core.api.recursive.comparison.FieldLocation
- 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
- sameValues(DualValue) - Method in class org.assertj.core.api.recursive.comparison.DualValue
-
If we want to detect potential cycles in the recursive comparison, we need to check if an object has already been visited.
- satisfies(Consumer<? super ACTUAL>...) - Method in class org.assertj.core.api.AbstractAssert
-
Verifies that the actual object satisfied the given requirements expressed as
Consumers. - satisfies(Consumer<? super ELEMENT>, Index) - Method in class org.assertj.core.api.AbstractListAssert
-
Verifies that the actual
Listcontains a value at givenIndexthat 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
ThrowingConsumers. - 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
Consumers. - 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
ThrowingConsumers. - 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
ThrowingConsumers 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
ThrowingConsumers 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
ThrowingConsumers 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
ThrowingConsumers 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
- satisfiesOnlyOnce(Consumer<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that there is exactly one element in the iterable under tests that satisfies the
Consumer. - satisfiesOnlyOnce(Consumer<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that there is exactly one element in the array under test that satisfies the
Consumer. - satisfiesOnlyOnce(Consumer<? super ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that there is exactly one element in the iterable under tests that satisfies the
Consumer. - satisfiesOnlyOnce(Consumer<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that there is exactly one element in the
AtomicReferenceArrayunder test that satisfies theConsumer. - satisfiesOnlyOnce(ThrowingConsumer<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Verifies that there is exactly one element in the iterable under tests that satisfies the
ThrowingConsumer. - satisfiesOnlyOnce(ThrowingConsumer<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Verifies that there is exactly one element in the array under test that satisfies the
ThrowingConsumer. - satisfiesOnlyOnce(ThrowingConsumer<? super ELEMENT>) - Method in interface org.assertj.core.api.ObjectEnumerableAssert
-
Verifies that there is exactly one element in the iterable under tests that satisfies the
ThrowingConsumer. - satisfiesOnlyOnce(ThrowingConsumer<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
-
Verifies that there is exactly one element in the
AtomicReferenceArrayunder test that satisfies theThrowingConsumer. - satisfiesOnlyOnceForProxy(Consumer<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
- satisfiesOnlyOnceForProxy(Consumer<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
- satisfiesOnlyOnceForProxy(Consumer<? super T>) - Method in class org.assertj.core.api.AtomicReferenceArrayAssert
- scale() - Method in class org.assertj.core.api.AbstractBigDecimalAssert
-
Returns an
Assertobject that allows performing assertions on the scale of theBigDecimalunder test. - Scope - Search tag in class org.assertj.core.api.junit.jupiter.SoftAssertionsExtension
- Section
- secondOf(Date) - Static method in class org.assertj.core.util.DateUtil
-
Extracts the second of the given Date.
- set(Class<E>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor aSet. - set(T...) - Static method in class org.assertj.core.util.Sets
-
Creates a mutable
LinkedHashSetcontaining the given elements. - SET - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- 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
-
Same as
DefaultAssertionErrorCollector.addAfterAssertionErrorCollected(AfterAssertionErrorCollected), but also removes all previously added callbacks. - 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
- setDefaults() - Method in class org.assertj.core.configuration.Configuration
-
Set all configuration settings to their default values again.
- 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.
- setIntrospectionStrategy(RecursiveComparisonIntrospectionStrategy) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
-
Defines how objects are introspected 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
Throwablerepresentation (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
Throwablerepresentation (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
Throwablerepresentation (by default this set to 3). - setMaxStackTraceElementsDisplayed(int) - Method in interface org.assertj.core.api.WithAssertions
-
Sets how many stacktrace elements are included in
Throwablerepresentation (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 useFailif 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
Sets. - setValue(V) - Method in class org.assertj.core.data.MapEntry
-
Always throws
UnsupportedOperationExceptionas this class represents an immutable map entry. - SHORT - Enum constant in enum org.assertj.core.error.ShouldBeNumeric.NumericType
- SHORT - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
- SHORT_2D_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor ashorttwo-dimensional array. - SHORT_ARRAY - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor ashortarray. - Short2DArrayAssert - Class in org.assertj.core.api
-
Assertion methods for arrays of
shorts. - 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
shorts. - ShortArrayAssert(short[]) - Constructor for class org.assertj.core.api.ShortArrayAssert
- ShortAssert - Class in org.assertj.core.api
-
Assertion methods for
Shorts. - 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
Dateis 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
Objectis 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
Dateis after given year failed. - shouldBeAlphabetic(Object) - Static method in class org.assertj.core.error.ShouldBeAlphabetic
- ShouldBeAlphabetic - Class in org.assertj.core.error
- shouldBeAlphanumeric(Object) - Static method in class org.assertj.core.error.ShouldBeAlphanumeric
- ShouldBeAlphanumeric - Class in org.assertj.core.error
- 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.
- shouldBeASCII(Object) - Static method in class org.assertj.core.error.ShouldBeASCII
- ShouldBeASCII - Class in org.assertj.core.error
- 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.
- shouldBeAssignableTo(Class<?>, Class<?>) - Static method in class org.assertj.core.error.ShouldBeAssignableTo
-
Creates a new
.ShouldBeAssignableTo - ShouldBeAssignableTo - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a class is assignable to.
- 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
OffsetDateTimeshave 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
Objectis 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
Objectis 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
Dateis 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
CharSequenceis 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
Pathis 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
Dateis 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
- shouldBeCurrentYearMonth(YearMonth) - Static method in class org.assertj.core.error.ShouldBeCurrentYearMonth
-
Creates a new
.ShouldBeCurrentYearMonth - ShouldBeCurrentYearMonth - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
YearMonthis the current one (matching year and month). - 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
Optionalshould be empty. - shouldBeEmpty(OptionalDouble) - Static method in class org.assertj.core.error.OptionalShouldBeEmpty
-
Indicates that the provided
OptionalDoubleshould be empty. - shouldBeEmpty(OptionalInt) - Static method in class org.assertj.core.error.OptionalShouldBeEmpty
-
Indicates that the provided
OptionalIntshould be empty. - shouldBeEmpty(OptionalLong) - Static method in class org.assertj.core.error.OptionalShouldBeEmpty
-
Indicates that the provided
OptionalLongshould 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
CharSequences 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
ZonedDateTimehave 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
ZonedDateTimehave 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,LocalDateTimehave same year, month, day, hour, minute and second failed. twoLocalTimehave same hour, minute and second failed. twoOffsetTimehave 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
ZonedDateTimehave 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
OffsetTimehave 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
CharSequences 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
CharSequences 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
CharSequences 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
CharSequences 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
Iteratorhas 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
finalmodifier. - 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.
- shouldBeHexadecimal(Object) - Static method in class org.assertj.core.error.ShouldBeHexadecimal
- ShouldBeHexadecimal - Class in org.assertj.core.error
- 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
Dateis 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
Dateis 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
Dateis 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
Dateis 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
Dateis 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
Dateis 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
Dateis 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
Dateis 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
Dateis 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(Temporal) - Static method in class org.assertj.core.error.ShouldBeInTheFuture
-
Creates a new
.ShouldBeInTheFuture - 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
- shouldBeInThePast(Temporal) - Static method in class org.assertj.core.error.ShouldBeInThePast
-
Creates a new
.ShouldBeInThePast - 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
- 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
CharSequenceis 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
Pathis 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
nullor empty failed. - shouldBeNumeric(String, ShouldBeNumeric.NumericType) - Static method in class org.assertj.core.error.ShouldBeNumeric
-
Creates a new
.ShouldBeNumeric - ShouldBeNumeric - Class in org.assertj.core.error
-
Creates an error message that indicates an assertion that cast string to a number (byte, short, integer, long, float or double) failed.
- ShouldBeNumeric.NumericType - Enum in org.assertj.core.error
- 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-privatemodifier. - 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. - shouldBePrimitive(Class<?>) - Static method in class org.assertj.core.error.ShouldBePrimitive
-
Creates a new instance of
.ShouldBePrimitive - ShouldBePrimitive - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a class is (or not) a primitive data type, i.e, byte, short, int, long, float, double, char and boolean.
- shouldBePrintable(Object) - Static method in class org.assertj.core.error.ShouldBePrintable
- ShouldBePrintable - Class in org.assertj.core.error
- shouldBePrivate(Class<?>) - Static method in class org.assertj.core.error.ClassModifierShouldBe
-
Creates a new instance for a positive check of the
privatemodifier. - shouldBeProtected(Class<?>) - Static method in class org.assertj.core.error.ClassModifierShouldBe
-
Creates a new instance for a positive check of the
protectedmodifier. - shouldBePublic(Class<?>) - Static method in class org.assertj.core.error.ClassModifierShouldBe
-
Creates a new instance for a positive check of the
publicmodifier. - 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
- shouldBeRecord(Class<?>) - Static method in class org.assertj.core.error.ShouldBeRecord
-
Creates a new
.ShouldBeRecord - ShouldBeRecord - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a class is (or not) a record.
- 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
Pathis 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 - shouldBeSealed(Class<?>) - Static method in class org.assertj.core.error.ShouldBeSealed
-
Creates a new
.ShouldBeSealed - ShouldBeSealed - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a class is (or not) sealed.
- 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
staticmodifier. - 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
Iterableis a subset of an other setIterablefailed. - 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
Pathis 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
Dateis 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.
- shouldBeVisible(Object) - Static method in class org.assertj.core.error.ShouldBeVisible
- ShouldBeVisible - Class in org.assertj.core.error
- 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
Optionalis 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
Optionaldoes not contain the provided argument. - shouldContain(OptionalDouble, double) - Static method in class org.assertj.core.error.OptionalShouldContain
-
Indicates that the provided
OptionalDoubledoes not contain the provided argument. - shouldContain(OptionalInt, int) - Static method in class org.assertj.core.error.OptionalShouldContain
-
Indicates that the provided
OptionalIntdoes not contain the provided argument. - shouldContain(OptionalLong, long) - Static method in class org.assertj.core.error.OptionalShouldContain
-
Indicates that the provided
OptionalLongdoes 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
CharSequencecontains anotherCharSequencefailed. - ShouldContainCharSequenceOnlyOnce - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
CharSequencecontains anotherCharSequenceonly 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
- shouldContainExactlyWithIndexes(Object, Iterable<?>, List<IndexedDiff>) - Static method in class org.assertj.core.error.ShouldContainExactly
-
Creates a new
ShouldContainExactly. - shouldContainExactlyWithIndexes(Object, Iterable<?>, List<IndexedDiff>, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainExactly
-
Creates a new
ShouldContainExactly. - 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
CharSequencecontains 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
CharSequencecontains 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
CharSequencecontains 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
Optionaldoes 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
CharSequencecontains a Sequence of severalCharSequences 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(CharSequence, CharSequence[], Map<CharSequence, Integer>, ComparisonStrategy) - Static method in class org.assertj.core.error.ShouldContainSubsequenceOfCharSequence
-
Creates a new
with detailed error messages about missing subsequences.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
CharSequencecontains a Subsequence of severalCharSequences 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
CharSequenceends 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
Throwablehave 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
Throwablehave 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
- shouldHaveCompletedExceptionallyWithin(Future<?>, long, TimeUnit) - Static method in class org.assertj.core.error.future.ShouldHaveCompletedExceptionallyWithin
- shouldHaveCompletedExceptionallyWithin(Future<?>, Duration) - Static method in class org.assertj.core.error.future.ShouldHaveCompletedExceptionallyWithin
- ShouldHaveCompletedExceptionallyWithin - Class in org.assertj.core.error.future
- 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
Datehas 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
Fileor aPathshould 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
FileSystemfor 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
Throwablehave 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
CharSequencematches 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
CharSequencematches 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
Fileshould 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
Iteratorhas 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
Throwablehas 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
Pathshould 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
- shouldHaveNoPackage(Class<?>) - Static method in class org.assertj.core.error.ShouldHaveNoPackage
-
Creates a new
.ShouldHaveNoPackage - ShouldHaveNoPackage - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a class has no package failed.
- 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
Fileshould 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
Throwablehas 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
ShouldHavePackagewith aPackageinstance. - shouldHavePackage(Class<?>, String) - Static method in class org.assertj.core.error.ShouldHavePackage
-
Creates a new
ShouldHavePackagewith a package name. - ShouldHavePackage - Class in org.assertj.core.error
-
Creates an error message indicating that a
Classshould 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
Fileshould 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
- shouldHavePermittedSubclasses(Class<?>, Class<?>[], Collection<Class<?>>) - Static method in class org.assertj.core.error.ShouldHavePermittedSubclasses
- ShouldHavePermittedSubclasses - 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
- shouldHaveRecordComponents(Class<?>, Set<String>, Set<String>) - Static method in class org.assertj.core.error.ShouldHaveRecordComponents
-
Creates a new
ShouldHaveRecordComponents - ShouldHaveRecordComponents - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a class has record components failed.
- 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
Throwablehave 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
Throwablehave 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
FileSystemfor 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
ZonedDateTimehave 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
Throwablehas a given suppressed exception failed. - shouldHaveThrown(Class<? extends Throwable>) - Method in class org.assertj.core.api.AbstractSoftAssertions
-
Fails with a message explaining that a
Throwableof 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
AssertionErrorwith a message explaining that aThrowableof 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
AssertionErrorwith a message explaining that aThrowableof 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
AssertionErrorwith a message explaining that aThrowableof 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
AssertionErrorwith a message explaining that aThrowableof 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
AssertionErrorwith a message explaining that aThrowableof 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
OptionalDoubleis 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
OptionalDoubledoes not have the provided argument. - shouldHaveValueCloseToPercentage(double) - Static method in class org.assertj.core.error.OptionalDoubleShouldHaveValueCloseToPercentage
-
Indicates that the provided
OptionalDoubleis empty so it doesn't have the expected value. - shouldHaveValueCloseToPercentage(OptionalDouble, double, Percentage) - Static method in class org.assertj.core.error.OptionalDoubleShouldHaveValueCloseToPercentage
-
Indicates that the provided
OptionalDoublehas a value, but it is not within the given positive percentage. - shouldHaveValueCloseToPercentage(OptionalDouble, double, Percentage, double) - Static method in class org.assertj.core.error.OptionalDoubleShouldHaveValueCloseToPercentage
-
Deprecated.use
OptionalDoubleShouldHaveValueCloseToPercentage.shouldHaveValueCloseToPercentage(OptionalDouble, double, Percentage)instead.Indicates that the provided
OptionalDoublehas a value, but it is not within the given positive percentage. - shouldHaveYears(Period, int, int) - Static method in class org.assertj.core.error.ShouldHavePeriod
- shouldIgnore(DualValue) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- shouldIgnoreCollectionOrder(FieldLocation) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- shouldIgnoreOverriddenEqualsOf(Class<?>) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- shouldIgnoreOverriddenEqualsOf(DualValue) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- 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
Matchershould 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
CharSequencematches 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
Dateis 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
CharSequenceis 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
CharSequences 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
CharSequences 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
CharSequences 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
finalmodifier. - 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
nullfailed. - 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.
- shouldNotBePrimitive(Class<?>) - Static method in class org.assertj.core.error.ShouldNotBePrimitive
-
Creates a new instance of
.ShouldNotBePrimitive - ShouldNotBePrimitive - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a class is (or not) a primitive data type, i.e, byte, short, int, long, float, double, char and boolean.
- shouldNotBeRecord(Class<?>) - Static method in class org.assertj.core.error.ShouldBeRecord
-
Creates a new
.ShouldBeRecord - 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.
- shouldNotBeSealed(Class<?>) - Static method in class org.assertj.core.error.ShouldBeSealed
-
Creates a new
.ShouldBeSealed - shouldNotBeStatic(Class<?>) - Static method in class org.assertj.core.error.ClassModifierShouldBe
-
Creates a new instance for a negative check of the
staticmodifier. - 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(Throwable, CharSequence) - Static method in class org.assertj.core.error.ShouldNotContainCharSequence
- shouldNotContain(Throwable, CharSequence[], Set<? extends CharSequence>) - Static method in class org.assertj.core.error.ShouldNotContainCharSequence
- 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
CharSequencedoes 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
CharSequencedoes not contain anotherCharSequencefailed. - 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
CharSequenceis 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
CharSequencedoes 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
CharSequencedoes not end with a given value (ignoring case considerations) failed. - shouldNotEndWithWhitespaces(CharSequence) - Static method in class org.assertj.core.error.ShouldNotEndWithWhitespaces
-
Creates a new
.ShouldNotEndWithWhitespaces - ShouldNotEndWithWhitespaces - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
CharSequencedoes not end with whitespace characters. - shouldNotEvaluate(DualValue) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration
- 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
- shouldNotHaveThrownExcept(Throwable, Class<? extends Throwable>...) - Static method in class org.assertj.core.error.ShouldNotHaveThrownExcept
- ShouldNotHaveThrownExcept - 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
CharSequencedoes not match a pattern failed. - ShouldNotSatisfyPredicateRecursively - Class in org.assertj.core.error
- shouldNotSatisfyRecursively(RecursiveAssertionConfiguration, List<FieldLocation>) - Static method in class org.assertj.core.error.ShouldNotSatisfyPredicateRecursively
- 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
CharSequencedoes not start with a given value (ignoring case considerations) failed. - shouldNotStartWithWhitespaces(CharSequence) - Static method in class org.assertj.core.error.ShouldNotStartWithWhitespaces
-
Creates a new
.ShouldNotStartWithWhitespaces - ShouldNotStartWithWhitespaces - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that a
CharSequencedoes not start with whitespace characters. - 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
- shouldSatisfyAll(Object, Description) - Static method in class org.assertj.core.error.ShouldSatisfy
- shouldSatisfyExactlyInAnyOrder(Iterable<E>) - Static method in class org.assertj.core.error.ShouldSatisfy
-
Creates a new
.ShouldSatisfy - shouldSatisfyOnlyOnce(Iterable<? extends E>, List<? extends E>) - Static method in class org.assertj.core.error.ShouldSatisfyOnlyOnce
-
Creates a new
.ShouldSatisfyOnlyOnce - ShouldSatisfyOnlyOnce - Class in org.assertj.core.error
-
Creates an error message indicating that an assertion that verifies that requirements are not satisfied only once.
- 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
CharSequencestarts 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
Iterableunder 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
Iterableunder test contains a single element and allows to perform assertions on that element, the assertions are strongly typed according to the givenAssertFactoryparameter. - 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
AssertFactoryparameter. - 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
Assertobject that allows performing assertions on the size of theFileunder test. - size() - Method in class org.assertj.core.api.AbstractIterableAssert
-
Returns an
Assertobject that allows performing assertions on the size of theIterableunder test. - size() - Method in class org.assertj.core.api.AbstractMapAssert
-
Returns an
Assertobject that allows performing assertions on the size of theMapunder 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.expectedandShouldBeEqual.actualbasic 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
Stringrepresentation of the givenIterable, ornullif the givenIterableisnull. - 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 - Exception Class 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 exception class 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
SoftAssertionsProviderinto 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
SoftAssertionsExtensionas of AssertJ 3.18.0. - SoftlyExtension() - Constructor for class org.assertj.core.api.junit.jupiter.SoftlyExtension
-
Deprecated.
- SoftThrowableAssertAlternative<ACTUAL> - Class in org.assertj.core.api
-
ThrowableAssertAlternativesubclass used in soft assertions. - SoftThrowableAssertAlternative(ACTUAL, SoftAssertionsProvider) - Constructor for class org.assertj.core.api.SoftThrowableAssertAlternative
- SoftThrowableTypeAssert<T> - 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
Spliterators. - 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
CharSequencestarts 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
Pathstarts 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
CharSequencestarts with the given prefix, ignoring case considerations. - startsWithRaw(Path) - Method in class org.assertj.core.api.AbstractPathAssert
-
Assert that the tested
Pathstarts 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
-
InstanceOfAssertFactoryfor aStream. - stream(Iterable<T>) - Static method in class org.assertj.core.util.Streams
-
Returns a sequential
Streamof 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
Offsetthat letisCloseToassertion 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
-
InstanceOfAssertFactoryfor 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
Strings. - StringAssert(String) - Constructor for class org.assertj.core.api.StringAssert
- Strings - Class in org.assertj.core.util
-
Utility methods related to
Strings. - Strings.StringsToJoin - Class in org.assertj.core.util
-
Knows how to join
Strings using a given delimiter. - Strings.StringToAppend - Class in org.assertj.core.util
-
Knows how to append a given
Stringto the given target, only if the target does not end with the givenStringto 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
InstanceOfAssertFactoryparameter is used to return assertions specific to 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
InstanceOfAssertFactoryparameter is used to return assertions specific to 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
InstanceOfAssertFactoryparameter is used to return assertions specific to 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
InstanceOfAssertFactoryparameter is used to return assertions specific to 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
- TEMPORAL - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor aTemporal. - TemporalAssert - Class in org.assertj.core.api
- TemporalAssert(Temporal) - Constructor for class org.assertj.core.api.TemporalAssert
- TemporalOffset<T> - Interface in org.assertj.core.data
-
Temporaloffset. - TemporalUnitLessThanOffset - Class in org.assertj.core.data
-
TemporalUnitOffsetwith 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
TemporalOffseton 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
-
TemporalUnitOffsetwith 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
TempDirorTemporaryFolder - 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
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Iterableinstance.Deprecated way:
However, there is a better way withIterable<String> hobbits = Set.of("frodo", "sam", "Pippin"); then(hobbits, StringAssert.class).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.then(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - then(ACTUAL, Class<ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Iterableinstance.Deprecated way:
However, there is a better way withIterable<String> hobbits = Set.of("frodo", "sam", "Pippin"); then(hobbits, StringAssert.class).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.then(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - 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
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Iterableinstance.Deprecated way:
However, there is a better way withIterable<String> hobbits = Set.of("frodo", "sam", "Pippin"); then(hobbits, StringAssert::new).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.then(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - then(Iterable<? extends ELEMENT>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Iterableinstance.Deprecated way:
However, there is a better way withIterable<String> hobbits = Set.of("frodo", "sam", "Pippin"); then(hobbits, StringAssert::new).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.then(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - 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 aCharSequenceAssertStringBuffer. - then(StringBuffer) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
from aCharSequenceAssertStringBuffer. - then(StringBuffer) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
from aCharSequenceAssertStringBuffer. - then(StringBuilder) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
from aCharSequenceAssertStringBuilder. - then(StringBuilder) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
from aCharSequenceAssertStringBuilder. - then(StringBuilder) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
from aCharSequenceAssertStringBuilder. - 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(YearMonth) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.YearMonthAssert - then(YearMonth) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Creates a new instance of
.YearMonthAssert - 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
CompletionStageby converting it to aCompletableFutureand returning aCompletableFutureAssert. - then(CompletionStage<RESULT>) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Create assertion for
CompletionStageby converting it to aCompletableFutureand 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
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Iterableinstance.Deprecated way:
However, there is a better way withList<String> hobbits = List.of("frodo", "sam", "Pippin"); then(hobbits, StringAssert.class).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.then(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - then(List<? extends ELEMENT>, Class<ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Listinstance.Deprecated way:
However, there is a better way withList<String> hobbits = List.of("frodo", "sam", "Pippin"); then(hobbits, StringAssert.class).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.then(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - then(List<? extends ELEMENT>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.BDDAssertions
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Listinstance.Deprecated way:
However, there is a better way withList<String> hobbits = List.of("frodo", "sam", "Pippin"); then(hobbits, StringAssert::new).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.then(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - then(List<? extends ELEMENT>, AssertFactory<ELEMENT, ELEMENT_ASSERT>) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.This was added to help creating type-specific assertions for the elements of an
Listinstance.Deprecated way:
However, there is a better way withList<String> hobbits = List.of("frodo", "sam", "Pippin"); then(hobbits, StringAssert::new).first() .startsWith("fro") .endsWith("do");InstanceOfAssertFactoryand the correspondingfirst(InstanceOfAssertFactory).New way:
The main advantage of the latter is easier discoverability and the use of InstanceOfAssertFactory which is the preferred way to create type-specific assertions in AssertJ API.then(hobbits).first(STRING) // static import of InstanceOfAssertFactories.STRING .startsWith("fro") .endsWith("do"); - 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 givenSpliteratorAssertSpliterator. - then(Spliterator<ELEMENT>) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Creates a new instance of
from the givenSpliteratorAssertSpliterator. - then(DoubleStream) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
from the givenListAssertDoubleStream. - then(DoubleStream) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Creates a new instance of
from the givenListAssertDoubleStream. - then(IntStream) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
from the givenListAssertIntStream. - then(IntStream) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Creates a new instance of
from the givenListAssertIntStream. - then(LongStream) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
from the givenListAssertLongStream. - then(LongStream) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Creates a new instance of
from the givenListAssertLongStream. - then(Stream<? extends ELEMENT>) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
from the givenListAssertStream. - then(Stream<? extends ELEMENT>) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Creates a new instance of
from the givenListAssertStream. - then(AssertProvider<T>) - Static method in class org.assertj.core.api.BDDAssertions
-
Delegates the creation of the
Assertto theAssertProvider.assertThat()of the given component. - then(AssertProvider<T>) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Delegates the creation of the
Assertto 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 - thenCharSequence(CharSequence) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.CharSequenceAssert - thenCharSequence(CharSequence) - Static method in class org.assertj.core.api.Java6BDDAssertions
-
Deprecated.Creates a new instance of
.CharSequenceAssert - thenCharSequence(CharSequence) - Method in interface org.assertj.core.api.Java6BDDSoftAssertionsProvider
-
Creates a new instance of
.CharSequenceAssert - thenCode(ThrowableAssert.ThrowingCallable) - Static method in class org.assertj.core.api.BDDAssertions
-
Allows to capture and then assert on a
Throwablemore 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
Throwablemore 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
Throwablemore 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
throwingCallablewhich 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
throwingCallablewhich 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 givenListAssertStream. - thenStream(Stream<? extends ELEMENT>) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Creates a new instance of
from the givenListAssertStream. - thenTemporal(Temporal) - Static method in class org.assertj.core.api.BDDAssertions
-
Creates a new instance of
.TemporalAssert - thenTemporal(Temporal) - Method in interface org.assertj.core.api.BDDSoftAssertionsProvider
-
Creates a new instance of
.TemporalAssert - 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
Throwablemore 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
Throwablemore 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
ThrowablelikethenThrownBy(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
ThrowablelikethenThrownBy(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
ThrowablelikethenThrownBy(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
Consumers. - throwable(Class<T>) - Static method in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor aThrowable. - THROWABLE - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor aThrowable. - ThrowableAssert<ACTUAL> - Class in org.assertj.core.api
-
Assertion methods for
Throwables. - 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> - Class in org.assertj.core.api
-
Assertion methods for
Throwablesimilar toThrowableAssertbut with assertions methods named differently to make testing code fluent (ex :withMessageinstead 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> - Class in org.assertj.core.api
-
Assertion class checking
Throwabletype. - 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
AssertionErrorgiven aBasicErrorMessageFactory. - ThrowingConsumer<T> - Interface in org.assertj.core.api
-
Consumerthat deals with checked exceptions by rethrowing them asRuntimeException. - ThrowingExtractor<F,
T, - Interface in org.assertj.core.api.iterableEXCEPTION> -
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
Stringspecified in the constructor to theStringpassed 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
-
Deprecated.
- toAssert(ELEMENT, String) - Method in class org.assertj.core.api.ClassBasedNavigableListAssert
-
Deprecated.
- 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.
- toCamelCase(String) - Static method in class org.assertj.core.util.introspection.CaseFormatUtils
-
Converts an input string into camelCase.
- 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
IterableAssertfrom thisIteratorAssertwhich 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.FieldComparators
- 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 enum org.assertj.core.error.ShouldBeNumeric.NumericType
- 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(CharSequence) - Method in class org.assertj.core.presentation.StandardRepresentation
- toStringOf(CharSequence) - 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
toStringrepresentation 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
toStringrepresentation of the given object. - toStringOf(Object) - Method in interface org.assertj.core.presentation.Representation
-
Returns the
Stringrepresentation of the given object. - toStringOf(Object) - Method in class org.assertj.core.presentation.StandardRepresentation
-
Returns standard the
toStringrepresentation of the given object. - toStringOf(Object) - Method in class org.assertj.core.presentation.UnicodeRepresentation
-
Returns hexadecimal the
toStringrepresentation 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(YearMonth) - 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, - Interface in org.assertj.core.utilC, R> - 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
Tuplewhen working withAbstractIterableAssert.extracting(String...)orAbstractObjectArrayAssert.extracting(String...) - tuple(Object...) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Utility method to build nicely a
Tuplewhen working withAbstractIterableAssert.extracting(String...)orAbstractObjectArrayAssert.extracting(String...) - tuple(Object...) - Static method in class org.assertj.core.api.BDDAssertions
-
Utility method to build nicely a
Tuplewhen 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
Tuplewhen working withAbstractIterableAssert.extracting(String...)orAbstractObjectArrayAssert.extracting(String...) - tuple(Object...) - Method in interface org.assertj.core.api.WithAssertions
-
Utility method to build nicely a
Tuplewhen 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
-
InstanceOfAssertFactoryfor 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
Stringrepresentation 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
Stringrepresentation 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
-
Comparableassertions. - 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, AssertionError) - Constructor for class org.assertj.core.error.UnsatisfiedRequirement
- UnsatisfiedRequirement(Object, String) - Constructor for class org.assertj.core.error.UnsatisfiedRequirement
-
Deprecated.use
UnsatisfiedRequirement(Object, AssertionError)instead. - URI_TYPE - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor aURI. - UriAssert - Class in org.assertj.core.api
-
Assertion class for
URIs - 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
-
InstanceOfAssertFactoryfor aURL. - UrlAssert - Class in org.assertj.core.api
-
Assertion class for
URLs - 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
Configurationto revert the effect of callingAssertions.useRepresentation(Representation). - useDefaultRepresentation() - Static method in class org.assertj.core.api.BDDAssertions
-
Fallback to use
StandardRepresentationto revert the effect of callingBDDAssertions.useRepresentation(Representation). - useDefaultRepresentation() - Method in interface org.assertj.core.api.WithAssertions
-
Fallback to use
StandardRepresentationto 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
Representationin all remaining tests assertions. - useRepresentation(Representation) - Static method in class org.assertj.core.api.BDDAssertions
-
Register a
Representationthat will be used in all following assertions. - useRepresentation(Representation) - Method in interface org.assertj.core.api.WithAssertions
-
Register a
Representationthat 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
Stringnatural 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
Stringnatural 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
-
Deprecated.reason: only used in deprecated assertions which are replaced by the
AbstractObjectAssert.usingRecursiveComparison()recursive comparison}. Will be removed in AssertJ 4.0 - 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
Doublecomparator 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
Floatcomparator 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
Optionalvalue checks. - usingElementComparator(Comparator<? super ELEMENT>) - Method in class org.assertj.core.api.AbstractIterableAssert
-
Use given custom comparator instead of relying on actual type A
equalsmethod 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
equalsmethod 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
equalsmethod 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
equalsmethod 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
equalsmethod 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
equalsmethod 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
equalsmethod 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
equalsmethod 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
equalsmethod 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
equalsmethod 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
equalsmethod 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
equalsmethod 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
equalsmethod 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 - usingEquals(BiPredicate<? super ACTUAL, ? super ACTUAL>) - Method in class org.assertj.core.api.AbstractAssert
-
Uses the given custom
BiPredicateinstead of relying on actual type Aequalsmethod for incoming assertion checks. - usingEquals(BiPredicate<? super ACTUAL, ? super ACTUAL>) - Method in interface org.assertj.core.api.Assert
-
Uses the given custom
BiPredicateinstead of relying on actual type Aequalsmethod for incoming assertion checks. - usingEquals(BiPredicate<? super ACTUAL, ? super ACTUAL>, String) - Method in class org.assertj.core.api.AbstractAssert
-
Uses the given custom
BiPredicateinstead of relying on actual type Aequalsmethod for incoming assertion checks. - usingEquals(BiPredicate<? super ACTUAL, ? super ACTUAL>, String) - Method in interface org.assertj.core.api.Assert
-
Uses the given custom
BiPredicateinstead of relying on actual type Aequalsmethod for incoming assertion checks. - 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!).
- usingRecursiveAssertion() - Method in class org.assertj.core.api.AbstractAssert
- usingRecursiveAssertion() - Method in class org.assertj.core.api.AbstractIterableAssert
-
Asserts that the given predicate is met for all fields of the object under test recursively (but not the object itself).
- usingRecursiveAssertion() - Method in class org.assertj.core.api.AbstractMapAssert
-
Asserts that the given predicate is met for all fields of the object under test recursively (but not the object itself).
- usingRecursiveAssertion() - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
Asserts that the given predicate is met for all fields of the object under test recursively (but not the object itself).
- usingRecursiveAssertion() - Method in class org.assertj.core.api.AbstractObjectAssert
-
Asserts that the given predicate is met for all fields of the object under test recursively (but not the object itself).
- usingRecursiveAssertion() - Method in class org.assertj.core.api.AbstractOptionalAssert
-
Asserts that the given predicate is met for all fields of the object under test recursively (but not the object itself).
- usingRecursiveAssertion(RecursiveAssertionConfiguration) - Method in class org.assertj.core.api.AbstractAssert
- usingRecursiveAssertion(RecursiveAssertionConfiguration) - Method in class org.assertj.core.api.AbstractIterableAssert
-
The same as
AbstractIterableAssert.usingRecursiveAssertion(), but this method allows the developer to pass in an explicit recursion configuration. - usingRecursiveAssertion(RecursiveAssertionConfiguration) - Method in class org.assertj.core.api.AbstractMapAssert
-
The same as
AbstractMapAssert.usingRecursiveAssertion(), but this method allows the developer to pass in an explicit recursion configuration. - usingRecursiveAssertion(RecursiveAssertionConfiguration) - Method in class org.assertj.core.api.AbstractObjectArrayAssert
-
The same as
AbstractObjectArrayAssert.usingRecursiveAssertion(), but this method allows the developer to pass in an explicit recursion configuration. - usingRecursiveAssertion(RecursiveAssertionConfiguration) - Method in class org.assertj.core.api.AbstractObjectAssert
-
The same as
AbstractObjectAssert.usingRecursiveAssertion(), but this method allows the developer to pass in an explicit recursion configuration. - usingRecursiveAssertion(RecursiveAssertionConfiguration) - Method in class org.assertj.core.api.AbstractOptionalAssert
-
The same as
AbstractOptionalAssert.usingRecursiveAssertion(), but this method allows the developer to pass in an explicit recursion configuration. - 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
isEqualToassertion. - 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
equalsmethod. - 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
equalsmethod. - 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
equalsmethod. - 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
equalsmethod. - 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
equalsmethod. - 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
equalsmethod. - usingValueComparator(Comparator<? super VALUE>) - Method in class org.assertj.core.api.AbstractOptionalAssert
-
Use given custom comparator instead of relying on actual type A
equalsmethod to compare theOptionalvalue'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.ShouldBeNumeric.NumericType
-
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() - Method in class org.assertj.core.api.AbstractMapAssert
-
Returns an
AbstractCollectionAssertto make assertions on the values of the map - 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.ShouldBeNumeric.NumericType
-
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 theVerboseConditionobjectUnderTestDescriptorfunction parameter. - VerboseCondition<T> - Class in org.assertj.core.condition
-
Conditionthat shows the value under test when the condition fails thanks to the specifiedobjectUnderTestDescriptorfunction. - 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
Strings. - 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
Strings 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
Throwablehas a cause similar to the given one, that is with same type and message (it does not useequalsmethod for comparison). - withCauseExactlyInstanceOf(Class<? extends Throwable>) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the cause of the actual
Throwableis 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
Throwableis an instance of the given type. - withCollectionAssertionPolicy(RecursiveAssertionConfiguration.CollectionAssertionPolicy) - Method in class org.assertj.core.api.RecursiveAssertionAssert
-
Makes the recursive assertion to use the specified
RecursiveAssertionConfiguration.CollectionAssertionPolicy. - withComparatorForFields(Comparator<?>, String...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Registers the given
Comparatorto compare the fields at the given locations. - withComparatorForFields(Comparator<?>, String...) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Allows registering 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
Comparatorto compare the fields with the given type. - withComparatorForType(Comparator<? super T>, Class<T>) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Allows registering 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.
- withComparedTypes(Class<?>...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Adds the given types 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 going to 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 going to 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 default date formats to parse string as date.
- withEnumStringComparison() - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Allows the recursive comparison to compare an enum field against a String field and vice versa.
- withEqualsForFields(BiPredicate<?, ?>, String...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Registers the given
BiPredicateto compare the fields at the given locations. - withEqualsForFields(BiPredicate<?, ?>, String...) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Allows registering a
BiPredicateto compare fields with the given locations. - withEqualsForFieldsMatchingRegexes(BiPredicate<?, ?>, String...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Allows to register a
BiPredicateto compare fields whose location matches the given regexes. - withEqualsForFieldsMatchingRegexes(BiPredicate<?, ?>, String...) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Allows registering a
BiPredicateto compare fields whose location matches the given regexes. - withEqualsForType(BiPredicate<? super T, ? super T>, Class<T>) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Registers the given
BiPredicateto compare the fields with the given type. - withEqualsForType(BiPredicate<? super T, ? super T>, Class<T>) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Allows registering a
BiPredicateto 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
- withIgnoredFieldsMatchingRegexes(String...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
- withIgnoredFieldsOfTypes(Class<?>...) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
- 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
TemporalUnitOffsetwith 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
TemporalUnitOffsetwith 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
TemporalUnitOffsetwith 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
Offsetto use with isCloseTo assertions. - within(Byte) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Assertions entry point for Byte
Offsetto use with isCloseTo assertions. - within(Byte) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for Byte
Offsetto use with isCloseTo assertions. - within(Byte) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for Byte
Offsetto use with isCloseTo assertions. - within(Byte) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for Byte
Offsetto 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
Offsetto use withisCloseToassertions. - 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
Offsetto 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
Offsetto use with isCloseTo assertions. - within(Integer) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Assertions entry point for Integer
Offsetto use with isCloseTo assertions. - within(Integer) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for Integer
Offsetto use with isCloseTo assertions. - within(Integer) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for Integer
Offsetto use with isCloseTo assertions. - within(Integer) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for Integer
Offsetto 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
Offsetto 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
Offsetto use with isCloseTo assertions. - within(Long) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for Long
Offsetto use with isCloseTo assertions. - within(Short) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for Short
Offsetto use with isCloseTo assertions. - within(Short) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Assertions entry point for Short
Offsetto use with isCloseTo assertions. - within(Short) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for Short
Offsetto use with isCloseTo assertions. - within(Short) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for Short
Offsetto use with isCloseTo assertions. - within(Short) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for Short
Offsetto use with isCloseTo assertions. - within(BigDecimal) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for BigDecimal
Offsetto use with isCloseTo assertions. - within(BigDecimal) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Assertions entry point for BigDecimal
Offsetto use with isCloseTo assertions. - within(BigDecimal) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for BigDecimal
Offsetto use with isCloseTo assertions. - within(BigDecimal) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for BigDecimal
Offsetto use with isCloseTo assertions. - within(BigDecimal) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for BigDecimal
Offsetto use with isCloseTo assertions. - within(BigInteger) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for BigInteger
Offsetto use with isCloseTo assertions. - within(BigInteger) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for BigInteger
Offsetto use with isCloseTo assertions. - within(BigInteger) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for BigInteger
Offsetto use with isCloseTo assertions. - within(BigInteger) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for BigInteger
Offsetto use with isCloseTo assertions. - within(Duration) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for
Durationwith less than or equal condition to use with isCloseTo temporal assertions. - within(Duration) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for
Durationwith less than or equal condition to use with isCloseTo temporal assertions. - within(Duration) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for
Durationwith less than or equal condition to use with isCloseTo temporal assertions. - withinPercentage(Double) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for Double
Percentageto use with isCloseTo assertions for percentages. - withinPercentage(Double) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Assertions entry point for Double
Percentageto use with isCloseTo assertions for percentages. - withinPercentage(Double) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for Double
Percentageto use with isCloseTo assertions for percentages. - withinPercentage(Double) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for Double
Percentageto use with isCloseTo assertions for percentages. - withinPercentage(Double) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for Double
Percentageto use with isCloseTo assertions for percentages. - withinPercentage(Integer) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for Integer
Percentageto use with isCloseTo assertions for percentages. - withinPercentage(Integer) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Assertions entry point for Integer
Percentageto use with isCloseTo assertions for percentages. - withinPercentage(Integer) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for Integer
Percentageto use with isCloseTo assertions for percentages. - withinPercentage(Integer) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for Integer
Percentageto use with isCloseTo assertions for percentages. - withinPercentage(Integer) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for Integer
Percentageto use with isCloseTo assertions for percentages. - withinPercentage(Long) - Static method in class org.assertj.core.api.Assertions
-
Assertions entry point for Long
Percentageto use with isCloseTo assertions for percentages. - withinPercentage(Long) - Static method in class org.assertj.core.api.AssertionsForClassTypes
-
Assertions entry point for Long
Percentageto use with isCloseTo assertions for percentages. - withinPercentage(Long) - Static method in class org.assertj.core.api.BDDAssertions
-
Assertions entry point for Long
Percentageto use with isCloseTo assertions for percentages. - withinPercentage(Long) - Static method in class org.assertj.core.api.Java6Assertions
-
Deprecated.Assertions entry point for Long
Percentageto use with isCloseTo assertions for percentages. - withinPercentage(Long) - Method in interface org.assertj.core.api.WithAssertions
-
Assertions entry point for Long
Percentageto use with isCloseTo assertions for percentages. - withIntrospectionStrategy(RecursiveAssertionIntrospectionStrategy) - Method in class org.assertj.core.api.RecursiveAssertionAssert
-
Defines how objects are introspected in the recursive assertion.
- withIntrospectionStrategy(RecursiveComparisonIntrospectionStrategy) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Defines how objects are introspected in the recursive comparison.
- withIntrospectionStrategy(RecursiveComparisonIntrospectionStrategy) - Method in class org.assertj.core.api.RecursiveComparisonAssert
-
Defines how objects are introspected in the recursive comparison, that is: how to traverse the graph of nodes to compare how to get a node value
- withMapAssertionPolicy(RecursiveAssertionConfiguration.MapAssertionPolicy) - Method in class org.assertj.core.api.RecursiveAssertionAssert
-
Makes the recursive assertion to use the specified
RecursiveAssertionConfiguration.MapAssertionPolicy. - 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
Throwableis equal to the given one. - withMessage(String, Object...) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the message of the actual
Throwableis 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
Throwablecontains the given description. - withMessageContaining(String, Object...) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the message of the actual
Throwablecontains 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
Throwablecontains all the given values. - withMessageEndingWith(String) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the message of the actual
Throwableends with the given description. - withMessageEndingWith(String, Object...) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the message of the actual
Throwableends 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
Throwablematches with the given regular expression. - withMessageNotContaining(String) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the message of the actual
Throwabledoes 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
Throwabledoes 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
Throwablestarts with the given description. - withMessageStartingWith(String, Object...) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the message of the actual
Throwablestarts 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
Throwabledoes not have a cause. - withOptionalAssertionPolicy(RecursiveAssertionConfiguration.OptionalAssertionPolicy) - Method in class org.assertj.core.api.RecursiveAssertionAssert
-
Makes the recursive assertion to use the specified
RecursiveAssertionConfiguration.OptionalAssertionPolicy. - 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
Offsetto 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
Offsetto 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
Representationto describe/represent values in AssertJ error messages. - withRepresentation(Representation) - Method in interface org.assertj.core.api.Assert
-
Use the given
Representationto describe/represent values in AssertJ error messages. - withRepresentation(Representation) - Method in class org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration.Builder
-
Sets the
Representationused when formatting the differences. - withRootCauseExactlyInstanceOf(Class<? extends Throwable>) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the root cause of the actual
Throwableis 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
Throwableis an instance of the given type. - withStackTraceContaining(String) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the stack trace of the actual
Throwablecontains with the given description. - withStackTraceContaining(String, Object...) - Method in class org.assertj.core.api.ThrowableAssertAlternative
-
Verifies that the stack trace of the actual
Throwablecontains 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
ThrowableAssertAlternativeto chain further assertions on the underlying throwable. - withThrowableThat() - Method in class org.assertj.core.api.WithThrowable
-
Returns a
ThrowableAssertAlternativeto chain 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
- YEAR_MONTH - Static variable in interface org.assertj.core.api.InstanceOfAssertFactories
-
InstanceOfAssertFactoryfor aYearMonth. - YearMonthAssert - Class in org.assertj.core.api
-
Assertions for
YearMonthtype from new Date & Time API introduced in Java 8. - YearMonthAssert(YearMonth) - Constructor for class org.assertj.core.api.YearMonthAssert
-
Creates a new
.YearMonthAssert - 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
ZonedDateTimetype 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
ComparisonStrategywill become part of the public API in the next major release and this method will be removed.