atrium-domain-builders-jvm / ch.tutteli.atrium.domain.builders.creating / CharSequenceContainsAssertionsBuilder

CharSequenceContainsAssertionsBuilder

object CharSequenceContainsAssertionsBuilder (source)

Delegates inter alia to the implementation of CharSequenceContainsAssertions. In detail, it implements CharSequenceContainsAssertions by delegating to charSequenceContainsAssertions which in turn delegates to the implementation via loadSingleService.

Properties

searchBehaviours

val searchBehaviours: CharSequenceContainsSearchBehaviourFactoryBuilder

Returns CharSequenceContainsSearchBehaviourFactoryBuilder which inter alia delegates to the implementation of SearchBehaviourFactory.

Functions

defaultTranslationOf

fun <T : CharSequence> defaultTranslationOf(checkerOption: <ERROR CLASS><T, <ERROR CLASS>>, expected: List<<ERROR CLASS>>): <ERROR CLASS>

defaultTranslationOfIgnoringCase

fun <T : CharSequence> defaultTranslationOfIgnoringCase(checkerOption: <ERROR CLASS><T, <ERROR CLASS>>, expected: List<<ERROR CLASS>>): <ERROR CLASS>

regex

fun <T : CharSequence> regex(checkerOption: <ERROR CLASS><T, <ERROR CLASS>>, expected: List<String>): <ERROR CLASS>
fun <T : CharSequence> regex(checkerOption: <ERROR CLASS><T, <ERROR CLASS>>, expected: List<Regex>): <ERROR CLASS>

regexIgnoringCase

fun <T : CharSequence> regexIgnoringCase(checkerOption: <ERROR CLASS><T, <ERROR CLASS>>, expected: List<String>): <ERROR CLASS>

values

fun <T : CharSequence> values(checkerOption: <ERROR CLASS><T, <ERROR CLASS>>, expected: List<<ERROR CLASS>>): <ERROR CLASS>

valuesIgnoringCase

fun <T : CharSequence> valuesIgnoringCase(checkerOption: <ERROR CLASS><T, <ERROR CLASS>>, expected: List<<ERROR CLASS>>): <ERROR CLASS>

Extension Functions

asExpect

fun <T, A> A.asExpect(): <ERROR CLASS><T>
fun <T : Any, A> A.asExpect(assertionCreator: <ERROR CLASS><T>.() -> Unit): A

Turns Assert or AssertionPlantNullable into an Expect so that you can use new functionality which is not available on Assert/AssertionPlantNullable.