atrium-api-cc-de_CH / ch.tutteli.atrium.api.cc.de_CH / ch.tutteli.atrium.assertions.charsequence.contains.builders.CharSequenceContainsBuilder

Extensions for ch.tutteli.atrium.assertions.charsequence.contains.builders.CharSequenceContainsBuilder

genau

fun <T : CharSequence, S : SearchBehaviour> CharSequenceContainsBuilder<T, S>.genau(times: Int): CharSequenceContainsExactlyCheckerBuilder<T, S>

Restricts a contains assertion by specifying that the number of occurrences of the object which we are looking for, occurs exactly number of times within the search input.

hoechstens

fun <T : CharSequence, S : SearchBehaviour> CharSequenceContainsBuilder<T, S>.hoechstens(times: Int): CharSequenceContainsAtMostCheckerBuilder<T, S>

Restricts a contains assertion by specifying that the number of occurrences of the object which we are looking for, occurs at least once but at most number of times within the search input.

ignoriereGrossKleinschreibung

val <T : CharSequence> CharSequenceContainsBuilder<T, CharSequenceContainsNoOpSearchBehaviour>.ignoriereGrossKleinschreibung: CharSequenceContainsBuilder<T, CharSequenceContainsIgnoringCaseSearchBehaviour>

Defines that the decoration behaviour ignore case shall be applied to this sophisticated contains assertion.

nichtOderHoechstens

fun <T : CharSequence, S : SearchBehaviour> CharSequenceContainsBuilder<T, S>.nichtOderHoechstens(times: Int): CharSequenceContainsNotOrAtMostCheckerBuilder<T, S>

Restricts a contains assertion by specifying that the number of occurrences of the object which we are looking for, occurs not at all or at most number of times within the search input.

zumindest

fun <T : CharSequence, S : SearchBehaviour> CharSequenceContainsBuilder<T, S>.zumindest(times: Int): CharSequenceContainsAtLeastCheckerBuilder<T, S>

Restricts a contains assertion by specifying that the number of occurrences of the object which we are looking for, occurs at least number of times within the search input.