doc / ch.tutteli.atrium.core

Package ch.tutteli.atrium.core

Contains the CoreFactory.

Types

CoreFactory

expect interface CoreFactory : CoreFactoryCommon

The platform specific minimum contract of the 'abstract factory' of atrium-core.

CoreFactoryCommon

interface CoreFactoryCommon

The minimum contract of the 'abstract factory' of atrium-core for any platform.

Extensions for External Classes

kotlin.Function0

Properties

coreFactory

val coreFactory: <ERROR CLASS>

The access point to an implementation of CoreFactory.

falseProvider

val falseProvider: () -> Boolean

Returns false on calling.

trueProvider

val trueProvider: () -> Boolean

Returns true on calling.

Functions

newReportingPlantNullable

fun <T> CoreFactoryCommon.newReportingPlantNullable(assertionVerb: Translatable, subjectProvider: () -> T, reporter: Reporter, nullRepresentation: Any = RawString.NULL): ReportingAssertionPlantNullable<T>
fun <T> CoreFactoryCommon.newReportingPlantNullable(assertionVerb: Translatable, subjectProvider: () -> T, assertionChecker: AssertionChecker, nullRepresentation: Any = RawString.NULL): ReportingAssertionPlantNullable<T>

Creates a ReportingAssertionPlantNullable which is the entry point for assertions about nullable types.