|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
ComparableAssert
.ObjectEnumerableAssert
whose actual value type is
Collection
.UnevenComparableAssert
.AllOf
AllOf
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.
Iterable
contains all the elements of the other Iterable
, in any order.
Iterable
, in any order.
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)
.Comparables.comparisonStrategy
if one has been set.
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
.
Iterable
.
Iterable
.
Iterable
.
Iterable
.
Iterable
.
Iterable
has the same size as the other array.
Iterable
has the same size as the other Iterable
.
Iterable
.
Map
has the same size as the other Iterable
.
Map
has the same size as the other array.
Iterable
.
Iterable
.
String
has the same size as the other Iterable
.
String
has the same size as the other array.
Iterable
is equal to the expected one.
Map
is equal to the expected one.
String
is equal to the expected one.
Date
time is equal to the given timestamp.
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.TimeUnit.SECONDS.toMillis(5)
.
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.
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)
.Comparables.comparisonStrategy
if one has been set.
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
.Filters.having(Condition)
- pick the method you prefer to have the most readable code.
BigDecimalComparator
.
BigDecimal
s.BigDecimal
Comparator
based on BigDecimal.compareTo(BigDecimal)
.BigDecimal.compareTo(BigDecimal)
instead of
BigDecimal.equals(Object)
method.BigDecimal
s.boolean
s.boolean
s.Boolean
s.byte
s.byte
s.Byte
s.File
can be read by the application.
File
can be modified by the application.
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.
Iterable
, in any order.
Iterable
, in any order.
Iterable
, in any order.
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.
DoesNotHave
.
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.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
.
Properties
with given propertyName and Object as property type.
.
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 Iterable
.
Properties.extractProperty(String)
) from the elements
of the given array.
File
is exactly equal to the given one.
File
is exactly equal to the given one.FileAssert.usingCharset(Charset)
or
FileAssert.usingCharset(String)
prior to calling this method; if not, the platform's default charset (as returned by
Charset.defaultCharset()
) will be used.
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
.
Iterable
.
Iterable
.
Iterable
.
Iterable
.
Iterable
.
Iterable
.
Iterable
.
Iterable
.
Iterable
.
Iterable
.
Date
has the same time as the given timestamp.
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
.Filters.being(Condition)
- pick the method you prefer to have the most readable code.
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.true
.true
.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)
.
isEqualByComparingTo(BigDecimal)
but takes
care of converting given String to BigDecimal
for you.
Comparable.compareTo(Object)
.
isEqualTo(BigDecimal)
but takes care of converting given String to
BigDecimal
for you.
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.
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)
).
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)
).isIn(Collection<String>)
because it would be same signature as
isIn(Collection<Date>)
since java collection type are erased at runtime.
NaN
.
NaN
.
NaN
.
Date
is not in the given period defined by start and end dates.true
.true
.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)
).isNotIn(Collection<String>)
because it would be same signature as
isNotIn(Collection<Date>)
since java collection type are erased at runtime.
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.AssertionError
message is built so that it differentiates ShouldBeEqual.actual
and ShouldBeEqual.expected
description in case their string representation are the same (like 42 float and 42 double).
Not
.
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
.
Properties.extractProperty(String)
.
String.format(String, Object...)
, hence the presence of args parameter.
Iterable
or array.PropertySupport.propertyValue(String, Class, Object)
for syntactic sugar.
List
containing the values of the given property name, from the elements of the given
Iterable
.
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
.
ShouldBeEqualColors
.
String
s are equal, ignoring case
considerations, failed.ShouldBeEqualImages
.
ShouldBeExactlyInstanceOf
.
File
is executable
failed.ShouldBeExecutable
.
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
.
ShouldBeOfClassIn
.
File
is readable
failed.ShouldBeReadable
.
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, ...ShouldBeWithin
.
File
is writable
failed.ShouldBeWritable
.
ShouldContain
.
ShouldContain
.
ShouldContainString
.
ShouldContainString
.
ShouldContainAtIndex
.
ShouldContainAtIndex
.
ShouldContainString
.
ShouldContainKey
.
ShouldContainNull
.
ShouldContainOnly
.
ShouldContainOnly
.
ShouldContainSequence
.
ShouldContainSequence
.
String
contains another String
failed.ShouldContainValue
.
ShouldEndWith
.
ShouldEndWith
.
File
exists failed.ShouldExist
.
Condition
failed.ShouldHave
.
ShouldHaveBinaryContent
.
ShouldHaveContent
.
ShouldHaveEqualContent
.
ShouldHaveEqualContent
.
Throwable
have certain message failed.ShouldHaveMessage
.
Throwable
has no cause failed.ShouldHaveNoCause
.
ShouldHaveSameClass
.
ShouldHaveSameSizeAs
.
ShouldHaveSize
.
ShouldHaveTime
.
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.ShouldNotBeExactlyInstanceOf
.
ShouldNotBeIn
.
ShouldNotBeIn
.
ShouldNotBeInstance
.
ShouldNotBeInstanceOfAny
.
null
failed.ShouldNotBeOfClassIn
.
ShouldNotBeSame
.
ShouldNotContain
.
ShouldNotContain
.
ShouldNotContainString
.
ShouldNotContainString
.
ShouldNotContainAtIndex
.
ShouldNotContainAtIndex
.
ShouldNotContainKey
.
ShouldNotContainNull
.
String
does not contain another
String
failed.ShouldNotContainValue
.
File
does not exist failed.ShouldNotExist
.
Condition
failed.ShouldNotHave
.
ShouldNotHaveDuplicates
.
ShouldNotHaveDuplicates
.
ShouldNotHaveSameClass
.
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".
equals
method to compare group elements for
incoming assertion checks.
equals
method to compare group elements for
incoming assertion checks.
equals
method to compare group elements for
incoming assertion checks.
equals
method to compare group elements for
incoming assertion checks.
equals
method to compare group elements for
incoming assertion checks.
equals
method to compare group elements for
incoming assertion checks.
equals
method to compare group elements for
incoming assertion checks.
equals
method to compare group elements for
incoming assertion checks.
equals
method to compare group elements for
incoming assertion checks.
equals
method to compare group elements for
incoming assertion checks.
equals
method to compare group elements for
incoming assertion checks.
equals
method to compare group elements for
incoming assertion checks.
"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 |