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

<init>

TextListBasedAssertionGroupFormatter(bulletPoint: String, assertionFormatterController: AssertionFormatterController, assertionPairFormatter: AssertionPairFormatter, clazz: KClass<T>)

Represents an AssertionFormatter which formats AssertionGroups with type T by putting each assertion on an own line prefixed with a bullet point.

Parameters

bulletPoint - The bullet point (might also be more than one character) which shall be used.

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.

clazz - The AssertionGroupType which the concrete sub class canFormat.

Constructor
Represents an AssertionFormatter which formats AssertionGroups with type T by putting each assertion on an own line prefixed with a bullet point.