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

AssertionPairFormatterOptions

class AssertionPairFormatterOptions

Provides options to create an AssertionPairFormatter.

Constructors

<init>

AssertionPairFormatterOptions(options: AssertionFormatterChosenOptions)

Provides options to create an AssertionPairFormatter.

Functions

withSameLineTextAssertionFormatter

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

withTextAssertionPairFormatter

fun withTextAssertionPairFormatter(factory: (ObjectFormatter, Translator) -> AssertionPairFormatter): TextAssertionFormatterOptions

Uses the given factory to build a custom AssertionPairFormatter.

withTextSameLineAssertionPairFormatter

fun withTextSameLineAssertionPairFormatter(): TextAssertionFormatterOptions

Uses AtriumFactory.newTextSameLineAssertionPairFormatter as AssertionPairFormatter.