doc / ch.tutteli.atrium.assertions.iterable.contains.builders / IterableContainsCheckerBuilder

IterableContainsCheckerBuilder

interface IterableContainsCheckerBuilder<out E, out T : Iterable<E>, out S : SearchBehaviour> : ContainsCheckerBuilder<T, S, Checker, Builder<E, T, S>>, CheckerOption<E, T, S> (source)
Deprecated: use the interface IterableContains.CheckerOption instead, will be removed with 1.0.0

The deprecated base class for builders which create IterableContains.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

addAssertion

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

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

eintraege

fun <E : Any, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.eintraege(assertionCreator: Assert<E>.() -> Unit, vararg otherAssertionCreators: Assert<E>.() -> Unit): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where an entry shall be searched which holds all assertions assertionCreator might create -- likewise an entry (can be the same) is searched for each of the otherAssertionCreators.

eintrag

fun <E : Any, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.eintrag(assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where an entry shall be searched which holds all assertions assertionCreator might create.

entries

fun <E : Any, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.entries(assertionCreator: Assert<E>.() -> Unit, vararg otherAssertionCreators: Assert<E>.() -> Unit): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where an entry shall be searched which holds all assertions assertionCreator might create -- likewise an entry (can be the same) is searched for each of the otherAssertionCreators.

entries

fun <E : Any, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.entries(assertionCreator: Assert<E>.() -> Unit, vararg otherAssertionCreators: Assert<E>.() -> Unit): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where an entry shall be searched which holds all assertions assertionCreator might create and search for entries which hold (one by one) the assertions created by the otherAssertionCreators.

entry

fun <E : Any, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.entry(assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where an entry shall be searched which holds all assertions assertionCreator might create.

entry

fun <E : Any, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.entry(assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where an entry shall be searched which holds all assertions assertionCreator might create.

entry

infix fun <E : Any, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.entry(assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where an entry shall be searched which holds all assertions assertionCreator might create.

entry

infix fun <E : Any, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.entry(assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where an entry shall be searched which holds all assertions assertionCreator might create.

nullableEintraege

fun <E : Any, T : Iterable<E?>> CheckerOption<E?, T, InAnyOrderSearchBehaviour>.nullableEintraege(assertionCreatorOrNull: Assert<E>.() -> Unit, vararg otherAssertionCreatorsOrNulls: Assert<E>.() -> Unit): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where an entry shall be searched which either holds all assertions assertionCreatorOrNull might create or needs to be null in case assertionCreatorOrNull is defined as null -- likewise an entry (can be the same) is searched for each of the otherAssertionCreatorsOrNulls.

nullableEintrag

fun <E : Any, T : Iterable<E?>> CheckerOption<E?, T, InAnyOrderSearchBehaviour>.nullableEintrag(assertionCreatorOrNull: Assert<E>.() -> Unit): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where an entry shall be searched which either holds all assertions assertionCreatorOrNull might create or needs to be null in case assertionCreatorOrNull is defined as null.

nullableEntries

fun <E : Any, T : Iterable<E?>> CheckerOption<E?, T, InAnyOrderSearchBehaviour>.nullableEntries(assertionCreatorOrNull: Assert<E>.() -> Unit, vararg otherAssertionCreatorsOrNulls: Assert<E>.() -> Unit): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where an entry shall be searched which either holds all assertions assertionCreatorOrNull might create or needs to be null in case assertionCreatorOrNull is defined as null -- likewise an entry (can be the same) is searched for each of the otherAssertionCreatorsOrNulls.

nullableEntry

fun <E : Any, T : Iterable<E?>> CheckerOption<E?, T, InAnyOrderSearchBehaviour>.nullableEntry(assertionCreatorOrNull: Assert<E>.() -> Unit): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where an entry shall be searched which either holds all assertions assertionCreatorOrNull might create or needs to be null in case assertionCreatorOrNull is defined as null.

nullableEntry

infix fun <E : Any, T : Iterable<E?>> CheckerOption<E?, T, InAnyOrderSearchBehaviour>.nullableEntry(assertionCreatorOrNull: Assert<E>.() -> Unit): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where an entry shall be searched which either holds all assertions assertionCreatorOrNull might create or needs to be null in case assertionCreatorOrNull is defined as null.

nullableValue

fun <E, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.nullableValue(expectedOrNull: E): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expectedOrNull nullable value shall be searched within the Iterable.

nullableValue

fun <E, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.nullableValue(expected: E): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected value shall be searched within the Iterable.

nullableValue

infix fun <E, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.nullableValue(expectedOrNull: E): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected nullable value shall be searched within the Iterable.

nullableValues

fun <E, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.nullableValues(expectedOrNull: E, vararg otherExpectedOrNulls: E): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected nullable value as well as the other expected nullable values (if given) shall be searched within the Iterable.

nullableValues

fun <E, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.nullableValues(expected: E, vararg otherExpected: E): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected value as well as the otherExpected values shall be searched within the Iterable.

nullableWert

fun <E, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.nullableWert(expectedOrNull: E): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected nullable value shall be searched within the Iterable.

nullableWerte

fun <E, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.nullableWerte(expectedOrNull: E, vararg otherExpectedOrNulls: E): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected nullable value as well as the other expected nullable values (if given) shall be searched within the Iterable.

object

fun <E, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.object(expected: E): AssertionPlant<T>

object

infix fun <E, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.object(expected: E): AssertionPlant<T>

objects

fun <E, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.objects(expected: E, vararg otherExpected: E): AssertionPlant<T>

objekt

fun <E, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.objekt(expected: E): AssertionPlant<T>

objekte

fun <E, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.objekte(expected: E, vararg otherExpected: E): AssertionPlant<T>

the

infix fun <E : Any, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.the(values: Values<E>): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected values shall be searched within the Iterable.

infix fun <E, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.the(nullableValues: NullableValues<E>): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected nullableValues shall be searched within the Iterable.

infix fun <E : Any, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.the(entries: Entries<E>): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where an entry shall be searched which holds all assertions entries.assertionCreator might create -- likewise an entry (can be the same) is searched for each of the entries.otherAssertionCreators.

infix fun <E : Any, T : Iterable<E?>> CheckerOption<E?, T, InAnyOrderSearchBehaviour>.the(nullableEntries: NullableEntries<E>): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where an entry shall be searched which either holds all assertions nullableEntries.assertionCreator might create or needs to be null in case nullableEntries.assertionCreator is defined as null -- likewise an entry (can be the same) is searched for each of the nullableEntries.otherAssertionCreators.

the

infix fun <E, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.the(values: Values<E>): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected values shall be searched within the Iterable.

infix fun <E, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.the(objects: Objects<E>): AssertionPlant<T>infix fun <E : Any, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.the(entries: Entries<E, Assert<E>.() -> Unit>): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where an entry shall be searched which holds all assertions Entries.assertionCreator might create and search for entries which hold (one by one) the assertions created by the Entries.otherAssertionCreators.

value

fun <E : Any, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.value(expected: E): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected value shall be searched within the Iterable.

value

fun <E : Any, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.value(expected: E): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected value shall be searched within the Iterable.

value

infix fun <E : Any, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.value(expected: E): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected value shall be searched within the Iterable.

value

infix fun <E, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.value(expected: E): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected value shall be searched within the Iterable.

values

fun <E : Any, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.values(expected: E, vararg otherExpected: E): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected value as well as the otherExpected values (if given) shall be searched within the Iterable.

values

fun <E : Any, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.values(expected: E, vararg otherExpected: E): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected value as well as the otherExpected values shall be searched within the Iterable.

wert

fun <E : Any, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.wert(expected: E): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected value shall be searched within the Iterable.

werte

fun <E : Any, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.werte(expected: E, vararg otherExpected: E): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected value as well as the otherExpected values (if given) shall be searched within the Iterable.

Inheritors

IterableContainsAtLeastCheckerBuilder

open class IterableContainsAtLeastCheckerBuilder<out E, out T : Iterable<E>> : AtLeastCheckerOptionImpl<E, T, InAnyOrderSearchBehaviour>, IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>

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

IterableContainsAtLeastCheckerBuilder

open class IterableContainsAtLeastCheckerBuilder<out E, out T : Iterable<E>> : AtLeastCheckerOptionImpl<E, T, InAnyOrderSearchBehaviour>, IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>

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

IterableContainsAtLeastCheckerBuilder

open class IterableContainsAtLeastCheckerBuilder<out E, out T : Iterable<E>> : AtLeastCheckerOptionImpl<E, T, InAnyOrderSearchBehaviour>, IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>

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

IterableContainsAtLeastCheckerBuilderBase

abstract class IterableContainsAtLeastCheckerBuilderBase<out E, out T : Iterable<E>, out S : SearchBehaviour> : IterableContainsCheckerBuilder<E, T, S>

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

IterableContainsAtMostCheckerBuilder

open class IterableContainsAtMostCheckerBuilder<out E, out T : Iterable<E>> : AtMostCheckerOptionImpl<E, T, InAnyOrderSearchBehaviour>, IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>

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

IterableContainsAtMostCheckerBuilder

open class IterableContainsAtMostCheckerBuilder<out E, out T : Iterable<E>> : AtMostCheckerOptionImpl<E, T, InAnyOrderSearchBehaviour>, IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>

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

IterableContainsAtMostCheckerBuilder

open class IterableContainsAtMostCheckerBuilder<out E, out T : Iterable<E>> : AtMostCheckerOptionImpl<E, T, InAnyOrderSearchBehaviour>, IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>

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

IterableContainsAtMostCheckerBuilderBase

abstract class IterableContainsAtMostCheckerBuilderBase<out E, out T : Iterable<E>, out S : SearchBehaviour> : IterableContainsCheckerBuilder<E, 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 Iterable.

IterableContainsButAtMostCheckerBuilder

open class IterableContainsButAtMostCheckerBuilder<out E, out T : Iterable<E>> : ButAtMostCheckerOptionImpl<E, T, InAnyOrderSearchBehaviour>, IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>

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 Iterable.

IterableContainsButAtMostCheckerBuilder

open class IterableContainsButAtMostCheckerBuilder<out E, out T : Iterable<E>> : ButAtMostCheckerOptionImpl<E, T, InAnyOrderSearchBehaviour>, IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>

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 Iterable.

IterableContainsButAtMostCheckerBuilder

open class IterableContainsButAtMostCheckerBuilder<out E, out T : Iterable<E>> : ButAtMostCheckerOptionImpl<E, T, InAnyOrderSearchBehaviour>, IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>

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 Iterable.

IterableContainsButAtMostCheckerBuilderBase

abstract class IterableContainsButAtMostCheckerBuilderBase<out E, out T : Iterable<E>, out S : SearchBehaviour> : IterableContainsCheckerBuilder<E, 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 Iterable.

IterableContainsExactlyCheckerBuilder

open class IterableContainsExactlyCheckerBuilder<out E, out T : Iterable<E>> : ExactlyCheckerOptionImpl<E, T, InAnyOrderSearchBehaviour>, IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>

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

IterableContainsExactlyCheckerBuilder

open class IterableContainsExactlyCheckerBuilder<out E, out T : Iterable<E>> : ExactlyCheckerOptionImpl<E, T, InAnyOrderSearchBehaviour>, IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>

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

IterableContainsExactlyCheckerBuilder

open class IterableContainsExactlyCheckerBuilder<out E, out T : Iterable<E>> : ExactlyCheckerOptionImpl<E, T, InAnyOrderSearchBehaviour>, IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>

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

IterableContainsExactlyCheckerBuilderBase

abstract class IterableContainsExactlyCheckerBuilderBase<out E, out T : Iterable<E>, out S : SearchBehaviour> : IterableContainsCheckerBuilder<E, T, S>

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

IterableContainsNoOpCheckerBuilder

class IterableContainsNoOpCheckerBuilder<out E, out T : Iterable<E>, out S : SearchBehaviour> : IterableContainsCheckerBuilder<E, T, S>

Represents the deprecated "no IterableContains.Checker" option, meaning no checker shall be applied to a search result.

IterableContainsNotCheckerBuilder

open class IterableContainsNotCheckerBuilder<out E, out T : Iterable<E>> : NotCheckerOptionImpl<E, T, InAnyOrderSearchBehaviour>, IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>

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

IterableContainsNotCheckerBuilder

open class IterableContainsNotCheckerBuilder<out E, out T : Iterable<E>> : NotCheckerOptionImpl<E, T, InAnyOrderSearchBehaviour>, IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>

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

IterableContainsNotCheckerBuilder

open class IterableContainsNotCheckerBuilder<out E, out T : Iterable<E>> : NotCheckerOptionImpl<E, T, InAnyOrderSearchBehaviour>, IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>

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

IterableContainsNotCheckerBuilderBase

abstract class IterableContainsNotCheckerBuilderBase<out E, out T : Iterable<E>, out S : SearchBehaviour> : IterableContainsCheckerBuilder<E, T, S>

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

IterableContainsNotOrAtMostCheckerBuilder

open class IterableContainsNotOrAtMostCheckerBuilder<out E, out T : Iterable<E>> : NotOrAtMostCheckerOptionImpl<E, T, InAnyOrderSearchBehaviour>, IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>

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

IterableContainsNotOrAtMostCheckerBuilder

open class IterableContainsNotOrAtMostCheckerBuilder<out E, out T : Iterable<E>> : NotOrAtMostCheckerOptionImpl<E, T, InAnyOrderSearchBehaviour>, IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>

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

IterableContainsNotOrAtMostCheckerBuilder

open class IterableContainsNotOrAtMostCheckerBuilder<out E, out T : Iterable<E>> : NotOrAtMostCheckerOptionImpl<E, T, InAnyOrderSearchBehaviour>, IterableContainsCheckerBuilder<E, T, InAnyOrderSearchBehaviour>

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

IterableContainsNotOrAtMostCheckerBuilderBase

abstract class IterableContainsNotOrAtMostCheckerBuilderBase<out E, out T : Iterable<E>, out S : SearchBehaviour> : IterableContainsCheckerBuilder<E, 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 Iterable.