doc / ch.tutteli.atrium.core / CoreFactoryCommon / registerTextAssertionFormatterCapabilities

registerTextAssertionFormatterCapabilities

abstract fun registerTextAssertionFormatterCapabilities(bulletPoints: Map<KClass<out BulletPointIdentifier>, String>, assertionFormatterFacade: AssertionFormatterFacade, textAssertionPairFormatter: AssertionPairFormatter, objectFormatter: ObjectFormatter, translator: Translator): Unit (source)
Deprecated: Open an issue in case you used this; Will be removed with 0.17.0

Registers all available AssertionFormatters -- which are intended for text format (e.g. for the console) -- to the given assertionFormatterFacade using the given textAssertionPairFormatter.

Should at least support RootAssertionGroupType, FeatureAssertionGroupType, ListAssertionGroupType, SummaryAssertionGroupType and ExplanatoryAssertionGroupType (see AssertionBuilder).

Parameters

bulletPoints - The bullet points used in reporting to prefix each Assertion in AssertionGroup.assertions.

assertionFormatterFacade - The AssertionFormatterFacade to which all AssertionFormatters with text reporting capabilities should be registered.

textAssertionPairFormatter - An AssertionPairFormatter which is intended for text format.

objectFormatter - The formatter which is used to format objects other than Assertions.

translator - The translator which is used to translate Translatable such as DescriptiveAssertion.description.