atrium-core-api-late-binding / ch.tutteli.atrium / AtriumFactory

AtriumFactory

object AtriumFactory : IAtriumFactory

Functions

newAssertionFormatterController

fun newAssertionFormatterController(): AssertionFormatterController

newAssertionFormatterFacade

fun newAssertionFormatterFacade(assertionFormatterController: AssertionFormatterController): AssertionFormatterFacade

newCheckingPlant

fun <T : Any> newCheckingPlant(subject: T): CheckingAssertionPlant<T>

newCollectingPlant

fun <T : Any> newCollectingPlant(subjectProvider: () -> T): CollectingAssertionPlant<T>

newDelegatingAssertionChecker

fun <T> newDelegatingAssertionChecker(subjectPlant: BaseAssertionPlant<T, *>): AssertionChecker

newDetailedObjectFormatter

fun newDetailedObjectFormatter(translator: Translator): ObjectFormatter

newFeatureAssertionChecker

fun <T : Any> newFeatureAssertionChecker(subjectPlant: AssertionPlant<T>): AssertionChecker

newLocaleOrderDecider

fun newLocaleOrderDecider(): LocaleOrderDecider

newMethodCallFormatter

fun newMethodCallFormatter(): MethodCallFormatter

newOnlyFailureReporter

fun newOnlyFailureReporter(assertionFormatterFacade: AssertionFormatterFacade): Reporter

newPropertiesBasedTranslationSupplier

fun newPropertiesBasedTranslationSupplier(): TranslationSupplier

newReportingPlant

fun <T : Any> newReportingPlant(commonFields: CommonFields<T>): ReportingAssertionPlant<T>

newReportingPlantNullable

fun <T> newReportingPlantNullable(commonFields: CommonFields<T>): ReportingAssertionPlantNullable<T>

newTextExplanatoryAssertionGroupFormatter

fun newTextExplanatoryAssertionGroupFormatter(bulletPoints: Map<Class<out BulletPointIdentifier>, String>, assertionFormatterController: AssertionFormatterController): AssertionFormatter

newTextFallbackAssertionFormatter

fun newTextFallbackAssertionFormatter(bulletPoints: Map<Class<out BulletPointIdentifier>, String>, assertionFormatterController: AssertionFormatterController, objectFormatter: ObjectFormatter, translator: Translator): AssertionFormatter

newTextFeatureAssertionGroupFormatter

fun newTextFeatureAssertionGroupFormatter(bulletPoints: Map<Class<out BulletPointIdentifier>, String>, assertionFormatterController: AssertionFormatterController, objectFormatter: ObjectFormatter, translator: Translator): AssertionFormatter

newTextListAssertionGroupFormatter

fun newTextListAssertionGroupFormatter(bulletPoints: Map<Class<out BulletPointIdentifier>, String>, assertionFormatterController: AssertionFormatterController, objectFormatter: ObjectFormatter, translator: Translator): AssertionFormatter

newTextSameLineAssertionPairFormatter

fun newTextSameLineAssertionPairFormatter(objectFormatter: ObjectFormatter, translator: Translator): AssertionPairFormatter

newThrowingAssertionChecker

fun newThrowingAssertionChecker(reporter: Reporter): AssertionChecker

newTranslator

fun newTranslator(translationSupplier: TranslationSupplier, localeOrderDecider: LocaleOrderDecider, primaryLocale: Locale, vararg fallbackLocales: Locale): Translator

registerTextAssertionFormatterCapabilities

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