doc / ch.tutteli.atrium.reporting / ReporterBuilder / AssertionFormatterOptions

AssertionFormatterOptions

class AssertionFormatterOptions

Provides options to register IAssertionFormatters to the chosen IAssertionFormatterFacade.

See Also

AssertionFormatterFacadeOptions

Constructors

<init>

AssertionFormatterOptions(assertionFormatterFacade: IAssertionFormatterFacade, objectFormatter: IObjectFormatter, translator: ITranslator)

Provides options to register IAssertionFormatters to the chosen IAssertionFormatterFacade.

Functions

withAssertionFormatter

fun withAssertionFormatter(assertionFormatterFactory: (IAssertionFormatterController) -> IAssertionFormatter): ReporterBuilder

Uses the given assertionFormatterFactory to create a IAssertionFormatter.

withSameLineAssertionFormatter

fun withSameLineAssertionFormatter(): ReporterBuilder

Uses AtriumFactory.registerSameLineTextAssertionFormatterCapabilities.

withSameLineTextAssertionFormatter

fun withSameLineTextAssertionFormatter(vararg bulletPoints: <ERROR CLASS><Class<out IBulletPointIdentifier>, String>): ReporterBuilder

Uses AtriumFactory.registerSameLineTextAssertionFormatterCapabilities.