doc / ch.tutteli.atrium.verbs.internal

Package ch.tutteli.atrium.verbs.internal

Contains the @Deprecated assertion verbs Atrium used internally for Assert; will all be removed with 1.0.0.

Types

AssertionVerb

enum class AssertionVerb : StringBasedTranslatable

Deprecated, switch to api.verbs.internal.AssertionVerb; will be removed with 1.0.0

AssertionVerbFactory

object AssertionVerbFactory : AssertionVerbFactory

Only required if you implement a custom component (for instance an own Reporter, ObjectFormatter etc.) or an own assertion function API (e.g., atrium-api-cc-en_GB in a different language) and you want to reuse a specification from atrium-spec to test your custom component against it.

NoAdjustingReporterFactory

class NoAdjustingReporterFactory : ReporterFactory

Functions

assert

fun <T : Any> assert(subject: T): ReportingAssertionPlant<T>
fun <T : Any> assert(subject: T, assertionCreator: Assert<T>.() -> Unit): AssertionPlant<T>

expect

fun expect(act: () -> Unit): ThrowableThrown.Builder