Uses of Interface
org.assertj.core.presentation.Representation
-
-
Uses of Representation in org.assertj.core.api
Fields in org.assertj.core.api declared as Representation Modifier and Type Field Description private static RepresentationAbstractAssert. customRepresentationprivate RepresentationWritableAssertionInfo. representationMethods in org.assertj.core.api that return Representation Modifier and Type Method Description RepresentationAssertionInfo. representation()RepresentationWritableAssertionInfo. representation()Methods in org.assertj.core.api with parameters of type Representation Modifier and Type Method Description static voidAbstractAssert. setCustomRepresentation(Representation customRepresentation)static voidAssertions. useRepresentation(Representation customRepresentation)Register aRepresentationthat will be used in all following assertions.default voidWithAssertions. useRepresentation(Representation customRepresentation)Register aRepresentationthat will be used in all following assertions.voidWritableAssertionInfo. useRepresentation(Representation newRepresentation)SELFAbstractAssert. withRepresentation(Representation representation)Use the givenRepresentationto describe/represent values in AssertJ error messages.SELFAssert. withRepresentation(Representation representation)Use the givenRepresentationto describe/represent values in AssertJ error messages.Constructors in org.assertj.core.api with parameters of type Representation Constructor Description WritableAssertionInfo(Representation customRepresentation) -
Uses of Representation in org.assertj.core.api.recursive.comparison
Methods in org.assertj.core.api.recursive.comparison with parameters of type Representation Modifier and Type Method Description private StringRecursiveComparisonConfiguration. describeIgnoredOverriddenEqualsForTypes(Representation representation)private voidRecursiveComparisonConfiguration. describeIgnoredOverriddenEqualsMethods(StringBuilder description, Representation representation)private voidRecursiveComparisonConfiguration. describeOverriddenEqualsMethodsUsage(StringBuilder description, Representation representation)StringComparisonDifference. multiLineDescription(Representation representation)StringRecursiveComparisonConfiguration. multiLineDescription(Representation representation) -
Uses of Representation in org.assertj.core.configuration
Fields in org.assertj.core.configuration declared as Representation Modifier and Type Field Description private RepresentationConfigurationProvider. representationMethods in org.assertj.core.configuration that return Representation Modifier and Type Method Description RepresentationConfiguration. representation()RepresentationConfigurationProvider. representation()Returns the defaultRepresentationthat needs to be used within AssertJ, which is taken first from: a registeredConfiguration.representation()if any a registeredRepresentationIf no custom representation was registered, theStandardRepresentationwill be used. -
Uses of Representation in org.assertj.core.error
Fields in org.assertj.core.error declared as Representation Modifier and Type Field Description private RepresentationShouldBeEqual. representationMethods in org.assertj.core.error with parameters of type Representation Modifier and Type Method Description private StringMessageFormatter. asText(Representation p, Object o)StringAbstractShouldHaveTextContent. create(Description d, Representation representation)StringBasicErrorMessageFactory. create(Description d, Representation representation)Creates a new error message as a result of a failed assertion.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.private static StringShouldBeEqualByComparingFieldByFieldRecursively. describeDifference(DeepDifference.Difference difference, Representation representation)StringMessageFormatter. format(Description d, Representation p, String format, Object... args)Interprets a printf-style formatStringfor failed assertion messages.private Object[]MessageFormatter. format(Representation p, Object[] args)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).static AssertionErrorFactoryShouldBeEqual. shouldBeEqual(Object actual, Object expected, ComparisonStrategy comparisonStrategy, Representation representation)Creates a new.ShouldBeEqualstatic AssertionErrorFactoryShouldBeEqual. shouldBeEqual(Object actual, Object expected, Representation representation)Creates a new.ShouldBeEqualstatic ErrorMessageFactoryShouldBeEqualByComparingFieldByFieldRecursively. shouldBeEqualByComparingFieldByFieldRecursive(Object actual, Object other, List<DeepDifference.Difference> differences, Representation representation)static ErrorMessageFactoryShouldBeEqualByComparingFieldByFieldRecursively. shouldBeEqualByComparingFieldByFieldRecursively(Object actual, Object other, List<ComparisonDifference> differences, RecursiveComparisonConfiguration recursiveComparisonConfiguration, Representation representation)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 Representation Constructor Description ShouldBeEqual(Object actual, Object expected, ComparisonStrategy comparisonStrategy, Representation representation) -
Uses of Representation in org.assertj.core.presentation
Classes in org.assertj.core.presentation that implement Representation Modifier and Type Class Description classBinaryRepresentationBinary object representation instead of standard java representation.classHexadecimalRepresentationHexadecimal object representation instead of standard java representation.classStandardRepresentationStandard java object representation.classUnicodeRepresentationUnicode object representation instead of standard java representation.Methods in org.assertj.core.presentation with parameters of type Representation Modifier and Type Method Description protected StringBinaryRepresentation. toStringOf(Representation representation, String s)protected StringHexadecimalRepresentation. toStringOf(Representation representation, String s) -
Uses of Representation in org.assertj.core.util
Methods in org.assertj.core.util with parameters of type Representation Modifier and Type Method Description static StringMaps. format(Representation p, Map<?,?> map)Deprecated.useStandardRepresentation.toStringOf(Map)instead.
-