doc / ch.tutteli.atrium.domain.creating.charsequence.contains / CharSequenceContains / CheckerOption

CheckerOption

interface CheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S, Checker, Builder<T, S>> (source)

The step of choosing/defining Checkers.

Inherited Properties

checkers

abstract val checkers: List<C>

Contains all Checkers which should be applied to the search result.

containsBuilder

abstract val containsBuilder: B

The previously chosen Builder, containing inter alia the AssertionPlant to which the resulting Assertion shall be added.

Extension Functions

addAssertion

fun <T : CharSequence, S : SearchBehaviour> CheckerOption<T, S>.addAssertion(assertion: Assertion): AssertionPlant<T>

Helper method to simplify adding assertions to the plant which itself is stored in CharSequenceContains.CheckerOption.containsBuilder.

defaultTranslationOf

fun <T : CharSequence> CheckerOption<T, NoOpSearchBehaviour>.defaultTranslationOf(expected: Translatable, vararg otherExpected: Translatable): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected's getDefault representation as well as the getDefault representations of the otherExpected (if given) shall be searched, using a non disjoint search.

fun <T : CharSequence> CheckerOption<T, IgnoringCaseSearchBehaviour>.defaultTranslationOf(expected: Translatable, vararg otherExpected: Translatable): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected's getDefault representation as well as the getDefault representations of the otherExpected (if given) shall be searched (ignoring case), using a non disjoint search.

defaultTranslationOf

infix fun <T : CharSequence> CheckerOption<T, NoOpSearchBehaviour>.defaultTranslationOf(translatable: Translatable): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the getDefault representation of the given translatable shall be searched, using a non disjoint search.

infix fun <T : CharSequence> CheckerOption<T, IgnoringCaseSearchBehaviour>.defaultTranslationOf(translatable: Translatable): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the getDefault representation of the given translatable shall be searched (ignoring case), using a non disjoint search.

regex

fun <T : CharSequence> CheckerOption<T, NoOpSearchBehaviour>.regex(pattern: String, vararg otherPatterns: String): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the given regular expression pattern as well as the otherPatterns are expected to have a match, using a non disjoint search.

fun <T : CharSequence> CheckerOption<T, IgnoringCaseSearchBehaviour>.regex(pattern: String, vararg otherPatterns: String): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the given regular expression pattern as well as the otherPatterns are expected to have a match (ignoring case), using a non disjoint search.

regex

infix fun <T : CharSequence> CheckerOption<T, NoOpSearchBehaviour>.regex(pattern: String): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the given regular expression pattern is expected to have a match, using a non disjoint search.

infix fun <T : CharSequence> CheckerOption<T, IgnoringCaseSearchBehaviour>.regex(pattern: String): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the given regular expression pattern is expected to have a match (ignoring case), using a non disjoint search.

regex

fun <T : CharSequence> CheckerOption<T, NoOpSearchBehaviour>.regex(pattern: String, vararg otherPatterns: String): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the given regular expression pattern as well as the otherPatterns are expected to have a match, using a non disjoint search.

fun <T : CharSequence> CheckerOption<T, IgnoringCaseSearchBehaviour>.regex(pattern: String, vararg otherPatterns: String): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the given regular expression pattern as well as the otherPatterns are expected to have a match (ignoring case), using a non disjoint search.

regex

fun <T : CharSequence> CheckerOption<T, NoOpSearchBehaviour>.regex(pattern: String, vararg otherPatterns: String): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the given regular expression pattern as well as the otherPatterns are expected to have a match, using a non disjoint search.

fun <T : CharSequence> CheckerOption<T, IgnoringCaseSearchBehaviour>.regex(pattern: String, vararg otherPatterns: String): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the given regular expression pattern as well as the otherPatterns are expected to have a match (ignoring case), using a non disjoint search.

regex

infix fun <T : CharSequence> CheckerOption<T, NoOpSearchBehaviour>.regex(pattern: String): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the given regular expression pattern is expected to have a match, using a non disjoint search.

infix fun <T : CharSequence> CheckerOption<T, IgnoringCaseSearchBehaviour>.regex(pattern: String): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the given regular expression pattern is expected to have a match (ignoring case), using a non disjoint search.

standardUebersetzungVon

fun <T : CharSequence> CheckerOption<T, NoOpSearchBehaviour>.standardUebersetzungVon(expected: Translatable, vararg otherExpected: Translatable): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected's getDefault representation as well as the getDefault representations of the otherExpected (if given) shall be searched, using a non disjoint search.

fun <T : CharSequence> CheckerOption<T, IgnoringCaseSearchBehaviour>.standardUebersetzungVon(expected: Translatable, vararg otherExpected: Translatable): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected's getDefault representation as well as the getDefault representations of the otherExpected (if given) shall be searched (ignoring case), using a non disjoint search.

the

infix fun <T : CharSequence> CheckerOption<T, NoOpSearchBehaviour>.the(values: Values<Any>): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the given values shall be searched, using a non disjoint search.

