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
Fields in org.assertj.core.api declared as Description Modifier and Type Field Description (package private) DescriptionCondition. descriptionprotected DescriptionThrowableTypeAssert. descriptionprivate DescriptionWritableAssertionInfo. descriptionMethods 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.ThrowableTypeAssert<T>ThrowableTypeAssert. 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.ThrowableAssertAlternative<T>ThrowableAssertAlternative. describedAs(Description description)Sets the description of the assertion that is going to be called after.ThrowableTypeAssert<T>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.Constructors in org.assertj.core.api with parameters of type Description Constructor Description Condition(Description description)Creates a new.Condition -
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.Fields in org.assertj.core.description declared as Description Modifier and Type Field Description private static DescriptionEmptyTextDescription. INSTANCEMethods 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 private AssertionErrorShouldBeEqual. comparisonFailure(Description 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.private StringShouldBeEqual. defaultDetailedErrorMessage(Description description, Representation representation)Builds and returns an error message from description usingShouldBeEqual.detailedExpected()andShouldBeEqual.detailedActual()detailed representation.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.private static StringMultipleAssertionsError. formatDescription(Description description)private static StringAssertionErrorCreator. headingFrom(Description description)AssertionErrorAssertionErrorCreator. multipleAssertionsError(Description description, List<? extends AssertionError> errors)AssertionErrorAssertionErrorFactory. newAssertionError(Description description, 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).private 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 Description Constructor Description MultipleAssertionsError(Description description, List<? extends AssertionError> errors)
-