|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
ComparableAssert
.ObjectEnumerableAssert
whose actual value type is
Collection
.UnevenComparableAssert
.true
if all of the joined conditions is satisfied.AllOf
AllOf
Filters.with(String)
for synthetic sugar to write things like :.
AnyOf.anyOf(Condition...)
so that Assertions offers a full feature entry point to all Fest
Assert features (but you can use AnyOf
if you prefer).
AnyOf
true
if any of the joined conditions is satisfied.AnyOf
AnyOf
Comparable
or according to a
given Comparator
.Iterable
satisfies the given condition.
Iterable
satisfying the given
condition.
Iterable
satisfying the given
condition.
Iterable
satisfying the given
condition.
Iterable
not satisfies the given condition.
Iterable
not satisfying the
given condition.
Iterable
not satisfying the
given condition.
Iterable
not satisfying the
given condition.
Iterable
not satisfying the
given condition.
Iterable
contains the given values, in any order.
List
contains the given object at the given index.
Map
contains the given entries, in any order.
String
contains the given sequence.
String
contains the given sequence, ignoring case considerations.
Iterable
contains at least a null element.
Iterable
contains only the given values and nothing else, in any order.
Iterable
contains the given sequence of objects, without any other
objects between them.
Iterable
does not contain the given values.
List
does not contain the given object at the given index.
Map
does not contain the given entries.
String
does not contain the given sequence.
Iterable
does not contain null elements.
Condition
.
Iterable
does not have duplicate values.
String
does not match the given regular expression.
String
does not match the given regular expression.
Iterable
not satisfies the given condition.
Iterables.assertAreNotAtLeast(AssertionInfo, Iterable, int, Condition)
to provide a richer fluent
api (same logic, only error message differs).
ObjectArrays.assertAreNotAtLeast(AssertionInfo, Object[], int, Condition)
to provide a richer fluent
api (same logic, only error message differs).
Iterables.assertAreNotAtMost(AssertionInfo, Iterable, int, Condition)
to provide a richer fluent
api (same logic, only error message differs).
ObjectArrays.assertAreNotAtMost(AssertionInfo, Object[], int, Condition)
to provide a richer fluent
api (same logic, only error message differs).
Iterables.assertAreNotExactly(AssertionInfo, Iterable, int, Condition)
to provide a richer fluent
api (same logic, only error message differs).
ObjectArrays.assertAreNotExactly(AssertionInfo, Object[], int, Condition)
to provide a richer fluent api
(same logic, only error message differs).
Iterable
is empty.
Map
is empty.
String
is empty.
Iterable
ends with the given sequence of objects, without any other objects between
them.
String
ends with the given suffix.
Comparable
s are equal by invoking
Comparable.compareTo(Object)
.
String
s are equal, ignoring case considerations.
Condition
.
Throwable
message is equal to the given one.
Throwable
contains with the given description.
Throwable
ends with the given description.
Throwable
starts with the given description.
Throwable
does not have a cause.
Iterable
has the same size as the other array.
Iterable
has the same size as the other Iterable
.
Iterable
.
Iterable
is equal to the expected one.
Map
is equal to the expected one.
String
is equal to the expected one.
Iterable
satisfies the given condition.
Iterables.assertAreAtLeast(AssertionInfo, Iterable, int, Condition)
to provide a richer fluent
api (same logic, only error message differs).
ObjectArrays.assertAreAtLeast(AssertionInfo, Object[], int, Condition)
to provide a richer fluent api
(same logic, only error message differs).
Iterables.assertAreAtMost(AssertionInfo, Iterable, int, Condition)
to provide a richer fluent api
(same logic, only error message differs).
ObjectArrays.assertAreAtMost(AssertionInfo, Object[], int, Condition)
to provide a richer fluent api
(same logic, only error message differs).
Iterables.assertAreExactly(AssertionInfo, Iterable, int, Condition)
to provide a richer fluent
api (same logic, only error message differs).
ObjectArrays.assertAreExactly(AssertionInfo, Object[], int, Condition)
to provide a richer fluent api
(same logic, only error message differs).
AssertionError
s.Assertions
.
Condition
.
Date
is strictly after the given one.
Date
is after or equal to the given one.
Date
is strictly after the given year.
Date
is strictly before the given one.
Date
is before or equal to the given one.
Date
is strictly before the given year.
Date
is in start:end period.
Date
is close to the other date by less than delta, if difference is equals to
delta it is ok.
Throwable
type is an the same as the given type.
Date
are chronologically in the same day of month (and thus in the same
month and year).
Date
are chronologically in the same hour (and thus in the same day of
month, month and year).
Date
are chronologically in the same minute (and thus in the same hour, day
of month, month and year).
Date
are chronologically in the same month (and thus in the same year).
Date
are chronologically in the same second (and thus in the same minute,
hour, day of month, month and year).
Date
are in the same year.
Date
is strictly in the future.
Date
is strictly in the past.
NaN
.
Condition
.
Date
is not in start:end period..
NaN
.
Condition
is not null.
ArraySortedAssert.isSorted()
.
ArraySortedAssert.isSorted()
.
ArraySortedAssert.isSorted()
.
ArraySortedAssert.isSorted()
.
ArraySortedAssert.isSorted()
.
ArraySortedAssert.isSorted()
.
ArraySortedAssert.isSorted()
.
ArraySortedAssert.isSorted()
.
ArraySortedAssert.isSorted()
.
ArraySortedAssert.isSortedAccordingTo(Comparator)
.
ArraySortedAssert.isSortedAccordingTo(Comparator)
.
ArraySortedAssert.isSortedAccordingTo(Comparator)
.
ArraySortedAssert.isSortedAccordingTo(Comparator)
.
ArraySortedAssert.isSortedAccordingTo(Comparator)
.
ArraySortedAssert.isSortedAccordingTo(Comparator)
.
ArraySortedAssert.isSortedAccordingTo(Comparator)
.
ArraySortedAssert.isSortedAccordingTo(Comparator)
.
ArraySortedAssert.isSortedAccordingTo(Comparator)
.
Iterable
is a subset of values Iterable
.
Date
is today, by comparing only year, month and day of actual to today (ie. we
don't check hours).
Date
day of month is equal to the given day of month.
Date
day of week is equal to the given day of week.
Date
hour od day is equal to the given hour of day (24-hour clock).
Date
millisecond is equal to the given millisecond.
Date
minute is equal to the given minute.
Date
month is equal to the given month, month value starting at 1
(January=1, February=2, ...).
Date
second is equal to the given second.
Date
year is equal to the given year.
String
matches the given regular expression.
String
matches the given regular expression.
Iterable
is not empty.
Map
is not empty.
String
is not empty.
Comparable
s are not equal by invoking
Comparable.compareTo(Object)
.
null
.
null
.
null
or empty.
null
or empty.
null
or empty.
null
or empty.
null
or empty.
null
or empty.
Iterable
is null
or empty.
null
or empty.
Map
is null
or empty.
null
or empty.
null
or empty.
String
is null
or empty.
Iterable
starts with the given sequence of objects, without any other objects
between them.
String
starts with the given prefix.
BigDecimalAssert
.
BooleanAssert
.
BooleanAssert
.
BooleanArrayAssert
.
ImageAssert
.
ByteAssert
.
ByteAssert
.
ByteArrayAssert
.
CharacterAssert
.
CharArrayAssert
.
CharacterAssert
.
IterableAssert
.
DoubleAssert
.
DoubleAssert
.
DoubleArrayAssert
.
FileAssert
.
InputStreamAssert
.
FloatAssert
.
FloatAssert
.
FloatArrayAssert
.
IntegerAssert
.
IntArrayAssert
.
IntegerAssert
.
ListAssert
.
LongAssert
.
LongAssert
.
LongArrayAssert
.
ObjectAssert
.
ObjectArrayAssert
.
MapAssert
.
ShortAssert
.
ShortAssert
.
ShortArrayAssert
.
StringAssert
.
DateAssert
.
ThrowableAssert
.
Index.atIndex(int)
so that Assertions offers a full feature entry point to all Fest
Assert features (but you can use Index
if you prefer).
Index
.
Point
.
BasicErrorMessageFactory
.
Condition
.
BigDecimalComparator
.
BigDecimal
s.BigDecimal
Comparator
based on BigDecimal.compareTo(BigDecimal)
.BigDecimal
s.boolean
s.boolean
s.Boolean
s.byte
s.byte
s.Byte
s.Character
s.char
s.char
s.RgbColor
.
Comparable
s.Comparable
s.Condition
.
Condition
.
Condition
.
Condition
A group of elements can be a
collection, an array.Condition
.String
contains the given sequence.
String
contains the given sequence, ignoring case considerations.
Date
s.DateAssert
.
Date
s.Descriptable.as(String)
since "as" is a keyword in Groovy.
Descriptable.as(String)
since "as" is a keyword in Groovy.
Descriptable.as(String)
since "as" is a keyword in Groovy.
Descriptable.as(String)
since "as" is a keyword in Groovy.
Descriptable.as(String)
since "as" is a keyword in Groovy.
Descriptable.as(String)
since "as" is a keyword in Groovy.
Description
s to be included in assertion errors.AbstractAssert.describedAs(String)
or AbstractAssert.describedAs(Description)
.
null
if such description is null
.
String
does not contain the given sequence.
File
does not exist.
true
if the condition is not satisfied.DoesNotHave
.
String
does not match the given regular expression.
String
does not match the given regular expression.
ObjectEnumerableAssert.areNotAtLeast(int, Condition)
.
ObjectEnumerableAssert.areNotAtLeast(int, Condition)
.
ObjectEnumerableAssert.areNotAtLeast(int, Condition)
.
ObjectEnumerableAssert.areNotAtMost(int, Condition)
.
ObjectEnumerableAssert.areNotAtMost(int, Condition)
.
ObjectEnumerableAssert.areNotAtMost(int, Condition)
.
ObjectEnumerableAssert.areNotExactly(int, Condition)
.
ObjectEnumerableAssert.areNotExactly(int, Condition)
.
ObjectEnumerableAssert.areNotExactly(int, Condition)
.
double
s.double
s.Double
s.Condition
A group of elements can be a collection, an array.ElementsShouldBe
.
Condition
A group of elements can be a collection, an array.ElementsShouldBeAtLeast
.
Condition
A group of elements can be a collection, an array.ElementsShouldBeAtMost
.
Condition
A group of elements can be a collection, an array.ElementsShouldBeExactly
.
Condition
A group of elements can be a collection, an array.ElementsShouldHave
.
Condition
A group of elements can be a collection, an array.ElementsShouldHaveAtLeast
.
Condition
A group of elements can be a collection, an array.ElementsShouldHaveAtMost
.
Condition
A group of elements can be a collection, an array.ElementsShouldHaveExactly
.
Condition
A group of elements can be a collection, an array.ElementsShouldNotBe
.
Condition
A group of elements can be a collection, an array.ElementsShouldNotBeAtLeast
.
Condition
A group of elements can be a collection, an array.ElementsShouldNotBeAtMost
.
Condition
A group of elements can be a collection, an array.ElementsShouldNotBeExactly
.
Condition
A group of elements can be a collection, an array.ElementsShouldNotHave
.
Condition
A group of elements can be a collection, an array.ElementsShouldNotHaveAtLeast
.
Condition
A group of elements can be a collection, an array.ElementsShouldNotHaveAtMost
.
Condition
A group of elements can be a collection, an array.ElementsShouldNotHaveExactly
.
String
ends with the given suffix.
MapEntry.entry(Object, Object)
so that Assertions offers a full feature entry point to all
Fest Assert features (but you can use MapEntry
if you prefer).
UnsupportedOperationException
if called.
UnsupportedOperationException
if called.
Filters.with(String)
) equals to
given value.
File
exists, regardless it's a file or directory.
Properties.extractProperty(String)
so that Assertions offers a full feature entry point to
all Fest Assert features (but you can use Properties
if you prefer).
Properties
.
Fail.fail(String)
so that Assertions offers a full feature entry point to all Fest Assert
features (but you can use Fail if you prefer).
Fail.fail(String, Throwable)
so that Assertions offers a full feature entry point to all
Fest Assert features (but you can use Fail if you prefer).
AssertionError
with the given message and with the Throwable
that caused the failure.
Fail.failBecauseExceptionWasNotThrown(Class)
so that Assertions offers a full feature
entry point to all Fest Assert features (but you can use Fail if you prefer).
AssertionError
with a message explaining that an expection of given exceptionClass type was expected to be thrown but had not been.
AssertionError
following this pattern:
creates a AssertionError
using AssertionInfo.overridingErrorMessage()
as the error message if such value is not null
, or
uses the given AssertionErrorFactory
to create an AssertionError
,
prepending the value of AssertionInfo.description()
to the error message
AssertionError
following this pattern:
creates a AssertionError
using AssertionInfo.overridingErrorMessage()
as the error message if such value is not null
, or
uses the given ErrorMessageFactory
to create the detail message of the
AssertionError
, prepending the value of AssertionInfo.description()
to
the error message
AssertionError
using the given String
as message.
File
s.File
s.Filters.filter(Object[])
so that Assertions offers a full feature entry point to all Fest
Assert features (but you can use Filters
if you prefer).
Filters.filter(Object[])
so that Assertions offers a full feature entry point to all Fest
Assert features (but you can use Filters
if you prefer).
Filters
with the Iterable
to filter.
Filters
with the array to filter.
Iterable
or array according to the specified filter criteria.float
s.float
s.Number
s.Float
s.Description
by surrounding its text value with square brackets and adding a
space at the end.
String
for failed assertion messages.
Properties.extractProperty(String)
) from
the elements of the given Collection
.
Properties.extractProperty(String)
) from
the elements of the given array.
File
is equal to the content of the given one.
InputStream
is equal to the content of the given one.
Throwable
is equal to the given one.
Throwable
contains with the given description.
Throwable
ends with the given description.
Throwable
starts with the given description.
Throwable
does not have a cause.
Iterable
.
Iterable
.
Iterable
.
ObjectEnumerableAssert.areAtLeast(int, Condition)
.
ObjectEnumerableAssert.areAtLeast(int, Condition)
.
ObjectEnumerableAssert.areAtLeast(int, Condition)
.
ObjectEnumerableAssert.areAtMost(int, Condition)
.
ObjectEnumerableAssert.areAtMost(int, Condition)
.
ObjectEnumerableAssert.areAtMost(int, Condition)
.
ObjectEnumerableAssert.areExactly(int, Condition)
.
ObjectEnumerableAssert.areExactly(int, Condition)
.
ObjectEnumerableAssert.areExactly(int, Condition)
.
Condition
.
BufferedImage
s.Filters.with(String)
) equals to
one of the given values.
InputStream
s.InputStream
s.InputStreams
.InputStreamsException
.
InputStreamsException
.
StandardComparisonStrategy
.
StandardComparisonStrategy
.
StandardComparisonStrategy
.
StandardComparisonStrategy
.
StandardComparisonStrategy
.
StandardComparisonStrategy
.
StandardComparisonStrategy
.
StandardComparisonStrategy
.
int
s.int
s.Integer
s.File
is an absolute path.
Date
is strictly after the given one.
DateAssert.isAfter(Date)
but given Date is represented as String either with ISO date format
(yyyy-MM-dd) or user custom date format (set with method DateAssert.withDateFormat(DateFormat)
).
Date
is after or equals to the given one.
DateAssert.isAfterOrEqualsTo(Date)
but given Date is represented as String either with ISO date
format (yyyy-MM-dd) or user custom date format (set with method DateAssert.withDateFormat(DateFormat)
).
Date
is strictly after the given year.
Date
is strictly before the given one.
DateAssert.isBefore(Date)
but given Date is represented as String either with ISO date format
(yyyy-MM-dd) or user custom date format (set with method DateAssert.withDateFormat(DateFormat)
).
Date
is before or equals to the given one.
DateAssert.isBeforeOrEqualsTo(Date)
but given Date is represented as String either with ISO date
format (yyyy-MM-dd) or user custom date format (set with method DateAssert.withDateFormat(DateFormat)
).
Date
is strictly before the given year.
Date
is in [start, end[ period (start included, end excluded).
DateAssert.isBetween(Date, Date)
but given Dates are represented as String either with ISO date
format (yyyy-MM-dd) or user custom date format (set with method DateAssert.withDateFormat(DateFormat)
).
Date
is in the given period defined by start and end dates.
DateAssert.isBetween(Date, Date, boolean, boolean)
but given Dates are represented as String either
with ISO date format (yyyy-MM-dd) or user custom date format (set with method DateAssert.withDateFormat(DateFormat)
).
Date
is close to the other date by less than delta (expressed in milliseconds), if
difference is equals to delta it's ok.
DateAssert.isCloseTo(Date, long)
but given Date is represented as String either with ISO date
format (yyyy-MM-dd) or user custom date format (set with method DateAssert.withDateFormat(DateFormat)
).
File
is an existing directory.
Comparable.compareTo(Object)
.
Comparable.compareTo(Object)
.
isEqualTo(Date date)
but given Date is represented as String either with ISO date format
(yyyy-MM-dd) or user custom date format (set with method DateAssert.withDateFormat(DateFormat)
).
RgbColor
is equal to this one.
String
is equal to the given one, ignoring case considerations.
Throwable
is an instance of the given type.
false
.
File
is an existing file.
Assert.isIn(Object...)
but given Dates are represented as String either with ISO date format
(yyyy-MM-dd) or user custom date format (set with method DateAssert.withDateFormat(DateFormat)
).
Date
are chronologically in the same day of month (and thus in the same
month and year).
DateAssert.isInSameDayAs(Date)
but given Date is represented as String either with ISO date format
(yyyy-MM-dd) or user custom date format (set with method DateAssert.withDateFormat(DateFormat)
).
Date
are chronologically in the same hour (and thus in the same day, month
and year).
DateAssert.isInSameHourAs(Date)
but given Date is represented as String either with ISO date format
(yyyy-MM-dd) or user custom date format (set with method DateAssert.withDateFormat(DateFormat)
).
Date
are chronologically in the same minute (and thus in the same hour, day,
month and year).
DateAssert.isInSameMinuteAs(Date)
but given Date is represented as String either with ISO date
format (yyyy-MM-dd) or user custom date format (set with method DateAssert.withDateFormat(DateFormat)
).
Date
are chronologically in the same month (and thus in the same year).
DateAssert.isInSameMonthAs(Date)
but given Date is represented as String either with ISO date
format (yyyy-MM-dd) or user custom date format (set with method DateAssert.withDateFormat(DateFormat)
).
Date
are chronologically in the same second (and thus in the same minute,
hour, day, month and year).
DateAssert.isInSameSecondAs(Date)
but given Date is represented as String either with ISO date
format (yyyy-MM-dd) or user custom date format (set with method DateAssert.withDateFormat(DateFormat)
).
Date
are in the same year.
DateAssert.isInSameYearAs(Date)
but given Date is represented as String either with ISO date format
(yyyy-MM-dd) or user custom date format (set with method DateAssert.withDateFormat(DateFormat)
).
Object
is an instance of the given type.
Throwable
is an instance of the given type.
Object
is an instance of any of the given types.
Date
is strictly in the future.
Date
is strictly in the past.
Assert.isIn(Iterable)
but given Dates are represented as String either with ISO date format
(yyyy-MM-dd) or user custom date format (set with method DateAssert.withDateFormat(DateFormat)
).
NaN
.
NaN
.
NaN
.
Date
is not in the given period defined by start and end dates.
DateAssert.isNotBetween(Date, Date, boolean, boolean)
but given Dates are represented as String
either with ISO date format (yyyy-MM-dd) or user custom date format (set with method
DateAssert.withDateFormat(DateFormat)
).
Date
is not in [start, end[ period
DateAssert.isNotBetween(Date, Date)
but given Dates are represented as String either with ISO date
format (yyyy-MM-dd) or user custom date format (set with method DateAssert.withDateFormat(DateFormat)
).
Comparable.compareTo(Object)
.
Comparable.compareTo(Object)
.
isNotEqualTo(Date date)
but given Date is represented as String either with ISO date format
(yyyy-MM-dd) or user custom date format (set with method DateAssert.withDateFormat(DateFormat)
).
Assert.isNotIn(Object...)
but given Dates are represented as String either with ISO date
format (yyyy-MM-dd) or user custom date format (set with method DateAssert.withDateFormat(DateFormat)
).
Assert.isNotIn(Iterable)
but given Dates are represented as String either with ISO date
format (yyyy-MM-dd) or user custom date format (set with method DateAssert.withDateFormat(DateFormat)
).
NaN
.
NaN
.
NaN
.
null
.
null
.
null
.
null
.
null
or empty.
null
or empty.
null
or empty.
null
or empty.
null
or empty.
null
or empty.
null
or empty.
null
or empty.
null
or empty.
null
or empty.
null
or empty.
null
or empty.
null
or empty.
File
is a relative path.
Iterable
are present in the given Iterable
.
Date
is today, that is matching current year, month and day (no check on hour,
minute, second, milliseconds).
true
.
Date
day of month is equal to the given day of month.
Date
day of week is equal to the given day of week (see
Calendar.DAY_OF_WEEK
for valid values).
Date
hour od day is equal to the given hour of day (24-hour clock).
Date
millisecond is equal to the given millisecond.
Date
minute is equal to the given minute.
Date
month is equal to the given month, month value starting at 1
(January=1, February=2, ...).
Date
second is equal to the given second.
Date
year is equal to the given year.
Iterable
.Iterable
s.Condition
s.Join
.
Join
.
List
s.List
s.long
s.long
s.Long
s.Map
s.Map
.Map
s.String
matches the given regular expression.
String
matches the given regular expression.
AssertionError
.
AssertionError
indicating that an assertion that verifies that two objects are
equal failed.
true
if the condition is not satisfied.Not
.
Filters.with(String)
) not equals
to given value.
Filters.with(String)
) not in the
given values.
Number
s.Object
s.Object
s.Offset.offset(Double)
so that Assertions offers a full feature entry point to all Fest
Assert features (but you can use Offset
if you prefer).
Offset.offset(Float)
so that Assertions offers a full feature entry point to all Fest
Assert features (but you can use Offset
if you prefer).
Offset
.
Offset
.
Offset
.
Collection
or array.PropertySupport.propertyValue(String, Object, Class)
for synthetic sugar.
List
containing the values of the given property name, from the elements of the
given Collection
.
PropertySupport.propertyValue(String, Object)
for synthetic sugar.
List
containing the values of the given property name, from the elements of the
given array.
Failures.removeFestRelatedElementsFromStackTrace
is true, it filters the stack trace of the given AssertionError
by removing stack trace elements related to Fest in order to get a more readable stack trace.
Fail.setRemoveFestRelatedElementsFromStackTrace(boolean)
so that Assertions offers a full
feature entry point to all Fest Assert features (but you can use Fail
if you prefer).
short
s.short
s.Short
s.Condition
failed.ShouldBe
.
File
is an absolute
path failed.ShouldBeAbsolutePath
.
Date
is after another one failed.ShouldBeAfter
.
ShouldBeAfter
.
ShouldBeAfter
.
Date
is after or equals to another one failed.ShouldBeAfterOrEqualsTo
.
ShouldBeAfterOrEqualsTo
.
Date
is before another one failed.ShouldBeBefore
.
ShouldBeBefore
.
ShouldBeBefore
.
Date
is before or equals to another one failed.ShouldBeBeforeOrEqualsTo
.
ShouldBeBeforeOrEqualsTo
.
Date
is between start - end dates
(inclusive or not) failed.ShouldBeBetween
.
ShouldBeBetween
.
Date
is close to another one from
some delta failed.ShouldBeCloseTo
.
File
is an existing
directory failed.ShouldBeDirectory
.
ShouldBeEmpty
.
AssertionError
indicating that an assertion that verifies that two objects are equal
failed.ShouldBeEqual
.
ShouldBeEqual
.
ShouldBeEqualIgnoringCase
.
ShouldBeEqualWithinOffset
.
ShouldBeEqualWithinOffset
.
ShouldBeEqualColors
.
String
s are equal, ignoring
case considerations, failed.ShouldBeEqualImages
.
ShouldBeExactlyInstanceOf
.
File
is an existing
file failed.ShouldBeFile
.
ShouldBeGreater
.
ShouldBeGreater
.
ShouldBeGreaterOrEqual
.
ShouldBeGreaterOrEqual
.
ShouldBeIn
.
ShouldBeIn
.
Date
is in same year, month and
day of month as another one failed.ShouldBeInSameDay
.
Date
is in same year, month,
day of month and hour as another one failed.ShouldBeInSameHour
.
Date
is in same year, month, day
of month, hour, minute, second adn millisecond as another one failed.ShouldBeInSameMillisecond
.
Date
is in same year, month, day
of month, hour and minute as another one failed.ShouldBeInSameMinute
.
Date
is in same year and month as another one failed.ShouldBeInSameMonth
.
Date
is in same year, month, day
of month, hour, minute and second as another one failed.ShouldBeInSameSecond
.
Date
is in same year as another one failed.ShouldBeInSameYear
.
ShouldBeInstance
.
ShouldBeInstanceOfAny
.
Date
is in the future failed.ShouldBeInTheFuture
.
ShouldBeInTheFuture
.
Date
is in the past failed.ShouldBeInThePast
.
ShouldBeInThePast
.
AssertionError
indicating that an assertion that verifies that two objects are lenient equal by accepting fields
failed.ShouldBeLenientEqualByAccepting
.
AssertionError
indicating that an assertion that verifies that two objects are lenient equal by ignoring fields
failed.ShouldBeLenientEqualByIgnoring
.
ShouldBeLess
.
ShouldBeLess
.
ShouldBeLessOrEqual
.
ShouldBeLessOrEqual
.
ShouldBeLowerCase
.
null
or empty
failed.ShouldBeNullOrEmpty
.
File
is a relative
path failed.ShouldBeRelativePath
.
ShouldBeSame
.
ConditionAndGroupGenericParameterTypeShouldBeTheSame
ShouldBeSorted
.
Iterable
is
a subset of an other set Iterable
failed.ShouldBeSubsetOf
ShouldBeSubsetOf
.
Date
is today (matching only year, month and day but not hours).ShouldBeToday
.
ShouldBeToday
.
ShouldBeUpperCase
.
Date
is within a year, month, day, ... failed.ShouldBeWithin
.
ShouldContain
.
ShouldContain
.
ShouldContainString
.
ShouldContainString
.
ShouldContainAtIndex
.
ShouldContainAtIndex
.
ShouldContainString
.
ShouldContainNull
.
ShouldContainOnly
.
ShouldContainOnly
.
ShouldContainSequence
.
ShouldContainSequence
.
String
contains another
String
failed.ShouldEndWith
.
ShouldEndWith
.
File
exists failed.ShouldExist
.
Condition
failed.ShouldHave
.
ShouldHaveEqualContent
.
ShouldHaveEqualContent
.
Throwable
have certain message failed.ShouldHaveMessage
.
Throwable
has no cause failed.ShouldHaveNoCause
.
ShouldHaveSameSizeAs
.
ShouldHaveSize
.
ShouldMatchPattern
.
String
matches a pattern failed.Condition
failed.ShouldNotBe
.
Date
is not between start - end
dates (inclusive or not) failed.ShouldNotBeBetween
.
ShouldNotBeBetween
.
ShouldNotBeEqual
.
ShouldNotBeEqual
.
null
failed.ShouldNotBeIn
.
ShouldNotBeIn
.
null
failed.ShouldNotBeSame
.
ShouldNotContain
.
ShouldNotContain
.
ShouldNotContainString
.
ShouldNotContainString
.
ShouldNotContainAtIndex
.
ShouldNotContainAtIndex
.
ShouldNotContainNull
.
String
does not contain another
String
failed.File
does not exist
failed.ShouldNotExist
.
Condition
failed.ShouldNotHave
.
ShouldNotHaveDuplicates
.
ShouldNotHaveDuplicates
.
ShouldStartWith
.
String
does not match a pattern
failed.ShouldStartWith
.
ShouldStartWith
.
String
starts with the given prefix.
String
s.String
s.TextDescription
.
Throwable
s.Throwable
s.Comparable
s whose implementation of compareTo
is not
consistent with their implementation of equals
(e.g.DateAssert.isBefore(String)
, given String is expected to follow the default
Date format, that is ISO 8601 format : "yyyy-MM-dd".
"adress.street.name"
.
DateAssert.isBefore(String)
, given String is expected to follow the default
Date format, that is ISO 8601 format : "yyyy-MM-dd".
ArrayWrapperList
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |