AssertionFormatterController

Responsible to control the flow of reporting using registered AssertionFormatters.

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun format(assertion: Assertion, parameterObject: AssertionFormatterParameterObject)

Finds a suitable AssertionFormatter -- which was previously registered -- for the given assertion and formats it.

Link copied to clipboard

Checks whether the given assertion is an AssertionGroup and if its type is an ExplanatoryAssertionGroupType.

Link copied to clipboard
abstract fun register(assertionFormatter: AssertionFormatter)

Registers the given assertionFormatter, which means it will be considered when an Assertion shall be formatted.