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) DescriptionCondition.descriptionprivate DescriptionWritableAssertionInfo.descriptionMethods 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.voidWritableAssertionInfo.description(Description newDescription) Sets the description of an assertion, if given null an emptyDescriptionis 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 TypeClassDescriptionclassA description containing empty text.classA text-based description.Fields in org.assertj.core.description declared as DescriptionMethods 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) -
Uses of Description in org.assertj.core.error
Methods in org.assertj.core.error with parameters of type DescriptionModifier and TypeMethodDescriptionprivate AssertionErrorShouldBeEqual.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 StringShouldBeEqual.defaultDetailedErrorMessage(Description description, Representation representation) Builds and returns an error message from description usingShouldBeEqual.detailedExpected()andShouldBeEqual.detailedActual()detailed representation.private StringShouldBeEqual.defaultErrorMessage(Description description, Representation representation) Builds and returns an error message from description usingShouldBeEqual.expectedandShouldBeEqual.actualbasic 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.AssertionErrorFactory.newAssertionError(Description d, Representation representation) 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).