doc / ch.tutteli.atrium / IAtriumFactory / registerSameLineTextAssertionFormatterCapabilities

registerSameLineTextAssertionFormatterCapabilities

abstract fun registerSameLineTextAssertionFormatterCapabilities(bulletPoints: Map<Class<out BulletPointIdentifier>, String>, assertionFormatterFacade: AssertionFormatterFacade, objectFormatter: ObjectFormatter, translator: Translator): Unit

Registers all available AssertionFormatters -- which put assertion pairs on the same line and report in text format (e.g. for the console) -- to the given assertionFormatterFacade.

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

Parameters

bulletPoints - The bullet points used in reporting to prefix each Assertion in AssertionGroup.assertions. assertionFormatterFacade - The AssertionFormatterFacade to which all AssertionFormatters with same line capabilities and text reporting should be registered. 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.