doc / ch.tutteli.atrium.assertions.charsequence.contains.builders / CharSequenceContainsCheckerBuilder

CharSequenceContainsCheckerBuilder

interface CharSequenceContainsCheckerBuilder<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour> : ContainsCheckerBuilder<T, S, CharSequenceContains.Checker, CharSequenceContains.Builder<T, S>>, CharSequenceContains.CheckerOption<T, S>
Deprecated: Use the interface CharSequenceContains.CheckerOption instead; will be removed with 1.0.0

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.

Parameters

T - The input type of the search.

S - The search behaviour which should be applied for the input of the search.

Extension Functions

addAssertionForAssert

fun <T : Any, B : Contains.Builder<T, *>> Contains.CheckerOption<T, *, *, B>.addAssertionForAssert(assertion: Assertion): Assert<T>

Helper method which simplifies adding assertions to the assertion container which itself is stored in Contains.CheckerOption.containsBuilder.

matchFor

infix fun <T : CharSequence> CharSequenceContains.CheckerOption<T, NoOpSearchBehaviour>.matchFor(pattern: Regex): Expect<T>

Finishes the specification of the sophisticated contains assertion where the given Regex is expected to have a match.

infix fun <T : CharSequence> CharSequenceContains.CheckerOption<T, NoOpSearchBehaviour>.matchFor(patterns: All<Regex>): Expect<T>

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

regex

fun <T : CharSequence> CharSequenceContains.CheckerOption<T, NoOpSearchBehaviour>.regex(pattern: Regex, vararg otherPatterns: Regex): Expect<T>

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

Inheritors

CharSequenceContainsAtLeastCheckerBuilder

open class CharSequenceContainsAtLeastCheckerBuilder<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour> : AtLeastCheckerOptionImpl<T, S>, CharSequenceContainsCheckerBuilder<T, S>

Represents the deprecated builder of a contains at least check within the fluent API of a sophisticated contains assertion for CharSequence.

CharSequenceContainsAtLeastCheckerBuilder

open class CharSequenceContainsAtLeastCheckerBuilder<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour> : AtLeastCheckerOptionImpl<T, S>, CharSequenceContainsCheckerBuilder<T, S>

Represents the deprecated builder of a contains at least check within the fluent API of a sophisticated contains assertion for CharSequence.

CharSequenceContainsAtLeastCheckerBuilder

open class CharSequenceContainsAtLeastCheckerBuilder<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour> : AtLeastCheckerOptionImpl<T, S>, CharSequenceContainsCheckerBuilder<T, S>

Represents the deprecated builder of a contains at least check within the fluent API of a sophisticated contains assertion for CharSequence.

CharSequenceContainsAtLeastCheckerBuilderBase

abstract class CharSequenceContainsAtLeastCheckerBuilderBase<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour> : CharSequenceContainsCheckerBuilder<T, S>

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

CharSequenceContainsAtMostCheckerBuilder

open class CharSequenceContainsAtMostCheckerBuilder<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour> : AtMostCheckerOptionImpl<T, S>, CharSequenceContainsCheckerBuilder<T, S>

Represents the deprecated builder of a contains at least once but at most check within the fluent API of a sophisticated contains assertion for CharSequence.

CharSequenceContainsAtMostCheckerBuilder

open class CharSequenceContainsAtMostCheckerBuilder<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour> : AtMostCheckerOptionImpl<T, S>, CharSequenceContainsCheckerBuilder<T, S>

Represents the deprecated builder of a contains at least once but at most check within the fluent API of a sophisticated contains assertion for CharSequence.

CharSequenceContainsAtMostCheckerBuilder

open class CharSequenceContainsAtMostCheckerBuilder<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour> : AtMostCheckerOptionImpl<T, S>, CharSequenceContainsCheckerBuilder<T, S>

Represents the deprecated builder of a contains at least once but at most check within the fluent API of a sophisticated contains assertion for CharSequence.

CharSequenceContainsAtMostCheckerBuilderBase

abstract class CharSequenceContainsAtMostCheckerBuilderBase<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour> : CharSequenceContainsCheckerBuilder<T, S>

The base class for builders which create a contains at least once but at most check within the fluent API of a sophisticated contains assertion for CharSequence.

CharSequenceContainsButAtMostCheckerBuilder

open class CharSequenceContainsButAtMostCheckerBuilder<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour> : ButAtMostCheckerOptionImpl<T, S>, CharSequenceContainsCheckerBuilder<T, S>

Represents the deprecated builder of the second step of a contains at least but at most check within the fluent API of a sophisticated contains assertion for CharSequence.

CharSequenceContainsButAtMostCheckerBuilder

open class CharSequenceContainsButAtMostCheckerBuilder<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour> : ButAtMostCheckerOptionImpl<T, S>, CharSequenceContainsCheckerBuilder<T, S>