infix fun <T : CharSequence> CheckerOption<T, IgnoringCaseSearchBehaviour>.the(values: Values<Any>): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the values shall be searched (ignoring case), using a non disjoint search.

infix fun <T : CharSequence> CheckerOption<T, NoOpSearchBehaviour>.the(translatables: DefaultTranslationsOf): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the getDefault representation of the given translatables shall be searched, using a non disjoint search.

infix fun <T : CharSequence> CheckerOption<T, IgnoringCaseSearchBehaviour>.the(translatables: DefaultTranslationsOf): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the getDefault representation of the given translatables shall be searched (ignoring case), using a non disjoint search.

infix fun <T : CharSequence> CheckerOption<T, NoOpSearchBehaviour>.the(patterns: RegexPatterns): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the given regular expression patterns are expected to have a match, using a non disjoint search.

infix fun <T : CharSequence> CheckerOption<T, IgnoringCaseSearchBehaviour>.the(patterns: RegexPatterns): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the given regular expression patterns are expected to have a match (ignoring case), using a non disjoint search.

the

infix fun <T : CharSequence> CheckerOption<T, NoOpSearchBehaviour>.the(values: Values<Any>): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the given values shall be searched, using a non disjoint search.

infix fun <T : CharSequence> CheckerOption<T, IgnoringCaseSearchBehaviour>.the(values: Values<Any>): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the values shall be searched (ignoring case), using a non disjoint search.

infix fun <T : CharSequence> CheckerOption<T, NoOpSearchBehaviour>.the(patterns: RegexPatterns): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the given regular expression patterns are expected to have a match, using a non disjoint search.

infix fun <T : CharSequence> CheckerOption<T, IgnoringCaseSearchBehaviour>.the(patterns: RegexPatterns): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the given regular expression patterns are expected to have a match (ignoring case), using a non disjoint search.

value

fun <T : CharSequence> CheckerOption<T, NoOpSearchBehaviour>.value(expected: Any): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected object shall be searched, using a non disjoint search.

fun <T : CharSequence> CheckerOption<T, IgnoringCaseSearchBehaviour>.value(expected: Any): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected object shall be searched (ignoring case), using a non disjoint search.

value

infix fun <T : CharSequence> CheckerOption<T, NoOpSearchBehaviour>.value(expected: Any): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected object shall be searched, using a non disjoint search.

infix fun <T : CharSequence> CheckerOption<T, IgnoringCaseSearchBehaviour>.value(expected: Any): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected object shall be searched (ignoring case), using a non disjoint search.

value

fun <T : CharSequence> CheckerOption<T, NoOpSearchBehaviour>.value(expected: Any): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected object shall be searched, using a non disjoint search.

fun <T : CharSequence> CheckerOption<T, IgnoringCaseSearchBehaviour>.value(expected: Any): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected value shall be searched (ignoring case), using a non disjoint search.

value

infix fun <T : CharSequence> CheckerOption<T, NoOpSearchBehaviour>.value(expected: Any): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected object shall be searched, using a non disjoint search.

infix fun <T : CharSequence> CheckerOption<T, IgnoringCaseSearchBehaviour>.value(expected: Any): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected value shall be searched (ignoring case), using a non disjoint search.

values

fun <T : CharSequence> CheckerOption<T, NoOpSearchBehaviour>.values(expected: Any, vararg otherExpected: Any): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected object as well as the otherExpected objects shall be searched, using a non disjoint search.

fun <T : CharSequence> CheckerOption<T, IgnoringCaseSearchBehaviour>.values(expected: Any, vararg otherExpected: Any): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected object as well as the otherExpected objects shall be searched (ignoring case), using a non disjoint search.

values

fun <T : CharSequence> CheckerOption<T, NoOpSearchBehaviour>.values(expected: Any, vararg otherExpected: Any): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected value as well as the otherExpected values shall be searched, using a non disjoint search.

fun <T : CharSequence> CheckerOption<T, IgnoringCaseSearchBehaviour>.values(expected: Any, vararg otherExpected: Any): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected value as well as the otherExpected values shall be searched (ignoring case), using a non disjoint search.

wert

fun <T : CharSequence> CheckerOption<T, NoOpSearchBehaviour>.wert(expected: Any): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected value shall be searched, using a non disjoint search.

fun <T : CharSequence> CheckerOption<T, IgnoringCaseSearchBehaviour>.wert(expected: Any): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected value shall be searched (ignoring case), using a non disjoint search.

werte

fun <T : CharSequence> CheckerOption<T, NoOpSearchBehaviour>.werte(expected: Any, vararg otherExpected: Any): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected value as well as the otherExpected values shall be searched, using a non disjoint search.

fun <T : CharSequence> CheckerOption<T, IgnoringCaseSearchBehaviour>.werte(expected: Any, vararg otherExpected: Any): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected value as well as the otherExpected values shall be searched (ignoring case), using a non disjoint search.

