EntryPointStepImpl
class EntryPointStepImpl<T : CharSequence, out S : CharSequenceContains.SearchBehaviour>(container: AssertionContainer<T>, searchBehaviour: S) : EntryPointStepImpl<T, S> , CharSequenceContains.EntryPointStepInternal<T, S> (source)
Properties
Link copied to clipboard
val <T : CharSequence, S : CharSequenceContains.SearchBehaviour> CharSequenceContains.EntryPointStep<T, S>._logic: CharSequenceContains.EntryPointStepLogic<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 CharSequence.
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
The chosen SearchBehaviour.
Functions
Link copied to clipboard
fun <T : CharSequence, S : CharSequenceContains.SearchBehaviour> CharSequenceContains.EntryPointStepLogic<T, S>.atLeastCheckerStep(times: Int, nameContainsNotFun: String, atLeastCall: (Int) -> String): AtLeastCheckerStep<T, S>
Link copied to clipboard
fun <T : CharSequence, S : CharSequenceContains.SearchBehaviour> CharSequenceContains.EntryPointStepLogic<T, S>.atMostCheckerStep(times: Int, nameContainsNotFun: String, atMostCall: (Int) -> String, atLeastCall: (Int) -> String, exactlyCall: (Int) -> String): AtMostCheckerStep<T, S>
Link copied to clipboard
fun <T : CharSequence, S : CharSequenceContains.SearchBehaviour> CharSequenceContains.EntryPointStepLogic<T, S>.exactlyCheckerStep(times: Int, nameContainsNotFun: String, exactlyCall: (Int) -> String): ExactlyCheckerStep<T, S>
Link copied to clipboard
Link copied to clipboard
fun <T : CharSequence, S : CharSequenceContains.SearchBehaviour> CharSequenceContains.EntryPointStepLogic<T, S>.notOrAtMostCheckerStep(times: Int, nameContainsNotFun: String, notOrAtMostCall: (Int) -> String): NotOrAtMostCheckerStep<T, S>
Link copied to clipboard
inline fun <T> CharSequenceContains.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
.