abstract class InOrderOnlyAssertionCreator<E, T, SC> : InOrderOnlyBaseAssertionCreator<E, T, SC>, InOrderOnlyMatcher<E, SC>
Represents the base class for in order only
assertion creators and provides a corresponding template to fulfill
its responsibility.
T
- The type of the subject of the assertion for which the contains
assertion is be build.
SC
- The type of the search criteria.
InOrderOnlyAssertionCreator(converter: (T) -> Iterable<E>, searchBehaviour: InOrderOnlySearchBehaviour)
Represents the base class for |
open fun Expect<List<E>>.createAssertionsAndReturnIndex(searchCriteria: List<SC>): Int |
fun createAssertionGroup(container: AssertionContainer<T>, searchCriteria: List<SC>): AssertionGroup
Creates an AssertionGroup representing the sophisticated |
|
open fun Expect<List<E>>.createSingleEntryAssertion(currentIndex: Int, searchCriterion: SC, translatableIndex: DescriptionIterableAssertion): Unit |
|
abstract fun entryAssertionCreator(maybeSubject: Option<List<E>>, searchCriterion: SC): (() -> Boolean) -> Assertion |
|
abstract fun matches(actual: E, searchCriterion: SC): Boolean |
class InOrderOnlyEntriesAssertionCreator<E : Any, T> : InOrderOnlyAssertionCreator<E?, T, (Expect<E>.() -> Unit)?>, InOrderOnlyMatcher<E?, (Expect<E>.() -> Unit)?>
Represents a creator of a sophisticated |
|
class InOrderOnlyValuesAssertionCreator<E, T> : InOrderOnlyAssertionCreator<E, T, E>, InOrderOnlyMatcher<E, E>
Represents a creator of a sophisticated |