Represents the deprecated builder of the second step of a contains at least but at most check within the fluent API of a sophisticated contains assertion for CharSequence.

CharSequenceContainsButAtMostCheckerBuilder

open class CharSequenceContainsButAtMostCheckerBuilder<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour> : ButAtMostCheckerOptionImpl<T, S>, CharSequenceContainsCheckerBuilder<T, S>

Represents the deprecated builder of the second step of a contains at least but at most check within the fluent API of a sophisticated contains assertion for CharSequence.

CharSequenceContainsButAtMostCheckerBuilderBase

abstract class CharSequenceContainsButAtMostCheckerBuilderBase<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour> : CharSequenceContainsCheckerBuilder<T, S>

The base class for builders which create the second step of a contains at least but at most check within the fluent API of a sophisticated contains assertion for CharSequence.

CharSequenceContainsExactlyCheckerBuilder

open class CharSequenceContainsExactlyCheckerBuilder<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour> : ExactlyCheckerOptionImpl<T, S>, CharSequenceContainsCheckerBuilder<T, S>

Represents the deprecated builder of a contains exactly check within the fluent API of a sophisticated contains assertion for CharSequence.

CharSequenceContainsExactlyCheckerBuilder

open class CharSequenceContainsExactlyCheckerBuilder<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour> : ExactlyCheckerOptionImpl<T, S>, CharSequenceContainsCheckerBuilder<T, S>

Represents the deprecated builder of a contains exactly check within the fluent API of a sophisticated contains assertion for CharSequence.

CharSequenceContainsExactlyCheckerBuilder

open class CharSequenceContainsExactlyCheckerBuilder<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour> : ExactlyCheckerOptionImpl<T, S>, CharSequenceContainsCheckerBuilder<T, S>

Represents the deprecated builder of a contains exactly check within the fluent API of a sophisticated contains assertion for CharSequence.

CharSequenceContainsExactlyCheckerBuilderBase

abstract class CharSequenceContainsExactlyCheckerBuilderBase<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour> : CharSequenceContainsCheckerBuilder<T, S>

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

CharSequenceContainsNotCheckerBuilder

open class CharSequenceContainsNotCheckerBuilder<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour> : NotCheckerOptionImpl<T, S>, CharSequenceContainsCheckerBuilder<T, S>

Represents the deprecated builder of a contains not at all check within the fluent API of a sophisticated contains assertion for CharSequence.

CharSequenceContainsNotCheckerBuilder

open class CharSequenceContainsNotCheckerBuilder<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour> : NotCheckerOptionImpl<T, S>, CharSequenceContainsCheckerBuilder<T, S>

Represents the deprecated builder of a contains not at all check within the fluent API of a sophisticated contains assertion for CharSequence.

CharSequenceContainsNotCheckerBuilder

open class CharSequenceContainsNotCheckerBuilder<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour> : NotCheckerOptionImpl<T, S>, CharSequenceContainsCheckerBuilder<T, S>

Represents the deprecated builder of a contains not at all check within the fluent API of a sophisticated contains assertion for CharSequence.

CharSequenceContainsNotCheckerBuilderBase

abstract class CharSequenceContainsNotCheckerBuilderBase<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour> : CharSequenceContainsCheckerBuilder<T, S>

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

CharSequenceContainsNotOrAtMostCheckerBuilder

open class CharSequenceContainsNotOrAtMostCheckerBuilder<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour> : NotOrAtMostCheckerOptionImpl<T, S>, CharSequenceContainsCheckerBuilder<T, S>

Represents the deprecated builder of a contains not or at most check within the fluent API of a sophisticated contains assertion for CharSequence.

CharSequenceContainsNotOrAtMostCheckerBuilder

open class CharSequenceContainsNotOrAtMostCheckerBuilder<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour> : NotOrAtMostCheckerOptionImpl<T, S>, CharSequenceContainsCheckerBuilder<T, S>

Represents the deprecated builder of a contains not or at most check within the fluent API of a sophisticated contains assertion for CharSequence.

CharSequenceContainsNotOrAtMostCheckerBuilder

open class CharSequenceContainsNotOrAtMostCheckerBuilder<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour> : NotOrAtMostCheckerOptionImpl<T, S>, CharSequenceContainsCheckerBuilder<T, S>

Represents the deprecated builder of a contains not or at most check within the fluent API of a sophisticated contains assertion for CharSequence.

CharSequenceContainsNotOrAtMostCheckerBuilderBase

abstract class CharSequenceContainsNotOrAtMostCheckerBuilderBase<out T : CharSequence, out S : CharSequenceContains.SearchBehaviour> : CharSequenceContainsCheckerBuilder<T, S>

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