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

CharSequenceContainsAssertions

interface CharSequenceContainsAssertions (source)

Collection of assertion functions which are intended to be used as part of the final step of a sophisticated contains-building process for CharSequence.

Functions

regex

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

regexIgnoringCase

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

values

abstract fun <T : CharSequence> values(checkerStepLogic: CharSequenceContains.CheckerStepLogic<T, NoOpSearchBehaviour>, expected: List<CharSequenceOrNumberOrChar>): AssertionGroup

valuesIgnoringCase

abstract fun <T : CharSequence> valuesIgnoringCase(checkerStepLogic: CharSequenceContains.CheckerStepLogic<T, IgnoringCaseSearchBehaviour>, expected: List<CharSequenceOrNumberOrChar>): AssertionGroup

Inheritors

DefaultCharSequenceContainsAssertions

class DefaultCharSequenceContainsAssertions : CharSequenceContainsAssertions