atrium-core-impl-robstoll-lib / ch.tutteli.atrium.reporting / TextSameLineAssertionPairFormatter

TextSameLineAssertionPairFormatter

class TextSameLineAssertionPairFormatter : AssertionPairFormatter

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).

Constructors

<init>

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: translation: representation.

Functions

format

fun format(methodObject: AssertionFormatterMethodObject, translatable: Translatable, representation: Any): Unit

formatGroupHeader

fun formatGroupHeader(methodObject: AssertionFormatterMethodObject, assertionGroup: AssertionGroup, newMethodObject: AssertionFormatterMethodObject): Unit