doc / ch.tutteli.atrium.logic.creating.iterable.contains / IterableLikeContains / CheckerStepLogic

CheckerStepLogic

interface CheckerStepLogic<E, T, out S : IterableLikeContains.SearchBehaviour> : Contains.CheckerStepLogic<T, S, IterableLikeContains.Checker, IterableLikeContains.EntryPointStepLogic<E, T, S>> (source)

The step of choosing/defining Checkers on the logic level.

Inherited Properties

checkers

abstract val checkers: List<C>

Contains all Checkers which should be applied to the search result.

entryPointStepLogic

abstract val entryPointStepLogic: B

The previously chosen EntryPointStep, containing inter alia the AssertionContainer to which the resulting Assertion shall be appended.

Extension Functions

toVarArg

fun <T> IterableLikeContains.CheckerStepLogic<*, *, *>.toVarArg(iterableLike: IterableLike): Pair<T, Array<out T>>

Transforms the given iterableLike to Pair<T, Array<out T>> with the intention that it can be easily used for a function requiring T, vararg T.

Inheritors

CheckerStepInternal

interface CheckerStepInternal<E, T, out S : IterableLikeContains.SearchBehaviour> : IterableLikeContains.CheckerStep<E, T, S>, IterableLikeContains.CheckerStepLogic<E, T, S>

Sole purpose of this interface is to hide CheckerStepLogic from newcomers which usually don't have to deal with this type and to keep the API clean.

WithTimesCheckerStepLogic

interface WithTimesCheckerStepLogic<E, T, out S : IterableLikeContains.SearchBehaviour> : IterableLikeContains.CheckerStepLogic<E, T, S>

A IterableLikeContains.CheckerStepLogic which is used to choose a IterableLikeContains.Checker which is based on a number of times.