| Interface | Description |
|---|---|
| AfterAssertionErrorCollected | |
| Array2DAssert<SELF extends Array2DAssert<SELF,ELEMENT>,ELEMENT> |
Assertions applicable to two-dimensional arrays.
|
| ArraySortedAssert<SELF extends ArraySortedAssert<SELF,ELEMENT>,ELEMENT> |
Assertions applicable to primitive arrays or arrays of elements either naturally
Comparable or according to a given
Comparator. |
| Assert<SELF extends Assert<SELF,ACTUAL>,ACTUAL> |
Base contract of all assertion objects: the minimum functionality that any assertion object should provide.
|
| AssertDelegateTarget |
A marker interface that can be used to wrap your assertion within assertThat method for better readability.
|
| AssertFactory<T,ASSERT extends Assert<?,?>> |
A single method factory interface to create an
Assert for a given value. |
| AssertionErrorCollector | |
| AssertionInfo |
Information about an assertion.
|
| AssertJProxySetup |
Interface implemented by all proxies and serves as a type safe setter.
|
| AssertProvider<A> |
Provides a
Assert for the current object. |
| AutoCloseableSoftAssertionsProvider |
Parent interface for soft assertion implementations.
|
| BDDSoftAssertionsProvider | |
| ComparableAssert<SELF extends ComparableAssert<SELF,ACTUAL>,ACTUAL extends Comparable<? super ACTUAL>> |
Assertion methods applicable to
s. |
| Descriptable<SELF> |
An object that has a description.
|
| EnumerableAssert<SELF extends EnumerableAssert<SELF,ELEMENT>,ELEMENT> |
Assertions applicable to groups of values that can be enumerated (e.g.
|
| ExtensionPoints<SELF extends ExtensionPoints<SELF,ACTUAL>,ACTUAL> |
Mechanism for extending assertion classes.
|
| FloatingPointNumberAssert<SELF extends FloatingPointNumberAssert<SELF,ACTUAL>,ACTUAL extends Number> |
Assertion methods applicable to floating-point
s. |
| IndexedObjectEnumerableAssert<SELF extends IndexedObjectEnumerableAssert<SELF,ELEMENT>,ELEMENT> |
Assertions methods applicable to indexed groups of objects (e.g.
|
| InstanceOfAssertFactories | |
| Java6BDDSoftAssertionsProvider |
AbstractBDDSoftAssertions compatible with Android.
|
| Java6StandardSoftAssertionsProvider |
AbstractStandardSoftAssertions compatible with Android.
|
| NumberAssert<SELF extends NumberAssert<SELF,ACTUAL>,ACTUAL extends Number> |
Assertion methods applicable to
s. |
| ObjectEnumerableAssert<SELF extends ObjectEnumerableAssert<SELF,ELEMENT>,ELEMENT> |
Assertions methods applicable to groups of objects (e.g.
|
| SoftAssertionsProvider |
Parent interface for soft assertion implementations.
|
| SoftAssertionsProvider.ThrowingRunnable | |
| SoftAssertionsRule | |
| StandardSoftAssertionsProvider | |
| ThrowableAssert.ThrowingCallable | |
| ThrowingConsumer<T> |
Consumer that deals with checked exceptions by rethrowing them as RuntimeException. |
| WithAssertions |
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 |
A unified entry point to all assumptions from both the new Java 8 core API and the pre-Java 8 core API.
|
| Class | Description |
|---|---|
| Abstract2DArrayAssert<SELF extends Abstract2DArrayAssert<SELF,ACTUAL,ELEMENT>,ACTUAL,ELEMENT> |
Base class for all two-dimensional array assertions.
|
| AbstractArrayAssert<SELF extends AbstractArrayAssert<SELF,ACTUAL,ELEMENT>,ACTUAL,ELEMENT> |
Base class for all array assertions.
|
| AbstractAssert<SELF extends AbstractAssert<SELF,ACTUAL>,ACTUAL> |
Base class for all assertions.
|
| AbstractAtomicFieldUpdaterAssert<SELF extends AbstractAtomicFieldUpdaterAssert<SELF,VALUE,ATOMIC,OBJECT>,VALUE,ATOMIC,OBJECT> |
Base class for all fieldupdater assertions.
|
| AbstractAtomicReferenceAssert<SELF extends AbstractAtomicReferenceAssert<SELF,VALUE,ATOMIC>,VALUE,ATOMIC> |
Base class for atomic assertions.
|
| AbstractBigDecimalAssert<SELF extends AbstractBigDecimalAssert<SELF>> |
Base class for all implementations of assertions for
BigDecimals. |
| AbstractBigDecimalScaleAssert<SELF extends AbstractBigDecimalAssert<SELF>> |
Base class for BigDecimal scale assertions.
|
| AbstractBigIntegerAssert<SELF extends AbstractBigIntegerAssert<SELF>> |
Base class for all implementations of assertions for
BigIntegers. |
| AbstractBooleanArrayAssert<SELF extends AbstractBooleanArrayAssert<SELF>> | |
| AbstractBooleanAssert<SELF extends AbstractBooleanAssert<SELF>> |
Base class for all implementations of assertions for
Booleans. |
| AbstractByteArrayAssert<SELF extends AbstractByteArrayAssert<SELF>> | |
| AbstractByteAssert<SELF extends AbstractByteAssert<SELF>> |
Base class for all implementations of assertions for
Bytes. |
| AbstractCharacterAssert<SELF extends AbstractCharacterAssert<SELF>> |
Base class for all implementations of assertions for
Characters. |
| AbstractCharArrayAssert<SELF extends AbstractCharArrayAssert<SELF>> | |
| AbstractCharSequenceAssert<SELF extends AbstractCharSequenceAssert<SELF,ACTUAL>,ACTUAL extends CharSequence> |
Base class for all implementations of assertions for
CharSequences. |
| AbstractClassAssert<SELF extends AbstractClassAssert<SELF>> |
Base class for all implementations of assertions for
Classes. |
| AbstractCollectionAssert<SELF extends AbstractCollectionAssert<SELF,ACTUAL,ELEMENT,ELEMENT_ASSERT>,ACTUAL extends Collection<? extends ELEMENT>,ELEMENT,ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT,ELEMENT>> |
Base class for all implementations of assertions for
Collections. |
| AbstractComparableAssert<SELF extends AbstractComparableAssert<SELF,ACTUAL>,ACTUAL extends Comparable<? super ACTUAL>> |
Base class for all implementations of
. |
| AbstractCompletableFutureAssert<SELF extends AbstractCompletableFutureAssert<SELF,RESULT>,RESULT> |
Assertions for
CompletableFuture. |
| AbstractDateAssert<SELF extends AbstractDateAssert<SELF>> |
Base class for all implementations of assertions for
Dates. |
| AbstractDoubleArrayAssert<SELF extends AbstractDoubleArrayAssert<SELF>> | |
| AbstractDoubleAssert<SELF extends AbstractDoubleAssert<SELF>> |
Base class for all implementations of assertions for
Doubles. |
| AbstractDurationAssert<SELF extends AbstractDurationAssert<SELF>> |
Assertions for
Duration type. |
| AbstractEnumerableAssert<SELF extends AbstractEnumerableAssert<SELF,ACTUAL,ELEMENT>,ACTUAL,ELEMENT> |
Base implementation for Enumerable class assertions.
|
| AbstractFileAssert<SELF extends AbstractFileAssert<SELF>> |
Base class for all implementations of assertions for
Files. |
| AbstractFileSizeAssert<SELF extends AbstractFileAssert<SELF>> |
Base class for file size assertions.
|
| AbstractFloatArrayAssert<SELF extends AbstractFloatArrayAssert<SELF>> | |
| AbstractFloatAssert<SELF extends AbstractFloatAssert<SELF>> |
Base class for all implementations of assertions for
Floats. |
| AbstractFutureAssert<SELF extends AbstractFutureAssert<SELF,ACTUAL,RESULT>,ACTUAL extends Future<RESULT>,RESULT> | |
| AbstractInputStreamAssert<SELF extends AbstractInputStreamAssert<SELF,ACTUAL>,ACTUAL extends InputStream> |
Base class for all implementations of assertions for
InputStreams. |
| AbstractInstantAssert<SELF extends AbstractInstantAssert<SELF>> |
Assertions for
Instant type from new Date & Time API introduced in Java 8. |
| AbstractIntArrayAssert<SELF extends AbstractIntArrayAssert<SELF>> | |
| AbstractIntegerAssert<SELF extends AbstractIntegerAssert<SELF>> |
Base class for all implementations of assertions for
Integers. |
| AbstractIterableAssert<SELF extends AbstractIterableAssert<SELF,ACTUAL,ELEMENT,ELEMENT_ASSERT>,ACTUAL extends Iterable<? extends ELEMENT>,ELEMENT,ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT,ELEMENT>> |
Base class for implementations of
whose actual value type is
. |
| AbstractIterableSizeAssert<SELF extends AbstractIterableAssert<SELF,ACTUAL,ELEMENT,ELEMENT_ASSERT>,ACTUAL extends Iterable<? extends ELEMENT>,ELEMENT,ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT,ELEMENT>> | |
| AbstractIteratorAssert<SELF extends AbstractIteratorAssert<SELF,ELEMENT>,ELEMENT> |
Base class for all implementations of assertions for
Iterators. |
| AbstractListAssert<SELF extends AbstractListAssert<SELF,ACTUAL,ELEMENT,ELEMENT_ASSERT>,ACTUAL extends List<? extends ELEMENT>,ELEMENT,ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT,ELEMENT>> |
Base class for all implementations of assertions for
Lists. |
| AbstractLocalDateAssert<SELF extends AbstractLocalDateAssert<SELF>> |
Assertions for
LocalDate type from new Date & Time API introduced in Java 8. |
| AbstractLocalDateTimeAssert<SELF extends AbstractLocalDateTimeAssert<SELF>> |
Assertions for
LocalDateTime type from new Date & Time API introduced in Java 8. |
| AbstractLocalTimeAssert<SELF extends AbstractLocalTimeAssert<SELF>> |
Assertions for
LocalTime type from new Date & Time API introduced in Java 8. |
| AbstractLongAdderAssert<SELF extends AbstractLongAdderAssert<SELF>> |
Base class for all implementations of assertions for
LongAdders. |
| AbstractLongArrayAssert<SELF extends AbstractLongArrayAssert<SELF>> | |
| AbstractLongAssert<SELF extends AbstractLongAssert<SELF>> |
Base class for all implementations of assertions for
Longs. |
| AbstractMapAssert<SELF extends AbstractMapAssert<SELF,ACTUAL,K,V>,ACTUAL extends Map<K,V>,K,V> |
Base class for all implementations of assertions for
Maps. |
| AbstractMapSizeAssert<SELF extends AbstractMapAssert<SELF,A,KEY,VALUE>,A extends Map<KEY,VALUE>,KEY,VALUE> | |
| AbstractMatcherAssert<SELF extends AbstractMatcherAssert<SELF>> |
Assertions for
Matcher |
| AbstractObjectArrayAssert<SELF extends AbstractObjectArrayAssert<SELF,ELEMENT>,ELEMENT> |
Assertion methods for arrays of objects.
|
| AbstractObjectAssert<SELF extends AbstractObjectAssert<SELF,ACTUAL>,ACTUAL> |
Base class for all implementations of assertions for
Objects. |
| AbstractOffsetDateTimeAssert<SELF extends AbstractOffsetDateTimeAssert<SELF>> |
Assertions for
OffsetDateTime type from new Date & Time API introduced in Java 8. |
| AbstractOffsetTimeAssert<SELF extends AbstractOffsetTimeAssert<SELF>> |
Assertions for
OffsetTime type from new Date & Time API introduced in Java 8. |
| AbstractOptionalAssert<SELF extends AbstractOptionalAssert<SELF,VALUE>,VALUE> |
Assertions for
Optional. |
| AbstractOptionalDoubleAssert<SELF extends AbstractOptionalDoubleAssert<SELF>> |
Assertions for
OptionalDouble. |
| AbstractOptionalIntAssert<SELF extends AbstractOptionalIntAssert<SELF>> |
Assertions for
OptionalInt. |
| AbstractOptionalLongAssert<SELF extends AbstractOptionalLongAssert<SELF>> |
Assertions for
OptionalLong. |
| AbstractPathAssert<SELF extends AbstractPathAssert<SELF>> |
Assertions for
Path objects |
| AbstractPeriodAssert<SELF extends AbstractPeriodAssert<SELF>> |
Assertions for
Period type. |
| AbstractPredicateAssert<SELF extends AbstractPredicateAssert<SELF,T>,T> |
Assertions for
Predicate. |
| AbstractShortArrayAssert<SELF extends AbstractShortArrayAssert<SELF>> | |
| AbstractShortAssert<SELF extends AbstractShortAssert<SELF>> |
Base class for all implementations of assertions for
Shorts. |
| AbstractSoftAssertions | |
| AbstractSpliteratorAssert<SELF extends AbstractSpliteratorAssert<SELF,ELEMENT>,ELEMENT> |
Assertions for
Spliterator type. |
| AbstractStringAssert<SELF extends AbstractStringAssert<SELF>> | |
| AbstractTemporalAssert<SELF extends AbstractTemporalAssert<SELF,TEMPORAL>,TEMPORAL extends Temporal> |
Base class for all implementations of assertions for
Temporals. |
| AbstractThrowableAssert<SELF extends AbstractThrowableAssert<SELF,ACTUAL>,ACTUAL extends Throwable> |
Base class for all implementations of assertions for
Throwables. |
| AbstractUniversalComparableAssert<SELF extends AbstractUniversalComparableAssert<SELF,T>,T> |
Base class for
Comparable assertions. |
| AbstractUriAssert<SELF extends AbstractUriAssert<SELF>> |
Base class for all implementations of assertions for
URIs. |
| AbstractUrlAssert<SELF extends AbstractUrlAssert<SELF>> |
Base class for all implementations of assertions for
URLs. |
| AbstractZonedDateTimeAssert<SELF extends AbstractZonedDateTimeAssert<SELF>> | |
| Assertions |
Entry point for assertion methods for different types.
|
| AssertionsForClassTypes |
Java 8 is picky when choosing the right
assertThat method if the object under test is generic and bounded,
for example if foo is instance of T that extends Exception, java 8 will complain that it can't resolve
the proper assertThat method (normally assertThat(Throwable) as foo might implement an interface like List,
if that occurred assertThat(List) would also be a possible choice - thus confusing java 8. |
| AssertionsForInterfaceTypes |
Entry point for assertion methods for different data types.
|
| AssumptionExceptionFactory |
Responsible of building the exception to throw for failing assumptions.
|
| Assumptions |
Entry point for assumption methods for different types, which allow to skip test execution on failed assumptions.
|
| AtomicBooleanAssert | |
| AtomicIntegerArrayAssert | |
| AtomicIntegerAssert | |
| AtomicIntegerFieldUpdaterAssert<OBJECT> |
Assertion methods for
AtomicIntegerFieldUpdaters. |
| AtomicLongArrayAssert | |
| AtomicLongAssert | |
| AtomicLongFieldUpdaterAssert<OBJECT> |
Assertion methods for
AtomicLongFieldUpdaters. |
| AtomicMarkableReferenceAssert<VALUE> |
Assertion methods for
AtomicMarkableReferences. |
| AtomicReferenceArrayAssert<T> | |
| AtomicReferenceAssert<V> | |
| AtomicReferenceFieldUpdaterAssert<FIELD,OBJECT> |
Assertion methods for
AtomicReferenceFieldUpdaters. |
| AtomicStampedReferenceAssert<VALUE> |
Assertion methods for
AtomicStampedReferences. |
| AutoCloseableBDDSoftAssertions |
A version of
BDDSoftAssertions that uses try-with-resources statement to automatically call
AbstractSoftAssertions.assertAll() so that you don't forget to. |
| AutoCloseableSoftAssertions |
A version of
SoftAssertions that uses try-with-resources statement to automatically call
AbstractSoftAssertions.assertAll() so that you don't forget to. |
| BDDAssertions |
Behavior-driven development style entry point for assertion methods for different types.
|
| BDDAssumptions |
Behavior-driven development style entry point for assumption methods for different types, which allow to skip test execution when assumptions are not met.
|
| BDDSoftAssertions |
Suppose we have a test case and in it we'd like to make numerous BDD assertions.
|
| BigDecimalAssert |
Assertion methods for
BigDecimals. |
| BigDecimalScaleAssert<T> | |
| BigIntegerAssert |
Assertion methods for
BigIntegers. |
| Boolean2DArrayAssert |
Assertion methods for two-dimensional arrays of
booleans. |
| BooleanArrayAssert |
Assertion methods for arrays of
booleans. |
| BooleanAssert |
Assertion methods for
Booleans. |
| Byte2DArrayAssert |
Assertion methods for two-dimensional arrays of
bytes. |
| ByteArrayAssert |
Assertion methods for arrays of
bytes. |
| ByteAssert |
Assertion methods for
Bytes. |
| Char2DArrayAssert |
Assertion methods for two-dimensional arrays of
chars. |
| CharacterAssert |
Assertion methods for
Characters. |
| CharArrayAssert |
Assertion methods for arrays of
chars. |
| CharSequenceAssert |
Assertion methods for
CharSequences. |
| ClassAssert |
Assertion methods for
Classes. |
| ClassBasedNavigableIterableAssert<SELF extends ClassBasedNavigableIterableAssert<SELF,ACTUAL,ELEMENT,ELEMENT_ASSERT>,ACTUAL extends Iterable<? extends ELEMENT>,ELEMENT,ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT,ELEMENT>> |
Build the Assert instance by reflection.
|
| ClassBasedNavigableListAssert<SELF extends ClassBasedNavigableListAssert<SELF,ACTUAL,ELEMENT,ELEMENT_ASSERT>,ACTUAL extends List<? extends ELEMENT>,ELEMENT,ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT,ELEMENT>> |
Build the Assert instance by reflection.
|
| CollectionAssert<ELEMENT> |
Assertion methods for
Collections. |
| ComparatorFactory | |
| CompletableFutureAssert<RESULT> |
Assertions for
CompletableFuture. |
| Condition<T> |
A condition to be met by an object.
|
| DateAssert |
Assertions for
Dates. |
| DefaultAssertionErrorCollector | |
| Double2DArrayAssert |
Assertion methods for two-dimensional arrays of
doubles. |
| DoubleArrayAssert |
Assertion methods for arrays of
doubles. |
| DoubleAssert |
Assertion methods for
Doubles. |
| DoublePredicateAssert |
Assertions for
Predicate. |
| DurationAssert |
Assertion methods for
Duration |
| ErrorCollector |
Collects error messages of all AssertionErrors thrown by the proxied method.
|
| FactoryBasedNavigableIterableAssert<SELF extends FactoryBasedNavigableIterableAssert<SELF,ACTUAL,ELEMENT,ELEMENT_ASSERT>,ACTUAL extends Iterable<? extends ELEMENT>,ELEMENT,ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT,ELEMENT>> |
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<SELF extends FactoryBasedNavigableListAssert<SELF,ACTUAL,ELEMENT,ELEMENT_ASSERT>,ACTUAL extends List<? extends ELEMENT>,ELEMENT,ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT,ELEMENT>> |
Provides helper methods for navigating a list property in a generated assertion class so we can chain assertions
through deeply nested models more easily.
|
| Fail |
Common failures.
|
| FileAssert |
Assertion methods for
Files. |
| FileSizeAssert<T> | |
| Float2DArrayAssert |
Reusable assertions for two-dimensional arrays of
floats. |
| FloatArrayAssert |
Assertion methods for arrays of
floats. |
| FloatAssert |
Assertion methods for floats.
|
| FutureAssert<RESULT> |
Assertion methods for
Future. |
| GenericComparableAssert<ACTUAL extends Comparable<? super ACTUAL>> |
Concrete generic
to be used through Assertions.assertThat(java.lang.Comparable). |
| HamcrestCondition<T> |
Allows to use a Hamcrest matcher as a condition.
|
| InputStreamAssert |
Assertion methods for
InputStreams. |
| InstanceOfAssertFactory<T,ASSERT extends AbstractAssert<?,?>> |
AssertFactory decorator which casts the input value to the given type before invoking the decorated AssertFactory. |
| InstantAssert |
Assertion methods for
Instants. |
| Int2DArrayAssert |
Assertion methods for two-dimensional arrays of
ints. |
| IntArrayAssert |
Assertion methods for arrays of
ints. |
| IntegerAssert |
Assertion methods for
Integers. |
| IntPredicateAssert |
Assertions for
Predicate. |
| IterableAssert<ELEMENT> |
Assertion methods for
Iterable. |
| IterableSizeAssert<T> | |
| IteratorAssert<ELEMENT> |
Assertion methods for
Iterator. |
| Java6Assertions | Deprecated
For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.
|
| Java6BDDAssertions | Deprecated
For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.
|
| Java6BDDSoftAssertions | Deprecated
For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.
|
| Java6JUnitBDDSoftAssertions | Deprecated
For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.
|
| Java6JUnitSoftAssertions | Deprecated
For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.
|
| Java6SoftAssertions | Deprecated
For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.
|
| JUnitBDDSoftAssertions |
Same as
SoftAssertions, but with the following differences: First, it's a junit rule, which can be used without having to call assertAll(),
example: |
| JUnitJupiterBDDSoftAssertions | Deprecated
use
SoftAssertionsExtension instead. |
| JUnitJupiterSoftAssertions | Deprecated
use
SoftAssertionsExtension instead. |
| JUnitSoftAssertions |
Same as
SoftAssertions, but with the following differences: First, it's a junit rule, which can be used without having to call assertAll(),
example: |
| ListAssert<ELEMENT> |
Assertion methods for
Lists. |
| LocalDateAssert | |
| LocalDateTimeAssert | |
| LocalTimeAssert | |
| Long2DArrayAssert |
Assertion methods for two-dimensional arrays of
longs. |
| LongAdderAssert |
Assertions for
LongAdder. |
| LongArrayAssert |
Assertion methods for arrays of
longs. |
| LongAssert |
Assertion methods for
Longs. |
| LongPredicateAssert |
Assertions for
LongPredicate. |
| MapAssert<KEY,VALUE> |
Assertions for
Maps. |
| MapSizeAssert<KEY,VALUE> | |
| MatcherAssert |
Assertions for
Matcher. |
| NotThrownAssert |
Assertion class checking a
ThrowableAssert.ThrowingCallable throws no exception. |
| Object2DArrayAssert<ELEMENT> |
Assertion methods for two-dimensional arrays of objects.
|
| ObjectArrayAssert<ELEMENT> |
Assertion methods for arrays of objects.
|
| ObjectAssert<ACTUAL> |
Assertion methods for
Objects. |
| ObjectAssertFactory<T> | |
| OffsetDateTimeAssert | |
| OffsetTimeAssert | |
| OptionalAssert<VALUE> |
Assertions for
Optional. |
| OptionalDoubleAssert |
Assertions for
OptionalDouble. |
| OptionalIntAssert |
Assertions for
OptionalInt. |
| OptionalLongAssert |
Assertions for
OptionalLong. |
| PathAssert |
Assertion class for
Paths |
| PeriodAssert |
Assertion methods for
Period |
| PredicateAssert<T> |
Assertions for
Predicate. |
| ProxifyMethodChangingTheObjectUnderTest | |
| RecursiveComparisonAssert<SELF extends RecursiveComparisonAssert<SELF>> | |
| Short2DArrayAssert |
Assertion methods for arrays of
shorts. |
| ShortArrayAssert |
Assertion methods for arrays of
shorts. |
| ShortAssert |
Assertion methods for
Shorts. |
| SoftAssertions |
Suppose we have a test case and in it we'd like to make numerous assertions.
|
| SoftThrowableAssertAlternative<ACTUAL extends Throwable> |
ThrowableAssertAlternative subclass used in soft assertions. |
| SoftThrowableTypeAssert<T extends Throwable> |
ThrowableTypeAssert for soft assertions.
|
| SpliteratorAssert<ELEMENT> |
Assertion methods for
Spliterators. |
| StringAssert |
Assertion methods for
Strings. |
| ThrowableAssert<ACTUAL extends Throwable> |
Assertion methods for
Throwables. |
| ThrowableAssertAlternative<ACTUAL extends Throwable> |
Assertion methods for
Throwable similar to ThrowableAssert but with assertions methods named
differently to make testing code fluent (ex : withMessage instead of hasMessage. |
| ThrowableTypeAssert<T extends Throwable> |
Assertion class checking
Throwable type. |
| UniversalComparableAssert<T> |
Comparable assertions. |
| UriAssert |
Assertion class for
URIs |
| UrlAssert |
Assertion class for
URLs |
| WithThrowable | |
| WritableAssertionInfo |
Writable information about an assertion.
|
| ZonedDateTimeAssert |
Assertions for
ZonedDateTime type from new Date & Time API introduced in Java 8. |
| Enum | Description |
|---|---|
| Condition.Status |
Describes the condition status after being evaluated.
|
| Error | Description |
|---|---|
| SoftAssertionError |
An AssertionError that contains the error messages of the one or more AssertionErrors that caused this exception to
be thrown.
|
Copyright © 2025. All rights reserved.