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> (source)

Constructors

<init>

InOrderOnlyGroupedAssertionCreator(converter: (T) -> Iterable<E>, searchBehaviour: InOrderOnlyGroupedSearchBehaviour, reportingOptions: InOrderOnlyReportingOptions.() -> Unit)

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 AssertionContainer<List<E>>.addSingleEntryAssertion(currentIndex: Int, searchCriterion: SC, translatableIndex: DescriptionIterableLikeExpectation): 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 AssertionContainer<List<E>>.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>