interface AssertionPairFormatterOption
(source)Provides options to create an AssertionPairFormatter.
abstract val options: AssertionFormatterChosenOptions
The so far chosen options which are relevant to create AssertionFormatters. |
abstract fun withTextAssertionPairFormatter(factory: (ObjectFormatter, Translator) -> AssertionPairFormatter): TextAssertionFormatterOption
Uses the given factory to build a custom AssertionPairFormatter. |
|
open fun withTextNextLineAssertionPairFormatter(): TextAssertionFormatterOption
Uses CoreFactory.newTextNextLineAssertionPairFormatter as AssertionPairFormatter. |
|
open fun withTextSameLineAssertionPairFormatter(): TextAssertionFormatterOption
Uses CoreFactory.newTextSameLineAssertionPairFormatter as AssertionPairFormatter. |
fun create(assertionFormatterFacade: AssertionFormatterFacade, objectFormatter: ObjectFormatter, translator: Translator): AssertionPairFormatterOption fun create(options: AssertionFormatterChosenOptions): AssertionPairFormatterOption |