|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Representation | |
|---|---|
| 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 | |
|---|---|
Representation |
AssertionInfo.representation()
|
Representation |
WritableAssertionInfo.representation()
|
| Methods in org.assertj.core.api with parameters of type Representation | |
|---|---|
void |
WritableAssertionInfo.useRepresentation(Representation newRepresentation)
|
| Uses of Representation in org.assertj.core.error |
|---|
| Methods in org.assertj.core.error with parameters of type Representation | |
|---|---|
String |
AbstractShouldHaveTextContent.create(Description d,
Representation representation)
|
String |
ErrorMessageFactory.create(Description d,
Representation p)
Creates a new error message as a result of a failed assertion. |
String |
BasicErrorMessageFactory.create(Description d,
Representation representation)
Creates a new error message as a result of a failed assertion. |
String |
MessageFormatter.format(Description d,
Representation p,
String format,
Object... args)
Interprets a printf-style format String for failed assertion messages. |
AssertionError |
AssertionErrorFactory.newAssertionError(Description d,
Representation representation)
Creates an . |
AssertionError |
ShouldBeEqual.newAssertionError(Description description,
Representation representation)
Creates an indicating that an assertion that verifies that two objects are
equal failed.The message is built so that it differentiates ShouldBeEqual.actual and
ShouldBeEqual.expected description in case their string representation are the same (like 42 float and 42 double). |
static AssertionErrorFactory |
ShouldBeEqual.shouldBeEqual(Object actual,
Object expected,
ComparisonStrategy comparisonStrategy,
Representation representation)
Creates a new . |
static AssertionErrorFactory |
ShouldBeEqual.shouldBeEqual(Object actual,
Object expected,
Representation representation)
Creates a new . |
| Uses of Representation in org.assertj.core.presentation |
|---|
| Classes in org.assertj.core.presentation that implement Representation | |
|---|---|
class |
BinaryRepresentation
Binary object representation instead of standard java representation. |
class |
HexadecimalRepresentation
Hexadecimal object representation instead of standard java representation. |
class |
StandardRepresentation
Standard java object representation. |
class |
UnicodeRepresentation
Unicode object representation instead of standard java representation. |
| Uses of Representation in org.assertj.core.util |
|---|
| Methods in org.assertj.core.util with parameters of type Representation | |
|---|---|
static String |
Collections.format(Representation p,
Collection<?> c)
Returns the String representation of the given Collection, or null if the given
Collection is null. |
static String |
Collections.format(Representation p,
Collection<?> c,
String start,
String end)
Returns the String representation of the given Collection, or null if the given
Collection is null. |
static String |
Maps.format(Representation p,
Map<?,?> map)
Returns the String representation of the given map, or null if the given map is null. |
static String |
Arrays.format(Representation representation,
Object array)
Returns the String representation of the given array, or null if the given object is either
null or not an array. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||