|
Class Summary |
| AbstractShouldHaveTextContent |
Base class for text content error. |
| BasicErrorMessageFactory |
A factory of error messages typically shown when an assertion fails. |
| 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.
|
| DescriptionFormatter |
Formats the Descriptions to be included in assertion errors. |
| 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.
|
| MessageFormatter |
Formats the messages to be included in assertion errors. |
| 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. |
| 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. |
| ShouldBeEqualColors |
Creates an error message indicating that an assertion that verifies that a two colors are equal at a given point fails. |
| 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. |
| 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. |
| 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. |
| 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. |