class AtMostCheckerStepImpl<T : CharSequence, out S : CharSequenceContains.SearchBehaviour> : AtMostCheckerStep<T, S>, CharSequenceContains.CheckerStepInternal<T, S>
(source)
AtMostCheckerStepImpl(times: Int, nameContainsNotFun: String, atMostCall: (Int) -> String, atLeastCall: (Int) -> String, exactlyCall: (Int) -> String, entryPointStepLogic: CharSequenceContains.EntryPointStepLogic<T, S>) |
val checkers: List<CharSequenceContains.Checker>
Contains all Checkers which should be applied to the search result. |
|
val entryPointStepLogic: CharSequenceContains.EntryPointStepLogic<T, S>
The previously chosen EntryPointStep, containing inter alia the AssertionContainer to which the resulting Assertion shall be appended. |
fun <T : CharSequence, S : CharSequenceContains.SearchBehaviour> CharSequenceContains.CheckerStep<T, S>._logicAppend(factory: CharSequenceContains.CheckerStepLogic<T, S>.() -> Assertion): Expect<T>
Appends the Assertion the given factory creates based on this CharSequenceContains.CheckerStep. |
|
infix fun <T : CharSequence> CharSequenceContains.CheckerStep<T, NoOpSearchBehaviour>.matchFor(pattern: Regex): Expect<T>
Finishes the specification of the sophisticated infix fun <T : CharSequence> CharSequenceContains.CheckerStep<T, NoOpSearchBehaviour>.matchFor(patterns: All<Regex>): Expect<T>
Finishes the specification of the sophisticated |
|
fun <T : CharSequence> CharSequenceContains.CheckerStep<T, NoOpSearchBehaviour>.regex(pattern: Regex, vararg otherPatterns: Regex): Expect<T>
Finishes the specification of the sophisticated |
|
fun <T : CharSequence> CharSequenceContains.CheckerStepLogic<T, NoOpSearchBehaviour>.regex(expected: List<String>): AssertionGroup |
|
fun <T> CharSequenceContains.CheckerStepLogic<*, *>.toVarArg(iterableLike: IterableLike): Pair<T, Array<out T>>
Transforms the given iterableLike to |