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

AssertionFormatterControllerBasedFacade

class AssertionFormatterControllerBasedFacade : AssertionFormatterFacade

Responsible to call an appropriate AssertionFormatter which supports formating a given Assertion -- it does so by delegating this responsibility to the specified assertionFormatterController.

Constructors

<init>

AssertionFormatterControllerBasedFacade(assertionFormatterController: AssertionFormatterController)

Responsible to call an appropriate AssertionFormatter which supports formating a given Assertion -- it does so by delegating this responsibility to the given assertionFormatterController.

Functions

format

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

register

fun register(assertionFormatterFactory: (AssertionFormatterController) -> AssertionFormatter): Unit