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 DescriptionNotThrownAssert.descriptionprotected DescriptionThrowableTypeAssert.descriptionMethods 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 SELFDescriptable.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.voidWritableAssertionInfo.description(Description newDescription) Sets the description of an assertion, if given null an emptyDescriptionis set.Method parameters in org.assertj.core.api with type arguments of type DescriptionModifier and TypeMethodDescriptionstatic voidAbstractAssert.setDescriptionConsumer(Consumer<Description> descriptionConsumer) static voidAssertions.setDescriptionConsumer(Consumer<Description> descriptionConsumer) All assertions description will be consumed by the givenConsumer<Description>allowing for example to record them in a file.static voidBDDAssertions.setDescriptionConsumer(Consumer<Description> descriptionConsumer) All assertions description will be consumed by the givenConsumer<Description>allowing for example to record them in a file.static voidWithAssertions.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 TypeMethodDescriptionvoidConfiguration.setDescriptionConsumer(Consumer<Description> descriptionConsumer) -
Uses of Description in org.assertj.core.description
Subclasses of Description in org.assertj.core.descriptionModifier and TypeClassDescriptionclassA description containing empty text.classTheDescriptioncombining multipleDescriptions.classA text-based description that is evaluated lazily.classA text-based description.Methods in org.assertj.core.description that return DescriptionModifier and TypeMethodDescriptionstatic DescriptionEmptyTextDescription.emptyDescription()static DescriptionDescription.emptyIfNull(Description description) Methods in org.assertj.core.description with parameters of type DescriptionModifier and TypeMethodDescriptionstatic DescriptionDescription.emptyIfNull(Description description) static StringDescription.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 StringShouldBeEqual.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 givenby surrounding its text value with square brackets and adding a space at the end.DescriptionMessageFormatter.format(Description d, Representation p, String format, Object... args) Interprets a printf-style formatStringfor failed assertion messages.AssertionErrorCreator.multipleAssertionsError(Description description, List<? extends AssertionError> errors) AssertionErrorFactory.newAssertionError(Description description, Representation representation) Deprecated.Creates an.AssertionErrorShouldBeEqual.newAssertionError(Description description, Representation representation) Creates anindicating that an assertion that verifies that two objects are equal failed.AssertionError
Themessage is built so that it differentiatesAssertionErrorShouldBeEqual.actualandShouldBeEqual.expecteddescription in case their string representation are the same (like 42 float and 42 double).static ErrorMessageFactoryShouldSatisfy.shouldSatisfyAll(Object actual, Description d) protected StringShouldBeEqual.smartErrorMessage(Description description, Representation representation) Builds and returns an error message from the given description usingShouldBeEqual.expectedandShouldBeEqual.actualbasic 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)