| Interface | Description |
|---|---|
| AssertionErrorFactory |
Factory of
s. |
| ErrorMessageFactory |
Factory of error messages.
|
| Class | Description |
|---|---|
| AbstractShouldHaveTextContent |
Base class for text content error.
|
| BasicErrorMessageFactory |
A factory of error messages typically shown when an assertion fails.
|
| 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. |
| DescriptionFormatter |
Formats the
s to be included in assertion errors. |
| 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. |
| 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. |
| 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. |
| 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. |
| 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. |
| 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. |
| 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. |
| 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. |
| 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. |
| 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. |
| MessageFormatter |
Formats the messages to be included in assertion errors.
|
| ShouldBe |
Creates an error message indicating that an assertion that verifies that a value satisfies a
failed. |
| ShouldBeAbsolutePath |
Creates an error message indicating that an assertion that verifies that a
is an absolute path
failed. |
| ShouldBeAfter |
Creates an error message indicating that an assertion that verifies that a
Date is after another one failed. |
| ShouldBeAfterOrEqualsTo |
Creates an error message indicating that an assertion that verifies that a
Date is after or equals to another one
failed. |
| ShouldBeAnArray |
Creates an error message indicating that a group of elements should have been an array.
|
| ShouldBeAnnotation |
Creates an error message indicating that an assertion that verifies that a class is (or not) an annotation.
|
| ShouldBeAssignableFrom |
Creates an error message indicating that an assertion that verifies that a class is assignable from.
|
| 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. |
| ShouldBeBefore |
Creates an error message indicating that an assertion that verifies that a
Date is before another one failed. |
| ShouldBeBeforeOrEqualsTo |
Creates an error message indicating that an assertion that verifies that a
Date is before or equals to another one
failed. |
| ShouldBeBetween |
Creates an error message indicating that an assertion that verifies that a
Date is between start - end dates (inclusive
or not) failed. |
| ShouldBeCloseTo |
Creates an error message indicating that an assertion that verifies that a
Date is close to another one from some delta
failed. |
| ShouldBeDirectory |
Creates an error message indicating that an assertion that verifies that a
is an existing directory
failed. |
| ShouldBeEmpty |
Creates an error message indicating that an assertion that verifies a group of elements is empty failed.
|
| ShouldBeEqual |
Creates an
indicating that an assertion that verifies that two objects are equal
failed. |
| ShouldBeEqualByComparingOnlyGivenFields |
Creates an
indicating that an assertion that verifies that two objects are
lenient equal by accepting fields failed. |
| ShouldBeEqualIgnoringCase |
Creates an error message indicating that an assertion that verifies that two
CharSequences are equal, ignoring case
considerations, failed. |
| ShouldBeEqualToIgnoringFields |
Creates an
indicating that an assertion that verifies that two objects are lenient equal by
ignoring fields failed. |
| ShouldBeEqualWithinOffset |
Creates an error message indicating that an assertion that verifies that two numbers are equal within a positive offset failed.
|
| ShouldBeEqualWithTimePrecision |
Creates an
indicating that an assertion that verifies that two dates are equals
up to a given precision failed. |
| ShouldBeExactlyInstanceOf |
Creates an error message indicating that an assertion that verifies that an object is exactly an instance of some
type failed.
|
| ShouldBeExecutable |
Creates an error message indicating that an assertion that verifies that a
is executable
failed. |
| ShouldBeFile |
Creates an error message indicating that an assertion that verifies that a
is an existing file
failed. |
| ShouldBeGreater |
Creates an error message indicating that an assertion that verifies that a value is greater than another one failed.
|
| ShouldBeGreaterOrEqual |
Creates an error message indicating that an assertion that verifies that a value is greater than or equal to another one
failed.
|
| ShouldBeIn |
Creates an error message indicating that an assertion that verifies that a value is in a group of values (e.g.
|
| 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. |
| 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. |
| ShouldBeInSameHourWindow |
Creates an error message indicating that an assertion that verifies that a
Date is in same hour window as
another one failed. |
| 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. |
| ShouldBeInSameMinuteWindow |
Creates an error message indicating that an assertion that verifies that a
Date is in minute window as
another one failed. |
| ShouldBeInSameMonth |
Creates an error message indicating that an assertion that verifies that a
Date is in same year and month as another
one failed. |
| 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. |
| ShouldBeInSameSecondWindow |
Creates an error message indicating that an assertion that verifies that a
Date is in second window as
another one failed. |
| ShouldBeInSameYear |
Creates an error message indicating that an assertion that verifies that a
Date is in same year as another one failed. |
| ShouldBeInstance |
Creates an error message indicating that an assertion that verifies that an object is an instance of some type
failed.
|
| ShouldBeInstanceOfAny |
Creates an error message indicating that an assertion that verifies that an object is an instance of one or more
types failed.
|
| ShouldBeInterface |
Creates an error message indicating that an assertion that verifies that a class is (or not) an interface.
|
| ShouldBeInTheFuture |
Creates an error message indicating that an assertion that verifies that a
Date is in the future failed. |
| ShouldBeInThePast |
Creates an error message indicating that an assertion that verifies that a
Date is in the past failed. |
| ShouldBeLess |
Creates an error message indicating that an assertion that verifies that a value is less than another one failed.
|
| ShouldBeLessOrEqual |
Creates an error message indicating that an assertion that verifies that a value is less than or equal to another one failed.
|
| ShouldBeLowerCase |
Creates an error message that indicates an assertion that verifies that a character is lowercase failed.
|
| ShouldBeNullOrEmpty |
Creates an error message indicating that an assertion that verifies a group of elements is
null or empty failed. |
| ShouldBeOfClassIn |
Creates an error message indicating that an assertion that verifies that an object is of type in group of types failed.
|
| ShouldBeReadable |
Creates an error message indicating that an assertion that verifies that a
is readable
failed. |
| ShouldBeRelativePath |
Creates an error message indicating that an assertion that verifies that a
is a relative path failed. |
| ShouldBeSame |
Creates an error message indicating that an assertion that verifies that two object refer to same object failed.
|
| 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. |
| ShouldBeSubsetOf |
Creates an error message indicating that an assertion that verifies that an
Iterable is a subset of an other set
Iterable failed. |
| 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). |
| ShouldBeUpperCase |
Creates an error message that indicates an assertion that verifies that a character is uppercase failed.
|
| ShouldBeWithin |
Creates an error message indicating that an assertion that verifies that a
Date is within a year, month, day, ... |
| ShouldBeWritable |
Creates an error message indicating that an assertion that verifies that a
is writable
failed. |
| ShouldContain |
Creates an error message indicating that an assertion that verifies a group of elements contains a given set of values failed.
|
| ShouldContainAtIndex |
Creates an error message indicating that an assertion that verifies a group of elements contains a value at a given index
failed.
|
| ShouldContainCharSequence |
Creates an error message indicating that an assertion that verifies that a
CharSequence contains another
CharSequence failed. |
| ShouldContainCharSequenceOnlyOnce |
Creates an error message indicating that an assertion that verifies that a
CharSequence contains another CharSequence only
once failed. |
| ShouldContainCharSequenceSequence |
Creates an error message indicating that an assertion that verifies that a
CharSequence contains a sequence of
several CharSequences in order failed. |
| 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.
|
| ShouldContainKeys |
Creates an error message indicating that an assertion that verifies a map contains a key..
|
| ShouldContainNull |
Creates an error message indicating that an assertion that verifies a group of elements contains a null element failed.
|
| 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.
|
| ShouldContainSequence |
Creates an error message indicating that an assertion that verifies that a group of elements contains a sequence of values
failed.
|
| 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.
|
| ShouldContainSubsequence |
Creates an error message indicating that an assertion that verifies that a group of elements contains a subsequence
of values failed.
|
| ShouldContainValue |
Creates an error message indicating that an assertion that verifies a map contains a value.
|
| 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.
|
| ShouldExist |
Creates an error message indicating that an assertion that verifies that a
exists failed. |
| ShouldHave |
Creates an error message indicating that an assertion that verifies that a value satisfies a
failed. |
| ShouldHaveAnnotations |
Creates an error message indicating that an assertion that verifies that a class have an annotation.
|
| 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. |
| ShouldHaveBinaryContent |
Creates an error message indicating that an assertion that verifies that a file has a given binary content failed.
|
| ShouldHaveCauseExactlyInstance |
Creates an error message indicating that an assertion that verifies that a
Throwable have a cause
exactly instance of a certain type. |
| ShouldHaveCauseInstance |
Creates an error message indicating that an assertion that verifies that a
Throwable have a cause instance of
a certain type. |
| ShouldHaveContent |
Creates an error message indicating that an assertion that verifies that a file has a given text content failed.
|
| ShouldHaveEqualContent |
Creates an error message indicating that an assertion that verifies that two files/inputStreams have equal content failed.
|
| ShouldHaveExtension |
Creates an error message indicating that a
File should have extension. |
| ShouldHaveFields |
Creates an error message indicating that an assertion that verifies that a class have field.
|
| ShouldHaveMessage |
Creates an error message indicating that an assertion that verifies that a
Throwable have certain message failed. |
| ShouldHaveName |
Creates an error message indicating that a
File should have name. |
| ShouldHaveNoCause |
Creates an error message indicating that an assertion that verifies that an
Throwable has no cause failed. |
| ShouldHaveNoParent |
Creates an error message when a
File should not have a parent. |
| ShouldHaveParent |
Creates an error message indicating that a
File should have a parent. |
| ShouldHaveRootCauseExactlyInstance |
Creates an error message indicating that an assertion that verifies that a
Throwable have a root cause
exactly instance of a certain type. |
| ShouldHaveRootCauseInstance |
Creates an error message indicating that an assertion that verifies that a
Throwable have a root cause
instance of a certain type. |
| ShouldHaveSameClass |
Creates an error message indicating that an assertion that verifies that an object have same class as another instance failed.
|
| ShouldHaveSameSizeAs |
Creates an error message indicating that an assertion that verifies that a value have certain size failed.
|
| ShouldHaveSize |
Creates an error message indicating that an assertion that verifies that a value have certain size failed.
|
| ShouldHaveTime |
Creates an error message indicating that an assertion that verifies that a date have a certain timestamp.
|
| ShouldMatchPattern |
Creates an error message indicating that an assertion that verifies that a
CharSequence matches a pattern failed. |
| ShouldNotBe |
Creates an error message indicating that an assertion that verifies that a value does not satisfy a
failed. |
| ShouldNotBeBetween |
Creates an error message indicating that an assertion that verifies that a
Date is not between start - end dates
(inclusive or not) failed. |
| ShouldNotBeEmpty |
Creates an error message indicating that an assertion that verifies a group of elements is not empty failed.
|
| ShouldNotBeEqual |
Creates an error message indicating that an assertion that verifies that two objects are not equal failed.
|
| ShouldNotBeExactlyInstanceOf |
Creates an error message indicating that an assertion that verifies that an object is not exactly an instance of some type
failed.
|
| ShouldNotBeIn |
Creates an error message indicating that an assertion that verifies that a value is not in a group of values (e.g.
|
| ShouldNotBeInstance |
Creates an error message indicating that an assertion that verifies that an object is not an instance of some type failed.
|
| ShouldNotBeInstanceOfAny |
Creates an error message indicating that an assertion that verifies that an object is not an instance of one or more types
failed.
|
| ShouldNotBeNull |
Creates an error message that indicates an assertion that verifies that an object is not
null failed. |
| ShouldNotBeOfClassIn |
Creates an error message indicating that an assertion that verifies that an object is not of type in group of types failed.
|
| ShouldNotBeSame |
Creates an error message indicating an assertion that verifies that two objects do not refer to the same object failed.
|
| ShouldNotContain |
Creates an error message indicating that an assertion that verifies a group of elements does not contain a given set of values
failed.
|
| 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.
|
| ShouldNotContainCharSequence |
Creates an error message indicating that an assertion that verifies that a
CharSequence does not contain another
CharSequence failed. |
| ShouldNotContainKey |
Creates an error message indicating that an assertion that verifies a map does not contains a key failed.
|
| ShouldNotContainNull |
Creates an error message indicating that an assertion that verifies a group of elements does not contain null elements failed.
|
| ShouldNotContainValue |
Creates an error message indicating that an assertion that verifies a map does not contains a value.
|
| ShouldNotExist |
Creates an error message indicating that an assertion that verifies that a
does not exist failed. |
| ShouldNotHave |
Creates an error message indicating that an assertion that verifies that a value does not satisfy a
failed. |
| ShouldNotHaveDuplicates |
Creates an error message indicating that an assertion that verifies a group of elements is does not have duplicates failed.
|
| ShouldNotHaveSameClass |
Creates an error message indicating that an assertion that verifies that an object has same class as another instance failed.
|
| ShouldNotMatchPattern |
Creates an error message indicating that an assertion that verifies that a
CharSequence does not match a pattern failed. |
| 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.
|
Copyright © 2013-2014 AssertJ. All Rights Reserved.