expect interface CoreFactory : CoreFactoryCommon
(source)
The platform specific minimum contract of the 'abstract factory' of atrium-core.
It inherits methods from CoreFactoryCommon where the actual
or in other words platform specific interfaces
might add additional methods.
Notice, the platform specific types have to define the default methods for newReportingPlantNullable
(otherwise we are not binary backward compatible) -> will be moved to CoreFactoryCommon with 1.0.0
abstract fun |
|
abstract fun
Creates a TranslationSupplier which is based on properties and is compatible with ResourceBundle concerning the structure of the properties files. |
abstract fun
Creates an AssertionFormatterController which all be used per default for newAssertionFormatterFacade. |
|
abstract fun
Creates an AssertionFormatterFacade which shall be used per default for newOnlyFailureReporter. |
|
abstract fun
Creates an ObjectFormatter which represents objects by using their Any.toString representation including KClass.qualifiedName (and possibly further platform specific declarations). |
|
abstract fun
Creates a LocaleOrderDecider which decides in which order Locales are processed to find a translation for a given Translatable. |
|
abstract fun
Creates a MethodCallFormatter which represents arguments of a method call by using their Any.toString representation with the exception of: |
|
abstract fun
An AtriumErrorAdjuster which delegates adjustment to the given firstAdjuster, secondAdjuster and optionally otherAdjusters. |
|
abstract fun
An AtriumErrorAdjuster which does not modify a given AtriumError. |
|
abstract fun newOnlyFailureReporter(assertionFormatterFacade: AssertionFormatterFacade, atriumErrorAdjuster: AtriumErrorAdjuster): Reporter
Creates a Reporter which reports only failing assertions and uses the given assertionFormatterFacade to format assertions and messages. |
|
abstract fun
An AtriumErrorAdjuster which removes stack frames of Atrium. |
|
abstract fun
An AtriumErrorAdjuster which removes stack frames of test runners. |
|
abstract fun
Creates an AssertionFormatter which is intended for text output (e.g. for the console) and formats AssertionGroups of type ExplanatoryAssertionGroupType by creating an AssertionFormatterParameterObject which indicates that formatting its AssertionGroup.assertions happens within an explanatory assertion group. |
|
abstract fun
Creates an AssertionFormatter which is intended for text output (e.g. for the console) and serves as fallback if no other formatter is able to format a given Assertion. |
|
abstract fun
Creates an AssertionFormatter which is intended for text output (e.g. for the console) and formats AssertionGroups of type FeatureAssertionGroupType. |
|
abstract fun
Creates an AssertionFormatter which is intended for text output (e.g. for the console) and formats AssertionGroups of type ListAssertionGroupType. |
|
abstract fun
Creates an AssertionPairFormatter which is intended for text output (e.g. for the console) and puts assertion pairs on separate lines |
|
abstract fun
Creates an AssertionPairFormatter which is intended for text output (e.g. for the console) and puts assertion pairs on the same line. |
|
abstract fun
Creates an AssertionFormatter which is intended for text output (e.g. for the console) and formats AssertionGroups of type SummaryAssertionGroupType. |
|
abstract fun
Creates a Translator which translates Translatables to primaryLocale and falls back to fallbackLocales (in the given order) in case no translation exists for primaryLocale. |
|
abstract fun
Registers all available AssertionFormatters -- which are intended for text format (e.g. for the console) -- to the given assertionFormatterFacade using the given textAssertionPairFormatter. |