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.
|
AssertProvider<A> |
Provides a
Assert for the current object. |
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.
|
ThrowableAssert.ThrowingCallable | |
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. |
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.
|
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.
|
AbstractBDDSoftAssertions | |
AbstractBigDecimalAssert<S extends AbstractBigDecimalAssert<S>> |
Base class for all implementations of assertions for
BigDecimal s. |
AbstractBooleanArrayAssert<S extends AbstractBooleanArrayAssert<S>> | |
AbstractBooleanAssert<S extends AbstractBooleanAssert<S>> |
Base class for all implementations of assertions for
Boolean s. |
AbstractByteArrayAssert<S extends AbstractByteArrayAssert<S>> | |
AbstractByteAssert<S extends AbstractByteAssert<S>> |
Base class for all implementations of assertions for
Byte s. |
AbstractCharacterAssert<S extends AbstractCharacterAssert<S>> |
Base class for all implementations of assertions for
Character s. |
AbstractCharArrayAssert<S extends AbstractCharArrayAssert<S>> | |
AbstractCharSequenceAssert<S extends AbstractCharSequenceAssert<S,A>,A extends CharSequence> |
Base class for all implementations of assertions for
CharSequence s. |
AbstractClassAssert<S extends AbstractClassAssert<S>> |
Base class for all implementations of assertions for
Class es. |
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
Date s. |
AbstractDoubleArrayAssert<S extends AbstractDoubleArrayAssert<S>> | |
AbstractDoubleAssert<S extends AbstractDoubleAssert<S>> |
Base class for all implementations of assertions for
Double s. |
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
File s. |
AbstractFloatArrayAssert<S extends AbstractFloatArrayAssert<S>> | |
AbstractFloatAssert<S extends AbstractFloatAssert<S>> |
Base class for all implementations of assertions for
Float s. |
AbstractInputStreamAssert<S extends AbstractInputStreamAssert<S,A>,A extends InputStream> |
Base class for all implementations of assertions for
InputStream s. |
AbstractIntArrayAssert<S extends AbstractIntArrayAssert<S>> | |
AbstractIntegerAssert<S extends AbstractIntegerAssert<S>> |
Base class for all implementations of assertions for
Integer s. |
AbstractIterableAssert<S extends AbstractIterableAssert<S,A,T>,A extends Iterable<? extends T>,T> |
Base class for implementations of
whose actual value type is
. |
AbstractListAssert<S extends AbstractListAssert<S,A,T>,A extends List<? extends T>,T> |
Base class for all implementations of assertions for
List s. |
AbstractLocalDateAssert<S extends AbstractLocalDateAssert<S>> |
Assertions for
LocalDate type from new Date & Time API introduced in Java 8. |
AbstractLocalDateTimeAssert<S extends AbstractLocalDateTimeAssert<S>> |
Assertions for
LocalDateTime type from new Date & Time API introduced in Java 8. |
AbstractLocalTimeAssert<S extends AbstractLocalTimeAssert<S>> |
Assertions for
LocalTime type from new Date & Time API introduced in Java 8. |
AbstractLongArrayAssert<S extends AbstractLongArrayAssert<S>> | |
AbstractLongAssert<S extends AbstractLongAssert<S>> |
Base class for all implementations of assertions for
Long s. |
AbstractMapAssert<S extends AbstractMapAssert<S,A,K,V>,A extends Map<K,V>,K,V> |
Base class for all implementations of assertions for
Map s. |
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
Object s. |
AbstractOptionalAssert<S extends AbstractOptionalAssert<S,T>,T> |
Assertions for
Optional . |
AbstractPathAssert<S extends AbstractPathAssert<S>> |
Assertions for
Path objects |
AbstractShortArrayAssert<S extends AbstractShortArrayAssert<S>> | |
AbstractShortAssert<S extends AbstractShortAssert<S>> |
Base class for all implementations of assertions for
Short s. |
AbstractSoftAssertions | |
AbstractStandardSoftAssertions | |
AbstractThrowableAssert<S extends AbstractThrowableAssert<S,A>,A extends Throwable> |
Base class for all implementations of assertions for
Throwable s. |
AbstractUnevenComparableAssert<S extends AbstractUnevenComparableAssert<S,A>,A extends Comparable<? super A>> |
Base class for all implementations of
. |
AbstractZonedDateTimeAssert<S extends AbstractZonedDateTimeAssert<S>> | |
Assertions |
Entry point for assertion methods for different data types.
|
AutoCloseableBDDSoftAssertions |
A version of
SoftAssertions that uses try-with-resources statement to automatically call
SoftAssertions.assertAll() so that you don't forget to. |
AutoCloseableSoftAssertions |
A version of
SoftAssertions that uses try-with-resources statement to automatically call
SoftAssertions.assertAll() so that you don't forget to. |
BDDAssertions |
BDD style entry point for assertion methods for different data types.
|
BDDSoftAssertions |
Suppose we have a test case and in it we'd like to make numerous BDD assertions.
|
BigDecimalAssert |
Assertion methods for
BigDecimal s. |
BooleanArrayAssert |
Assertion methods for arrays of
boolean s. |
BooleanAssert |
Assertion methods for
Boolean s. |
ByteArrayAssert |
Assertion methods for arrays of
byte s. |
ByteAssert |
Assertion methods for
Byte s. |
CharacterAssert |
Assertion methods for
Character s. |
CharArrayAssert |
Assertion methods for arrays of
char s. |
CharSequenceAssert |
Assertion methods for
CharSequence s. |
ClassAssert |
Assertion methods for
Class es. |
Condition<T> |
A condition to be met by an object.
|
DateAssert |
Assertions for
Date s. |
DoubleArrayAssert |
Assertion methods for arrays of
double s. |
DoubleAssert |
Assertion methods for
Double s. |
ErrorCollector |
Collects error messages of all AssertionErrors thrown by the proxied method.
|
Fail |
Common failures.
|
FileAssert |
Assertion methods for
File s. |
FloatArrayAssert |
Assertion methods for arrays of
float s. |
FloatAssert |
Assertion methods for floats.
|
GenericComparableAssert<A extends Comparable<? super A>> |
Concrete generic
to be used through Assertions.assertThat(java.lang.Comparable) . |
InputStreamAssert |
Assertion methods for
InputStream s. |
IntArrayAssert |
Assertion methods for arrays of
int s. |
IntegerAssert |
Assertion methods for
Integer s. |
IterableAssert<T> |
Assertion methods for
Iterable . |
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: |
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<T> |
Assertion methods for
List s. |
LocalDateAssert | |
LocalDateTimeAssert | |
LocalTimeAssert | |
LongArrayAssert |
Assertion methods for arrays of
long s. |
LongAssert |
Assertion methods for
Long s. |
MapAssert<K,V> |
Assertions for
Map s. |
ObjectArrayAssert<T> |
Assertion methods for arrays of objects.
|
ObjectAssert<A> |
Assertion methods for
Object s. |
OptionalAssert<T> |
Assertions for
Optional . |
PathAssert |
Assertion class for
Path s |
ShortArrayAssert |
Assertion methods for arrays of
short s. |
ShortAssert |
Assertion methods for
Short s. |
SoftAssertionClassAssert |
Concrete assertions for
Class s without any final methods to allow proxying. |
SoftAssertionMapAssert<K,V> |
Concrete assertions for
Map s without any final methods to allow proxying. |
SoftAssertions |
Suppose we have a test case and in it we'd like to make numerous assertions.
|
StringAssert |
Assertion methods for
String s. |
ThrowableAssert |
Assertion methods for
Throwable s. |
WritableAssertionInfo |
Writable information about an assertion.
|
ZonedDateTimeAssert |
Assertions for
ZonedDateTime type from new Date & Time API introduced in Java 8. |
Error | Description |
---|---|
SoftAssertionError |
An AssertionError that contains the error messages of the one or more AssertionErrors that caused this exception to
be thrown.
|
Copyright © 2014-2015 AssertJ. All Rights Reserved.