Package org.assertj.core.error


package org.assertj.core.error
  • Class
    Description
    Base class for text content error.
    Factory of AssertionErrors.
    A factory of error messages typically shown when an assertion fails.
    To avoid quoted String in message format.
    Creates an error message indicating that an assertion that verifies that a class is (or is not) final.
    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.
    Access to constructors using Java reflection.
     
    Formats the Descriptions to be included in assertion errors.
    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 verifies that each element of a group satisfies a Condition A group of elements can be a collection, an array.
     
    Factory of error messages.
    Formats the messages to be included in assertion errors.
     
    Build error message when an OptionalDouble should have a specific value close to an offset.
    Build error message when an Optional should be empty.
    Build error message when a value should be present in an Optional.
    Build error message when an Optional, OptionalDouble, OptionalInt or OptionalLong should contain a specific value.
    Build an error message when a value should be instance of a specific class.
    Creates an error message indicating that an assertion that verifies that Predicate accepts a value 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 that a File or Path 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 that a Date is after given year failed.
    Creates an error message indicating that a group of elements should have been an array.
    Creates an error message indicating that an assertion that verifies that a class is (or not) an annotation.
    Creates an error message indicating that an assertion that verifies that a class is assignable from.
    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 Object is before another one failed.
    Creates an error message indicating that an assertion that verifies that a Object is before or equals to another one failed.
    Creates an error message indicating that an assertion that verifies that a Date is before given year 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 CharSequence is Null, empty or contains only whitespace.
    Creates an error message indicating that an assertion that verifies that a Path is canonical has 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 or Path 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 AssertionError indicating that an assertion that verifies that two objects are lenient equal by accepting fields failed.
    Creates an error message indicating that an assertion that verifies that two CharSequences are equal, ignoring case considerations, failed.
    Creates an error message indicating that an assertion that verifies that two ZonedDateTime have same year, month, and day fields failed.
    Creates an error message indicating that an assertion that verifies that two ZonedDateTime have same year, month, day and hour fields failed.
    Creates an error message indicating that an assertion that verifies that : two ZonedDateTime, LocalDateTime have same year, month, day, hour, minute and second failed. two LocalTime have same hour, minute and second failed. two OffsetTime have same hour, minute and second failed.
     
    Creates an error message indicating that an assertion that verifies that two ZonedDateTime have same year, month, day, hour and minute failed.
    Creates an error message indicating that an assertion that verifies that two OffsetTime have same time fields except the timezone.
    Creates an error message indicating that an assertion that verifies that two CharSequences are equal, ignoring whitespace differences, failed.
    Creates an error message indicating that an assertion that verifies that two CharSequences are equal, after the whitespace of both strings has been normalized, 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 two numbers are equal within a positive offset failed.
    Creates an error message indicating that an assertion that verifies that two numbers are equal within a positive percentage failed.
    Creates an AssertionError indicating that an assertion that verifies that two dates are equals up to a given precision 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 hour window 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 minute window 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 second window 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 class is (or not) an interface.
    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 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.
     
    Assertion error message delivered when a Path is not normalized
    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 or a a Path is readable failed.
    Creates an error message indicating that an assertion that verifies that a Path is a regular file has failed.
    Creates an error message indicating that an assertion that verifies that a File or a Path 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.
    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 Path is a regular file has 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 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 that a CharSequence contains another CharSequence failed.
    Creates an error message indicating that an assertion that verifies that a CharSequence contains another CharSequence only once failed.
    Creates an error message indicating that an assertion that verifies that a CharSequence contains a sequence of several CharSequences in order failed.
    Creates an error message indicating that an assertion that verifies a map contains an entry..
    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 group of elements contains exactly a given set of values and nothing else failed.
     
    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 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 a CharSequence contains only digits failed.
    Creates an error message indicating that an assertion that verifies map contains only a given set of keys and nothing else failed.
    Creates an error message indicating that an assertion that verifies that a CharSequence contains a pattern 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 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 subsequence of values 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 a map contains a values.
    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 or Path 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 that a class have an annotation.
    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 a group does not have an element of the given type.
    Creates an error message indicating that an assertion that verifies that a file/path has a given binary content failed.
     
    Creates an error message indicating that an assertion that verifies that a Throwable have a cause exactly instance of a certain type.
    Creates an error message indicating that an assertion that verifies that a Throwable have a cause instance of a certain type.
    Creates an error message indicating that an assertion that verifies that a file/path has a given text content failed.
    Creates an error message indicating that an assertion that verifies that a Date has a year, month, day, ...
    Creates an error message indicating that a File should have extension.
    Creates an error message indicating that an assertion that verifies that a class have field.
    Creates an error message indicating that an assertion that verifies that a value have certain number of lines 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 a CharSequence matches given regular expression.
    Creates an error message indicating that an assertion that verifies that a class have methods.
    Creates an error message indicating that a File should have name.
    Creates an error message indicating that an assertion that verifies that an Throwable has no cause failed.
     
    Creates an AssertionError indicating that an assertion that verifies that an object has no null fields failed.
    Creates an error message when a File should not have a parent.
    Creates an error message indicating that an assertion that verifies that a Throwable has no suppressed exceptions failed.
    Creates an error message indicating that a group does not have an element of the given type.
    Creates an error message indicating that a File should have a parent.
    Creates an error message indicating that an assertion that verifies that a class has a given field/property.
    Creates an error message indicating that an assertion that verifies that a class has a field/property with a value.
     
    Creates an error message indicating that an assertion that verifies that a Throwable have a root cause exactly instance of a certain type.
    Creates an error message indicating that an assertion that verifies that a Throwable have a root cause instance of a certain type.
    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 two files/inputStreams/paths have same content failed.
    Creates an error message indicating that an assertion that verifies that two ZonedDateTime have same year, month, day and hour fields 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 has same time as other date.
    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 Throwable has a given suppressed exception 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 value satisfies a Predicate failed.
    Creates an error message indicating that an assertion that verifies that a CharSequence matches a pattern failed.
    Creates an error message indicating that an assertion that verifies that Predicate not accepting a value 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 CharSequence is not Null, not empty or contains not only whitespace.
    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 indicating that an assertion that verifies that two CharSequences are not equal, ignoring case considerations, failed.
    Creates an error message indicating that an assertion that verifies that two CharSequences are not equal, ignoring whitespace differences, failed.
    Creates an error message indicating that an assertion that verifies that two CharSequences are not equal, after the whitespace of both strings has been normalized, failed.
    Creates an error message indicating that an assertion that verifies that two numbers are not equal within a positive offset failed.
    Creates an error message indicating that an assertion that verifies that two numbers are not equal within a positive percentage 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 that a CharSequence does not contain another CharSequence 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 map does not contain keys.
    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 CharSequence does not contain a regular expression failed.
    Creates an error message indicating that an assertion that verifies that a group of elements does not contain a sequence of values failed.
    Creates an error message indicating that an assertion that verifies that a group of elements does not contains a subsequence of values 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 group of elements does not end with a given value or sequence of values failed.
    Creates an error message indicating that an assertion that verifies that a File or Path 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 value not satisfying a Predicate failed.
    Creates an error message indicating that an assertion that verifies that a CharSequence does not match a pattern failed.
    Creates an error message indicating that an assertion that verifies that a group of elements does not start with a given value or sequence of values failed.
    Creates an error message indicating that an assertion that verifies a group of elements contains elements that are not an instance of one of the given types.
    Creates an error message indicating that an assertion that verifies that a class has only the fields.
     
    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.