| Interface | Description |
|---|---|
| ArraySortedAssert<S extends ArraySortedAssert<S,E>,E> |
Assertions applicable to primitive arrays or arrays of elements either naturally
Comparable or according to a given
Comparator. |
| Assert<S extends Assert<S,A>,A> |
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.
|
| AssertionInfo |
Information about an assertion.
|
| ComparableAssert<S extends ComparableAssert<S,A>,A extends Comparable<? super A>> |
Assertion methods applicable to
s. |
| Descriptable<S extends Descriptable<S>> |
An object that has a description.
|
| EnumerableAssert<S extends EnumerableAssert<S,E>,E> |
Assertions applicable to groups of values that can be enumerated (e.g.
|
| ExtensionPoints<S extends ExtensionPoints<S,A>,A> |
Mechanism for extending assertion classes.
|
| FloatingPointNumberAssert<S extends FloatingPointNumberAssert<S,A>,A extends Number> |
Assertion methods applicable to floating-point
s. |
| IndexedObjectEnumerableAssert<S extends IndexedObjectEnumerableAssert<S,T>,T> |
Assertions methods applicable to indexed groups of objects (e.g.
|
| NumberAssert<S extends NumberAssert<S,A>,A extends Number> |
Assertion methods applicable to
s. |
| ObjectEnumerableAssert<S extends ObjectEnumerableAssert<S,T>,T> |
Assertions methods applicable to groups of objects (e.g.
|
| UnevenComparableAssert<S extends UnevenComparableAssert<S,T>,T extends Comparable<? super T>> |
Assertion methods applicable to
s whose implementation of compareTo is not consistent
with their implementation of equals (e.g. |
| Class | Description |
|---|---|
| AbstractArrayAssert<S extends AbstractArrayAssert<S,A,E>,A,E> |
Base class for all array assertions.
|
| AbstractAssert<S extends AbstractAssert<S,A>,A> |
Base class for all assertions.
|
| AbstractBigDecimalAssert<S extends AbstractBigDecimalAssert<S>> |
Base class for all implementations of assertions for
BigDecimals. |
| AbstractBooleanArrayAssert<S extends AbstractBooleanArrayAssert<S>> | |
| AbstractBooleanAssert<S extends AbstractBooleanAssert<S>> |
Base class for all implementations of assertions for
Booleans. |
| AbstractByteArrayAssert<S extends AbstractByteArrayAssert<S>> | |
| AbstractByteAssert<S extends AbstractByteAssert<S>> |
Base class for all implementations of assertions for
Bytes. |
| AbstractCharacterAssert<S extends AbstractCharacterAssert<S>> |
Base class for all implementations of assertions for
Characters. |
| AbstractCharArrayAssert<S extends AbstractCharArrayAssert<S>> | |
| AbstractCharSequenceAssert<S extends AbstractCharSequenceAssert<S,A>,A extends CharSequence> |
Base class for all implementations of assertions for
CharSequences. |
| AbstractClassAssert<S extends AbstractClassAssert<S>> |
Base class for all implementations of assertions for
Classes. |
| AbstractComparableAssert<S extends AbstractComparableAssert<S,A>,A extends Comparable<? super A>> |
Base class for all implementations of
. |
| AbstractDateAssert<S extends AbstractDateAssert<S>> |
Base class for all implementations of assertions for
Dates. |
| AbstractDoubleArrayAssert<S extends AbstractDoubleArrayAssert<S>> | |
| AbstractDoubleAssert<S extends AbstractDoubleAssert<S>> |
Base class for all implementations of assertions for
Doubles. |
| AbstractEnumerableAssert<S extends AbstractEnumerableAssert<S,A,E>,A,E> |
Base implementation for Enumerable class assertions.
|
| AbstractFileAssert<S extends AbstractFileAssert<S>> |
Base class for all implementations of assertions for
Files. |
| AbstractFloatArrayAssert<S extends AbstractFloatArrayAssert<S>> | |
| AbstractFloatAssert<S extends AbstractFloatAssert<S>> |
Base class for all implementations of assertions for
Floats. |
| AbstractInputStreamAssert<S extends AbstractInputStreamAssert<S,A>,A extends InputStream> |
Base class for all implementations of assertions for
InputStreams. |
| AbstractIntArrayAssert<S extends AbstractIntArrayAssert<S>> | |
| AbstractIntegerAssert<S extends AbstractIntegerAssert<S>> |
Base class for all implementations of assertions for
Integers. |
| AbstractIterableAssert<S extends AbstractIterableAssert<S,A,T>,A extends Iterable<T>,T> |
Base class for implementations of
whose actual value type is
. |
| AbstractListAssert<S extends AbstractListAssert<S,A,T>,A extends List<T>,T> |
Base class for all implementations of assertions for
Lists. |
| AbstractLongArrayAssert<S extends AbstractLongArrayAssert<S>> | |
| AbstractLongAssert<S extends AbstractLongAssert<S>> |
Base class for all implementations of assertions for
Longs. |
| AbstractMapAssert<S extends AbstractMapAssert<S,A,K,V>,A extends Map<K,V>,K,V> |
Base class for all implementations of assertions for
Maps. |
| AbstractObjectArrayAssert<S extends AbstractObjectArrayAssert<S,T>,T> |
Assertion methods for arrays of objects.
|
| AbstractObjectAssert<S extends AbstractObjectAssert<S,A>,A> |
Base class for all implementations of assertions for
Objects. |
| AbstractShortArrayAssert<S extends AbstractShortArrayAssert<S>> | |
| AbstractShortAssert<S extends AbstractShortAssert<S>> |
Base class for all implementations of assertions for
Shorts. |
| AbstractSoftAssertions | |
| AbstractThrowableAssert<S extends AbstractThrowableAssert<S,A>,A extends Throwable> |
Base class for all implementations of assertions for
Throwables. |
| AbstractUnevenComparableAssert<S extends AbstractUnevenComparableAssert<S,A>,A extends Comparable<? super A>> |
Base class for all implementations of
. |
| Assertions |
Entry point for assertion methods for different data types.
|
| BDDAssertions |
BDD style entry point for assertion methods for different data types.
|
| BigDecimalAssert |
Assertion methods for
BigDecimals. |
| BooleanArrayAssert |
Assertion methods for arrays of
booleans. |
| BooleanAssert |
Assertion methods for
Booleans. |
| ByteArrayAssert |
Assertion methods for arrays of
bytes. |
| ByteAssert |
Assertion methods for
Bytes. |
| CharacterAssert |
Assertion methods for
Characters. |
| CharArrayAssert |
Assertion methods for arrays of
chars. |
| CharSequenceAssert |
Assertion methods for
CharSequences. |
| ClassAssert |
Assertion methods for
Classes. |
| Condition<T> |
A condition to be met by an object.
|
| DateAssert |
Assertions for
Dates. |
| DoubleArrayAssert |
Assertion methods for arrays of
doubles. |
| DoubleAssert |
Assertion methods for
Doubles. |
| ErrorCollector |
Collects error messages of all AssertionErrors thrown by the proxied method.
|
| Fail |
Common failures.
|
| FileAssert |
Assertion methods for
Files. |
| FloatArrayAssert |
Assertion methods for arrays of
floats. |
| FloatAssert |
Assertion methods for floats.
|
| InputStreamAssert |
Assertion methods for
InputStreams. |
| IntArrayAssert |
Assertion methods for arrays of
ints. |
| IntegerAssert |
Assertion methods for
Integers. |
| IterableAssert<T> |
Assertion methods for
Iterable. |
| JUnitSoftAssertions |
the same as
SoftAssertions, but with the following differences:
First, it's a junit rule, which can be used as follows (without the assertAll()) |
| ListAssert<T> |
Assertion methods for
Lists. |
| LongArrayAssert |
Assertion methods for arrays of
longs. |
| LongAssert |
Assertion methods for
Longs. |
| MapAssert<K,V> |
Assertions for
Maps. |
| ObjectArrayAssert<T> |
Assertion methods for arrays of objects.
|
| ObjectAssert<A> |
Assertion methods for
Objects. |
| 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.
|
| StringAssert |
Assertion methods for
Strings. |
| ThrowableAssert |
Assertion methods for
Throwables. |
| WritableAssertionInfo |
Writable information about an assertion.
|
| Error | Description |
|---|---|
| SoftAssertionError |
An AssertionError that contains the error messages of the one or more AssertionErrors that caused this exception to
be thrown.
|
Copyright © 2013-2014 AssertJ. All Rights Reserved.