Uses of Class
org.assertj.core.error.BasicErrorMessageFactory
Packages that use BasicErrorMessageFactory
Package
Description
-
Uses of BasicErrorMessageFactory in org.assertj.core.error
Subclasses of BasicErrorMessageFactory in org.assertj.core.errorModifier and TypeClassDescriptionclass
Base class for text content error.class
class
class
Error message factory for an assertion which checks that a class has (or has not) a specific modifier.class
Creates an error message indicating that an assertion that verifies type of elements of group andCondition
A group of elements can be a collection, an array.class
Creates an error message indicating that an assertion that verifies that each element of a group satisfies aCondition
A group of elements can be a collection, an array.class
Creates an error message indicating that an assertion that verifies elements of a group satisfies at least n times aCondition
A group of elements can be a collection, an array.class
Creates an error message indicating that an assertion that verifies elements of a group satisfies at most n times aCondition
A group of elements can be a collection, an array.class
Creates an error message indicating that an assertion that verifies elements of a group satisfies exactly n times aCondition
A group of elements can be a collection, an array.class
Creates an error message indicating that an assertion that verifies that each element of a group satisfies aCondition
A group of elements can be a collection, an array.class
Creates an error message indicating that an assertion that verifies elements of a group satisfies at least n times aCondition
A group of elements can be a collection, an array.class
Creates an error message indicating that an assertion that verifies elements of a group satisfies at most n times aCondition
A group of elements can be a collection, an array.class
Creates an error message indicating that an assertion that verifies elements of a group satisfies exactly n times aCondition
A group of elements can be a collection, an array.class
class
Creates an error message indicating that an assertion that not verifies that each element of a group satisfies aCondition
A group of elements can be a collection, an array.class
Creates an error message indicating that an assertion that verifies that each element of a group satisfies aCondition
A group of elements can be a collection, an array.class
class
Build error message when anMatcher
should match.class
class
class
Build error message when anOptionalDouble
should have a specific value close to an offset.class
Build error message when anOptionalDouble
should be close to an expected value within a positive percentage.class
Build error message when anOptional
should be empty.class
Build error message when a value should be present in anOptional
.class
Build error message when anOptional
,OptionalDouble
,OptionalInt
orOptionalLong
should contain a specific value.class
Build an error message when a value should be instance of a specific class.class
Creates an error message indicating that an assertion that verifies that
accepts a value failed.Predicate
class
Creates an error message indicating that an assertion that verifies that a value satisfies a
failed.Condition
class
class
class
Creates an error message indicating that an assertion that verifies that aDate
is after another one failed.class
Creates an error message indicating that an assertion that verifies that anObject
is after or equal to another one failed.class
Creates an error message indicating that an assertion that verifies that aDate
is after given year failed.class
class
class
Creates an error message indicating that a group of elements should have been an array.class
Creates an error message indicating that an assertion that verifies that a class is (or not) an annotation.class
class
Creates an error message indicating that an assertion that verifies that a class is assignable from.class
Creates an error message indicating that an assertion that verifies that a class is assignable to.class
Creates an error message indicating that an assertion that verifies a group of elements contains a value at a given index that satisfies a
failed.Condition
class
Creates an error message indicating that an assertion that verifies that twoOffsetDateTimes
have the sameInstant
, failed.class
Creates an error message that indicates an assertion that verifies that a string is a valid Base64 encoded string failed.class
Creates an error message indicating that an assertion that verifies that aObject
is before another one failed.class
Creates an error message indicating that an assertion that verifies that anObject
is before or equal to another one failed.class
Creates an error message indicating that an assertion that verifies that aDate
is before given year failed.class
Creates an error message indicating that an assertion that verifies that a value is between a start and an end (inclusive or not) failed.class
Creates an error message indicating that an assertion that verifies aCharSequence
is blank.class
Creates an error message indicating that an assertion that verifies that aPath
is canonical has failed.class
Creates an error message indicating that an assertion that verifies that aDate
is close to another one from some delta failed.class
class
Creates an error message indicating that an assertion that verifies a group of elements is empty failed.class
class
class
Creates an
indicating that an assertion that verifies that two objects are lenient equal by accepting fields failed.AssertionError
class
Creates an error message indicating that an assertion that verifies that twoCharSequence
s are equal, ignoring case considerations, failed.class
Creates an error message indicating that an assertion that verifies that twoZonedDateTime
have same year, month, and day fields failed.class
Creates an error message indicating that an assertion that verifies that twoZonedDateTime
have same year, month, day and hour fields failed.class
Creates an error message indicating that an assertion that verifies that : twoZonedDateTime
,LocalDateTime
have same year, month, day, hour, minute and second failed. twoLocalTime
have same hour, minute and second failed. twoOffsetTime
have same hour, minute and second failed.class
class
class
Creates an error message indicating that an assertion that verifies that twoZonedDateTime
have same year, month, day, hour and minute failed.class
Creates an error message indicating that an assertion that verifies that twoOffsetTime
have same time fields except the timezone.class
Creates an error message indicating that an assertion that verifies that twoCharSequence
s are equal, ignoring whitespace differences, failed.class
Creates an error message indicating that an assertion that verifies that twoCharSequence
s are equal, after the punctuation of both strings have been normalized, failed.class
Creates an error message indicating that an assertion that verifies that twoCharSequence
s are equal, on their canonical form relying onNormalizer
, failed.class
Creates an error message indicating that an assertion that verifies that twoCharSequence
s are equal, after the whitespace of both strings has been normalized, failed.class
Creates an
indicating that an assertion that verifies that two objects are lenient equal by ignoring fields failed.AssertionError
class
Creates an error message indicating that an assertion that verifies that two numbers are equal within a positive offset failed.class
Creates an error message indicating that an assertion that verifies that two numbers are equal within a positive percentage failed.class
Creates an
indicating that an assertion that verifies that two dates are equals up to a given precision failed.AssertionError
class
Creates an error message that indicates an assertion that verifies that a whole number is even failed.class
Creates an error message indicating that an assertion that verifies that an object is exactly an instance of some type failed.class
Creates an error message indicating that an assertion that verifies that a
is executable failed.File
class
Creates an error message indicating that an assertion that verifies that anIterator
has no more elements failed.class
class
Creates an error message indicating that an assertion that verifies that a
is an existing file failed.File
class
class
Creates an error message indicating that an assertion that verifies that a value is greater than another one failed.class
Creates an error message indicating that an assertion that verifies that a value is greater than or equal to another one failed.class
class
Creates an error message indicating that an assertion that verifies that a value is in a group of values (e.g.class
class
Creates an error message indicating that an assertion that verifies that aDate
is in same year, month and day of month as another one failed.class
Creates an error message indicating that an assertion that verifies that aDate
is in same year, month, day of month and hour as another one failed.class
Creates an error message indicating that an assertion that verifies that aDate
is in same hour window as another one failed.class
Creates an error message indicating that an assertion that verifies that aDate
is in same year, month, day of month, hour and minute as another one failed.class
Creates an error message indicating that an assertion that verifies that aDate
is in minute window as another one failed.class
Creates an error message indicating that an assertion that verifies that aDate
is in same year and month as another one failed.class
Creates an error message indicating that an assertion that verifies that aDate
is in same year, month, day of month, hour, minute and second as another one failed.class
Creates an error message indicating that an assertion that verifies that aDate
is in second window as another one failed.class
Creates an error message indicating that an assertion that verifies that aDate
is in same year as another one failed.class
Creates an error message indicating that an assertion that verifies that an object is an instance of some type failed.class
Creates an error message indicating that an assertion that verifies that an object is an instance of one or more types failed.class
Creates an error message indicating that an assertion that verifies that a class is (or not) an interface.class
class
class
Creates an error message indicating that an assertion that verifies that a value is less than another one failed.class
Creates an error message indicating that an assertion that verifies that a value is less than or equal to another one failed.class
Creates an error message that indicates an assertion that verifies that a character is lowercase failed.class
class
Creates an error message that indicates an assertion that verifies that aCharSequence
is mixed case failed.class
Assertion error message delivered when aPath
is not normalizedclass
Creates an error message indicating that an assertion that verifies a group of elements isnull
or empty failed.class
Creates an error message that indicates an assertion that cast string to a number (byte, short, integer, long, float or double) failed.class
Creates an error message that indicates an assertion that verifies that a whole number is odd failed.class
Creates an error message indicating that an assertion that verifies that an object is of type in group of types failed.class
class
Creates an error message indicating that an assertion that verifies that a class is (or not) a primitive data type, i.e, byte, short, int, long, float, double, char and boolean.class
class
class
Creates an error message indicating that an assertion that verifies that a class is (or not) a record.class
Creates an error message indicating that an assertion that verifies that aPath
is a regular file has failed.class
class
Creates an error message indicating that an assertion that verifies that two object refer to same object failed.class
Creates an error message indicating that an assertion that verifies that a class is (or not) sealed.class
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.class
Creates an error message indicating that an assertion that verifies that anIterable
is a subset of an other setIterable
failed.class
class
Creates an error message indicating that an assertion that verifies that aPath
is a regular file has failed.class
Creates an error message indicating that an assertion that verifies that aDate
is today (matching only year, month and day but not hours).class
class
class
Creates an error message that indicates an assertion that verifies that a character is uppercase failed.class
class
Creates an error message indicating that an assertion that verifies that a
is writable failed.File
class
Creates an error message indicating that an assertion that verifies a group of elements contains a given set of values failed.class
class
Creates an error message indicating that an assertion that verifies a group of elements contains a value at a given index failed.class
Creates an error message indicating that an assertion that verifies that aCharSequence
contains anotherCharSequence
failed.class
Creates an error message indicating that an assertion that verifies that aCharSequence
contains anotherCharSequence
only once failed.class
class
Creates an error message indicating that an assertion that verifies a map contains an entry..class
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.class
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.class
Creates an error message indicating that an assertion that verifies a map contains a key..class
Creates an error message indicating that an assertion that verifies a map contains a key..class
Creates an error message indicating that an assertion that verifies a group of elements contains a null element failed.class
Creates an error message indicating that an assertion that verifies that aCharSequence
contains one or more whitespaces.class
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.class
Creates an error message indicating that an assertion that verifies a CharSequence contains only digits failed.class
Creates an error message indicating that an assertion that verifies map contains only a given set of keys and nothing else failed.class
Creates an error message indicating that an assertion that verifies a group of elements contains only null elements failed.class
Creates an error message indicating that an assertion that verifies aCharSequence
contains only whitespaces.class
Creates an error message indicating that an assertion that verifies that aCharSequence
contains a pattern failed.class
Creates an error message indicating that an assertion that verifies a group of elements contains recursively a given set of values failed.class
Creates an error message indicating that an assertion that verifies that a group of elements contains a sequence of values failed.class
Creates an error message indicating that an assertion that verifies that aCharSequence
contains a Sequence of severalCharSequence
s in order failed.class
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.class
Creates an error message indicating that an assertion that verifies that a group of elements contains a subsequence of values failed.class
Creates an error message indicating that an assertion that verifies that aCharSequence
contains a Subsequence of severalCharSequence
s in order failed.class
Creates an error message indicating that an assertion that verifies a map contains a value.class
Creates an error message indicating that an assertion that verifies a map contains a values.class
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.class
Creates an error message indicating that an assertion that verifies thatCharSequence
ends with a given value (ignoring case considerations) failed.class
class
class
Creates an error message indicating that an assertion that verifies that a value satisfies a
failed.Condition
class
Creates an
indicating that an assertion that verifies that an object has null fields failed.AssertionError
class
Creates an error message indicating that an assertion that verifies that a class has annotations failed.class
Creates an error message indicating that an assertion that verifies a group of elements contains a value at a given index that satisfies a
failed.Condition
class
Creates an error message indicating that a group does not have an element of the given type.class
Creates an error message indicating that an assertion that verifies that a file/path has a given binary content failed.class
class
Creates an error message indicating that an assertion that verifies that aThrowable
have a cause exactly instance of a certain type.class
Creates an error message indicating that an assertion that verifies that aThrowable
have a cause instance of a certain type.class
class
Creates an error message indicating that an assertion that verifies that a file/path has a given text content failed.class
Creates an error message indicating that an assertion that verifies that aDate
has a year, month, day, ...class
Creates an error message indicating that an assertion that verifies that file/inputStream/path have digest failed.class
class
class
class
Creates an error message indicating that aFile
or aPath
should have extension.class
Creates an error message indicating that an assertion that verifies that a class have field.class
Creates an error message indicating that an assertion that verifies theFileSystem
for a given path does not match a given file system.class
Creates an error message indicating that an assertion that verifies that a value have certain number of lines failed.class
Creates an error message indicating that an assertion that verifies that aThrowable
have certain message failed.class
Creates an error message indicating that an assertion that verifies that aCharSequence
matches given regular expression.class
Creates an error message indicating that an assertion that verifies that aCharSequence
matches given regular expression.class
Creates an error message indicating that an assertion that verifies that a class have methods.class
Creates an error message indicating that aFile
should have name.class
Creates an error message indicating that an assertion that verifies that anIterator
has a next element failed.class
Creates an error message indicating that an assertion that verifies that anThrowable
has no cause failed.class
Creates an error message indicating that aPath
should have no extension.class
class
Creates an
indicating that an assertion that verifies that an object has no null fields failed.AssertionError
class
Creates an error message indicating that an assertion that verifies that a class has no package failed.class
Creates an error message when aFile
should not have a parent.class
Creates an error message indicating that an assertion that verifies that a class has no superclass failed.class
Creates an error message indicating that an assertion that verifies that aThrowable
has no suppressed exceptions failed.class
Creates an error message indicating that a group does not have an element of the given type.class
Creates an error message indicating that aClass
should have a given package.class
Creates an error message indicating that aFile
should have a parent.class
class
Creates an error message indicating that an assertion that verifies that a class has a given field/property.class
Creates an error message indicating that an assertion that verifies that a class has a field/property with a value.class
Creates an error message indicating that an assertion that verifies that a class has record components failed.class
class
class
Creates an error message indicating that an assertion that verifies that aThrowable
have a root cause exactly instance of a certain type.class
Creates an error message indicating that an assertion that verifies that aThrowable
have a root cause instance of a certain type.class
Creates an error message indicating that an assertion that verifies that an object have same class as another instance failed.class
Creates an error message indicating that an assertion that verifies that two files/inputStreams/paths have same content failed.class
class
Creates an error message indicating that an assertion that verifies theFileSystem
for a given path does not match a given path's file system.class
class
Creates an error message indicating that an assertion that verifies that twoZonedDateTime
have same year, month, day and hour fields failed.class
Creates an error message indicating that an assertion that verifies that a value have certain size failed.class
Creates an error message indicating that an assertion that verifies that a date has same time as other date.class
class
Creates an error message indicating that an assertion that verifies that a value have certain size failed.class
Creates an error message indicating that an assertion - that verifies that size of a value is between two given values - failed.class
Creates an error message indicating that an assertion that verifies a minimum size failed.class
Creates an error message indicating that an assertion that verifies a minimum size failed.class
Creates an error message indicating that an assertion that verifies a maximum size failed.class
Creates an error message indicating that an assertion that verifies a maximum size failed.class
class
Creates an error message indicating that an assertion that verifies that a class has a given superclass failed.class
Creates an error message indicating that an assertion that verifies that aThrowable
has a given suppressed exception failed.class
Creates an error message indicating that an assertion that verifies that a date have a certain timestamp.class
class
class
Creates an error message indicating that an assertion that verifies that a value satisfies a
failed.Predicate
class
Creates an error message indicating that an assertion that verifies that aCharSequence
matches a pattern failed.class
Creates an error message indicating that an assertion that verifies that
not accepting a value failed.Predicate
class
Creates an error message indicating that an assertion that verifies that a value does not satisfy a
failed.Condition
class
Creates an error message indicating that an assertion that verifies that aDate
is not between start - end dates (inclusive or not) failed.class
Creates an error message indicating that an assertion that verifiesCharSequence
is not blank.class
Creates an error message indicating that an assertion that verifies a group of elements is not empty failed.class
Creates an error message indicating that an assertion that verifies that two objects are not equal failed.class
class
Creates an error message indicating that an assertion that verifies that twoCharSequence
s are not equal, ignoring case considerations, failed.class
Creates an error message indicating that an assertion that verifies that twoCharSequence
s are not equal, ignoring whitespace differences, failed.class
Creates an error message indicating that an assertion that verifies that twoCharSequence
s are not equal, after the whitespace of both strings has been normalized, failed.class
Creates an error message indicating that an assertion that verifies that two numbers are not equal within a positive offset failed.class
Creates an error message indicating that an assertion that verifies that two numbers are not equal within a positive percentage failed.class
Creates an error message indicating that an assertion that verifies that an object is not exactly an instance of some type failed.class
class
Creates an error message indicating that an assertion that verifies that a value is not in a group of values (e.g.class
class
Creates an error message indicating that an assertion that verifies that an object is not an instance of some type failed.class
Creates an error message indicating that an assertion that verifies that an object is not an instance of one or more types failed.class
Creates an error message that indicates an assertion that verifies that an object is notnull
failed.class
Creates an error message indicating that an assertion that verifies that an object is not of type in group of types failed.class
Creates an error message indicating that an assertion that verifies that a class is (or not) a primitive data type, i.e, byte, short, int, long, float, double, char and boolean.class
Creates an error message indicating an assertion that verifies that two objects do not refer to the same object failed.class
Creates an error message indicating that an assertion that verifies a group of elements does not contain a given set of values failed.class
Creates an error message indicating that an assertion that verifies that aCharSequence
does not contain whitespace characters.class
Creates an error message indicating that an assertion that verifies a group of elements does not contain a value at a given index failed.class
Creates an error message indicating that an assertion that verifies that aCharSequence
does not contain anotherCharSequence
failed.class
Creates an error message indicating that an assertion that verifies a map does not contains a key failed.class
Creates an error message indicating that an assertion that verifies a map does not contain keys.class
Creates an error message indicating that an assertion that verifies a group of elements does not contain null elements failed.class
Creates an error message indicating that an assertion that verifiesCharSequence
is not blank.class
Creates an error message indicating that an assertion that verifies that aCharSequence
does not contain a regular expression failed.class
Creates an error message indicating that an assertion that verifies that a group of elements does not contain a sequence of values failed.class
Creates an error message indicating that an assertion that verifies that a group of elements does not contains a subsequence of values failed.class
Creates an error message indicating that an assertion that verifies a map does not contains a value.class
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.class
Creates an error message indicating that an assertion that verifies thatCharSequence
does not end with a given value (ignoring case considerations) failed.class
class
Creates an error message indicating that an assertion that verifies that a value does not satisfy a
failed.Condition
class
class
Creates an error message indicating that an assertion that verifies a group of elements is does not have duplicates failed.class
Creates an error message indicating that an assertion that verifies that an object has same class as another instance failed.class
class
class
class
Creates an error message indicating that an assertion that verifies that a value not satisfying a
failed.Predicate
class
Creates an error message indicating that an assertion that verifies that aCharSequence
does not match a pattern failed.class
class
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.class
Creates an error message indicating that an assertion that verifiesCharSequence
does not start with a given value (ignoring case considerations) failed.class
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.class
Creates an error message indicating that an assertion that verifies that a class has only the fields.class
class
Creates an error message indicating that an assertion that verifies that requirements are not satisfied only once.class
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.class
Creates an error message indicating that an assertion that verifiesCharSequence
starts with a given value (ignoring case considerations) failed.class
class
Creates an error message indicating that an assertion that verifies that some subarray (in multidimensional arrays) has certain size failed.class
Methods in org.assertj.core.error that return BasicErrorMessageFactoryModifier and TypeMethodDescriptionstatic BasicErrorMessageFactory
ShouldBePrimitive.shouldBePrimitive
(Class<?> actual) Creates a new instance of
.ShouldBePrimitive
static BasicErrorMessageFactory
ShouldNotBePrimitive.shouldNotBePrimitive
(Class<?> actual) Creates a new instance of
.ShouldNotBePrimitive
-
Uses of BasicErrorMessageFactory in org.assertj.core.error.array2d
Subclasses of BasicErrorMessageFactory in org.assertj.core.error.array2dModifier and TypeClassDescriptionclass
Creates an
indicating that an assertion that verifies that two 2D arrays are deeply equal failed.AssertionError
-
Uses of BasicErrorMessageFactory in org.assertj.core.error.future
Subclasses of BasicErrorMessageFactory in org.assertj.core.error.futureModifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
-
Uses of BasicErrorMessageFactory in org.assertj.core.error.uri
Subclasses of BasicErrorMessageFactory in org.assertj.core.error.uriModifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
-
Uses of BasicErrorMessageFactory in org.assertj.guava.error
Subclasses of BasicErrorMessageFactory in org.assertj.guava.errorModifier and TypeClassDescriptionclass
Creates an error message stating that a given value appears in aMultiset
fewer times than expectedclass
Creates an error message stating that a given value appears in aMultiset
more times than expectedclass
Creates an error message stating that a given value appears in aMultiset
a different number of to the expected valuefinal class
Creates an error message indicating that an Optional which should be absent is actually presentfinal class
Creates an error message indicating that an Optional which should be present is absentfinal class
Creates an error message indicating that an Optional should contain an expected valueclass
Creates an error message indicating that the givenRangeSet
does not enclose neither another oneRangeSet
nor some set ofRange
.class
Creates an error message indicating that the givenRangeSet
does not enclose at lease one element of expected objects.class
Creates an error message indicating that the givenRangeSet
does not intersect either another oneRangeSet
or some set ofRange
.class
Creates an error message indicating that the givenRangeSet
does not intersect at lease one element of expected objects.class
class
class
class
class
class
class
class
class
Creates an error message indicating that an assertion that verifies a map contains some keys failed.class
Creates an error message indicating that an assertion that verifies a map contains some values failed.class
class
Creates an error message indicating that an assertion that verifies that a value have certain size failed.class
class
class
class
class