atrium-core-impl-robstoll-lib / ch.tutteli.atrium.reporting / TextFallbackAssertionFormatter / <init>

<init>

TextFallbackAssertionFormatter(bulletPoints: Map<Class<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.expected) is formatted.

Parameters

bulletPoints - The formatter uses the bullet point defined for RootAssertionGroupType ("◆ " if absent) as prefix of the child-AssertionFormatterMethodObject. 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.expected)

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.expected) is formatted.