TextSummaryAssertionGroupFormatter
Represents an AssertionFormatter which formats AssertionGroups with a 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.
Its usage is intended for text output (e.g. to the console).
Parameters
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.
The controller to which this formatter gives back the control when it comes to format children of an AssertionGroup.
The formatter which is used to format assertion pairs.
Constructors
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.
Functions
Formats the given assertion and appends the result to the sb of the given parameterObject.
Checks whether assertionGroup is T or a sub type and if so, calls formatGroupHeaderAndGetChildParameterObject and uses the resulting child-AssertionFormatterParameterObject to format AssertionGroup.assertions.
Always throws an UnsupportedOperationException, because this AssertionFormatter can only format AssertionGroups.