doc / ch.tutteli.atrium.domain.builders.reporting / AssertionFormatterFacadeOption

AssertionFormatterFacadeOption

interface AssertionFormatterFacadeOption (source)

Provides options to create an AssertionFormatterFacade.

Properties

assertionFormatterController

abstract val assertionFormatterController: AssertionFormatterController

The previously chosen AssertionFormatterController

objectFormatter

abstract val objectFormatter: ObjectFormatter

The previously chosen ObjectFormatter

translator

abstract val translator: Translator

The previously chosen Translator

Functions

withAssertionFormatterFacade

abstract fun withAssertionFormatterFacade(factory: (AssertionFormatterController) -> AssertionFormatterFacade): AssertionPairFormatterOption

Uses the given factory to build a custom AssertionFormatterFacade.

withDefaultAssertionFormatterFacade

abstract fun withDefaultAssertionFormatterFacade(): AssertionPairFormatterOption

Uses CoreFactory.newAssertionFormatterFacade as AssertionFormatterFacade.

Companion Object Functions

create

fun create(assertionFormatterController: AssertionFormatterController, objectFormatter: ObjectFormatter, translator: Translator): AssertionFormatterFacadeOption