| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final ValueRecorder | |
| private final List | |
| private final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| private static String | |
| private String | |
| private static void | |
| public static String | Returns: a string representation of the assertion and its recorded valuesthe assertion's source text text, ValueRecorder a recorder holding the values recorded during evaluation
of the assertion recorder)Creates a string representation of an assertion and its recorded values. |
| private String | |
| private void | |
| private void | |
| private void | |
| private static String | Returns: a string representation of the given valuea value value)Returns a string representation of the given value, or null if the value should not be included (because it does not add any valuable information). |
| lines | back to summary |
|---|---|
| private final List<StringBuilder> lines | |
| recorder | back to summary |
|---|---|
| private final ValueRecorder recorder | |
| startColumns | back to summary |
|---|---|
| private final List<Integer> startColumns | |
| text | back to summary |
|---|---|
| private final String text | |
| AssertionRenderer | back to summary |
|---|---|
| private AssertionRenderer(String text, ValueRecorder recorder) | |
| hasStringLikeType | back to summary |
|---|---|
| private static boolean hasStringLikeType(Object value) | |
| javaLangObjectToString | back to summary |
|---|---|
| private static String javaLangObjectToString(Object value) | |
| linesToString | back to summary |
|---|---|
| private String linesToString() | |
| placeString | back to summary |
|---|---|
| private static void placeString(StringBuilder line, String str, int column) | |
| render | back to summary |
|---|---|
| public static String render(String text, ValueRecorder recorder) Creates a string representation of an assertion and its recorded values.
| |
| render | back to summary |
|---|---|
| private String render() | |
| renderText | back to summary |
|---|---|
| private void renderText() | |
| renderValues | back to summary |
|---|---|
| private void renderValues() | |
| sortValues | back to summary |
|---|---|
| private void sortValues() | |
| valueToString | back to summary |
|---|---|
| private static String valueToString(Object value) Returns a string representation of the given value, or null if the value should not be included (because it does not add any valuable information). | |