EntryPointStepImpl
class EntryPointStepImpl<E, T : IterableLike, out S : IterableLikeContains.SearchBehaviour>(container: AssertionContainer<T>, val converter: (T) -> Iterable<E>, searchBehaviour: S) : EntryPointStepImpl<T, S> , IterableLikeContains.EntryPointStepInternal<E, T, S> (source)
Properties
Link copied to clipboard
val <E, T : Any, S : IterableLikeContains.SearchBehaviour> IterableLikeContains.EntryPointStep<E, T, S>._logic: IterableLikeContains.EntryPointStepLogic<E, T, S>
Entry point to the logic level of Atrium -- which is one level deeper than the API -- within the building process of a sophisticated contains
assertion for Iterable.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The AssertionContainer from which this building process started and to which the resulting Assertion should be appended.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The chosen SearchBehaviour.
Link copied to clipboard
Functions
Link copied to clipboard
inline fun <E, T : Any, S : IterableLikeContains.SearchBehaviour> IterableLikeContains.EntryPointStep<E, T, S>._logicAppend(factory: IterableLikeContains.EntryPointStepLogic<E, T, S>.() -> Assertion): Expect<T>
Appends the Assertion the given factory creates based on this IterableLikeContains.EntryPointStep.
Link copied to clipboard
fun <E, T : IterableLike, S : IterableLikeContains.SearchBehaviour> IterableLikeContains.EntryPointStepLogic<E, T, S>.atLeastCheckerStep(times: Int, nameContainsNotFun: String, atLeastCall: (Int) -> String): AtLeastCheckerStep<E, T, S>
Link copied to clipboard
fun <E, T : IterableLike, S : IterableLikeContains.SearchBehaviour> IterableLikeContains.EntryPointStepLogic<E, T, S>.atMostCheckerStep(times: Int, nameContainsNotFun: String, atMostCall: (Int) -> String, atLeastCall: (Int) -> String, exactlyCall: (Int) -> String): AtMostCheckerStep<E, T, S>
Link copied to clipboard
fun <E : Any, T : IterableLike> IterableLikeContains.EntryPointStepLogic<out E?, T, InAnyOrderOnlySearchBehaviour>.entriesInAnyOrderOnly(assertionCreators: List<Expect<E>.() -> Unit?>, reportingOptions: InAnyOrderOnlyReportingOptions.() -> Unit): Assertion
Link copied to clipboard
fun <E : Any, T : IterableLike> IterableLikeContains.EntryPointStepLogic<out E?, T, InOrderOnlySearchBehaviour>.entriesInOrderOnly(assertionCreators: List<Expect<E>.() -> Unit?>, reportingOptions: InOrderOnlyReportingOptions.() -> Unit): Assertion
Link copied to clipboard
fun <E : Any, T : IterableLike> IterableLikeContains.EntryPointStepLogic<out E?, T, InOrderOnlyGroupedSearchBehaviour>.entriesInOrderOnlyGrouped(groups: List<List<Expect<E>.() -> Unit?>>, inOrderOnlyReportingOptions: InOrderOnlyReportingOptions.() -> Unit, inAnyOrderOnlyReportingOptions: InAnyOrderOnlyReportingOptions.() -> Unit): Assertion
Link copied to clipboard
fun <E, T : IterableLike, S : IterableLikeContains.SearchBehaviour> IterableLikeContains.EntryPointStepLogic<E, T, S>.exactlyCheckerStep(times: Int, nameContainsNotFun: String, exactlyCall: (Int) -> String): ExactlyCheckerStep<E, T, S>
Link copied to clipboard
fun <E, T : IterableLike, S : IterableLikeContains.SearchBehaviour> IterableLikeContains.EntryPointStepLogic<E, T, S>.notCheckerStep(): NotCheckerStep<E, T, S>
Link copied to clipboard
fun <E, T : IterableLike, S : IterableLikeContains.SearchBehaviour> IterableLikeContains.EntryPointStepLogic<E, T, S>.notOrAtMostCheckerStep(times: Int, nameContainsNotFun: String, notOrAtMostCall: (Int) -> String): NotOrAtMostCheckerStep<E, T, S>
Link copied to clipboard
inline fun <T> IterableLikeContains.EntryPointStepLogic<*, *, *>.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
.
Link copied to clipboard
fun <E, T : IterableLike> IterableLikeContains.EntryPointStepLogic<E, T, InAnyOrderOnlySearchBehaviour>.valuesInAnyOrderOnly(expected: List<E>, reportingOptions: InAnyOrderOnlyReportingOptions.() -> Unit): Assertion
Link copied to clipboard
fun <E, T : IterableLike> IterableLikeContains.EntryPointStepLogic<E, T, InOrderOnlySearchBehaviour>.valuesInOrderOnly(expected: List<E>, reportingOptions: InOrderOnlyReportingOptions.() -> Unit): Assertion
Link copied to clipboard
fun <E, T : IterableLike> IterableLikeContains.EntryPointStepLogic<E, T, InOrderOnlyGroupedSearchBehaviour>.valuesInOrderOnlyGrouped(groups: List<List<E>>, inOrderOnlyReportingOptions: InOrderOnlyReportingOptions.() -> Unit, inAnyOrderOnlyReportingOptions: InAnyOrderOnlyReportingOptions.() -> Unit): Assertion
Link copied to clipboard
open fun <S2 : IterableLikeContains.SearchBehaviour> withSearchBehaviour(searchBehaviour: S2): IterableLikeContains.EntryPointStep<E, T, S2>