Interface | Description |
---|---|
ComparisonStrategy |
Describes the contract to implement a consistent comparison strategy that covers :
- comparing two objects for equality and order - knowing if an object belongs to a group of objects (collection/array) - determining duplicates in a group of objects (collection/array) - string specific comparison |
Class | Description |
---|---|
AbstractComparisonStrategy |
Base implementation of
ComparisonStrategy contract. |
Arrays |
Assertions for object and primitive arrays.
|
AtomicReferenceArrayElementComparisonStrategy<T> | |
BigDecimals |
Reusable assertions for
s. |
BigIntegers |
Reusable assertions for
s. |
BinaryDiff |
Compares the binary content of two inputStreams/paths.
|
BinaryDiffResult |
Value class to hold the result of comparing two binary streams.
|
BooleanArrays |
Reusable assertions for arrays of
boolean s. |
Booleans |
Reusable assertions for
s. |
ByteArrays |
Reusable assertions for arrays of
byte s. |
Bytes |
Reusable assertions for
s. |
Characters |
Reusable assertions for
s. |
CharArrays |
Reusable assertions for arrays of
char s. |
Classes |
Reusable assertions for
s. |
CommonErrors | |
CommonValidations | |
Comparables |
Reusable assertions for
s. |
ComparatorBasedComparisonStrategy |
Implements
ComparisonStrategy contract with a comparison strategy based on a Comparator . |
Conditions |
Verifies that a value satisfies a
. |
Dates |
Reusable assertions for
s. |
DeepDifference |
Tests two objects for differences by doing a 'deep' comparison.
|
DeepDifference.Difference | |
Diff |
Compares the contents of two files, inputStreams or paths.
|
DigestDiff |
Compares the digest values
|
Digests |
Reusable utils for digest processing
|
DoubleArrays |
Reusable assertions for arrays of
double s. |
Doubles |
Reusable assertions for
s. |
ErrorMessages | |
ExtendedByTypesComparator |
Compares objects using passed or standard default comparator extended with comparators by type.
|
Failures |
Failure actions.
|
FieldByFieldComparator |
Compares objects field/property by field/property including private fields unless
Assertions.setAllowComparingPrivateFields(boolean) has been called with false. |
Files |
Reusable assertions for
s. |
FloatArrays |
Reusable assertions for arrays of
float s. |
Floats |
Reusable assertions for
s. |
Futures |
Reusable assertions for
s. |
IgnoringFieldsComparator | |
InputStreams |
Reusable assertions for
s. |
IntArrays |
Reusable assertions for arrays of
int s. |
Integers |
Reusable assertions for
s. |
IterableElementComparisonStrategy<T> | |
Iterables |
Reusable assertions for
s. |
Iterators |
Reusable assertions for
s. |
Lists |
Reusable assertions for
s. |
LongArrays |
Reusable assertions for arrays of
long s. |
Longs |
Reusable assertions for
s. |
Maps |
Reusable assertions for
s. |
NioFilesWrapper | |
Numbers<NUMBER extends Number & Comparable<NUMBER>> |
Base class of reusable assertions for numbers.
|
ObjectArrayElementComparisonStrategy<T> | |
ObjectArrays |
Reusable assertions for arrays of objects.
|
Objects |
Reusable assertions for
Object s. |
Objects.ByFieldsComparison | |
OnFieldsComparator | |
Paths |
Core assertion class for
Path assertions |
Predicates | |
RealNumbers<NUMBER extends Number & Comparable<NUMBER>> |
Base class of reusable assertions for real numbers (float and double).
|
RecursiveFieldByFieldComparator |
Compares objects field/property by field/property recursively.
|
ShortArrays |
Reusable assertions for arrays of
short s. |
Shorts |
Reusable assertions for
s. |
StandardComparisonStrategy |
Implements
ComparisonStrategy contract with a comparison strategy based on
Objects.areEqual(Object, Object) method, it is also based on Comparable.compareTo(Object) when Object
are Comparable method. |
Strings |
Reusable assertions for
s. |
Throwables |
Reusable assertions for
s. |
TypeComparators |
An internal holder of the comparators for type.
|
Uris | |
Urls |
Exception | Description |
---|---|
InputStreamsException |
Exception thrown by
. |
Copyright © 2014–2019 AssertJ. All rights reserved.