doc / ch.tutteli.atrium.logic.creating.iterable.contains.creators / IterableLikeContainsAssertions

IterableLikeContainsAssertions

interface IterableLikeContainsAssertions (source)

Defines the minimum set of contains assertion functions for Iterable, which an implementation of the domain logic of Atrium has to provide.

Functions

entriesInAnyOrderOnly

abstract fun <E : Any, T> entriesInAnyOrderOnly(entryPointStepLogic: IterableLikeContains.EntryPointStepLogic<out E?, T, InAnyOrderOnlySearchBehaviour>, assertionCreators: List<(Expect<E>.() -> Unit)?>, reportingOptions: InAnyOrderOnlyReportingOptions.() -> Unit): Assertion

entriesInOrderOnly

abstract fun <E : Any, T> entriesInOrderOnly(entryPointStepLogic: IterableLikeContains.EntryPointStepLogic<out E?, T, InOrderOnlySearchBehaviour>, assertionCreators: List<(Expect<E>.() -> Unit)?>, reportingOptions: InOrderOnlyReportingOptions.() -> Unit): Assertion

entriesInOrderOnlyGrouped

abstract fun <E : Any, T> entriesInOrderOnlyGrouped(entryPointStepLogic: IterableLikeContains.EntryPointStepLogic<out E?, T, InOrderOnlyGroupedSearchBehaviour>, groups: List<List<(Expect<E>.() -> Unit)?>>, inOrderOnlyReportingOptions: InOrderOnlyReportingOptions.() -> Unit, inAnyOrderOnlyReportingOptions: InAnyOrderOnlyReportingOptions.() -> Unit): Assertion

valuesInAnyOrderOnly

abstract fun <E, T> valuesInAnyOrderOnly(entryPointStepLogic: IterableLikeContains.EntryPointStepLogic<E, T, InAnyOrderOnlySearchBehaviour>, expected: List<E>, reportingOptions: InAnyOrderOnlyReportingOptions.() -> Unit): Assertion

valuesInOrderOnly

abstract fun <E, T> valuesInOrderOnly(entryPointStepLogic: IterableLikeContains.EntryPointStepLogic<E, T, InOrderOnlySearchBehaviour>, expected: List<E>, reportingOptions: InOrderOnlyReportingOptions.() -> Unit): Assertion

valuesInOrderOnlyGrouped

abstract fun <E, T> valuesInOrderOnlyGrouped(entryPointStepLogic: IterableLikeContains.EntryPointStepLogic<E, T, InOrderOnlyGroupedSearchBehaviour>, groups: List<List<E>>, inOrderOnlyReportingOptions: InOrderOnlyReportingOptions.() -> Unit, inAnyOrderOnlyReportingOptions: InAnyOrderOnlyReportingOptions.() -> Unit): Assertion

Inheritors

DefaultIterableLikeContainsAssertions

class DefaultIterableLikeContainsAssertions : IterableLikeContainsAssertions