Uses of Interface
org.assertj.core.presentation.Representation
-
Packages that use Representation Package Description org.assertj.core.api org.assertj.core.error org.assertj.core.presentation org.assertj.core.util -
-
Uses of Representation in org.assertj.core.api
Methods 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.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.error
Methods in org.assertj.core.error with parameters of type Representation Modifier and Type Method Description 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.StringMessageFormatter. 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).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) -
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 StringStandardRepresentation. multiLineFormat(Representation representation, Object[] iterable, Set<Object[]> alreadyFormatted)protected StringStandardRepresentation. singleLineFormat(Representation representation, Object[] iterable, String start, String end, Set<Object[]> alreadyFormatted)protected StringStandardRepresentation. smartFormat(Representation representation, Object[] iterable)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.
-