Uses of Class
org.assertj.core.description.Description
Packages that use Description
Package
Description
-
Uses of Description in org.assertj.core.api
Fields in org.assertj.core.api declared as DescriptionModifier and TypeFieldDescriptionprotected Description
NotThrownAssert.description
protected Description
ThrowableTypeAssert.description
Methods in org.assertj.core.api that return DescriptionModifier and TypeMethodDescriptionCondition.conditionDescriptionWithStatus
(T actual) Returns the description of this condition with its status failed or success.AssertionInfo.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 TypeMethodDescriptionAbstractIterableAssert.as
(Description description) AbstractListAssert.as
(Description description) AbstractMapAssert.as
(Description description) AbstractObjectArrayAssert.as
(Description description) AbstractObjectAssert.as
(Description description) AtomicReferenceArrayAssert.as
(Description description) default SELF
Descriptable.as
(Description description) Sets the description of the assertion that is going to be called after.SoftThrowableAssertAlternative.as
(Description description) ThrowableAssertAlternative.as
(Description description) 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.NotThrownAssert.describedAs
(Description description) Sets the description of the assertion that is going to be called after.SoftThrowableTypeAssert.describedAs
(Description description) ThrowableAssertAlternative.describedAs
(Description description) Sets the description of the assertion that is going to be called after.ThrowableTypeAssert.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.Method parameters in org.assertj.core.api with type arguments of type DescriptionModifier and TypeMethodDescriptionstatic void
AbstractAssert.setDescriptionConsumer
(Consumer<Description> descriptionConsumer) static void
Assertions.setDescriptionConsumer
(Consumer<Description> descriptionConsumer) All assertions description will be consumed by the givenConsumer<Description>
allowing for example to record them in a file.static void
BDDAssertions.setDescriptionConsumer
(Consumer<Description> descriptionConsumer) All assertions description will be consumed by the givenConsumer<Description>
allowing for example to record them in a file.static void
WithAssertions.setDescriptionConsumer
(Consumer<Description> descriptionConsumer) All assertions description will be consumed by the givenConsumer<Description>
allowing for example to record them in a file.Constructors in org.assertj.core.api with parameters of type Description -
Uses of Description in org.assertj.core.condition
Methods in org.assertj.core.condition that return DescriptionModifier and TypeMethodDescriptionJoin.conditionDescriptionWithStatus
(T actual) MappedCondition.conditionDescriptionWithStatus
(FROM actual) Join.description()
-
Uses of Description in org.assertj.core.configuration
Methods in org.assertj.core.configuration that return types with arguments of type DescriptionMethod parameters in org.assertj.core.configuration with type arguments of type DescriptionModifier and TypeMethodDescriptionvoid
Configuration.setDescriptionConsumer
(Consumer<Description> descriptionConsumer) -
Uses of Description in org.assertj.core.description
Subclasses of Description in org.assertj.core.descriptionModifier and TypeClassDescriptionclass
A description containing empty text.class
TheDescription
combining multipleDescription
s.class
A text-based description that is evaluated lazily.class
A text-based description.Methods 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) Constructor parameters in org.assertj.core.description with type arguments of type DescriptionModifierConstructorDescriptionJoinDescription
(String prefix, String suffix, Collection<Description> descriptions) Creates a new
.JoinDescription
-
Uses of Description in org.assertj.core.error
Methods in org.assertj.core.error with parameters of type DescriptionModifier and TypeMethodDescriptionAbstractShouldHaveTextContent.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.protected String
ShouldBeEqual.defaultDetailedErrorMessage
(Description description, Representation representation) Builds and returns an error message from description usingShouldBeEqual.detailedExpected()
andShouldBeEqual.detailedActual()
detailed 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.AssertionErrorCreator.multipleAssertionsError
(Description description, List<? extends AssertionError> errors) AssertionErrorFactory.newAssertionError
(Description description, 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).protected String
ShouldBeEqual.smartErrorMessage
(Description description, Representation representation) Builds and returns an error message from the given description usingShouldBeEqual.expected
andShouldBeEqual.actual
basic representation if their description differ otherwise useShouldBeEqual.defaultDetailedErrorMessage(Description, Representation)
to represent them differently.Constructors in org.assertj.core.error with parameters of type DescriptionModifierConstructorDescriptionMultipleAssertionsError
(Description description, List<? extends AssertionError> errors)