atrium-api-cc-infix-en_UK / ch.tutteli.atrium.api.cc.infix.en_UK

Package ch.tutteli.atrium.api.cc.infix.en_UK

Types

DefaultTranslationsOf

class DefaultTranslationsOf

Empty

object Empty

Represents a helper construct which allows to express emptiness. It can be used for a parameter less function so that it has one parameter and thus can be used as infix function.

Entries

class Entries<in T : Any, out A : (Assert<T>) -> Unit>

Objects

class Objects<out T>

RegexPatterns

class RegexPatterns

Values

class Values<out T>

case

object case

Represents the pseudo keyword case as in ignoring case.

contain

object contain

Represents the pseudo keyword contain as in to contain.

only

object only

Represents the pseudo keyword only as in but only.

order

object order

Represents the pseudo keyword order as in inAny order.

Extensions for External Classes

ch.tutteli.atrium.assertions.charsequence.contains.builders.CharSequenceContainsBuilder

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

ch.tutteli.atrium.assertions.iterable.contains.builders.IterableContainsBuilder

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

ch.tutteli.atrium.assertions.throwable.thrown.builders.ThrowableThrownBuilder

ch.tutteli.atrium.creating.AssertionPlant

ch.tutteli.atrium.creating.AssertionPlantNullable

Functions

butAtMost

infix fun <T : CharSequence, S : SearchBehaviour> CharSequenceContainsAtLeastCheckerBuilder<T, S>.butAtMost(times: Int): CharSequenceContainsButAtMostCheckerBuilder<T, S>

Restricts a contains at least assertion by specifying that the number of occurrences of the object which we are looking for, occurs at most number of times within the search input.

infix fun <E, T : Iterable<E>> IterableContainsAtLeastCheckerBuilder<E, T>.butAtMost(times: Int): IterableContainsButAtMostCheckerBuilder<E, T>

Restricts a contains at least assertion by specifying that the number of occurrences of the entry which we are looking for, occurs at most number of times within the Iterable.

ignoring

infix fun <T : CharSequence> CharSequenceContainsNotCheckerBuilder<T, CharSequenceContainsNotSearchBehaviour>.ignoring(case: case): CharSequenceContainsNotCheckerBuilder<T, CharSequenceContainsIgnoringCaseSearchBehaviour>

Defines that the decoration behaviour ignore case shall be applied to this sophisticated contains not assertion.