All Classes and Interfaces
Class
Description
Base class for all assertions.
Base class for all implementations of
ComparableAssert.Base implementation of
ComparisonStrategy contract.Base class for implementations of
ObjectEnumerableAssert whose actual value type is
Collection.Base class for text content error.
AbstractUnevenComparableAssert<S extends AbstractUnevenComparableAssert<S,A>,A extends Comparable<? super A>>
Base class for all implementations of
UnevenComparableAssert.Returns
true if all of the joined conditions is satisfied.Returns
true if any of the joined conditions is satisfied.Assertions applicable to primitive arrays or arrays of elements either naturally
Comparable or according to a given
Comparator.A list-like wrapper for arrays.
Base contract of all assertion objects: the minimum functionality that any assertion object should provide.
Factory of
AssertionErrors.Information about an assertion.
Entry point for assertion methods for different data types.
A factory of error messages typically shown when an assertion fails.
Assertion methods for
BigDecimals.A
Is useful if ones wants to use BigDecimal assertions based on
BigDecimal Comparator based on BigDecimal.compareTo(BigDecimal).Is useful if ones wants to use BigDecimal assertions based on
BigDecimal.compareTo(BigDecimal) instead of
BigDecimal.equals(Object) method.Reusable assertions for
BigDecimals.Compares the binary content of two streams.
Value class to hold the result of comparing two binary streams.
Assertion methods for arrays of
booleans.Reusable assertions for arrays of
booleans.Assertion methods for bytes.
Reusable assertions for
Booleans.Assertion methods for arrays of
bytes.Reusable assertions for arrays of
bytes.Assertion methods for bytes.
Reusable assertions for
Bytes.Assertion methods for characters.
Reusable assertions for
Characters.Assertion methods for arrays of
chars.Reusable assertions for arrays of
chars.Assertion methods applicable to
Comparables.Reusable assertions for
Comparables.Implements
ComparisonStrategy contract with a comparison strategy based on a Comparator.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
- 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
A condition to be met by an object.
Creates an error message indicating that an assertion that verifies type of elements of group and
Condition A group of
elements can be a collection, an array.Verifies that a value satisfies a
Condition.Assertions for
Dates.Reusable assertions for
Dates.An object that has a description.
The description of a value.
Formats the
Descriptions to be included in assertion errors.Compares the contents of two files or two streams.
Returns
true if the condition is not satisfied.Assertion methods for arrays of
doubles.Reusable assertions for arrays of
doubles.Assertion methods for doubles.
Reusable assertions for
Doubles.Creates an error message indicating that an assertion that verifies that each element of a group satisfies a
Condition
A group of elements can be a collection, an array.Creates an error message indicating that an assertion that verifies elements of a group satisfies at least n times a
Condition A group of elements can be a collection, an array.Creates an error message indicating that an assertion that verifies elements of a group satisfies at most n times a
Condition A group of elements can be a collection, an array.Creates an error message indicating that an assertion that verifies elements of a group satisfies exactly n times a
Condition A group of elements can be a collection, an array.Creates an error message indicating that an assertion that verifies that each element of a group satisfies a
Condition
A group of elements can be a collection, an array.Creates an error message indicating that an assertion that verifies elements of a group satisfies at least n times a
Condition A group of elements can be a collection, an array.Creates an error message indicating that an assertion that verifies elements of a group satisfies at most n times a
Condition A group of elements can be a collection, an array.Creates an error message indicating that an assertion that verifies elements of a group satisfies exactly n times a
Condition A group of elements can be a collection, an array.Creates an error message indicating that an assertion that not verifies that each element of a group satisfies a
Condition A group of elements can be a collection, an array.Creates an error message indicating that an assertion that not verifies elements of a group satisfies at least n times a
Condition A group of elements can be a collection, an array.Creates an error message indicating that an assertion that not verifies elements of a group satisfies at most n times a
Condition A group of elements can be a collection, an array.Creates an error message indicating that an assertion that not verifies elements of a group satisfies exactly n times a
Condition A group of elements can be a collection, an array.Creates an error message indicating that an assertion that verifies that each element of a group satisfies a
Condition
A group of elements can be a collection, an array.Creates an error message indicating that an assertion that not verifies elements of a group satisfies at least n times a
Condition A group of elements can be a collection, an array.Creates an error message indicating that an assertion that not verifies elements of a group satisfies at most n times a
Condition A group of elements can be a collection, an array.Creates an error message indicating that an assertion that not verifies elements of a group satisfies exactly n times a
Condition A group of elements can be a collection, an array.A description containing empty text.
Assertions applicable to groups of values that can be enumerated (e.g.
Factory of error messages.
Mechanism for extending assertion classes.
Common failures.
Failure actions.
Assertion methods for
Files.Reusable assertions for
Files.Filters the elements of a given
Iterable or array according to the specified filter criteria.Assertion methods for arrays of
floats.Reusable assertions for arrays of
floats.Assertion methods for floats.
Assertion methods applicable to floating-point
Numbers.Reusable assertions for
Floats.A positive index.
Assertions methods applicable to indexed groups of objects (e.g.
Assertion methods for
InputStreams.Reusable assertions for
InputStreams.Exception thrown by
InputStreams.Assertion methods for arrays of
ints.Reusable assertions for arrays of
ints.Assertion methods for integers.
Reusable assertions for
Integers.Assertion methods for
Iterable.Reusable assertions for
Iterables.Join of two or more
Conditions.Assertion methods for
Lists.Reusable assertions for
Lists.Assertion methods for arrays of
longs.Reusable assertions for arrays of
longs.Assertion methods for longs.
Reusable assertions for
Longs.Assertions for
Maps.Understands an entry in a
Map.Reusable assertions for
Maps.Formats the messages to be included in assertion errors.
Inverse the condition.
Returns
true if the condition is not satisfied.Assertion methods applicable to
Numbers.Base class of reusable assertions for numbers.
Assertion methods for arrays of objects.
Reusable assertions for arrays of objects.
Assertion methods for
Objects.Assertions methods applicable to groups of objects (e.g.
Reusable assertions for
Objects.A positive offset.
Extracts the values of a specified property from the elements of a given
Iterable or array.Utility methods for properties access.
Base class of reusable assertions for real numbers (float and double).
Assertion methods for arrays of
shorts.Reusable assertions for arrays of
shorts.Assertion methods for shorts.
Reusable assertions for
Shorts.Creates an error message indicating that an assertion that verifies that a value satisfies a
Condition
failed.Creates an error message indicating that an assertion that verifies that a
File is an absolute path
failed.Creates an error message indicating that an assertion that verifies that a
Date is after another one failed.Creates an error message indicating that an assertion that verifies that a
Date is after or equals to another one
failed.Creates an error message indicating that an assertion that verifies a group of elements contains a value at a given index that
satisfies a
Condition failed.Creates an error message indicating that an assertion that verifies that a
Date is before another one failed.Creates an error message indicating that an assertion that verifies that a
Date is before or equals to another one
failed.Creates an error message indicating that an assertion that verifies that a
Date is between start - end dates (inclusive
or not) failed.Creates an error message indicating that an assertion that verifies that a
Date is close to another one from some delta
failed.Creates an error message indicating that an assertion that verifies that a
File is an existing directory
failed.Creates an error message indicating that an assertion that verifies a group of elements is empty failed.
Creates an
AssertionError indicating that an assertion that verifies that two objects are equal failed.Creates an error message indicating that an assertion that verifies that two
Strings are equal, ignoring case
considerations, failed.Creates an error message that indicates an assertion that verifies that two images are equal failed.
Creates an error message indicating that an assertion that verifies that two numbers are equal within a positive offset failed.
Creates an error message indicating that an assertion that verifies that an object is exactly an instance of some type failed.
Creates an error message indicating that an assertion that verifies that a
File is executable
failed.Creates an error message indicating that an assertion that verifies that a
File is an existing file
failed.Creates an error message indicating that an assertion that verifies that a value is greater than another one failed.
Creates an error message indicating that an assertion that verifies that a value is greater than or equal to another one
failed.
Creates an error message indicating that an assertion that verifies that a value is in a group of values (e.g.
Creates an error message indicating that an assertion that verifies that a
Date is in same year, month and day of month
as another one failed.Creates an error message indicating that an assertion that verifies that a
Date is in same year, month, day of month
and hour as another one failed.Creates an error message indicating that an assertion that verifies that a
Date is in same year, month, day of month,
hour, minute, second adn millisecond as another one failed.Creates an error message indicating that an assertion that verifies that a
Date is in same year, month, day of month,
hour and minute as another one failed.Creates an error message indicating that an assertion that verifies that a
Date is in same year and month as another
one failed.Creates an error message indicating that an assertion that verifies that a
Date is in same year, month, day of month,
hour, minute and second as another one failed.Creates an error message indicating that an assertion that verifies that a
Date is in same year as another one failed.Creates an error message indicating that an assertion that verifies that an object is an instance of some type
failed.
Creates an error message indicating that an assertion that verifies that an object is an instance of one or more types failed.
Creates an error message indicating that an assertion that verifies that a
Date is in the future failed.Creates an error message indicating that an assertion that verifies that a
Date is in the past failed.Creates an
AssertionError indicating that an assertion that verifies that two objects are lenient equal by
accepting fields failed.Creates an
AssertionError indicating that an assertion that verifies that two objects are lenient equal by
ignoring fields failed.Creates an error message indicating that an assertion that verifies that a value is less than another one failed.
Creates an error message indicating that an assertion that verifies that a value is less than or equal to another one failed.
Creates an error message that indicates an assertion that verifies that a character is lowercase failed.
Creates an error message indicating that an assertion that verifies a group of elements is
null or empty failed.Creates an error message indicating that an assertion that verifies that an object is of type in group of types failed.
Creates an error message indicating that an assertion that verifies that a
File is readable
failed.Creates an error message indicating that an assertion that verifies that a
File is a relative path failed.Creates an error message indicating that an assertion that verifies that two object refer to same object failed.
Creates an error message indicating that an assertion that verifies a group of elements is sorted failed.
A group of elements can be a collection or an array.
A group of elements can be a collection or an array.
Creates an error message indicating that an assertion that verifies that an
Iterable is a subset of an other set
Iterable failed.Creates an error message indicating that an assertion that verifies that a
Date is today (matching only year, month and
day but not hours).Creates an error message that indicates an assertion that verifies that a character is uppercase failed.
Creates an error message indicating that an assertion that verifies that a
Date is within a year, month, day, ...Creates an error message indicating that an assertion that verifies that a
File is writable
failed.Creates an error message indicating that an assertion that verifies a group of elements contains a given set of values failed.
Creates an error message indicating that an assertion that verifies a group of elements contains a value at a given index
failed.
Creates an error message indicating that an assertion that verifies a group of elements contains exactly a given set
of values and nothing else failed, exactly meaning same elements in same order.
Creates an error message indicating that an assertion that verifies a map contains a key..
Creates an error message indicating that an assertion that verifies a group of elements contains a null element failed.
Creates an error message indicating that an assertion that verifies a group of elements contains only a given set of values and
nothing else failed.
Creates an error message indicating that an assertion that verifies that a group of elements contains a sequence of values
failed.
Creates an error message indicating that an assertion that verifies that a
String contains another String
failed.Creates an error message indicating that an assertion that verifies that a
String contains another String only
once failed.Creates an error message indicating that an assertion that verifies a map contains a value.
Creates an error message indicating that an assertion that verifies that a group of elements ends with a given value or
sequence of values failed.
Creates an error message indicating that an assertion that verifies that a
File exists failed.Creates an error message indicating that an assertion that verifies that a value satisfies a
Condition
failed.Creates an error message indicating that an assertion that verifies a group of elements contains a value at a given
index that satisfies a
Condition failed.Creates an error message indicating that an assertion that verifies that a file has a given binary content failed.
Creates an error message indicating that an assertion that verifies that a file has a given text content failed.
Creates an error message indicating that an assertion that verifies that two files/inputStreams have equal content failed.
Creates an error message indicating that an assertion that verifies that a
Throwable have certain message failed.Creates an error message indicating that an assertion that verifies that an
Throwable has no cause failed.Creates an error message indicating that an assertion that verifies that an object have same class as another instance failed.
Creates an error message indicating that an assertion that verifies that a value have certain size failed.
Creates an error message indicating that an assertion that verifies that a value have certain size failed.
Creates an error message indicating that an assertion that verifies that a date have a certain timestamp.
Creates an error message indicating that an assertion that verifies that a
String matches a pattern failed.Creates an error message indicating that an assertion that verifies that a value does not satisfy a
Condition failed.Creates an error message indicating that an assertion that verifies that a
Date is not between start - end dates
(inclusive or not) failed.Creates an error message indicating that an assertion that verifies a group of elements is not empty failed.
Creates an error message indicating that an assertion that verifies that two objects are not equal failed.
Creates an error message that indicates an assertion that verifies that two images should not be
null failed.Creates an error message indicating that an assertion that verifies that an object is not exactly an instance of some type
failed.
Creates an error message indicating that an assertion that verifies that a value is not in a group of values (e.g.
Creates an error message indicating that an assertion that verifies that an object is not an instance of some type failed.
Creates an error message indicating that an assertion that verifies that an object is not an instance of one or more types
failed.
Creates an error message that indicates an assertion that verifies that an object is not
null failed.Creates an error message indicating that an assertion that verifies that an object is not of type in group of types failed.
Creates an error message indicating an assertion that verifies that two objects do not refer to the same object failed.
Creates an error message indicating that an assertion that verifies a group of elements does not contain a given set of values
failed.
Creates an error message indicating that an assertion that verifies a group of elements does not contain a value at a given
index failed.
Creates an error message indicating that an assertion that verifies a map does not contains a key failed.
Creates an error message indicating that an assertion that verifies a group of elements does not contain null elements failed.
Creates an error message indicating that an assertion that verifies that a
String does not contain another
String failed.Creates an error message indicating that an assertion that verifies a map does not contains a value.
Creates an error message indicating that an assertion that verifies that a
File does not exist failed.Creates an error message indicating that an assertion that verifies that a value does not satisfy a
Condition failed.Creates an error message indicating that an assertion that verifies a group of elements is does not have duplicates failed.
Creates an error message indicating that an assertion that verifies that an object has same class as another instance failed.
Creates an error message indicating that an assertion that verifies that a
String does not match a pattern failed.Creates an error message indicating that an assertion that verifies that a group of elements starts with a given value or
sequence of values failed.
Implements
ComparisonStrategy contract with a comparison strategy based on Object.equals(Object) method, it is
also based on Comparable.compareTo(Object) when Object are Comparable method.Assertion methods for
Strings.Reusable assertions for
Strings.A text-based description.
Assertion methods for
Throwables.Reusable assertions for
Throwables.Assertion methods applicable to
Comparables whose implementation of compareTo is not consistent
with their implementation of equals (e.g.Writable information about an assertion.