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

<init>

TextExplanatoryAssertionGroupFormatter(bulletPoints: Map<KClass<out BulletPointIdentifier>, String>, assertionFormatterController: AssertionFormatterController)

Represents an AssertionFormatter which formats AssertionGroups with an ExplanatoryAssertionGroupType by defining only an AssertionFormatterParameterObject -- which indicates that we are in an explanatory assertion group and uses the bulletPoints (passed as argument) as prefix -- and completely ignoring AssertionGroup.description and AssertionGroup.representation.

Parameters

bulletPoints - The formatter uses the bullet point defined for WarningAssertionGroupType ("❗❗ " if absent) or the bullet point defined for ExplanatoryAssertionGroupType ("» " if absent) as prefix of the child-AssertionFormatterParameterObject.

assertionFormatterController - The controller to which this formatter gives back the control when it comes to format children of an AssertionGroup.

Constructor
Represents an AssertionFormatter which formats AssertionGroups with an ExplanatoryAssertionGroupType by defining only an AssertionFormatterParameterObject -- which indicates that we are in an explanatory assertion group and uses the bulletPoints (passed as argument) as prefix -- and completely ignoring AssertionGroup.description and AssertionGroup.representation.