Uses of Class
org.assertj.core.description.Description
-
Packages that use Description Package Description org.assertj.core.api org.assertj.core.description org.assertj.core.error -
-
Uses of Description in org.assertj.core.api
Methods in org.assertj.core.api that return Description Modifier and Type Method Description DescriptionAssertionInfo. description()Returns the description of an assertion.DescriptionCondition. description()Returns the description of this condition.DescriptionWritableAssertionInfo. description()Returns the description of an assertion.Methods in org.assertj.core.api with parameters of type Description Modifier and Type Method Description SELFAbstractAssert. as(Description description)Sets the description of the assertion that is going to be called after.SELFAbstractIterableAssert. as(Description description)SELFAbstractListAssert. as(Description description)SELFAbstractMapAssert. as(Description description)SELFAbstractObjectArrayAssert. as(Description description)SELFAbstractObjectAssert. as(Description description)AtomicReferenceArrayAssert<T>AtomicReferenceArrayAssert. as(Description description)Condition<T>Condition. as(Description newDescription)Sets the description of the assertion that is going to be called after.SELFDescriptable. as(Description description)Sets the description of the assertion that is going to be called after.SELFAbstractAssert. describedAs(Description description)Sets the description of the assertion that is going to be called after.SELFAbstractIterableAssert. describedAs(Description description)SELFAbstractListAssert. describedAs(Description description)SELFAbstractMapAssert. describedAs(Description description)Condition<T>Condition. describedAs(Description newDescription)Sets the description of the assertion that is going to be called after.SELFDescriptable. 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 Constructor Description Condition(Description description)Creates a newCondition. -
Uses of Description in org.assertj.core.description
Subclasses of Description in org.assertj.core.description Modifier and Type Class Description classEmptyTextDescriptionA description containing empty text.classTextDescriptionA text-based description.Methods in org.assertj.core.description that return Description Modifier and Type Method Description static DescriptionEmptyTextDescription. emptyDescription()static DescriptionDescription. emptyIfNull(Description description)Methods in org.assertj.core.description with parameters of type Description Modifier and Type Method Description static 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 Description Modifier and Type Method Description StringAbstractShouldHaveTextContent. create(Description d, Representation representation)StringBasicErrorMessageFactory. create(Description d)Creates a new error message as a result of a failed assertion withStandardRepresentation.StringBasicErrorMessageFactory. create(Description d, Representation representation)Creates a new error message as a result of a failed assertion.StringErrorMessageFactory. create(Description d)Creates a new error message as a result of a failed assertion withStandardRepresentation.StringErrorMessageFactory. create(Description d, Representation p)Creates a new error message as a result of a failed assertion.StringDescriptionFormatter. format(Description d)Formats the givenby surrounding its text value with square brackets and adding a space at the end.DescriptionStringMessageFormatter. format(Description d, Representation p, String format, Object... args)Interprets a printf-style formatStringfor failed assertion messages.AssertionErrorAssertionErrorFactory. newAssertionError(Description d, Representation representation)Creates an.AssertionErrorAssertionErrorShouldBeEqual. 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).
-