doc / ch.tutteli.atrium.domain.creating.charsequence.contains.creators / CharSequenceContainsAssertions

CharSequenceContainsAssertions

interface CharSequenceContainsAssertions

Defines the minimum set of contains assertion functions for CharSequence, which an implementation of the domain of Atrium has to provide.

Functions

defaultTranslationOf

abstract fun <T : CharSequence> defaultTranslationOf(checkerOption: CharSequenceContains.CheckerOption<T, NoOpSearchBehaviour>, expected: List<Translatable>): AssertionGroup

defaultTranslationOfIgnoringCase

abstract fun <T : CharSequence> defaultTranslationOfIgnoringCase(checkerOption: CharSequenceContains.CheckerOption<T, IgnoringCaseSearchBehaviour>, expected: List<Translatable>): AssertionGroup

regex

abstract fun <T : CharSequence> regex(checkerOption: CharSequenceContains.CheckerOption<T, NoOpSearchBehaviour>, expected: List<Regex>): AssertionGroup

regexIgnoringCase

abstract fun <T : CharSequence> regexIgnoringCase(checkerOption: CharSequenceContains.CheckerOption<T, IgnoringCaseSearchBehaviour>, expected: List<String>): AssertionGroup

values

abstract fun <T : CharSequence> values(checkerOption: CharSequenceContains.CheckerOption<T, NoOpSearchBehaviour>, expected: List<Any>): AssertionGroup

valuesIgnoringCase

abstract fun <T : CharSequence> valuesIgnoringCase(checkerOption: CharSequenceContains.CheckerOption<T, IgnoringCaseSearchBehaviour>, expected: List<Any>): AssertionGroup

Inheritors

CharSequenceContainsAssertionsBuilder

object CharSequenceContainsAssertionsBuilder : CharSequenceContainsAssertions

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.