Inheritors

AtMostCheckerOption

interface AtMostCheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

Represents the extension point for another option after a contains at least once but at most-check within a sophisticated contains assertion building process for CharSequence.

AtMostCheckerOption

interface AtMostCheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

Represents the extension point for another option after a contains at least once but at most-check within a sophisticated contains assertion building process for CharSequence.

AtMostCheckerOption

interface AtMostCheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

Represents the extension point for another option after a contains at least once but at most-check within a sophisticated contains assertion building process for CharSequence.

AtMostCheckerOption

interface AtMostCheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

Represents the extension point for another option after a contains at least once but at most-check within a sophisticated contains assertion building process for CharSequence.

AtMostCheckerOption

interface AtMostCheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

Represents the extension point for another option after a contains at least once but at most-check within a sophisticated contains assertion building process for CharSequence.

ButAtMostCheckerOption

interface ButAtMostCheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

Represents the extension point for another option after a contains at least but at most-check within a sophisticated contains assertion building process for CharSequence.

ButAtMostCheckerOption

interface ButAtMostCheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

Represents the extension point for another option after a contains at least but at most-check within a sophisticated contains assertion building process for CharSequence.

ButAtMostCheckerOption

interface ButAtMostCheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

Represents the extension point for another option after a contains at least but at most-check within a sophisticated contains assertion building process for CharSequence.

ButAtMostCheckerOption

interface ButAtMostCheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

Represents the extension point for another option after a contains at least but at most-check within a sophisticated contains assertion building process for CharSequence.

ButAtMostCheckerOption

interface ButAtMostCheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

Represents the extension point for another option after a contains at least but at most-check within a sophisticated contains assertion building process for CharSequence.

CharSequenceContainsCheckerBuilder

interface CharSequenceContainsCheckerBuilder<out T : CharSequence, out S : SearchBehaviour> : ContainsCheckerBuilder<T, S, Checker, Builder<T, S>>, CheckerOption<T, S>

The deprecated base class for builders which create CharSequenceContains.Checkers within the fluent API of a sophisticated contains assertion which was started with the given containsBuilder.

ExactlyCheckerOption

interface ExactlyCheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

Represents the extension point for another option after a contains exactly-check within a sophisticated contains assertion building process for CharSequence.

ExactlyCheckerOption

interface ExactlyCheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

Represents the extension point for another option after a contains exactly-check within a sophisticated contains assertion building process for CharSequence.

ExactlyCheckerOption

interface ExactlyCheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

Represents the extension point for another option after a contains exactly-check within a sophisticated contains assertion building process for CharSequence.

ExactlyCheckerOption

interface ExactlyCheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

Represents the extension point for another option after a contains exactly-check within a sophisticated contains assertion building process for CharSequence.

ExactlyCheckerOption

interface ExactlyCheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

Represents the extension point for another option after a contains exactly-check within a sophisticated contains assertion building process for CharSequence.

NotCheckerOption

interface NotCheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

Represents the extension point for another option after a contains not at all-check within a sophisticated contains assertion building process for CharSequence.

NotCheckerOption

interface NotCheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

Represents the extension point for another option after a contains not at all-check within a sophisticated contains assertion building process for CharSequence.

NotCheckerOption

interface NotCheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

Represents the extension point for another option after a contains not at all-check within a sophisticated contains assertion building process for CharSequence.

NotCheckerOption

interface NotCheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

Represents the extension point for another option after a contains not at all-check within a sophisticated contains assertion building process for CharSequence.

NotCheckerOption

interface NotCheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

Represents the extension point for another option after a contains not at all-check within a sophisticated contains assertion building process for CharSequence.

NotCheckerOptionBase

abstract class NotCheckerOptionBase<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

The base class for builders which create a contains not check within the fluent API of a sophisticated contains assertion for CharSequence.

NotOrAtMostCheckerOption

interface NotOrAtMostCheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

Represents the extension point for another option after a contains not or at most-check within a sophisticated contains assertion building process for CharSequence.

NotOrAtMostCheckerOption

interface NotOrAtMostCheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

Represents the extension point for another option after a contains not or at most-check within a sophisticated contains assertion building process for CharSequence.

NotOrAtMostCheckerOption

interface NotOrAtMostCheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

Represents the extension point for another option after a contains not or at most-check within a sophisticated contains assertion building process for CharSequence.

NotOrAtMostCheckerOption

interface NotOrAtMostCheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

Represents the extension point for another option after a contains not or at most-check within a sophisticated contains assertion building process for CharSequence.

NotOrAtMostCheckerOption

interface NotOrAtMostCheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

Represents the extension point for another option after a contains not or at most-check within a sophisticated contains assertion building process for CharSequence.

WithTimesCheckerOption

interface WithTimesCheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

A CharSequenceContains.CheckerOption which is used to choose a CharSequenceContains.Checker which is based on a number of times.