doc / ch.tutteli.atrium.logic.creating.iterable.contains.creators.impl / InOrderOnlyGroupedAssertionCreator

InOrderOnlyGroupedAssertionCreator

abstract class InOrderOnlyGroupedAssertionCreator<E, T, SC> : InOrderOnlyBaseAssertionCreator<E, T, List<SC>>, InOrderOnlyMatcher<E, SC>

Constructors

<init>

InOrderOnlyGroupedAssertionCreator(converter: (T) -> Iterable<E>, searchBehaviour: InOrderOnlyGroupedSearchBehaviour)

Functions

addAssertionsAndReturnIndex

fun Expect<List<E>>.addAssertionsAndReturnIndex(searchCriteria: List<List<SC>>): Int

addSublistAssertion

abstract fun Expect<List<E>>.addSublistAssertion(groupOfSearchCriteria: List<SC>): Unit

Inherited Functions

addSingleEntryAssertion

open fun Expect<List<E>>.addSingleEntryAssertion(currentIndex: Int, searchCriterion: SC, translatableIndex: DescriptionIterableAssertion): Unit

createAssertionGroup

fun createAssertionGroup(container: AssertionContainer<T>, searchCriteria: List<SC>): AssertionGroup

Creates an AssertionGroup representing the sophisticated contains assertion for the subject of the given container, based on the given searchCriteria.

elementAssertionCreator

abstract fun elementAssertionCreator(maybeElement: Option<E>, searchCriterion: SC): Assertion

Inheritors

InOrderOnlyGroupedEntriesAssertionCreator

class InOrderOnlyGroupedEntriesAssertionCreator<E : Any, T> : InOrderOnlyGroupedAssertionCreator<E?, T, (Expect<E>.() -> Unit)?>, InOrderOnlyMatcher<E?, (Expect<E>.() -> Unit)?>

InOrderOnlyGroupedValuesAssertionCreator

class InOrderOnlyGroupedValuesAssertionCreator<E, T> : InOrderOnlyGroupedAssertionCreator<E, T, E>, InOrderOnlyMatcher<E, E>