@Depreacted
API use ch.tutteli.atrium.api.infix.en_GB instead.
class All<out T> : VarArgHelper<T>
Parameter object to express |
|
class Entries<in T : Any> : GroupWithoutNullableEntries<(Assert<T>.() -> Unit)?>, GroupWithNullableEntries<(Assert<T>.() -> Unit)?>, VarArgHelper<(Assert<T>.() -> Unit)?>
Parameter object to express a Group of identification lambdas. |
|
class Entry<in T : Any> : GroupWithoutNullableEntries<(Assert<T>.() -> Unit)?>, GroupWithNullableEntries<(Assert<T>.() -> Unit)?>
Parameter object to express a Group with a single identification lambda. |
|
data class Index
Wrapper for a single index -- can be used as distinguishable type for an overload where Int is already in use. |
|
data class Key<out K>
Wrapper for a single key -- can be used as distinguishable type for an overload where K is already in use. |
|
data class |
|
data class KeyValue<out K, V : Any>
Parameter object to express a key/value Pair whose value type is a lambda with an
Assert receiver, which means one can either pass a lambda or |
|
class |
|
class |
|
data class |
|
class |
|
class Order<out T, out G : Group<T>>
Parameter object to express |
|
class Pairs<out K, out V> : VarArgHelper<Pair<K, V>>
Parameter object to express |
|
class RegexPatterns : VarArgHelper<String>
Parameter object to express |
|
data class Value<out T> : GroupWithNullableEntries<T>, GroupWithoutNullableEntries<T>
Represents a Group with a single value. |
|
class Values<out T> : GroupWithoutNullableEntries<T>, GroupWithNullableEntries<T>, VarArgHelper<T>
Represents a Group of multiple values. |
val <K : Any> Assert<Pair<K, *>>.first: Assert<K>
Creates an AssertionPlant for the Assert.subject's property first so that further fluent calls are assertions about it. |
|
val <K : Any> Assert<Entry<K, *>>.key: Assert<K>
Creates an AssertionPlant for the Assert.subject's property key so that further fluent calls are assertions about it. |
|
val <K, V> Assert<Map<out K, V>>.keys: Assert<Set<K>>
Creates an AssertionPlant for the Assert.subject's property keys so that further fluent calls are assertions about it. |
|
val <T : Any> Assert<T>.o: Assert<T>
Inline property referring actually to |
|
val <V : Any> Assert<Pair<*, V>>.second: Assert<V>
Creates an AssertionPlant for the Assert.subject's property second so that further fluent calls are assertions about it. |
|
val Assert<Collection<*>>.size: Assert<Int>
Creates an AssertionPlant for the Assert.subject's property size so that further fluent calls are assertions about it. |
|
val <V : Any> Assert<Entry<*, V>>.value: Assert<V>
Creates an AssertionPlant for the Assert.subject's property value so that further fluent calls are assertions about it. |
|
val <K, V> Assert<Map<out K, V>>.values: Assert<Collection<V>>
Creates an AssertionPlant for the Assert.subject's property values so that further fluent calls are assertions about it. |
infix fun <E : Any, T : Iterable<E?>> Assert<T>.all(assertionCreatorOrNull: (Assert<E>.() -> Unit)?): AssertionPlant<T>
Makes the assertion that the Assert.subject has at least one element and
that every element holds all assertions created by the
assertionCreatorOrNull or that all elements are infix fun <E : Any, T : Iterable<E?>> Assert<T>. |
|
infix fun <T : Any> AssertionPlant<T>.and(assertionCreator: Assert<T>.() -> Unit): AssertionPlant<T>
Can be used to create a group of sub assertions when using the fluent API. infix fun <E, T : Iterable<E>> IterableContains.Builder<E, T, InOrderSearchBehaviour>.and(only: only): IterableContains.Builder<E, T, InOrderOnlySearchBehaviour>
Defines that the constraint " |
|
infix fun <E : Any, T : Iterable<E?>> Assert<T>.any(assertionCreatorOrNull: (Assert<E>.() -> Unit)?): AssertionPlant<T>
Makes the assertion that the Assert.subject contains an entry holding
the assertions created by the assertionCreatorOrNull or an entry
which is infix fun <E : Any, T : Iterable<E?>> Assert<T>. |
|
fun <K, V> Assert<Map<out K, V>>.asEntries(): Assert<Set<Entry<K, V>>>
Turns infix fun <K, V> Assert<Map<out K, V>>.asEntries(assertionCreator: Assert<Set<Entry<K, V>>>.() -> Unit): Assert<Set<Entry<K, V>>>
Turns |
|
fun <E> Assert<Array<out E>>.asIterable(): Assert<Iterable<E>>
Turns infix fun <E> Assert<Array<out E>>.asIterable(assertionCreator: Assert<Iterable<E>>.() -> Unit): Assert<Iterable<E>>
Turns fun Assert<ByteArray>.asIterable(): Assert<Iterable<Byte>>
Turns infix fun Assert<ByteArray>.asIterable(assertionCreator: Assert<Iterable<Byte>>.() -> Unit): Assert<Iterable<Byte>>
Turns fun Assert<CharArray>.asIterable(): Assert<Iterable<Char>>
Turns infix fun Assert<CharArray>.asIterable(assertionCreator: Assert<Iterable<Char>>.() -> Unit): Assert<Iterable<Char>>
Turns fun Assert<ShortArray>.asIterable(): Assert<Iterable<Short>>
Turns infix fun Assert<ShortArray>.asIterable(assertionCreator: Assert<Iterable<Short>>.() -> Unit): Assert<Iterable<Short>>
Turns fun Assert<IntArray>.asIterable(): Assert<Iterable<Int>>
Turns infix fun Assert<IntArray>.asIterable(assertionCreator: Assert<Iterable<Int>>.() -> Unit): Assert<Iterable<Int>>
Turns fun Assert<LongArray>.asIterable(): Assert<Iterable<Long>>
Turns infix fun Assert<LongArray>.asIterable(assertionCreator: Assert<Iterable<Long>>.() -> Unit): Assert<Iterable<Long>>
Turns fun Assert<FloatArray>.asIterable(): Assert<Iterable<Float>>
Turns infix fun Assert<FloatArray>.asIterable(assertionCreator: Assert<Iterable<Float>>.() -> Unit): Assert<Iterable<Float>>
Turns fun Assert<DoubleArray>.asIterable(): Assert<Iterable<Double>>
Turns infix fun Assert<DoubleArray>.asIterable(assertionCreator: Assert<Iterable<Double>>.() -> Unit): Assert<Iterable<Double>>
Turns fun Assert<BooleanArray>.asIterable(): Assert<Iterable<Boolean>>
Turns infix fun Assert<BooleanArray>.asIterable(assertionCreator: Assert<Iterable<Boolean>>.() -> Unit): Assert<Iterable<Boolean>>
Turns fun <E> Assert<Sequence<E>>.asIterable(): Assert<Iterable<E>>
Turns |
|
infix fun <T : CharSequence, S : CharSequenceContains.SearchBehaviour> CharSequenceContains.Builder<T, S>.atLeast(times: Int): AtLeastCheckerOption<T, S>
Restricts a infix fun <E, T : Iterable<E>, S : InAnyOrderSearchBehaviour> IterableContains.Builder<E, T, S>.atLeast(times: Int): AtLeastCheckerOption<E, T, S>
Restricts a |
|
infix fun <T : CharSequence, S : CharSequenceContains.SearchBehaviour> CharSequenceContains.Builder<T, S>.atMost(times: Int): AtMostCheckerOption<T, S>
Restricts a infix fun <E, T : Iterable<E>, S : InAnyOrderSearchBehaviour> IterableContains.Builder<E, T, S>.atMost(times: Int): AtMostCheckerOption<E, T, S>
Restricts a |
|
infix fun <E, T : Iterable<E>> IterableContains.Builder<E, T, InAnyOrderSearchBehaviour>.but(only: only): IterableContains.Builder<E, T, InAnyOrderOnlySearchBehaviour>
Defines that the constraint " |
|
infix fun <T : CharSequence, S : CharSequenceContains.SearchBehaviour> AtLeastCheckerOption<T, S>.butAtMost(times: Int): ButAtMostCheckerOption<T, S>
Restricts a infix fun <E, T : Iterable<E>, S : InAnyOrderSearchBehaviour> AtLeastCheckerOption<E, T, S>.butAtMost(times: Int): ButAtMostCheckerOption<E, T, S>
Restricts a |
|
infix fun <T : CharSequence> Assert<T>.contains(expected: Any): AssertionPlant<T>
Makes the assertion that the Assert.subject contains the toString representation of the given expected using a non disjoint search. infix fun <T : CharSequence> Assert<T>.contains(values: Values<Any>): AssertionPlant<T>
Makes the assertion that the Assert.subject contains the given values representation using a non disjoint search. infix fun <T : CharSequence> Assert<T>.contains(patterns: RegexPatterns): AssertionPlant<T>
Makes the assertion that the Assert.subject contains a sequence which matches the given patterns using a non disjoint search. infix fun <E, T : Iterable<E>> Assert<T>.contains(expected: E): AssertionPlant<T>
Makes the assertion that the Assert.subject contains the expected value. infix fun <E, T : Iterable<E>> Assert<T>.contains(values: Values<E>): AssertionPlant<T>
Makes the assertion that the Assert.subject contains the expected values. infix fun <E : Any, T : Iterable<E?>> Assert<T>.contains(assertionCreatorOrNull: (Assert<E>.() -> Unit)?): AssertionPlant<T>
Makes the assertion that the Assert.subject contains an entry holding the
assertions created by assertionCreatorOrNull or an entry which is infix fun <E : Any, T : Iterable<E?>> Assert<T>.contains(entries: Entries<E>): AssertionPlant<T>
Makes the assertion that the Assert.subject contains an entry holding the
assertions created by entries.assertionCreatorOrNull or an entry
which is infix fun <K, V, T : Map<out K, V>> Assert<T>.contains(keyValuePair: Pair<K, V>): AssertionPlant<T>
Makes the assertion that the Assert.subject contains a key as defined by keyValuePair's Pair.first with a corresponding value as defined by keyValuePair's Pair.second. infix fun <K, V, T : Map<out K, V>> Assert<T>.contains(keyValuePairs: Pairs<K, V>): AssertionPlant<T>
Makes the assertion that the Assert.subject contains for each entry in keyValuePairs, a key as defined by entry's Pair.first with a corresponding value as defined by entry's Pair.second. infix fun <K, V : Any, T : Map<out K, V?>> Assert<T>.contains(keyValue: KeyValue<K, V>): AssertionPlant<T>
Makes the assertion that the Assert.subject contains a key as defined by keyValue's KeyValue.key
with a corresponding value which either holds all assertions keyValue's
KeyValue.valueAssertionCreatorOrNull might create or needs to be infix fun <K, V : Any, T : Map<out K, V?>> Assert<T>.contains(keyValues: All<KeyValue<K, V>>): AssertionPlant<T>
Makes the assertion that for each of the KeyValue in keyValues, the Assert.subject contains
a key as defined by keyValue's KeyValue.key with a corresponding value which either holds all assertions
keyValue's KeyValue.valueAssertionCreatorOrNull might create or needs to be infix fun <E, T : Iterable<E>> Assert<T>. infix fun <E, T : Iterable<E>> Assert<T>. infix fun <E : Any, T : Iterable<E?>> Assert<T>. infix fun <E : Any, T : Iterable<E?>> Assert<T>. |
|
infix fun <E, T : Iterable<E>> Assert<T>.containsExactly(expected: E): AssertionPlant<T>
Makes the assertion that the Assert.subject contains only the expected value. infix fun <E, T : Iterable<E>> Assert<T>.containsExactly(values: Values<E>): AssertionPlant<T>
Makes the assertion that the Assert.subject contains only the expected values in the defined order. infix fun <E : Any, T : Iterable<E?>> Assert<T>.containsExactly(assertionCreatorOrNull: (Assert<E>.() -> Unit)?): AssertionPlant<T>
Makes the assertion that the Assert.subject contains only one entry
which is holding the assertions created by assertionCreatorOrNull or
only one entry which is infix fun <E : Any, T : Iterable<E?>> Assert<T>.containsExactly(entries: Entries<E>): AssertionPlant<T>
Makes the assertion that the Assert.subject contains only an entry holding
the assertions created by entries.assertionCreatorOrNull or
|
|
infix fun <K> Assert<Map<out K, *>>.containsKey(key: K): AssertionPlant<Map<out K, *>>
Makes the assertion that the Assert.subject contains the given key. |
|
infix fun <T : CharSequence> Assert<T>.containsNot(expected: Any): AssertionPlant<T>
Makes the assertion that the Assert.subject does not expected's toString representation. infix fun <T : CharSequence> Assert<T>.containsNot(values: Values<Any>): AssertionPlant<T>
Makes the assertion that the Assert.subject does not contain the toString representation of the given values. infix fun <E, T : Iterable<E>> Assert<T>.containsNot(expected: E): AssertionPlant<T>
Makes the assertion that the Assert.subject does not contain the expected value. infix fun <E, T : Iterable<E>> Assert<T>.containsNot(values: Values<E>): AssertionPlant<T>
Makes the assertion that the Assert.subject does not contain the expected values. |
|
infix fun <K> Assert<Map<out K, *>>.containsNotKey(key: K): AssertionPlant<Map<out K, *>>
Makes the assertion that the Assert.subject does not contain the given key. |
|
infix fun <T : CharSequence> Assert<T>.containsRegex(pattern: String): AssertionPlant<T>
Makes the assertion that the Assert.subject contains a sequence which matches the given pattern. |
|
infix fun <E : Any, T : Iterable<E>> Assert<T>. infix fun <E, T : Iterable<E>> Assert<T>. infix fun <E : Any, T : Iterable<E>> Assert<T>. infix fun <E, T : Iterable<E>> Assert<T>. infix fun <E : Any, T : Iterable<E>> Assert<T>. infix fun <E : Any, T : Iterable<E?>> Assert<T>. infix fun <E : Any, T : Iterable<E>> Assert<T>. infix fun <E : Any, T : Iterable<E?>> Assert<T>. |
|
infix fun <T : CharSequence> Assert<T>.endsNotWith(expected: CharSequence): AssertionPlant<T>
Makes the assertion that the Assert.subject does not end with expected. |
|
infix fun <T : CharSequence> Assert<T>.endsWith(expected: CharSequence): AssertionPlant<T>
Makes the assertion that the Assert.subject ends with expected. |
|
infix fun <E : Any, T : Iterable<E?>> IterableContains.CheckerOption<E?, T, InAnyOrderSearchBehaviour>.entry(assertionCreatorOrNull: (Assert<E>.() -> Unit)?): AssertionPlant<T>
Finishes the specification of the sophisticated infix fun <E : Any, T : Iterable<E?>> IterableContains.Builder<E?, T, InAnyOrderOnlySearchBehaviour>.entry(assertionCreatorOrNull: (Assert<E>.() -> Unit)?): AssertionPlant<T>
Finishes the specification of the sophisticated infix fun <E : Any, T : Iterable<E?>> IterableContains.Builder<E?, T, InOrderOnlySearchBehaviour>.entry(assertionCreatorOrNull: (Assert<E>.() -> Unit)?): AssertionPlant<T>
Finishes the specification of the sophisticated |
|
infix fun <T : CharSequence, S : CharSequenceContains.SearchBehaviour> CharSequenceContains.Builder<T, S>.exactly(times: Int): ExactlyCheckerOption<T, S>
Restricts a infix fun <E, T : Iterable<E>, S : InAnyOrderSearchBehaviour> IterableContains.Builder<E, T, S>.exactly(times: Int): ExactlyCheckerOption<E, T, S>
Restricts a |
|
infix fun <K : Any, V> Assert<Pair<K, V>>.first(assertionCreator: Assert<K>.() -> Unit): AssertionPlant<Pair<K, V>>
Makes the assertion that the Assert.subject's property first holds all assertions the given assertionCreator might create for it. |
|
infix fun <E : Any, T : List<E>> Assert<T>.get(index: Int): AssertionPlant<E>
Makes the assertion that the given index is within the bounds of Assert.subject, creates a feature assertion plant for the corresponding element and returns the newly created plant. infix fun <E : Any, T : List<E>> Assert<T>.get(index: Index): ListGetOption<E, T>
Prepares the assertion about the return value of calling get with the given index. |
|
infix fun <K, V : Any, T : Map<out K, V>> Assert<T>.getExisting(key: K): Assert<V>
Makes the assertion that the Assert.subject contains the given key, creates a feature assertion plant for the corresponding value and returns the newly created plant. infix fun <K, V : Any, T : Map<out K, V>> Assert<T>.getExisting(key: Key<K>): MapGetOption<K, V, T>
Prepares the assertion about the return value of calling get with the given key. |
|
infix fun <E, T : Iterable<E>> IterableContains.Builder<E, T, InOrderOnlySearchBehaviour>.grouped(entries: entries): IterableContains.Builder<E, T, InOrderOnlyGroupedSearchBehaviour>
Defines that the Iterable contains groups of entries |
|
infix fun <T : Collection<*>> Assert<T>.hasSize(size: Int): AssertionPlant<T>
Makes the assertion that the Assert.subject's Collection.size is size. |
|
infix fun <T : CharSequence> CharSequenceContains.Builder<T, NoOpSearchBehaviour>.ignoring(case: case): CharSequenceContains.Builder<T, IgnoringCaseSearchBehaviour>
Defines that the search behaviour infix fun <T : CharSequence> NotCheckerOption<T, NotSearchBehaviour>.ignoring(case: case): NotCheckerOption<T, IgnoringCaseSearchBehaviour>
Defines that the search behaviour |
|
infix fun <E, T : Iterable<E>> IterableContains.Builder<E, T, InOrderOnlyGroupedWithinSearchBehaviour>.inAny(order: Order<E, Group<E>>): AssertionPlant<T>
Finishes the specification of the sophisticated infix fun <E : Any, T : Iterable<E?>> IterableContains.Builder<E?, T, InOrderOnlyGroupedWithinSearchBehaviour>.inAny(order: Order<(Assert<E>.() -> Unit)?, Group<(Assert<E>.() -> Unit)?>>): AssertionPlant<T>
Finishes the specification of the sophisticated infix fun <E, T : Iterable<E>> IterableContains.Builder<E, T, NoOpSearchBehaviour>.inAny(order: order): IterableContains.Builder<E, T, InAnyOrderSearchBehaviour>
Defines that the search behaviour "find entries fun <E, T : Iterable<E>> fun <E : Any, T : Iterable<E?>> |
|
infix fun <E, T : Iterable<E>> IterableContains.Builder<E, T, NoOpSearchBehaviour>.inGiven(order: order): IterableContains.Builder<E, T, InOrderSearchBehaviour>
Defines that the search behaviour "find entries |
|
infix fun <TSub : Any> Assert<Any>.isA(assertionCreator: AssertionPlant<TSub>.() -> Unit): Unit
Makes the assertion that the Assert.subject is a TSub (the same type or a sub-type) and if so, uses assertionCreator which could create further assertions which are added as a group. |
|
infix fun <T : BigDecimal> Assert<T>.isEqualIncludingScale(expected: T): AssertionPlant<T>
Makes the assertion that the Assert.subject is (equal to) expected including BigDecimal.scale. |
|
infix fun <T : Comparable<T>> Assert<T>.isGreaterOrEquals(expected: T): AssertionPlant<T>
Makes the assertion that the Assert.subject is greater than or equals expected. |
|
infix fun <T : Comparable<T>> Assert<T>.isGreaterThan(expected: T): AssertionPlant<T>
Makes the assertion that the Assert.subject is greater than expected. |
|
infix fun <K : Any, V : Any> Assert<Entry<K, V>>.isKeyValue(keyValuePair: Pair<K, V>): Assert<Entry<K, V>>
Makes the assertion that the Assert.subject's Map.Entry.key is (equal to) the given Pair.first and Map.Entry.value is Pair.second. |
|
infix fun <T : Comparable<T>> Assert<T>.isLessOrEquals(expected: T): AssertionPlant<T>
Makes the assertion that the Assert.subject is less than or equals expected. |
|
infix fun <T : Comparable<T>> Assert<T>.isLessThan(expected: T): AssertionPlant<T>
Makes the assertion that the Assert.subject is less than expected. |
|
infix fun <T : BigDecimal> Assert<T>.isNotEqualIncludingScale(expected: T): AssertionPlant<T>
Makes the assertion that the Assert.subject is not equal to expected including BigDecimal.scale. |
|
infix fun <T : BigDecimal> Assert<T>.isNotNumericallyEqualTo(expected: T): AssertionPlant<T>
Makes the assertion that the Assert.subject is not numerically equal to expected. |
|
infix fun <T : Any> Assert<T>.
Makes the assertion that the Assert.subject is not the same instance as expected. |
|
infix fun <T : BigDecimal> Assert<T>.isNumericallyEqualTo(expected: T): AssertionPlant<T>
Makes the assertion that the Assert.subject is numerically equal to expected. |
|
infix fun <T : Any> Assert<T>.
Makes the assertion that the Assert.subject is the same instance as expected. |
|
infix fun <K : Any, V> Assert<Entry<K, V>>.key(assertionCreator: Assert<K>.() -> Unit): AssertionPlant<Entry<K, V>>
Makes the assertion that the Assert.subject's property key holds all assertions the given assertionCreator might create for it. |
|
infix fun <K, V, T : Map<out K, V>> Assert<T>.keys(assertionCreator: Assert<Set<K>>.() -> Unit): AssertionPlant<T>
Makes the assertion that the Assert.subject's property keys holds all assertions the given assertionCreator might create. |
|
infix fun <T : Throwable> Assert<T>.message(assertionCreator: Assert<String>.() -> Unit): Unit
Creates an AssertionPlantNullable for the message of the plant's subject (which is a Throwable) and makes the assertion that the message ought notToBeNull and uses assertionCreator which might create further Assertions which are lazily evaluated at the end. |
|
infix fun <T : Throwable> Assert<T>.messageContains(expected: Any): Unit
Creates the assertion that the Throwable's message is not null (see message) and contains the toString representation of the given expected using a non disjoint search. infix fun <T : Throwable> Assert<T>.messageContains(values: Values<Any>): Unit
Creates the assertion that the Throwable's message is not null (see message) and contains the toString representation of the given values using a non disjoint search. |
|
infix fun <E : Any, T : Iterable<E?>> Assert<T>.none(assertionCreatorOrNull: (Assert<E>.() -> Unit)?): AssertionPlant<T>
Makes the assertion that the Assert.subject does not contain a single entry
which holds all assertions created by assertionCreatorOrNull
or does not contain a single entry which is infix fun <E : Any, T : Iterable<E?>> Assert<T>. |
|
infix fun <T : CharSequence, S : CharSequenceContains.SearchBehaviour> CharSequenceContains.Builder<T, S>.notOrAtMost(times: Int): NotOrAtMostCheckerOption<T, S>
Restricts a infix fun <E, T : Iterable<E>, S : InAnyOrderSearchBehaviour> IterableContains.Builder<E, T, S>.notOrAtMost(times: Int): NotOrAtMostCheckerOption<E, T, S>
Restricts a |
|
infix fun <T : CharSequence> Assert<T>.notTo(contain: contain): NotCheckerOption<T, NotSearchBehaviour>
Creates a CharSequenceContains.Builder based on this AssertionPlant which allows to define
more sophisticated |
|
infix fun <T : Any> Assert<T>.
Makes the assertion that the Assert.subject is not (equal to) expected. infix fun <T : Any> Assert<T>. infix fun <T : CharSequence> Assert<T>.notToBe(Empty: Empty): AssertionPlant<T>
Makes the assertion that the Assert.subject CharSequence.kotlin.text.isNotEmpty. infix fun <T : CharSequence> Assert<T>.notToBe(Blank: Blank): AssertionPlant<T>
Makes the assertion that the Assert.subject CharSequence.kotlin.text.isNotBlank. |
|
infix fun <T : Any> AssertionPlantNullable<T?>.notToBeNull(assertionCreator: Assert<T>.() -> Unit): Unit
Makes the assertion that AssertionPlantNullable.subject is not null and if so, uses assertionCreator which could create further assertions which are added as a group. |
|
infix fun <T : BigDecimal> AssertionPlantNullable<T?>. infix fun <T : Any> AssertionPlantNullable<T>. |
|
fun ThrowableThrown.Builder.notToThrow(): Unit
Makes the assertion that no Throwable is thrown at all. |
|
infix fun <E : Any, T : Iterable<E?>> IterableContains.CheckerOption<E?, T, InAnyOrderSearchBehaviour>. infix fun <E : Any, T : Iterable<E?>> IterableContains.Builder<E?, T, InAnyOrderOnlySearchBehaviour>. infix fun <E : Any, T : Iterable<E?>> IterableContains.Builder<E?, T, InOrderOnlySearchBehaviour>. |
|
infix fun <E, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderSearchBehaviour>. infix fun <E, T : Iterable<E>> IterableContains.Builder<E, T, InAnyOrderOnlySearchBehaviour>. infix fun <E, T : Iterable<E>> IterableContains.Builder<E, T, InOrderOnlySearchBehaviour>. |
|
fun <T : Any, TProperty : Any> Assert<T>.property(property: KProperty0<TProperty>): AssertionPlant<TProperty> fun <T : Any, TProperty : Any> Assert<T>.property(property: KProperty1<T, TProperty>): AssertionPlant<TProperty>
Creates an AssertionPlant for the given property which eventually adds AssertionGroups with a FeatureAssertionGroupType, containing the assertions created for the given property, to the current plant. fun <T : Any, TProperty : Any> CollectingAssertionPlant<T>. fun <T : Any, TProperty : Any> CollectingAssertionPlant<T>. fun <T : Any, TProperty : Any> Assert<T>.property(property: KProperty0<TProperty>, assertionCreator: Assert<TProperty>.() -> Unit): AssertionPlant<TProperty> fun <T : Any, TProperty : Any> Assert<T>.property(property: KProperty1<T, TProperty>, assertionCreator: Assert<TProperty>.() -> Unit): AssertionPlant<TProperty>
Creates an AssertionPlant for the given property which eventually adds AssertionGroups with a FeatureAssertionGroupType, containing the assertions created for the given property, to the current plant -- starting with a group consisting of the Assertions created by the assertionCreator lambda. |
|
infix fun <T : CharSequence> CharSequenceContains.CheckerOption<T, NoOpSearchBehaviour>.regex(pattern: String): AssertionPlant<T>
Finishes the specification of the sophisticated infix fun <T : CharSequence> CharSequenceContains.CheckerOption<T, IgnoringCaseSearchBehaviour>.regex(pattern: String): AssertionPlant<T>
Finishes the specification of the sophisticated infix fun <T : CharSequence> CharSequenceContains.Builder<T, IgnoringCaseSearchBehaviour>.regex(pattern: String): AssertionPlant<T>
Finishes the specification of the sophisticated |
|
fun <T : Any, R : Any> Assert<T>.returnValueOf(method: KFunction0<R>): AssertionPlant<R> fun <T : Any, R : Any> Assert<T>.returnValueOf(method: KFunction1<T, R>): AssertionPlant<R>
Creates an AssertionPlant, for the value returned by calling method, which eventually adds AssertionGroups with a FeatureAssertionGroupType, containing the assertions created for the return value, to the current plant. fun <T : Any, R : Any> CollectingAssertionPlant<T>. fun <T : Any, R : Any> CollectingAssertionPlant<T>. fun <T : Any, T1, R : Any> CollectingAssertionPlant<T>. fun <T : Any, T1, R : Any> CollectingAssertionPlant<T>. fun <T : Any, T1, T2, R : Any> CollectingAssertionPlant<T>. fun <T : Any, T1, T2, R : Any> CollectingAssertionPlant<T>. fun <T : Any, T1, T2, T3, R : Any> CollectingAssertionPlant<T>. fun <T : Any, T1, T2, T3, R : Any> CollectingAssertionPlant<T>. fun <T : Any, T1, T2, T3, T4, R : Any> CollectingAssertionPlant<T>. fun <T : Any, T1, T2, T3, T4, R : Any> CollectingAssertionPlant<T>. fun <T : Any, T1, T2, T3, T4, T5, R : Any> CollectingAssertionPlant<T>. fun <T : Any, T1, T2, T3, T4, T5, R : Any> CollectingAssertionPlant<T>. fun <T : Any, R : Any> Assert<T>.returnValueOf(method: KFunction0<R>, assertionCreator: Assert<R>.() -> Unit): AssertionPlant<R> fun <T : Any, R : Any> Assert<T>.returnValueOf(method: KFunction1<T, R>, assertionCreator: Assert<R>.() -> Unit): AssertionPlant<R>
Creates an AssertionPlant, for the value returned by calling method, which eventually adds AssertionGroups with a FeatureAssertionGroupType, containing the assertions created for the return value, to the current plant -- starting with a group consisting of the Assertions created by the assertionCreator lambda. fun <T : Any, T1, R : Any> Assert<T>.returnValueOf(method: KFunction1<T1, R>, arg1: T1): AssertionPlant<R> fun <T : Any, T1, R : Any> Assert<T>.returnValueOf(method: KFunction2<T, T1, R>, arg1: T1): AssertionPlant<R>
Creates an AssertionPlant, for the value returned by calling method with arg1, which eventually adds AssertionGroups with a FeatureAssertionGroupType, containing the assertions created for the return value, to the current plant. fun <T : Any, T1, R : Any> Assert<T>.returnValueOf(method: KFunction1<T1, R>, arg1: T1, assertionCreator: Assert<R>.() -> Unit): AssertionPlant<R> fun <T : Any, T1, R : Any> Assert<T>.returnValueOf(method: KFunction2<T, T1, R>, arg1: T1, assertionCreator: Assert<R>.() -> Unit): AssertionPlant<R>
Creates an AssertionPlant, for the value returned by calling method with arg1, which eventually adds AssertionGroups with a FeatureAssertionGroupType, containing the assertions created for the return value, to the current plant -- starting with a group consisting of the Assertions created by the assertionCreator lambda. fun <T : Any, T1, T2, R : Any> Assert<T>.returnValueOf(method: KFunction2<T1, T2, R>, arg1: T1, arg2: T2): AssertionPlant<R> fun <T : Any, T1, T2, R : Any> Assert<T>.returnValueOf(method: KFunction3<T, T1, T2, R>, arg1: T1, arg2: T2): AssertionPlant<R>
Creates an AssertionPlant, for the value returned by calling method with arg1 and arg2, which eventually adds AssertionGroups with a FeatureAssertionGroupType, containing the assertions created for the return value, to the current plant. fun <T : Any, T1, T2, R : Any> Assert<T>.returnValueOf(method: KFunction2<T1, T2, R>, arg1: T1, arg2: T2, assertionCreator: Assert<R>.() -> Unit): AssertionPlant<R> fun <T : Any, T1, T2, R : Any> Assert<T>.returnValueOf(method: KFunction3<T, T1, T2, R>, arg1: T1, arg2: T2, assertionCreator: Assert<R>.() -> Unit): AssertionPlant<R>
Creates an AssertionPlant, for the value returned by calling method with arg1 and arg2, which eventually adds AssertionGroups with a FeatureAssertionGroupType, containing the assertions created for the return value, to the current plant -- starting with a group consisting of the Assertions created by the assertionCreator lambda. fun <T : Any, T1, T2, T3, R : Any> Assert<T>.returnValueOf(method: KFunction3<T1, T2, T3, R>, arg1: T1, arg2: T2, arg3: T3): AssertionPlant<R> fun <T : Any, T1, T2, T3, R : Any> Assert<T>.returnValueOf(method: KFunction4<T, T1, T2, T3, R>, arg1: T1, arg2: T2, arg3: T3): AssertionPlant<R>
Creates an AssertionPlant, for the value returned by calling method with arg1, arg2 and arg3, which eventually adds AssertionGroups with a FeatureAssertionGroupType, containing the assertions created for the return value, to the current plant. fun <T : Any, T1, T2, T3, R : Any> Assert<T>.returnValueOf(method: KFunction3<T1, T2, T3, R>, arg1: T1, arg2: T2, arg3: T3, assertionCreator: Assert<R>.() -> Unit): AssertionPlant<R> fun <T : Any, T1, T2, T3, R : Any> Assert<T>.returnValueOf(method: KFunction4<T, T1, T2, T3, R>, arg1: T1, arg2: T2, arg3: T3, assertionCreator: Assert<R>.() -> Unit): AssertionPlant<R>
Creates an AssertionPlant, for the value returned by calling method with arg1, arg2 and arg3, which eventually adds AssertionGroups with a FeatureAssertionGroupType, containing the assertions created for the return value, to the current plant -- starting with a group consisting of the Assertions created by the assertionCreator lambda. fun <T : Any, T1, T2, T3, T4, R : Any> Assert<T>.returnValueOf(method: KFunction4<T1, T2, T3, T4, R>, arg1: T1, arg2: T2, arg3: T3, arg4: T4): AssertionPlant<R> fun <T : Any, T1, T2, T3, T4, R : Any> Assert<T>.returnValueOf(method: KFunction5<T, T1, T2, T3, T4, R>, arg1: T1, arg2: T2, arg3: T3, arg4: T4): AssertionPlant<R>
Creates an AssertionPlant, for the value returned by calling method with arg1, arg2, arg3 and arg4, which eventually adds AssertionGroups with a FeatureAssertionGroupType, containing the assertions created for the return value, to the current plant. fun <T : Any, T1, T2, T3, T4, R : Any> Assert<T>.returnValueOf(method: KFunction4<T1, T2, T3, T4, R>, arg1: T1, arg2: T2, arg3: T3, arg4: T4, assertionCreator: Assert<R>.() -> Unit): AssertionPlant<R> fun <T : Any, T1, T2, T3, T4, R : Any> Assert<T>.returnValueOf(method: KFunction5<T, T1, T2, T3, T4, R>, arg1: T1, arg2: T2, arg3: T3, arg4: T4, assertionCreator: Assert<R>.() -> Unit): AssertionPlant<R>
Creates an AssertionPlant, for the value returned by calling method with arg1, arg2, arg3 and arg4, which eventually adds AssertionGroups with a FeatureAssertionGroupType, containing the assertions created for the return value, to the current plant -- starting with a group consisting of the Assertions created by the assertionCreator lambda. fun <T : Any, T1, T2, T3, T4, T5, R : Any> Assert<T>.returnValueOf(method: KFunction5<T1, T2, T3, T4, T5, R>, arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5): AssertionPlant<R> fun <T : Any, T1, T2, T3, T4, T5, R : Any> Assert<T>.returnValueOf(method: KFunction6<T, T1, T2, T3, T4, T5, R>, arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5): AssertionPlant<R>
Creates an AssertionPlant, for the value returned by calling method with arg1, arg2, arg3, arg4 and arg5, which eventually adds AssertionGroups with a FeatureAssertionGroupType, containing the assertions created for the return value, to the current plant. fun <T : Any, T1, T2, T3, T4, T5, R : Any> Assert<T>.returnValueOf(method: KFunction5<T1, T2, T3, T4, T5, R>, arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, assertionCreator: Assert<R>.() -> Unit): AssertionPlant<R> fun <T : Any, T1, T2, T3, T4, T5, R : Any> Assert<T>.returnValueOf(method: KFunction6<T, T1, T2, T3, T4, T5, R>, arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, assertionCreator: Assert<R>.() -> Unit): AssertionPlant<R>
Creates an AssertionPlant, for the value returned by calling method with arg1, arg2, arg3, arg4 and arg5, which eventually adds AssertionGroups with a FeatureAssertionGroupType, containing the assertions created for the return value, to the current plant -- starting with a group consisting of the Assertions created by the assertionCreator lambda. |
|
infix fun <K, V : Any> Assert<Pair<K, V>>.second(assertionCreator: Assert<V>.() -> Unit): AssertionPlant<Pair<K, V>>
Makes the assertion that the Assert.subject's property second holds all assertions the given assertionCreator might create for it. |
|
infix fun <E, T : Collection<E>> Assert<T>.size(assertionCreator: Assert<Int>.() -> Unit): Assert<T>
Makes the assertion that the Assert.subject's property size holds all assertions the given assertionCreator might create for it. |
|
infix fun <T : CharSequence> Assert<T>.startsNotWith(expected: CharSequence): AssertionPlant<T>
Makes the assertion that the Assert.subject does not start with expected. |
|
infix fun <T : CharSequence> Assert<T>.startsWith(expected: CharSequence): AssertionPlant<T>
Makes the assertion that the Assert.subject starts with expected. |
|
infix fun <T : CharSequence> CharSequenceContains.CheckerOption<T, NoOpSearchBehaviour>.the(values: Values<Any>): AssertionPlant<T>
Finishes the specification of the sophisticated infix fun <T : CharSequence> CharSequenceContains.CheckerOption<T, IgnoringCaseSearchBehaviour>.the(values: Values<Any>): AssertionPlant<T>
Finishes the specification of the sophisticated infix fun <T : CharSequence> CharSequenceContains.Builder<T, IgnoringCaseSearchBehaviour>.the(values: Values<Any>): AssertionPlant<T>
Finishes the specification of the sophisticated infix fun <T : CharSequence> CharSequenceContains.CheckerOption<T, NoOpSearchBehaviour>.the(patterns: RegexPatterns): AssertionPlant<T>
Finishes the specification of the sophisticated infix fun <T : CharSequence> CharSequenceContains.CheckerOption<T, IgnoringCaseSearchBehaviour>.the(patterns: RegexPatterns): AssertionPlant<T>
Finishes the specification of the sophisticated infix fun <T : CharSequence> CharSequenceContains.Builder<T, IgnoringCaseSearchBehaviour>.the(patterns: RegexPatterns): AssertionPlant<T>
Finishes the specification of the sophisticated infix fun <E, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderSearchBehaviour>.the(values: Values<E>): AssertionPlant<T>
Finishes the specification of the sophisticated infix fun <E : Any, T : Iterable<E?>> IterableContains.CheckerOption<E?, T, InAnyOrderSearchBehaviour>.the(entries: Entries<E>): AssertionPlant<T>
Finishes the specification of the sophisticated infix fun <E, T : Iterable<E>> IterableContains.Builder<E, T, InAnyOrderOnlySearchBehaviour>.the(values: Values<E>): AssertionPlant<T>
Finishes the specification of the sophisticated infix fun <E : Any, T : Iterable<E?>> IterableContains.Builder<E?, T, InAnyOrderOnlySearchBehaviour>.the(entries: Entries<E>): AssertionPlant<T>
Finishes the specification of the sophisticated infix fun <E, T : Iterable<E>> IterableContains.Builder<E, T, InOrderOnlySearchBehaviour>.the(values: Values<E>): AssertionPlant<T>
Finishes the specification of the sophisticated infix fun <E : Any, T : Iterable<E?>> IterableContains.Builder<E?, T, InOrderOnlySearchBehaviour>.the(entries: Entries<E>): AssertionPlant<T>
Finishes the specification of the sophisticated infix fun <E, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderSearchBehaviour>. infix fun <E : Any, T : Iterable<E?>> IterableContains.CheckerOption<E?, T, InAnyOrderSearchBehaviour>. infix fun <E, T : Iterable<E>> IterableContains.Builder<E, T, InAnyOrderOnlySearchBehaviour>. infix fun <E : Any, T : Iterable<E?>> IterableContains.Builder<E?, T, InAnyOrderOnlySearchBehaviour>. infix fun <E, T : Iterable<E>> IterableContains.Builder<E, T, InOrderOnlySearchBehaviour>. infix fun <E : Any, T : Iterable<E?>> IterableContains.Builder<E?, T, InOrderOnlySearchBehaviour>. |
|
infix fun <T : CharSequence> Assert<T>.to(contain: contain): CharSequenceContains.Builder<T, NoOpSearchBehaviour>
Creates a CharSequenceContains.Builder based on this AssertionPlant which allows to define
a sophisticated |
|
infix fun <T : Any> Assert<T>.
Makes the assertion that the Assert.subject is (equal to) expected. infix fun <T : Any> Assert<T>. fun <T> infix fun <T : Any> AssertionPlantNullable<T?>.
Makes the assertion that the Assert.subject is expected. infix fun <T : CharSequence> Assert<T>.toBe(Empty: Empty): AssertionPlant<T>
Makes the assertion that the Assert.subject CharSequence.kotlin.text.isEmpty. |
|
infix fun <T : Any> AssertionPlantNullable<T?>.
Makes the assertion that the Assert.subject is either |
|
infix fun <TExpected : Throwable> ThrowableThrown.Builder.toThrow(assertionCreator: Assert<TExpected>.() -> Unit): Unit
Makes the assertion that the thrown Throwable is of type TExpected and holds all assertions the assertionCreator might create in addition. |
|
infix fun <T : CharSequence> CharSequenceContains.CheckerOption<T, NoOpSearchBehaviour>.value(expected: Any): AssertionPlant<T>
Finishes the specification of the sophisticated infix fun <T : CharSequence> CharSequenceContains.CheckerOption<T, IgnoringCaseSearchBehaviour>.value(expected: Any): AssertionPlant<T>
Finishes the specification of the sophisticated infix fun <T : CharSequence> CharSequenceContains.Builder<T, IgnoringCaseSearchBehaviour>.value(expected: Any): AssertionPlant<T>
Finishes the specification of the sophisticated infix fun <E, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderSearchBehaviour>.value(expected: E): AssertionPlant<T>
Finishes the specification of the sophisticated infix fun <E, T : Iterable<E>> IterableContains.Builder<E, T, InAnyOrderOnlySearchBehaviour>.value(expected: E): AssertionPlant<T>
Finishes the specification of the sophisticated infix fun <E, T : Iterable<E>> IterableContains.Builder<E, T, InOrderOnlySearchBehaviour>.value(expected: E): AssertionPlant<T>
Finishes the specification of the sophisticated infix fun <K, V : Any> Assert<Entry<K, V>>.value(assertionCreator: Assert<V>.() -> Unit): AssertionPlant<Entry<K, V>>
Makes the assertion that the Assert.subject's property value holds all assertions the given assertionCreator might create for it. |
|
infix fun <K, V, T : Map<out K, V>> Assert<T>.values(assertionCreator: Assert<Collection<V>>.() -> Unit): AssertionPlant<T>
Makes the assertion that the Assert.subject's property values holds all assertions the given assertionCreator might create. |
|
infix fun <E, T : Iterable<E>> IterableContains.Builder<E, T, InOrderOnlyGroupedSearchBehaviour>.within(group: group): IterableContains.Builder<E, T, InOrderOnlyGroupedWithinSearchBehaviour>
Defines that the Iterable contains groups of entries |