doc / ch.tutteli.atrium.reporting / AssertionPairFormatter

AssertionPairFormatter

interface AssertionPairFormatter

Represents a formatter of assertion pairs -- which consists of a Translatable and a representation.

Functions

format

abstract fun format(methodObject: AssertionFormatterMethodObject, 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 methodObject.

formatGroupHeader

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

Formats the header (name and subject) of the given assertionGroup and appends the result to the sb of the given methodObject.