| Package | Description |
|---|---|
| org.assertj.core.error | |
| org.assertj.core.error.future | |
| org.assertj.core.error.uri |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractShouldHaveTextContent
Base class for text content error.
|
class |
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. |
class |
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. |
class |
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. |
class |
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. |
class |
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. |
class |
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. |
class |
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. |
class |
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. |
class |
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. |
class |
ElementsShouldMatch |
class |
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. |
class |
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. |
class |
ElementsShouldSatisfy |
class |
NoElementsShouldMatch |
class |
OptionalDoubleShouldHaveValueCloseTo
Build error message when an
OptionalDouble should have a specific value close to an offset. |
class |
OptionalShouldBeEmpty
Build error message when an
Optional should be empty. |
class |
OptionalShouldBePresent
Build error message when a value should be present in an
Optional. |
class |
OptionalShouldContain
Build error message when an
Optional, OptionalDouble, OptionalInt or OptionalLong
should contain a specific value. |
class |
OptionalShouldContainInstanceOf
Build an error message when a value should be instance of a specific class.
|
class |
ShouldAccept
Creates an error message indicating that an assertion that verifies that
accepts a value failed. |
class |
ShouldBe
Creates an error message indicating that an assertion that verifies that a value satisfies a
failed. |
class |
ShouldBeAbsolutePath
|
class |
ShouldBeAfter
Creates an error message indicating that an assertion that verifies that a
Date is after another one failed. |
class |
ShouldBeAfterOrEqualsTo
Creates an error message indicating that an assertion that verifies that a
Date is after or equals to another
one
failed. |
class |
ShouldBeAfterYear
Creates an error message indicating that an assertion that verifies that a
Date is after given year failed. |
class |
ShouldBeAnArray
Creates an error message indicating that a group of elements should have been an array.
|
class |
ShouldBeAnnotation
Creates an error message indicating that an assertion that verifies that a class is (or not) an annotation.
|
class |
ShouldBeAssignableFrom
Creates an error message indicating that an assertion that verifies that a class is assignable from.
|
class |
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
failed. |
class |
ShouldBeBefore
Creates an error message indicating that an assertion that verifies that a
Object is before another one failed. |
class |
ShouldBeBeforeOrEqualsTo
Creates an error message indicating that an assertion that verifies that a
Object is before or equals to another one
failed. |
class |
ShouldBeBeforeYear
Creates an error message indicating that an assertion that verifies that a
Date is before given year failed. |
class |
ShouldBeBetween
Creates an error message indicating that an assertion that verifies that a
Date is between start - end dates (inclusive
or not) failed. |
class |
ShouldBeBlank
Creates an error message indicating that an assertion that verifies
CharSequence is Null,
empty or contains only whitespace. |
class |
ShouldBeCanonicalPath
Creates an error message indicating that an assertion that verifies that a
Path is canonical has failed. |
class |
ShouldBeCloseTo
Creates an error message indicating that an assertion that verifies that a
Date is close to another one from some delta
failed. |
class |
ShouldBeDirectory
|
class |
ShouldBeEmpty
Creates an error message indicating that an assertion that verifies a group of elements is empty failed.
|
class |
ShouldBeEqualByComparingFieldByFieldRecursively |
class |
ShouldBeEqualByComparingOnlyGivenFields
Creates an
indicating that an assertion that verifies that two objects are
lenient equal by accepting fields failed. |
class |
ShouldBeEqualIgnoringCase
Creates an error message indicating that an assertion that verifies that two
CharSequences are equal, ignoring case
considerations, failed. |
class |
ShouldBeEqualIgnoringHours
Creates an error message indicating that an assertion that verifies that two
ZonedDateTime have same year,
month, and day fields failed. |
class |
ShouldBeEqualIgnoringMinutes
Creates an error message indicating that an assertion that verifies that two
ZonedDateTime have same year,
month, day and hour fields failed. |
class |
ShouldBeEqualIgnoringNanos
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.
|
class |
ShouldBeEqualIgnoringSeconds
Creates an error message indicating that an assertion that verifies that two
ZonedDateTime have same year,
month, day, hour and minute failed. |
class |
ShouldBeEqualIgnoringTimezone
Creates an error message indicating that an assertion that verifies that two
OffsetTime have same
time fields except the timezone. |
class |
ShouldBeEqualIgnoringWhitespace
Creates an error message indicating that an assertion that verifies that two
CharSequences are equal, ignoring whitespace
differences, failed. |
class |
ShouldBeEqualToIgnoringFields
Creates an
indicating that an assertion that verifies that two objects are lenient equal by
ignoring fields failed. |
class |
ShouldBeEqualWithinOffset
Creates an error message indicating that an assertion that verifies that two numbers are equal within a positive offset failed.
|
class |
ShouldBeEqualWithinPercentage
Creates an error message indicating that an assertion that
verifies that two numbers are equal within a positive percentage failed.
|
class |
ShouldBeEqualWithTimePrecision
Creates an
indicating that an assertion that verifies that two dates are equals
up to a given precision failed. |
class |
ShouldBeExactlyInstanceOf
Creates an error message indicating that an assertion that verifies that an object is exactly an instance of some
type failed.
|
class |
ShouldBeExecutable
Creates an error message indicating that an assertion that verifies that a
is executable
failed. |
class |
ShouldBeFile
Creates an error message indicating that an assertion that verifies that a
is an existing file
failed. |
class |
ShouldBeFinal
Creates an error message indicating that an assertion that verifies that a class is (or is not) final.
|
class |
ShouldBeGreater
Creates an error message indicating that an assertion that verifies that a value is greater than another one failed.
|
class |
ShouldBeGreaterOrEqual
Creates an error message indicating that an assertion that verifies that a value is greater than or equal to another one
failed.
|
class |
ShouldBeIn
Creates an error message indicating that an assertion that verifies that a value is in a group of values (e.g.
|
class |
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. |
class |
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. |
class |
ShouldBeInSameHourWindow
Creates an error message indicating that an assertion that verifies that a
Date is in same hour window as
another one failed. |
class |
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. |
class |
ShouldBeInSameMinuteWindow
Creates an error message indicating that an assertion that verifies that a
Date is in minute window as
another one failed. |
class |
ShouldBeInSameMonth
Creates an error message indicating that an assertion that verifies that a
Date is in same year and month as another
one failed. |
class |
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. |
class |
ShouldBeInSameSecondWindow
Creates an error message indicating that an assertion that verifies that a
Date is in second window as
another one failed. |
class |
ShouldBeInSameYear
Creates an error message indicating that an assertion that verifies that a
Date is in same year as another one failed. |
class |
ShouldBeInstance
Creates an error message indicating that an assertion that verifies that an object is an instance of some type
failed.
|
class |
ShouldBeInstanceOfAny
Creates an error message indicating that an assertion that verifies that an object is an instance of one or more
types failed.
|
class |
ShouldBeInterface
Creates an error message indicating that an assertion that verifies that a class is (or not) an interface.
|
class |
ShouldBeInTheFuture
Creates an error message indicating that an assertion that verifies that a
Date is in the future failed. |
class |
ShouldBeInThePast
Creates an error message indicating that an assertion that verifies that a
Date is in the past failed. |
class |
ShouldBeLess
Creates an error message indicating that an assertion that verifies that a value is less than another one failed.
|
class |
ShouldBeLessOrEqual
Creates an error message indicating that an assertion that verifies that a value is less than or equal to another one failed.
|
class |
ShouldBeLowerCase
Creates an error message that indicates an assertion that verifies that a character is lowercase failed.
|
class |
ShouldBeNormalized
Assertion error message delivered when a
Path is not normalized |
class |
ShouldBeNullOrEmpty
Creates an error message indicating that an assertion that verifies a group of elements is
null or empty failed. |
class |
ShouldBeOfClassIn
Creates an error message indicating that an assertion that verifies that an object is of type in group of types failed.
|
class |
ShouldBeReadable
|
class |
ShouldBeRegularFile
Creates an error message indicating that an assertion that verifies that a
Path is a regular file has failed. |
class |
ShouldBeRelativePath
|
class |
ShouldBeSame
Creates an error message indicating that an assertion that verifies that two object refer to same object failed.
|
class |
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. |
class |
ShouldBeSubsetOf
Creates an error message indicating that an assertion that verifies that an
Iterable is a subset of an other set
Iterable failed. |
class |
ShouldBeSubstring |
class |
ShouldBeSymbolicLink
Creates an error message indicating that an assertion that verifies that a
Path is a regular file has failed. |
class |
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). |
class |
ShouldBeUpperCase
Creates an error message that indicates an assertion that verifies that a character is uppercase failed.
|
class |
ShouldBeWritable
Creates an error message indicating that an assertion that verifies that a
is writable
failed. |
class |
ShouldContain
Creates an error message indicating that an assertion that verifies a group of elements contains a given set of values failed.
|
class |
ShouldContainAnyOf |
class |
ShouldContainAtIndex
Creates an error message indicating that an assertion that verifies a group of elements contains a value at a given index
failed.
|
class |
ShouldContainCharSequence
Creates an error message indicating that an assertion that verifies that a
CharSequence contains another
CharSequence failed. |
class |
ShouldContainCharSequenceOnlyOnce
Creates an error message indicating that an assertion that verifies that a
CharSequence contains another CharSequence only
once failed. |
class |
ShouldContainCharSequenceSequence
Creates an error message indicating that an assertion that verifies that a
CharSequence contains a sequence of
several CharSequences in order failed. |
class |
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.
|
class |
ShouldContainExactlyInAnyOrder
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 |
ShouldContainKeys
Creates an error message indicating that an assertion that verifies a map contains a key..
|
class |
ShouldContainNull
Creates an error message indicating that an assertion that verifies a group of elements contains a null element failed.
|
class |
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.
|
class |
ShouldContainOnlyDigits
Creates an error message indicating that an assertion that verifies a CharSequence contains only digits failed.
|
class |
ShouldContainOnlyKeys
Creates an error message indicating that an assertion that verifies map contains only a given set of keys and
nothing else failed.
|
class |
ShouldContainPattern
Creates an error message indicating that an assertion that verifies that a
CharSequence contains a pattern failed. |
class |
ShouldContainSequence
Creates an error message indicating that an assertion that verifies that a group of elements contains a sequence of values
failed.
|
class |
ShouldContainsOnlyOnce
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 |
ShouldContainSubsequence
Creates an error message indicating that an assertion that verifies that a group of elements contains a subsequence
of values failed.
|
class |
ShouldContainValue
Creates an error message indicating that an assertion that verifies a map contains a value.
|
class |
ShouldContainValues
Creates an error message indicating that an assertion that verifies a map contains a values.
|
class |
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.
|
class |
ShouldEndWithPath |
class |
ShouldExist
|
class |
ShouldHave
Creates an error message indicating that an assertion that verifies that a value satisfies a
failed. |
class |
ShouldHaveAnnotations
Creates an error message indicating that an assertion that verifies that a class have an annotation.
|
class |
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
failed. |
class |
ShouldHaveAtLeastOneElementOfType
Creates an error message indicating that a group does not have an element of the given type.
|
class |
ShouldHaveBinaryContent
Creates an error message indicating that an assertion that verifies that a file/path has a given binary content failed.
|
class |
ShouldHaveCause |
class |
ShouldHaveCauseExactlyInstance
Creates an error message indicating that an assertion that verifies that a
Throwable have a cause
exactly instance of a certain type. |
class |
ShouldHaveCauseInstance
Creates an error message indicating that an assertion that verifies that a
Throwable have a cause instance of
a certain type. |
class |
ShouldHaveContent
Creates an error message indicating that an assertion that verifies that a file/path has a given text content failed.
|
class |
ShouldHaveDateField
Creates an error message indicating that an assertion that verifies that a
Date has a year, month, day, ... |
class |
ShouldHaveExtension
Creates an error message indicating that a
File should have extension. |
class |
ShouldHaveFields
Creates an error message indicating that an assertion that verifies that a class have field.
|
class |
ShouldHaveLineCount
Creates an error message indicating that an assertion that verifies that a value have certain number of lines failed.
|
class |
ShouldHaveMessage
Creates an error message indicating that an assertion that verifies that a
Throwable have certain message failed. |
class |
ShouldHaveMessageMatchingRegex
Creates an error message indicating that an assertion that verifies that a
CharSequence matches given regular
expression. |
class |
ShouldHaveName
Creates an error message indicating that a
File should have name. |
class |
ShouldHaveNoCause
Creates an error message indicating that an assertion that verifies that an
Throwable has no cause failed. |
class |
ShouldHaveNoNullFields
Creates an
indicating that an assertion that verifies that an object
has no null fields failed. |
class |
ShouldHaveNoParent
Creates an error message when a
File should not have a parent. |
class |
ShouldHaveNoSuppressedExceptions
Creates an error message indicating that an assertion that verifies that a
Throwable has no suppressed exceptions failed. |
class |
ShouldHaveOnlyElementsOfType
Creates an error message indicating that a group does not have an element of the given type.
|
class |
ShouldHaveParent
Creates an error message indicating that a
File should have a parent. |
class |
ShouldHavePropertyOrField
Creates an error message indicating that an assertion that verifies that a class has a given field/property.
|
class |
ShouldHavePropertyOrFieldWithValue
Creates an error message indicating that an assertion that verifies that a class have field/property with value.
|
class |
ShouldHaveRootCauseExactlyInstance
Creates an error message indicating that an assertion that verifies that a
Throwable have a root cause
exactly instance of a certain type. |
class |
ShouldHaveRootCauseInstance
Creates an error message indicating that an assertion that verifies that a
Throwable have a root cause
instance of a certain type. |
class |
ShouldHaveSameClass
Creates an error message indicating that an assertion that verifies that an object have same class as another instance failed.
|
class |
ShouldHaveSameContent
Creates an error message indicating that an assertion that verifies that two files/inputStreams/paths have same content failed.
|
class |
ShouldHaveSameHourAs
Creates an error message indicating that an assertion that verifies that two
ZonedDateTime have same year,
month, day and hour fields failed. |
class |
ShouldHaveSameSizeAs
Creates an error message indicating that an assertion that verifies that a value have certain size failed.
|
class |
ShouldHaveSameTime
Creates an error message indicating that an assertion that verifies that a date has same time as other date.
|
class |
ShouldHaveSize
Creates an error message indicating that an assertion that verifies that a value have certain size failed.
|
class |
ShouldHaveSuppressedException
Creates an error message indicating that an assertion that verifies that a
Throwable has a given suppressed exception failed. |
class |
ShouldHaveTime
Creates an error message indicating that an assertion that verifies that a date have a certain timestamp.
|
class |
ShouldHaveToString |
class |
ShouldMatch
Creates an error message indicating that an assertion that verifies that a value satisfies a
failed. |
class |
ShouldMatchPattern
Creates an error message indicating that an assertion that verifies that a
CharSequence matches a pattern failed. |
class |
ShouldNotAccept
Creates an error message indicating that an assertion that verifies that
not accepting a value failed. |
class |
ShouldNotBe
Creates an error message indicating that an assertion that verifies that a value does not satisfy a
failed. |
class |
ShouldNotBeBetween
Creates an error message indicating that an assertion that verifies that a
Date is not between start - end dates
(inclusive or not) failed. |
class |
ShouldNotBeBlank
Creates an error message indicating that an assertion that verifies
CharSequence
is not Null, not empty or contains not only whitespace. |
class |
ShouldNotBeEmpty
Creates an error message indicating that an assertion that verifies a group of elements is not empty failed.
|
class |
ShouldNotBeEqual
Creates an error message indicating that an assertion that verifies that two objects are not equal failed.
|
class |
ShouldNotBeEqualIgnoringCase
Creates an error message indicating that an assertion that verifies that two
CharSequences are not equal,
ignoring case
considerations, failed. |
class |
ShouldNotBeEqualIgnoringWhitespace
Creates an error message indicating that an assertion that verifies that two
CharSequences are not equal,
ignoring whitespace differences, failed. |
class |
ShouldNotBeEqualWithinOffset
Creates an error message indicating that an assertion that verifies that two numbers are not equal within a positive offset failed.
|
class |
ShouldNotBeEqualWithinPercentage
Creates an error message indicating that an assertion that
verifies that two numbers are not equal within a positive percentage failed.
|
class |
ShouldNotBeExactlyInstanceOf
Creates an error message indicating that an assertion that verifies that an object is not exactly an instance of some type
failed.
|
class |
ShouldNotBeIn
Creates an error message indicating that an assertion that verifies that a value is not in a group of values (e.g.
|
class |
ShouldNotBeInstance
Creates an error message indicating that an assertion that verifies that an object is not an instance of some type failed.
|
class |
ShouldNotBeInstanceOfAny
Creates an error message indicating that an assertion that verifies that an object is not an instance of one or more types
failed.
|
class |
ShouldNotBeNull
Creates an error message that indicates an assertion that verifies that an object is not
null failed. |
class |
ShouldNotBeOfClassIn
Creates an error message indicating that an assertion that verifies that an object is not of type in group of types failed.
|
class |
ShouldNotBeSame
Creates an error message indicating an assertion that verifies that two objects do not refer to the same object failed.
|
class |
ShouldNotContain
Creates an error message indicating that an assertion that verifies a group of elements does not contain a given set of values
failed.
|
class |
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.
|
class |
ShouldNotContainCharSequence
Creates an error message indicating that an assertion that verifies that a
CharSequence does not contain another
CharSequence failed. |
class |
ShouldNotContainKey
Creates an error message indicating that an assertion that verifies a map does not contains a key failed.
|
class |
ShouldNotContainKeys
Creates an error message indicating that an assertion that verifies a map does not contain keys.
|
class |
ShouldNotContainNull
Creates an error message indicating that an assertion that verifies a group of elements does not contain null elements failed.
|
class |
ShouldNotContainValue
Creates an error message indicating that an assertion that verifies a map does not contains a value.
|
class |
ShouldNotEndWith
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 |
ShouldNotExist
|
class |
ShouldNotHave
Creates an error message indicating that an assertion that verifies that a value does not satisfy a
failed. |
class |
ShouldNotHaveDuplicates
Creates an error message indicating that an assertion that verifies a group of elements is does not have duplicates failed.
|
class |
ShouldNotHaveSameClass
Creates an error message indicating that an assertion that verifies that an object has same class as another instance failed.
|
class |
ShouldNotMatch
Creates an error message indicating that an assertion that verifies that a value not satisfying a
failed. |
class |
ShouldNotMatchPattern
Creates an error message indicating that an assertion that verifies that a
CharSequence does not match a pattern failed. |
class |
ShouldNotStartWith
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 |
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.
|
class |
ShouldStartWithPath |
| Modifier and Type | Class and Description |
|---|---|
class |
ShouldBeCancelled |
class |
ShouldBeCompleted |
class |
ShouldBeCompletedExceptionally |
class |
ShouldBeDone |
class |
ShouldHaveFailed |
class |
ShouldNotBeCancelled |
class |
ShouldNotBeCompleted |
class |
ShouldNotBeCompletedExceptionally |
class |
ShouldNotBeDone |
class |
ShouldNotHaveFailed |
| Modifier and Type | Class and Description |
|---|---|
class |
ShouldHaveAnchor |
class |
ShouldHaveAuthority |
class |
ShouldHaveFragment |
class |
ShouldHaveHost |
class |
ShouldHaveParameter |
class |
ShouldHavePath |
class |
ShouldHavePort |
class |
ShouldHaveProtocol |
class |
ShouldHaveQuery |
class |
ShouldHaveScheme |
class |
ShouldHaveUserInfo |
Copyright © 2014–2017 AssertJ. All rights reserved.