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

<init>

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

Represents an AssertionFormatter which formats AssertionGroups with an FeatureAssertionGroupType by using the given assertionPairFormatter to format the group header, additionally prefixing it with the "bullet point" (typically an arrow) defined for PrefixFeatureAssertionGroupHeader and uses the bullet point defined for FeatureAssertionGroupType as prefix for the AssertionGroup.assertions.

Parameters

bulletPoints - The formatter uses the bullet point defined for PrefixFeatureAssertionGroupHeader ("▶ " if absent) as prefix of the group header and FeatureAssertionGroupType ("◾ " 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.

assertionPairFormatter - The formatter which is used to format assertion pairs.

Constructor
Represents an AssertionFormatter which formats AssertionGroups with an FeatureAssertionGroupType by using the given assertionPairFormatter to format the group header, additionally prefixing it with the "bullet point" (typically an arrow) defined for PrefixFeatureAssertionGroupHeader and uses the bullet point defined for FeatureAssertionGroupType as prefix for the AssertionGroup.assertions.