interface AtriumErrorAdjusterOption : AtriumErrorAdjusterCommonOption<ReporterOption> (source)
Provides options to create an AtriumErrorAdjusterOption.
abstract val assertionFormatterFacade: <ERROR CLASS>
The previously chosen AssertionFormatterFacade. |
abstract fun |
|
open fun withDefaultAtriumErrorAdjusters(): ReporterOption
Uses withMultipleAdjusters and applies withRemoveRunnerAtriumErrorAdjuster and withRemoveAtriumFromAtriumErrorAdjuster -- the default configuration might change in the future. |
|
abstract fun withMultipleAdjusters(configure: MultipleAdjustersOption.() -> Unit): ReporterOption
Uses the AtriumErrorAdjuster which are defined via the configure lambda. |
|
abstract fun withNoOpAtriumErrorAdjuster(): ReporterOption
Uses an AtriumErrorAdjuster which does not adjust a given AtriumError but functions as an identity function. |
|
abstract fun |
abstract fun withAtriumErrorAdjuster(adjuster: <ERROR CLASS>): R
Uses the given AtriumErrorAdjuster as custom AtriumErrorAdjuster. |
|
abstract fun withRemoveAtriumFromAtriumErrorAdjuster(): R
Uses an AtriumErrorAdjuster which removes stackBacktrace frames of Atrium from a given AtriumError. |
|
abstract fun withRemoveRunnerAtriumErrorAdjuster(): R
Uses an AtriumErrorAdjuster which removes stackBacktrace frames of test runners from a given AtriumError. |
fun create(assertionFormatterFacade: <ERROR CLASS>): AtriumErrorAdjusterOption |
fun <T, A> A.asExpect(): <ERROR CLASS><T>fun <T : Any, A> A.asExpect(assertionCreator: <ERROR CLASS><T>.() -> Unit): A
Turns Assert or AssertionPlantNullable into an Expect so that you can use new functionality which is not available on Assert/AssertionPlantNullable. |