All Classes Interface Summary Class Summary Exception Summary
| Class |
Description |
| AbstractAssert<S extends AbstractAssert<S,A>,A> |
Base class for all assertions.
|
| AbstractComparableAssert<S extends AbstractComparableAssert<S,A>,A extends java.lang.Comparable<? super A>> |
|
| AbstractComparisonStrategy |
|
| AbstractIterableAssert<S extends AbstractIterableAssert<S,A,T>,A extends java.lang.Iterable<T>,T> |
|
| AbstractShouldHaveTextContent |
Base class for text content error.
|
| AbstractUnevenComparableAssert<S extends AbstractUnevenComparableAssert<S,A>,A extends java.lang.Comparable<? super A>> |
|
| AllOf<T> |
Returns true if all of the joined conditions is satisfied.
|
| AnyOf<T> |
Returns true if any of the joined conditions is satisfied.
|
| ArraySortedAssert<S,E> |
Assertions applicable to primitive arrays or arrays of elements either naturally Comparable or according to a given
Comparator.
|
| ArrayWrapperList |
A list-like wrapper for arrays.
|
| Assert<S,A> |
Base contract of all assertion objects: the minimum functionality that any assertion object should provide.
|
| AssertionErrorFactory |
Factory of AssertionErrors.
|
| AssertionInfo |
Information about an assertion.
|
| Assertions |
Entry point for assertion methods for different data types.
|
| BasicErrorMessageFactory |
A factory of error messages typically shown when an assertion fails.
|
| BigDecimalAssert |
Assertion methods for BigDecimals.
|
| BigDecimalComparator |
A 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.
|
| BigDecimals |
Reusable assertions for BigDecimals.
|
| BinaryDiff |
Compares the binary content of two streams.
|
| BinaryDiffResult |
Value class to hold the result of comparing two binary streams.
|
| BooleanArrayAssert |
Assertion methods for arrays of booleans.
|
| BooleanArrays |
Reusable assertions for arrays of booleans.
|
| BooleanAssert |
Assertion methods for bytes.
|
| Booleans |
Reusable assertions for Booleans.
|
| ByteArrayAssert |
Assertion methods for arrays of bytes.
|
| ByteArrays |
Reusable assertions for arrays of bytes.
|
| ByteAssert |
Assertion methods for bytes.
|
| Bytes |
Reusable assertions for Bytes.
|
| CharacterAssert |
Assertion methods for characters.
|
| Characters |
Reusable assertions for Characters.
|
| CharArrayAssert |
Assertion methods for arrays of chars.
|
| CharArrays |
Reusable assertions for arrays of chars.
|
| ComparableAssert<S,A extends java.lang.Comparable<? super A>> |
Assertion methods applicable to Comparables.
|
| Comparables |
Reusable assertions for Comparables.
|
| ComparatorBasedComparisonStrategy |
|
| 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
|
| Condition<T> |
A condition to be met by an object.
|
| ConditionAndGroupGenericParameterTypeShouldBeTheSame |
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.
|
| Conditions |
|
| DateAssert |
Assertions for Dates.
|
| Dates |
Reusable assertions for Dates.
|
| Descriptable<S> |
An object that has a description.
|
| Description |
The description of a value.
|
| DescriptionFormatter |
Formats the Descriptions to be included in assertion errors.
|
| Diff |
Compares the contents of two files or two streams.
|
| DoesNotHave<T> |
Returns true if the condition is not satisfied.
|
| DoubleArrayAssert |
Assertion methods for arrays of doubles.
|
| DoubleArrays |
Reusable assertions for arrays of doubles.
|
| DoubleAssert |
Assertion methods for doubles.
|
| Doubles |
Reusable assertions for Doubles.
|
| ElementsShouldBe |
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.
|
| ElementsShouldBeAtLeast |
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.
|
| ElementsShouldBeAtMost |
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.
|
| ElementsShouldBeExactly |
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.
|
| ElementsShouldHave |
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.
|
| ElementsShouldHaveAtLeast |
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.
|
| ElementsShouldHaveAtMost |
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.
|
| ElementsShouldHaveExactly |
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.
|
| ElementsShouldNotBe |
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.
|
| ElementsShouldNotBeAtLeast |
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.
|
| ElementsShouldNotBeAtMost |
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.
|
| ElementsShouldNotBeExactly |
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.
|
| ElementsShouldNotHave |
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.
|
| ElementsShouldNotHaveAtLeast |
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.
|
| ElementsShouldNotHaveAtMost |
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.
|
| ElementsShouldNotHaveExactly |
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.
|
| EmptyTextDescription |
A description containing empty text.
|
| EnumerableAssert<S extends EnumerableAssert<S,T>,T> |
Assertions applicable to groups of values that can be enumerated (e.g.
|
| ErrorMessageFactory |
Factory of error messages.
|
| ExtensionPoints<S,A> |
Mechanism for extending assertion classes.
|
| Fail |
Common failures.
|
| Failures |
Failure actions.
|
| FileAssert |
Assertion methods for Files.
|
| Files |
Reusable assertions for Files.
|
| Filters<E> |
Filters the elements of a given Iterable or array according to the specified filter criteria.
|
| FloatArrayAssert |
Assertion methods for arrays of floats.
|
| FloatArrays |
Reusable assertions for arrays of floats.
|
| FloatAssert |
Assertion methods for floats.
|
| FloatingPointNumberAssert<T extends java.lang.Number> |
Assertion methods applicable to floating-point Numbers.
|
| Floats |
Reusable assertions for Floats.
|
| Index |
A positive index.
|
| IndexedObjectEnumerableAssert<S extends IndexedObjectEnumerableAssert<S,T>,T> |
Assertions methods applicable to indexed groups of objects (e.g.
|
| InputStreamAssert |
Assertion methods for InputStreams.
|
| InputStreams |
Reusable assertions for InputStreams.
|
| InputStreamsException |
|
| IntArrayAssert |
Assertion methods for arrays of ints.
|
| IntArrays |
Reusable assertions for arrays of ints.
|
| IntegerAssert |
Assertion methods for integers.
|
| Integers |
Reusable assertions for Integers.
|
| IterableAssert<T> |
Assertion methods for Iterable.
|
| Iterables |
Reusable assertions for Iterables.
|
| Join<T> |
|
| ListAssert<T> |
Assertion methods for Lists.
|
| Lists |
Reusable assertions for Lists.
|
| LongArrayAssert |
Assertion methods for arrays of longs.
|
| LongArrays |
Reusable assertions for arrays of longs.
|
| LongAssert |
Assertion methods for longs.
|
| Longs |
Reusable assertions for Longs.
|
| MapAssert<K,V> |
Assertions for Maps.
|
| MapEntry |
Understands an entry in a Map.
|
| Maps |
Reusable assertions for Maps.
|
| MessageFormatter |
Formats the messages to be included in assertion errors.
|
| Negative<T> |
Inverse the condition.
|
| Not<T> |
Returns true if the condition is not satisfied.
|
| NumberAssert<T extends java.lang.Number> |
Assertion methods applicable to Numbers.
|
| Numbers<NUMBER extends java.lang.Comparable<NUMBER>> |
Base class of reusable assertions for numbers.
|
| ObjectArrayAssert<T> |
Assertion methods for arrays of objects.
|
| ObjectArrays |
Reusable assertions for arrays of objects.
|
| ObjectAssert<T> |
Assertion methods for Objects.
|
| ObjectEnumerableAssert<S extends ObjectEnumerableAssert<S,T>,T> |
Assertions methods applicable to groups of objects (e.g.
|
| Objects |
Reusable assertions for Objects.
|
| Offset<T extends java.lang.Number> |
A positive offset.
|
| Properties<T> |
Extracts the values of a specified property from the elements of a given Iterable or array.
|
| PropertySupport |
Utility methods for properties access.
|
| RealNumbers<NUMBER extends java.lang.Comparable<NUMBER>> |
Base class of reusable assertions for real numbers (float and double).
|
| ShortArrayAssert |
Assertion methods for arrays of shorts.
|
| ShortArrays |
Reusable assertions for arrays of shorts.
|
| ShortAssert |
Assertion methods for shorts.
|
| Shorts |
Reusable assertions for Shorts.
|
| ShouldBe |
Creates an error message indicating that an assertion that verifies that a value satisfies a Condition
failed.
|
| ShouldBeAbsolutePath |
Creates an error message indicating that an assertion that verifies that a File is an absolute path
failed.
|
| ShouldBeAfter |
Creates an error message indicating that an assertion that verifies that a Date is after another one failed.
|
| ShouldBeAfterOrEqualsTo |
Creates an error message indicating that an assertion that verifies that a Date is after or equals to another one
failed.
|
| ShouldBeAtIndex |
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.
|
| ShouldBeBefore |
Creates an error message indicating that an assertion that verifies that a Date is before another one failed.
|
| ShouldBeBeforeOrEqualsTo |
Creates an error message indicating that an assertion that verifies that a Date is before or equals to another one
failed.
|
| ShouldBeBetween |
Creates an error message indicating that an assertion that verifies that a Date is between start - end dates (inclusive
or not) failed.
|
| ShouldBeCloseTo |
Creates an error message indicating that an assertion that verifies that a Date is close to another one from some delta
failed.
|
| ShouldBeDirectory |
Creates an error message indicating that an assertion that verifies that a File is an existing directory
failed.
|
| ShouldBeEmpty |
Creates an error message indicating that an assertion that verifies a group of elements is empty failed.
|
| ShouldBeEqual |
Creates an AssertionError indicating that an assertion that verifies that two objects are equal failed.
|
| ShouldBeEqualIgnoringCase |
Creates an error message indicating that an assertion that verifies that two Strings are equal, ignoring case
considerations, failed.
|
| ShouldBeEqualImages |
Creates an error message that indicates an assertion that verifies that two images are equal failed.
|
| ShouldBeEqualWithinOffset |
Creates an error message indicating that an assertion that verifies that two numbers are equal within a positive offset failed.
|
| ShouldBeExactlyInstanceOf |
Creates an error message indicating that an assertion that verifies that an object is exactly an instance of some type failed.
|
| ShouldBeExecutable |
Creates an error message indicating that an assertion that verifies that a File is executable
failed.
|
| ShouldBeFile |
Creates an error message indicating that an assertion that verifies that a File is an existing file
failed.
|
| ShouldBeGreater |
Creates an error message indicating that an assertion that verifies that a value is greater than another one failed.
|
| ShouldBeGreaterOrEqual |
Creates an error message indicating that an assertion that verifies that a value is greater than or equal to another one
failed.
|
| ShouldBeIn |
Creates an error message indicating that an assertion that verifies that a value is in a group of values (e.g.
|
| ShouldBeInSameDay |
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.
|
| ShouldBeInSameHour |
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.
|
| ShouldBeInSameMillisecond |
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.
|
| ShouldBeInSameMinute |
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.
|
| ShouldBeInSameMonth |
Creates an error message indicating that an assertion that verifies that a Date is in same year and month as another
one failed.
|
| ShouldBeInSameSecond |
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.
|
| ShouldBeInSameYear |
Creates an error message indicating that an assertion that verifies that a Date is in same year as another one failed.
|
| ShouldBeInstance |
Creates an error message indicating that an assertion that verifies that an object is an instance of some type
failed.
|
| ShouldBeInstanceOfAny |
Creates an error message indicating that an assertion that verifies that an object is an instance of one or more types failed.
|
| ShouldBeInTheFuture |
Creates an error message indicating that an assertion that verifies that a Date is in the future failed.
|
| ShouldBeInThePast |
Creates an error message indicating that an assertion that verifies that a Date is in the past failed.
|
| ShouldBeLenientEqualByAccepting |
Creates an AssertionError indicating that an assertion that verifies that two objects are lenient equal by
accepting fields failed.
|
| ShouldBeLenientEqualByIgnoring |
Creates an AssertionError indicating that an assertion that verifies that two objects are lenient equal by
ignoring fields failed.
|
| ShouldBeLess |
Creates an error message indicating that an assertion that verifies that a value is less than another one failed.
|
| ShouldBeLessOrEqual |
Creates an error message indicating that an assertion that verifies that a value is less than or equal to another one failed.
|
| ShouldBeLowerCase |
Creates an error message that indicates an assertion that verifies that a character is lowercase failed.
|
| ShouldBeNullOrEmpty |
Creates an error message indicating that an assertion that verifies a group of elements is null or empty failed.
|
| ShouldBeOfClassIn |
Creates an error message indicating that an assertion that verifies that an object is of type in group of types failed.
|
| ShouldBeReadable |
Creates an error message indicating that an assertion that verifies that a File is readable
failed.
|
| ShouldBeRelativePath |
Creates an error message indicating that an assertion that verifies that a File is a relative path failed.
|
| ShouldBeSame |
Creates an error message indicating that an assertion that verifies that two object refer to same object failed.
|
| ShouldBeSorted |
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.
|
| ShouldBeSubsetOf |
Creates an error message indicating that an assertion that verifies that an Iterable is a subset of an other set
Iterable failed.
|
| ShouldBeToday |
Creates an error message indicating that an assertion that verifies that a Date is today (matching only year, month and
day but not hours).
|
| ShouldBeUpperCase |
Creates an error message that indicates an assertion that verifies that a character is uppercase failed.
|
| ShouldBeWithin |
Creates an error message indicating that an assertion that verifies that a Date is within a year, month, day, ...
|
| ShouldBeWritable |
Creates an error message indicating that an assertion that verifies that a File is writable
failed.
|
| ShouldContain |
Creates an error message indicating that an assertion that verifies a group of elements contains a given set of values failed.
|
| ShouldContainAtIndex |
Creates an error message indicating that an assertion that verifies a group of elements contains a value at a given index
failed.
|
| ShouldContainExactly |
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.
|
| ShouldContainKey |
Creates an error message indicating that an assertion that verifies a map contains a key..
|
| ShouldContainNull |
Creates an error message indicating that an assertion that verifies a group of elements contains a null element failed.
|
| ShouldContainOnly |
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.
|
| ShouldContainSequence |
Creates an error message indicating that an assertion that verifies that a group of elements contains a sequence of values
failed.
|
| ShouldContainString |
Creates an error message indicating that an assertion that verifies that a String contains another String
failed.
|
| ShouldContainStringOnlyOnce |
Creates an error message indicating that an assertion that verifies that a String contains another String only
once failed.
|
| ShouldContainValue |
Creates an error message indicating that an assertion that verifies a map contains a value.
|
| ShouldEndWith |
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.
|
| ShouldExist |
Creates an error message indicating that an assertion that verifies that a File exists failed.
|
| ShouldHave |
Creates an error message indicating that an assertion that verifies that a value satisfies a Condition
failed.
|
| ShouldHaveAtIndex |
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.
|
| ShouldHaveBinaryContent |
Creates an error message indicating that an assertion that verifies that a file has a given binary content failed.
|
| ShouldHaveContent |
Creates an error message indicating that an assertion that verifies that a file has a given text content failed.
|
| ShouldHaveEqualContent |
Creates an error message indicating that an assertion that verifies that two files/inputStreams have equal content failed.
|
| ShouldHaveMessage |
Creates an error message indicating that an assertion that verifies that a Throwable have certain message failed.
|
| ShouldHaveNoCause |
Creates an error message indicating that an assertion that verifies that an Throwable has no cause failed.
|
| ShouldHaveSameClass |
Creates an error message indicating that an assertion that verifies that an object have same class as another instance failed.
|
| ShouldHaveSameSizeAs |
Creates an error message indicating that an assertion that verifies that a value have certain size failed.
|
| ShouldHaveSize |
Creates an error message indicating that an assertion that verifies that a value have certain size failed.
|
| ShouldHaveTime |
Creates an error message indicating that an assertion that verifies that a date have a certain timestamp.
|
| ShouldMatchPattern |
Creates an error message indicating that an assertion that verifies that a String matches a pattern failed.
|
| ShouldNotBe |
Creates an error message indicating that an assertion that verifies that a value does not satisfy a
Condition failed.
|
| ShouldNotBeBetween |
Creates an error message indicating that an assertion that verifies that a Date is not between start - end dates
(inclusive or not) failed.
|
| ShouldNotBeEmpty |
Creates an error message indicating that an assertion that verifies a group of elements is not empty failed.
|
| ShouldNotBeEqual |
Creates an error message indicating that an assertion that verifies that two objects are not equal failed.
|
| ShouldNotBeEqualImages |
Creates an error message that indicates an assertion that verifies that two images should not be null failed.
|
| ShouldNotBeExactlyInstanceOf |
Creates an error message indicating that an assertion that verifies that an object is not exactly an instance of some type
failed.
|
| ShouldNotBeIn |
Creates an error message indicating that an assertion that verifies that a value is not in a group of values (e.g.
|
| ShouldNotBeInstance |
Creates an error message indicating that an assertion that verifies that an object is not an instance of some type failed.
|
| ShouldNotBeInstanceOfAny |
Creates an error message indicating that an assertion that verifies that an object is not an instance of one or more types
failed.
|
| ShouldNotBeNull |
Creates an error message that indicates an assertion that verifies that an object is not null failed.
|
| ShouldNotBeOfClassIn |
Creates an error message indicating that an assertion that verifies that an object is not of type in group of types failed.
|
| ShouldNotBeSame |
Creates an error message indicating an assertion that verifies that two objects do not refer to the same object failed.
|
| ShouldNotContain |
Creates an error message indicating that an assertion that verifies a group of elements does not contain a given set of values
failed.
|
| ShouldNotContainAtIndex |
Creates an error message indicating that an assertion that verifies a group of elements does not contain a value at a given
index failed.
|
| ShouldNotContainKey |
Creates an error message indicating that an assertion that verifies a map does not contains a key failed.
|
| ShouldNotContainNull |
Creates an error message indicating that an assertion that verifies a group of elements does not contain null elements failed.
|
| ShouldNotContainString |
Creates an error message indicating that an assertion that verifies that a String does not contain another
String failed.
|
| ShouldNotContainValue |
Creates an error message indicating that an assertion that verifies a map does not contains a value.
|
| ShouldNotExist |
Creates an error message indicating that an assertion that verifies that a File does not exist failed.
|
| ShouldNotHave |
Creates an error message indicating that an assertion that verifies that a value does not satisfy a
Condition failed.
|
| ShouldNotHaveDuplicates |
Creates an error message indicating that an assertion that verifies a group of elements is does not have duplicates failed.
|
| ShouldNotHaveSameClass |
Creates an error message indicating that an assertion that verifies that an object has same class as another instance failed.
|
| ShouldNotMatchPattern |
Creates an error message indicating that an assertion that verifies that a String does not match a pattern failed.
|
| ShouldStartWith |
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.
|
| StandardComparisonStrategy |
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.
|
| StringAssert |
Assertion methods for Strings.
|
| Strings |
Reusable assertions for Strings.
|
| TextDescription |
A text-based description.
|
| ThrowableAssert |
Assertion methods for Throwables.
|
| Throwables |
Reusable assertions for Throwables.
|
| UnevenComparableAssert<S,T extends java.lang.Comparable<? super T>> |
Assertion methods applicable to Comparables whose implementation of compareTo is not consistent
with their implementation of equals (e.g.
|
| WritableAssertionInfo |
Writable information about an assertion.
|