Uses of Class
org.assertj.core.description.Description
Packages that use Description
-
Uses of Description in org.assertj.core.api
Fields in org.assertj.core.api declared as DescriptionModifier and TypeFieldDescription(package private) Description
Condition.description
private Description
WritableAssertionInfo.description
Methods in org.assertj.core.api that return DescriptionModifier and TypeMethodDescriptionAssertionInfo.description()
Returns the description of an assertion.Condition.description()
Returns the description of this condition.WritableAssertionInfo.description()
Returns the description of an assertion.Methods in org.assertj.core.api with parameters of type DescriptionModifier and TypeMethodDescriptionAbstractAssert.as
(Description description) Sets the description of the assertion that is going to be called after.AbstractIterableAssert.as
(Description description) AbstractListAssert.as
(Description description) AbstractMapAssert.as
(Description description) AbstractObjectArrayAssert.as
(Description description) AbstractObjectAssert.as
(Description description) AtomicReferenceArrayAssert.as
(Description description) Condition.as
(Description newDescription) Sets the description of the assertion that is going to be called after.Descriptable.as
(Description description) Sets the description of the assertion that is going to be called after.AbstractAssert.describedAs
(Description description) Sets the description of the assertion that is going to be called after.AbstractIterableAssert.describedAs
(Description description) AbstractListAssert.describedAs
(Description description) AbstractMapAssert.describedAs
(Description description) Condition.describedAs
(Description newDescription) Sets the description of the assertion that is going to be called after.Descriptable.describedAs
(Description description) Sets the description of the assertion that is going to be called after.void
WritableAssertionInfo.description
(Description newDescription) Sets the description of an assertion, if given null an emptyDescription
is set.Constructors in org.assertj.core.api with parameters of type Description -
Uses of Description in org.assertj.core.description
Subclasses of Description in org.assertj.core.descriptionModifier and TypeClassDescriptionclass
A description containing empty text.class
A text-based description.Fields in org.assertj.core.description declared as DescriptionMethods in org.assertj.core.description that return DescriptionModifier and TypeMethodDescriptionstatic Description
EmptyTextDescription.emptyDescription()
static Description
Description.emptyIfNull
(Description description) Methods in org.assertj.core.description with parameters of type DescriptionModifier and TypeMethodDescriptionstatic Description
Description.emptyIfNull
(Description description) static String
Description.mostRelevantDescription
(Description existingDescription, String newDescription) -
Uses of Description in org.assertj.core.error
Methods in org.assertj.core.error with parameters of type DescriptionModifier and TypeMethodDescriptionprivate AssertionError
ShouldBeEqual.comparisonFailure
(Description description) AbstractShouldHaveTextContent.create
(Description d, Representation representation) BasicErrorMessageFactory.create
(Description d) Creates a new error message as a result of a failed assertion withStandardRepresentation
.BasicErrorMessageFactory.create
(Description d, Representation representation) Creates a new error message as a result of a failed assertion.ErrorMessageFactory.create
(Description d) Creates a new error message as a result of a failed assertion withStandardRepresentation
.ErrorMessageFactory.create
(Description d, Representation p) Creates a new error message as a result of a failed assertion.private String
ShouldBeEqual.defaultDetailedErrorMessage
(Description description, Representation representation) Builds and returns an error message from description usingShouldBeEqual.detailedExpected()
andShouldBeEqual.detailedActual()
detailed representation.private String
ShouldBeEqual.defaultErrorMessage
(Description description, Representation representation) Builds and returns an error message from description usingShouldBeEqual.expected
andShouldBeEqual.actual
basic representation.DescriptionFormatter.format
(Description d) Formats the given
by surrounding its text value with square brackets and adding a space at the end.Description
MessageFormatter.format
(Description d, Representation p, String format, Object... args) Interprets a printf-style formatString
for failed assertion messages.AssertionErrorFactory.newAssertionError
(Description d, Representation representation) Creates an
.AssertionError
ShouldBeEqual.newAssertionError
(Description description, Representation representation) Creates an
indicating that an assertion that verifies that two objects are equal failed.AssertionError
The
message is built so that it differentiatesAssertionError
ShouldBeEqual.actual
andShouldBeEqual.expected
description in case their string representation are the same (like 42 float and 42 double).