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
AssertionError
s.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
BigDecimal
s.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
BigDecimal
s.Compares the binary content of two streams.
Value class to hold the result of comparing two binary streams.
Assertion methods for arrays of
boolean
s.Reusable assertions for arrays of
boolean
s.Assertion methods for bytes.
Reusable assertions for
Boolean
s.Assertion methods for arrays of
byte
s.Reusable assertions for arrays of
byte
s.Assertion methods for bytes.
Reusable assertions for
Byte
s.Assertion methods for characters.
Reusable assertions for
Character
s.Assertion methods for arrays of
char
s.Reusable assertions for arrays of
char
s.Assertion methods applicable to
Comparable
s.Reusable assertions for
Comparable
s.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
Date
s.Reusable assertions for
Date
s.An object that has a description.
The description of a value.
Formats the
Description
s 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
double
s.Reusable assertions for arrays of
double
s.Assertion methods for doubles.
Reusable assertions for
Double
s.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
File
s.Reusable assertions for
File
s.Filters the elements of a given
Iterable
or array according to the specified filter criteria.Assertion methods for arrays of
float
s.Reusable assertions for arrays of
float
s.Assertion methods for floats.
Assertion methods applicable to floating-point
Number
s.Reusable assertions for
Float
s.A positive index.
Assertions methods applicable to indexed groups of objects (e.g.
Assertion methods for
InputStream
s.Reusable assertions for
InputStream
s.Exception thrown by
InputStreams
.Assertion methods for arrays of
int
s.Reusable assertions for arrays of
int
s.Assertion methods for integers.
Reusable assertions for
Integer
s.Assertion methods for
Iterable
.Reusable assertions for
Iterable
s.Join of two or more
Condition
s.Assertion methods for
List
s.Reusable assertions for
List
s.Assertion methods for arrays of
long
s.Reusable assertions for arrays of
long
s.Assertion methods for longs.
Reusable assertions for
Long
s.Assertions for
Map
s.Understands an entry in a
Map
.Reusable assertions for
Map
s.Formats the messages to be included in assertion errors.
Inverse the condition.
Returns
true
if the condition is not satisfied.Assertion methods applicable to
Number
s.Base class of reusable assertions for numbers.
Assertion methods for arrays of objects.
Reusable assertions for arrays of objects.
Assertion methods for
Object
s.Assertions methods applicable to groups of objects (e.g.
Reusable assertions for
Object
s.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
short
s.Reusable assertions for arrays of
short
s.Assertion methods for shorts.
Reusable assertions for
Short
s.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
String
s 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
String
s.Reusable assertions for
String
s.A text-based description.
Assertion methods for
Throwable
s.Reusable assertions for
Throwable
s.Assertion methods applicable to
Comparable
s whose implementation of compareTo
is not consistent
with their implementation of equals
(e.g.Writable information about an assertion.