doc / ch.tutteli.atrium.reporting.impl / AssertionFormatterControllerBasedFacade / format

format

fun format(assertion: Assertion, sb: StringBuilder, assertionFilter: (Assertion) -> Boolean): Unit (source)

Overrides AssertionFormatterFacade.format

Formats the given assertion and appends the result to the given sb.

One can define an assertionFilter to filter out Assertions.

Parameters

sb - The StringBuilder to which the formatted assertion will be appended.

assertion - The assertion which should be formatted

assertionFilter - Can be used used to filter out Assertions which should not be formatted.