class ReporterBuilder
A builder to create a Reporter consisting of several components.
class AssertionFormatterChosenOptions |
|
class AssertionFormatterControllerOptions
Provides options to create an AssertionFormatterController. |
|
class AssertionFormatterFacadeOptions
Provides options to create an AssertionFormatterFacade. |
|
class AssertionPairFormatterOptions
Provides options to create an AssertionPairFormatter. |
|
class LocaleOrderDeciderOptions |
|
class ObjectFormatterOptions
Provides options to create an ObjectFormatter. |
|
class TextAssertionFormatterOptions
Provides options to register AssertionFormatters to the chosen AssertionFormatterFacade. |
|
class TranslatorOptions |
ReporterBuilder(assertionFormatterFacade: AssertionFormatterFacade)
A builder to create a Reporter consisting of several components. |
fun buildCustomReporter(factory: (AssertionFormatterFacade) -> Reporter): Reporter
|
|
fun buildOnlyFailureReporter(): Reporter
|
fun withDefaultTranslationSupplier(): LocaleOrderDeciderOptions
Uses AtriumFactory.newPropertiesBasedTranslationSupplier as TranslationSupplier. |
|
fun withTranslationSupplier(translationSupplier: TranslationSupplier): LocaleOrderDeciderOptions
Uses the given translationSupplier as TranslationSupplier. |
|
fun withTranslator(translator: Translator): ObjectFormatterOptions
Uses the given translator as Translator skipping the options for TranslationSupplier and LocaleOrderDecider assuming the given translator is implemented differently -- use withDefaultTranslationSupplier or withTranslationSupplier in case the given translator requires a TranslationSupplier or a LocaleOrderDecider. |
|
fun withoutTranslations(primaryLocale: Locale = Locale.getDefault()): ObjectFormatterOptions
Uses UsingDefaultTranslator as Translator where the given primaryLocale is used to format arguments of TranslatableWithArgs. |