doc / ch.tutteli.atrium.logic.impl / DefaultCharSequenceAssertions

DefaultCharSequenceAssertions

class DefaultCharSequenceAssertions : CharSequenceAssertions

Constructors

<init>

DefaultCharSequenceAssertions()

Functions

containsBuilder

fun <T : CharSequence> containsBuilder(container: AssertionContainer<T>): CharSequenceContains.EntryPointStep<T, NoOpSearchBehaviour>

Starts the building process of a sophisticated contains assertions.

containsNotBuilder

fun <T : CharSequence> containsNotBuilder(container: AssertionContainer<T>): NotCheckerStep<T, NotSearchBehaviour>

Starts the building process of a sophisticated contains assertions and already applies a NotCheckerStep with a NotSearchBehaviour.

endsNotWith

fun <T : CharSequence> endsNotWith(container: AssertionContainer<T>, expected: CharSequence): Assertion

endsWith

fun <T : CharSequence> endsWith(container: AssertionContainer<T>, expected: CharSequence): Assertion

isEmpty

fun <T : CharSequence> isEmpty(container: AssertionContainer<T>): Assertion

isNotBlank

fun <T : CharSequence> isNotBlank(container: AssertionContainer<T>): Assertion

isNotEmpty

fun <T : CharSequence> isNotEmpty(container: AssertionContainer<T>): Assertion

matches

fun <T : CharSequence> matches(container: AssertionContainer<T>, expected: Regex): Assertion

mismatches

fun <T : CharSequence> mismatches(container: AssertionContainer<T>, expected: Regex): Assertion

startsNotWith

fun <T : CharSequence> startsNotWith(container: AssertionContainer<T>, expected: CharSequence): Assertion

startsWith

fun <T : CharSequence> startsWith(container: AssertionContainer<T>, expected: CharSequence): Assertion