doc / ch.tutteli.atrium.checking / AssertionChecker

AssertionChecker

interface AssertionChecker
Deprecated: Do no longer use AssertionCheckers, use a specialised Expect instead; e.g. DelegatingExpect, FeatureExpect; will be removed with 1.0.0

Checks given Assertions and reports if one of them fails.

Functions

check

abstract fun check(assertionVerb: Translatable, representation: Any?, assertions: List<Assertion>): Unit

Checks given assertions and reports if one of them fails (does not hold).

open fun check(assertionVerb: Translatable, representationProvider: () -> Any, assertions: List<Assertion>): Unit