doc / ch.tutteli.atrium.reporting.text.impl / TextFallbackAssertionFormatter / <init>

<init>

TextFallbackAssertionFormatter(bulletPoints: Map<KClass<out BulletPointIdentifier>, String>, assertionFormatterController: AssertionFormatterController, assertionPairFormatter: AssertionPairFormatter, objectFormatter: ObjectFormatter)

Formats an Assertion for text output (e.g. for the console) where it uses a given assertionPairFormatter which defines how an assertion pair (e.g. DescriptiveAssertion.description and DescriptiveAssertion.representation) is formatted.

Parameters

bulletPoints - The formatter uses the bullet point defined for RootAssertionGroupType ("◆ " if absent) as prefix of the child-AssertionFormatterParameterObject.

assertionFormatterController - The AssertionFormatterController used to steer the control flow of the reporting process.

assertionPairFormatter - The formatter which is used to format assertion pairs (e.g. DescriptiveAssertion.description and DescriptiveAssertion.representation)

Constructor
Formats an Assertion for text output (e.g. for the console) where it uses a given assertionPairFormatter which defines how an assertion pair (e.g. DescriptiveAssertion.description and DescriptiveAssertion.representation) is formatted.