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

ObjectFormatterOptions

class ObjectFormatterOptions
Deprecated: Use the builder from package domain.builders.reporting; will be removed with 1.0.0

Provides options to create an ObjectFormatter.

Constructors

<init>

ObjectFormatterOptions(translator: Translator)

Provides options to create an ObjectFormatter.

Functions

withDetailedObjectFormatter

fun withDetailedObjectFormatter(): ReporterBuilder.AssertionFormatterControllerOptions

Uses CoreFactory.newDetailedObjectFormatter as ObjectFormatter.

withObjectFormatter

fun withObjectFormatter(factory: (Translator) -> ObjectFormatter): ReporterBuilder.AssertionFormatterControllerOptions

Uses the given factory to build a custom ObjectFormatter.