class TextSameLineAssertionPairFormatter : AssertionPairFormatter, TextAssertionPairFormatter
(source)
Represents an AssertionPairFormatter formatter of assertion pairs -- which consists of a Translatable
and a representation -- where it puts them on the same line in the form: translation: representation
.
Its usage is intended for text output (e.g. to the console).
TextSameLineAssertionPairFormatter(objectFormatter: ObjectFormatter, translator: Translator)
Represents an AssertionPairFormatter formatter of assertion pairs -- which consists of a
Translatable and a representation -- where it puts them on the same line in the form:
|
fun format(parameterObject: AssertionFormatterParameterObject, translatable: Translatable, representation: Any): Unit
Formats the assertion pair consisting of the given translatable and the given representation and appends the result to the sb of the given parameterObject. |
|
fun formatGroupHeader(parameterObject: AssertionFormatterParameterObject, assertionGroup: AssertionGroup, newParameterObject: AssertionFormatterParameterObject): Unit
Formats the header (AssertionGroup.description and AssertionGroup.representation) of the given assertionGroup and appends the result to the sb of the given parameterObject. |