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

<init>

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

Represents an AssertionFormatter which formats AssertionGroups with an SummaryAssertionGroupType by using the given assertionPairFormatter to format the group header and uses the bullet point defined for PrefixSuccessfulSummaryAssertion as prefix for successful AssertionGroup.assertions and the bullet point defined for PrefixFeatureAssertionGroupHeader as prefix for failing AssertionGroup.assertions.

Parameters

bulletPoints - The formatter uses the bullet point defined for PrefixSuccessfulSummaryAssertion ("✔ " if absent) as prefix for successful assertions in AssertionGroup.assertions and the bullet point defined for PrefixFailingSummaryAssertion ("✘ " if absent) for failing assertions.

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 SummaryAssertionGroupType by using the given assertionPairFormatter to format the group header and uses the bullet point defined for PrefixSuccessfulSummaryAssertion as prefix for successful AssertionGroup.assertions and the bullet point defined for PrefixFeatureAssertionGroupHeader as prefix for failing AssertionGroup.assertions.