atrium-core-robstoll-android / ch.tutteli.atrium.core.robstoll / CoreFactoryImpl

CoreFactoryImpl

class CoreFactoryImpl : CoreFactoryCommonImpl, CoreFactory

Constructors

<init>

CoreFactoryImpl()

Functions

newOnlyFailureReporter

fun newOnlyFailureReporter(assertionFormatterFacade: AssertionFormatterFacade): Reporter

newPropertiesBasedTranslationSupplier

fun newPropertiesBasedTranslationSupplier(): TranslationSupplier

Inherited Functions

newAssertionFormatterController

fun newAssertionFormatterController(): AssertionFormatterController

newAssertionFormatterFacade

fun newAssertionFormatterFacade(assertionFormatterController: AssertionFormatterController): AssertionFormatterFacade

newCheckingPlant

fun <T : Any> newCheckingPlant(subjectProvider: () -> T): CheckingAssertionPlant<T>

newCollectingAssertionContainer

fun <T> newCollectingAssertionContainer(maybeSubject: Option<T>): CollectingAssertionContainer<T>

newCollectingPlant

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

newCollectingPlantNullable

fun <T> newCollectingPlantNullable(subjectProvider: () -> T): CollectingAssertionPlantNullable<T>

newDelegatingAssertionChecker

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

newDetailedObjectFormatter

fun newDetailedObjectFormatter(translator: Translator): ObjectFormatter

newFeatureAssertionChecker

fun newFeatureAssertionChecker(originalAssertionHolder: AssertionHolder): AssertionChecker

newFeatureExpect

fun <T, R> newFeatureExpect(previousExpect: Expect<T>, maybeSubject: Option<R>, featureConfig: FeatureExpectConfig, assertions: List<Assertion>): FeatureExpect<T, R>

newLocaleOrderDecider

fun newLocaleOrderDecider(): LocaleOrderDecider

newMethodCallFormatter

fun newMethodCallFormatter(): MethodCallFormatter

newMultiAtriumErrorAdjuster

fun newMultiAtriumErrorAdjuster(firstAdjuster: AtriumErrorAdjuster, secondAdjuster: AtriumErrorAdjuster, otherAdjusters: List<AtriumErrorAdjuster>): AtriumErrorAdjuster

newNoOpAtriumErrorAdjuster

fun newNoOpAtriumErrorAdjuster(): AtriumErrorAdjuster

newOnlyFailureReporter

fun newOnlyFailureReporter(assertionFormatterFacade: AssertionFormatterFacade, atriumErrorAdjuster: AtriumErrorAdjuster): Reporter

newRemoveAtriumFromAtriumErrorAdjuster

fun newRemoveAtriumFromAtriumErrorAdjuster(): AtriumErrorAdjuster

newRemoveRunnerAtriumErrorAdjuster

fun newRemoveRunnerAtriumErrorAdjuster(): AtriumErrorAdjuster

newReportingAssertionContainer

fun <T> newReportingAssertionContainer(assertionCheckerDecorator: AssertionCheckerDecorator<T>): ReportingAssertionContainer<T>

newReportingPlant

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

newReportingPlantNullable

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

newTextExplanatoryAssertionGroupFormatter

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

newTextFallbackAssertionFormatter

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

newTextFeatureAssertionGroupFormatter

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

newTextListAssertionGroupFormatter

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

newTextNextLineAssertionPairFormatter

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

newTextSameLineAssertionPairFormatter

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

newTextSummaryAssertionGroupFormatter

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

newThrowingAssertionChecker

fun newThrowingAssertionChecker(reporter: Reporter): AssertionChecker

newTranslator

fun newTranslator(translationSupplier: TranslationSupplier, localeOrderDecider: LocaleOrderDecider, primaryLocale: Locale, fallbackLocales: List<Locale>): Translator

registerTextAssertionFormatterCapabilities

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