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

AssertionPairFormatterOptions

class AssertionPairFormatterOptions (source)
Deprecated: Use the builder from package domain.builders.reporting, will be removed with 1.0.0

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 CoreFactory.newTextSameLineAssertionPairFormatter as AssertionPairFormatter.