atrium-domain-builders-jvm / ch.tutteli.atrium.domain.builders.creating.charsequence.contains.builders / WithTimesCheckerOption

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.

Properties

times

abstract val times: Int

Extension Functions

addAssertion

fun <T : Any, B : Builder<T, *>> CheckerOption<T, *, *, B>.addAssertion(assertion: Assertion): Expect<T>

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

addAssertionForAssert

fun <T : Any, B : Builder<T, *>> 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.

Inheritors

AtLeastCheckerOptionBase

abstract class AtLeastCheckerOptionBase<out T : CharSequence, out S : SearchBehaviour> : WithTimesCheckerOption<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.

AtMostCheckerOptionBase

abstract class AtMostCheckerOptionBase<out T : CharSequence, out S : SearchBehaviour> : WithTimesCheckerOption<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.

ButAtMostCheckerOptionBase

abstract class ButAtMostCheckerOptionBase<out T : CharSequence, out S : SearchBehaviour> : WithTimesCheckerOption<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.

ExactlyCheckerOptionBase

abstract class ExactlyCheckerOptionBase<out T : CharSequence, out S : SearchBehaviour> : WithTimesCheckerOption<T, S>

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

NotOrAtMostCheckerOptionBase

abstract class NotOrAtMostCheckerOptionBase<out T : CharSequence, out S : SearchBehaviour> : WithTimesCheckerOption<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.