doc / ch.tutteli.atrium.reporting.text.impl / NoSpecialChildFormattingSingleAssertionGroupTypeFormatter / formatGroupAssertions


protected open fun formatGroupAssertions(formatAssertions: (AssertionFormatterParameterObject, (Assertion) -> Unit) -> Unit, childParameterObject: AssertionFormatterParameterObject): Unit (source)

Overrides SingleAssertionGroupTypeFormatter.formatGroupAssertions

Formats the AssertionGroup.assertions -- has to call the given formatAssertions function in order that the AssertionFormatterController can steer the process.


formatAssertions - The function which should be called to format the assertions of a given AssertionGroup. It itself expects a function which formats single Assertions in the context of the given AssertionGroup.

childParameterObject - The parameter object which shall be used to format AssertionGroup.assertions -- contains inter alia the sb to which the result will be appended.