atrium-api-fluent-en_GB-jvm / ch.tutteli.atrium.api.fluent.en_GB

Package ch.tutteli.atrium.api.fluent.en_GB

Types

Entries

class Entries<T : Any> : GroupWithoutNullableEntries<(Expect<T>.() -> Unit)?>, GroupWithNullableEntries<(Expect<T>.() -> Unit)?>, VarArgHelper<(Expect<T>.() -> Unit)?>

Parameter object to express a Group of identification lambdas.

Entry

class Entry<T : Any> : GroupWithoutNullableEntries<(Expect<T>.() -> Unit)?>, GroupWithNullableEntries<(Expect<T>.() -> Unit)?>

Parameter object to express a Group with a single identification lambda.

KeyValue

data class KeyValue<out K, V : Any>

Parameter object to express a key/value Pair whose value type is a nullable lambda with an Expect receiver, which means one can either pass a lambda or null.

Value

data class Value<out T> : GroupWithNullableEntries<T>, GroupWithoutNullableEntries<T>

Represents a Group with a single value.

Values

class Values<out T> : GroupWithoutNullableEntries<T>, GroupWithNullableEntries<T>, VarArgHelper<T>

Represents a Group of multiple values.

Annotations

ExperimentalWithOptions

annotation class ExperimentalWithOptions

Extensions for External Classes

ch.tutteli.atrium.creating.Expect

ch.tutteli.atrium.creating.FeatureExpect

ch.tutteli.atrium.creating.RootExpect

ch.tutteli.atrium.domain.creating.charsequence.contains.CharSequenceContains.Builder

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

ch.tutteli.atrium.domain.creating.iterable.contains.IterableContains.Builder

ch.tutteli.atrium.domain.creating.iterable.contains.IterableContains.CheckerOption

Properties

ignoringCase

val <T : CharSequence> NotCheckerOption<T, NotSearchBehaviour>.ignoringCase: NotCheckerOption<T, IgnoringCaseSearchBehaviour>

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

Functions

butAtMost

fun <T : CharSequence, S : SearchBehaviour> AtLeastCheckerOption<T, S>.butAtMost(times: Int): ButAtMostCheckerOption<T, S>

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

fun <E, T : Iterable<E>, S : InAnyOrderSearchBehaviour> AtLeastCheckerOption<E, T, S>.butAtMost(times: Int): ButAtMostCheckerOption<E, T, S>

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.