Descriptions to be included in assertion errors.
| Modifier and Type | Field and Description |
|---|---|
| private static final DescriptionFormatter |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the formatted description, or an emptyString if the Description is null.the description to format. It can be d)null.Formats the given |
| public static DescriptionFormatter | Returns: the singleton instance of this class.Returns the singleton instance of this class. |
| INSTANCE | back to summary |
|---|---|
| private static final DescriptionFormatter INSTANCE | |
| DescriptionFormatter | back to summary |
|---|---|
pack-priv DescriptionFormatter()
| |
| format | back to summary |
|---|---|
| public String format(Description d) Formats the given
| |
| instance | back to summary |
|---|---|
| public static DescriptionFormatter instance() Returns the singleton instance of this class.
| |