interface IAtriumFactory
Deprecated, use AssertImpl.coreFactory
instead which delegates to an implementation of CoreFactory; will be removed with 1.0.0
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 <T : Any>
Creates a CheckingAssertionPlant which provides a method to check whether allAssertionsHold. |
|
abstract fun <T : Any>
Creates a CollectingAssertionPlant which is intended to be used as receiver object in lambdas to collect created Assertions inside the lambda. |
|
abstract fun <T>
Creates an AssertionChecker which delegates the checking of Assertions to the given subjectPlant by adding (see AssertionPlant.addAssertion) the assertions to the given subjectPlant. |
|
abstract fun
Creates an ObjectFormatter which represents objects by using their Object.toString representation including Class.name and their System.identityHashCode. |
|
abstract fun <T : Any>
Creates an AssertionChecker which creates an AssertionGroup of type FeatureAssertionGroupType instead of checking assertions and delegates this task to the given subjectPlant by adding (see AssertionPlant.addAssertion) the created assertion group to it. |
|
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 Object.toString representation with the exception of: |
|
abstract fun
Creates a Reporter which reports only failing assertions and uses the given assertionFormatterFacade to format assertions and messages. |
|
abstract fun
Creates a TranslationSupplier which is based on properties and is compatible with ResourceBundle concerning the structure of the properties files. |
|
open fun <T : Any> open fun <T : Any> abstract fun <T : Any>
Creates a ReportingAssertionPlant which checks and reports added Assertions. |
|
open fun <T : Any>
Creates a ReportingAssertionPlant which AssertionPlant.addAssertionsCreatedBy the given assertionCreator lambda where the created Assertions are added as a group and usually (depending on the configured Reporter) reported as a whole. |
|
open fun <T> open fun <T> abstract fun <T>
Creates a ReportingAssertionPlantNullable which is the entry point for assertions about nullable types. |
|
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 the same line. |
|
abstract fun
Creates an AssertionChecker which throws AssertionErrors in case an assertion fails and uses the given reporter for reporting. |
|
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. |