Top Interfaces Classes
[default module]

Package org.assertj.core.internal


Interface Summary

Modifier and TypeInterface and Description
public interface
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

public interface
WholeNumbers<NUMBER extends Number>

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractComparisonStrategy

Base implementation of ComparisonStrategy contract.

public class
Arrays

Assertions for object and primitive arrays.

public class
Arrays2D

Assertions for object and primitive two-dimensional arrays.

public class
public class
BigDecimals

Reusable assertions for BigDecimals.

public class
BigIntegers

Reusable assertions for BigIntegers.

public class
BinaryDiff

Compares the binary content of two inputStreams/paths.

public class
BinaryDiffResult

Value class to hold the result of comparing two binary streams.

public class
Boolean2DArrays

Reusable assertions for arrays of booleans.

public class
BooleanArrays

Reusable assertions for arrays of booleans.

public class
Byte2DArrays

Reusable assertions for two-dimensional arrays of bytes.

public class
ByteArrays

Reusable assertions for arrays of bytes.

public class
Bytes

Reusable assertions for Bytes.

public class
Char2DArrays

Reusable assertions for two-dimensional arrays of chars.

public class
Characters

Reusable assertions for Characters.

public class
CharArrays

Reusable assertions for arrays of chars.

public class
public class
public class
Classes

Reusable assertions for Classs.

public class
public class
public class
Comparables

Reusable assertions for types that can be compared between each other, most of the time it means Comparables but also for type not implementing Comparable like Number (surprisingly not comparable).

public class
ComparatorBasedComparisonStrategy

Implements ComparisonStrategy contract with a comparison strategy based on a Comparator.

public class
Conditions

Verifies that a value satisfies a Condition.

public class
ConfigurableRecursiveFieldByFieldComparator

Compares objects field/property by field/property recursively based on the given RecursiveComparisonConfiguration allowing fine tuning of the comparison.

public class
Dates

Reusable assertions for Dates.

public class
DeepDifference

Tests two objects for differences by doing a 'deep' comparison.

public abstract class
public class
Diff

Compares the contents of two files, inputStreams or paths.

public class
DigestDiff

Compares the digest values

public class
Digests

Reusable utils for digest processing

public class
Double2DArrays

Reusable assertions for two-dimensional arrays of doubles.

public class
DoubleArrays

Reusable assertions for arrays of doubles.

public class
Doubles

Reusable assertions for Doubles.

pack-priv class
ElementsSatisfyingConsumer<
element type
E
>

Wrapper for the list of elements that satisfy certain requirements (expressed as a Consumer).

public class
public class
ExtendedByTypesComparator

Compares objects using passed or standard default comparator extended with comparators by type.

public class
Failures

Failure actions.

public class
FieldByFieldComparator

Deprecated This comparator 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(RecursiveComparisonConfiguration) or AbstractObjectAssert#usingRecursiveComparison() instead to perform a true recursive comparison.
Deprecated javadoc

Compares objects field/property by field/property including private fields unless Assertions#setAllowComparingPrivateFields(boolean) has been called with false.

public class
Files

Reusable assertions for Files.

public class
Float2DArrays

Reusable assertions for arrays of floats.

public class
FloatArrays

Reusable assertions for arrays of floats.

public class
Floats

Reusable assertions for Floats.

public class
Futures

Reusable assertions for Futures.

public class
IgnoringFieldsComparator

Deprecated This comparator 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(RecursiveComparisonConfiguration) or AbstractObjectAssert#usingRecursiveComparison() instead to perform a true recursive comparison.
public class
IndexedDiff

Immutable class modeling the actual and expected elements at a given index.

public class
InputStreams

Reusable assertions for InputStreams.

public class
InputStreamsException

Exception thrown by InputStreams.

public class
Int2DArrays

Reusable assertions for two-dimensional arrays of ints.

public class
IntArrays

Reusable assertions for arrays of ints.

public class
Integers

Reusable assertions for Integers.

pack-priv class
IterableDiff<
the type of element to compare.
T
>

public class
public class
Iterables

Reusable assertions for Iterables.

public class
Iterators

Reusable assertions for Iterators.

public class
Lists

Reusable assertions for Lists.

public class
Long2DArrays

Reusable assertions for two-dimensional arrays of longs.

public class
LongArrays

Reusable assertions for arrays of longs.

public class
Longs

Reusable assertions for Longs.

public class
Maps

Reusable assertions for Maps.

public class
NioFilesWrapper

Wrapper for java.nio.file.Files to test methods throwing IOException.

public abstract class
Numbers<NUMBER extends Number & Comparable<NUMBER>>

Base class of reusable assertions for numbers.

public class
Object2DArrays<
the type of elements of the 2D array.
ELEMENT
>

Reusable assertions for two-dimensional arrays of objects.

public class
public class
ObjectArrays

Reusable assertions for arrays of objects.

public class
Objects

Reusable assertions for Objects.

public class
public class
OnFieldsComparator

Deprecated This comparator 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(RecursiveComparisonConfiguration) or AbstractObjectAssert#usingRecursiveComparison() instead to perform a true recursive comparison.
public class
Paths

Core assertion class for Path assertions

public class
public abstract class
RealNumbers<NUMBER extends Number & Comparable<NUMBER>>

Base class of reusable assertions for real numbers (float and double).

public class
public class
Short2DArrays

Reusable assertions for two-dimensional arrays of shorts.

public class
ShortArrays

Reusable assertions for arrays of shorts.

public class
Shorts

Reusable assertions for Shorts.

public class
Spliterators

Reusable assertions for Spliterators.

public class
StandardComparisonStrategy

Implements ComparisonStrategy contract with a comparison strategy based on java.util.Objects#deepEquals(Object, Object) method, it is also based on Comparable#compareTo(Object) when Object are Comparable method.

public class
public class
Throwables

Reusable assertions for Throwables.

public class
TypeComparators

An internal holder of the comparators for type.

pack-priv abstract class
TypeHolder<
entity type
T
>

An abstract type holder which provides to pair a specific entities for types.

public class
TypeMessages

An internal holder of the custom message for type.

public class
UnambiguousRepresentation

Utility class around Representation to provide the toStringOf representations of actual and expected when they are different, and their unambiguousToStringOf representations if not.

public class
public class