atrium-impl-robstoll / ch.tutteli.atrium.checking / IAssertionChecker

IAssertionChecker

interface IAssertionChecker

Checks given IAssertions and reports if one of them fails.

Functions

check

abstract fun check(assertionVerb: ITranslatable, subject: Any, assertions: List<IAssertion>): Unit

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

fail

abstract fun fail(assertionVerb: ITranslatable, subject: Any, assertion: IAssertion): Unit

Reports that the given assertion fails (does not hold).

Inheritors

IAssertionCheckerDelegateFail

interface IAssertionCheckerDelegateFail : IAssertionChecker

Provides a default-implementation for IAssertionChecker.fail which first checks that the given IAssertion fails and then delegates to IAssertionChecker.check.