interface AssertionPlant<out T : Any> : BaseAssertionPlant<T, AssertionPlant<T>>
(source)
Represents a plant for Assertions based on a non nullable subject.
It is the entry point for most assertion functions and provides only a reduced set of ReportingAssertionPlant which is actually created when a user of Atrium is using an assertion verb function.
T
- The type of the subject of this AssertionPlant.
abstract val subject: T
The subject for which this plant will create Assertions. |
|
abstract val subjectProvider: () -> T
The provider which provides subject. |
abstract fun addAssertionsCreatedBy(assertionCreator: AssertionPlant<T>.() -> Unit): AssertionPlant<T>
Adds the assertions created by the assertionCreator lambda to this plant. |
|
open fun createAndAddAssertion(description: Translatable, expected: Any, test: () -> Boolean): AssertionPlant<T>
Creates a DescriptiveAssertion based on the given description, expected and test and adds it to the plant. |
abstract fun addAssertion(assertion: Assertion): A
Adds the given assertion to this plant. |
val <T : Any> AssertionPlant<T>.and: AssertionPlant<T>
Can be used to separate assertions when using the fluent API. |
|
val <T : Any> AssertionPlant<T>.
Can be used to separate assertions when using the fluent API. |
|
val <T : CharSequence> Assert<T>.contains: Builder<T, NoOpSearchBehaviour>
Creates a CharSequenceContains.Builder based on this AssertionPlant which allows to define
more sophisticated |
|
val <T : CharSequence> Assert<T>.
Creates a CharSequenceContains.Builder based on this AssertionPlant which allows to define
more sophisticated |
|
val <T : CharSequence> Assert<T>.containsNot: NotCheckerOption<T, NotSearchBehaviour>
Creates a CharSequenceContains.Builder based on this AssertionPlant which allows to define
more sophisticated |
|
val <T : CharSequence> Assert<T>.
Creates a CharSequenceContains.Builder based on this AssertionPlant which allows to define
more sophisticated |
|
val <T : CharSequence> Assert<T>.enthaelt: Builder<T, NoOpSearchBehaviour>
Creates a CharSequenceContains.Builder based on this AssertionPlant which allows to define
more sophisticated |
|
val <T : CharSequence> Assert<T>.enthaeltNicht: NotCheckerOption<T, NotSearchBehaviour>
Creates a CharSequenceContains.Builder based on this AssertionPlant which allows to define
more sophisticated |
|
val <T : Any> AssertionPlant<T>.und: AssertionPlant<T>
Can be used to separate assertions when using the fluent API. |
fun <E : Any, T : Iterable<E>> Assert<T>.all(assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject has at least one element and that every element holds all assertions created by the assertionCreator. |
|
infix fun <E : Any, T : Iterable<E>> Assert<T>.all(assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject has at least one element and that every element holds all assertions created by the assertionCreator. infix fun <E : Any, T : Iterable<E?>> Assert<T>.all(nullableEntry: NullableEntry<E>): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) has at least one element and
that every element holds all assertions created by the
nullableEntry.assertionCreator or that all elements are |
|
fun <E : Any, T : Iterable<E?>> Assert<T>.allOfNullable(assertionCreatorOrNull: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) has at least one element and
that every element holds all assertions created by the assertionCreatorOrNull or that all elements are |
|
fun <E : Any, T : Iterable<E>> Assert<T>.alle(assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject has at least one element and that every element holds all assertions created by the assertionCreator. |
|
fun <E : Any, T : Iterable<E?>> Assert<T>.alleDerNullable(assertionCreatorOrNull: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) has at least one element and
that every element holds all assertions created by the assertionCreatorOrNull or that all elements are |
|
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 <T : Any> AssertionPlant<T>.
Can be used to create a group of sub assertions when using the fluent API. |
|
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 <T : Any> AssertionPlant<T>.
Can be used to create a group of sub assertions when using the fluent API. |
|
fun <E : Any, T : Iterable<E>> Assert<T>.any(assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject contains an entry holding the assertions created by the assertionCreator. |
|
infix fun <E : Any, T : Iterable<E>> Assert<T>.any(assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject contains an entry holding the assertions created by the assertionCreator. infix fun <E : Any, T : Iterable<E?>> Assert<T>.any(nullableEntry: NullableEntry<E>): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains an entry holding
the assertions created by the nullableEntry.assertionCreator or an entry
which is |
|
fun <E : Any, T : Iterable<E?>> Assert<T>.anyOfNullable(assertionCreatorOrNull: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains an entry holding
the assertions created by assertionCreatorOrNull or an entry which is |
|
fun <E> Assert<Array<E>>.asIterable(): AssertionPlant<Iterable<E>>
Turns fun Assert<ByteArray>.asIterable(): AssertionPlant<Iterable<Byte>>
Turns fun Assert<CharArray>.asIterable(): AssertionPlant<Iterable<Char>>
Turns fun Assert<ShortArray>.asIterable(): AssertionPlant<Iterable<Short>>
Turns fun Assert<IntArray>.asIterable(): AssertionPlant<Iterable<Int>>
Turns fun Assert<LongArray>.asIterable(): AssertionPlant<Iterable<Long>>
Turns fun Assert<FloatArray>.asIterable(): AssertionPlant<Iterable<Float>>
Turns fun Assert<DoubleArray>.asIterable(): AssertionPlant<Iterable<Double>>
Turns fun Assert<BooleanArray>.asIterable(): AssertionPlant<Iterable<Boolean>>
Turns fun <E, T> Assert<T>.asIterable(): <ERROR CLASS>
Turns |
|
fun <E> Assert<Array<E>>.asIterable(): AssertionPlant<Iterable<E>>
Turns fun Assert<ByteArray>.asIterable(): AssertionPlant<Iterable<Byte>>
Turns fun Assert<CharArray>.asIterable(): AssertionPlant<Iterable<Char>>
Turns fun Assert<ShortArray>.asIterable(): AssertionPlant<Iterable<Short>>
Turns fun Assert<IntArray>.asIterable(): AssertionPlant<Iterable<Int>>
Turns fun Assert<LongArray>.asIterable(): AssertionPlant<Iterable<Long>>
Turns fun Assert<FloatArray>.asIterable(): AssertionPlant<Iterable<Float>>
Turns fun Assert<DoubleArray>.asIterable(): AssertionPlant<Iterable<Double>>
Turns fun Assert<BooleanArray>.asIterable(): AssertionPlant<Iterable<Boolean>>
Turns fun <E, T> Assert<T>.asIterable(): <ERROR CLASS>
Turns |
|
fun <E> Assert<Array<E>>.asIterable(): AssertionPlant<Iterable<E>>
Turns fun Assert<ByteArray>.asIterable(): AssertionPlant<Iterable<Byte>>
Turns fun Assert<CharArray>.asIterable(): AssertionPlant<Iterable<Char>>
Turns fun Assert<ShortArray>.asIterable(): AssertionPlant<Iterable<Short>>
Turns fun Assert<IntArray>.asIterable(): AssertionPlant<Iterable<Int>>
Turns fun Assert<LongArray>.asIterable(): AssertionPlant<Iterable<Long>>
Turns fun Assert<FloatArray>.asIterable(): AssertionPlant<Iterable<Float>>
Turns fun Assert<DoubleArray>.asIterable(): AssertionPlant<Iterable<Double>>
Turns fun Assert<BooleanArray>.asIterable(): AssertionPlant<Iterable<Boolean>>
Turns fun <E, T> Assert<T>.asIterable(): <ERROR CLASS>
Turns |
|
fun <T : CharSequence> Assert<T>.beginntMit(expected: CharSequence): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject starts with expected. |
|
fun <T : CharSequence> Assert<T>.beginntNichtMit(expected: CharSequence): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject does not start with expected. |
|
fun <T : CharSequence> Assert<T>.contains(expected: Any, vararg otherExpected: Any): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject contains expected's toString representation and the toString representation of the otherExpected (if given), using a non disjoint search. fun <E : Any, T : Iterable<E>> Assert<T>.contains(expected: E, vararg otherExpected: E): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject contains expected and the otherExpected values (if given). fun <E : Any, T : Iterable<E>> Assert<T>.contains(assertionCreator: Assert<E>.() -> Unit): <ERROR CLASS>
Makes the assertion that AssertionPlant.subject contains an entry holding the assertions created by the assertionCreator. fun <E : Any, T : Iterable<E>> Assert<T>.contains(assertionCreator: Assert<E>.() -> Unit, vararg otherAssertionCreators: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject contains an entry holding the assertions created by the assertionCreator -- likewise an entry (can be the same) is searched for each of the otherAssertionCreators. |
|
fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject contains expected's toString representation and the toString representation of the otherExpected (if given), using a non disjoint search. fun <E, T : Iterable<E>> Assert<T>.
Makes the assertion that AssertionPlant.subject contains expected and the otherExpected (if given). fun <E : Any, T : Iterable<E>> Assert<T>.
Makes the assertion that AssertionPlant.subject contains an entry holding the assertions created by the assertionCreator and an additional entry for each otherAssertionCreators (if given) where it does not matter in which order the entries appear. |
|
infix fun <T : CharSequence> Assert<T>.contains(expected: Any): AssertionPlant<T>
Makes the assertion that AssertionPlant.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 AssertionPlant.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 AssertionPlant.subject contains a sequence which matches the given patterns using a non disjoint search. infix fun <E : Any, T : Iterable<E>> Assert<T>.contains(expected: E): <ERROR CLASS>
Makes the assertion that AssertionPlant.subject contains the expected value. infix fun <E, T : Iterable<E>> Assert<T>.contains(expected: NullableValue<E>): <ERROR CLASS>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains the expected nullable value. infix fun <E : Any, T : Iterable<E>> Assert<T>.contains(values: Values<E>): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains the expected values. infix fun <E, T : Iterable<E>> Assert<T>.contains(nullableValues: NullableValues<E>): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject contains the expected nullableValues. infix fun <E : Any, T : Iterable<E>> Assert<T>.contains(assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject contains an entry holding the assertions created by the assertionCreator where it does not matter in which order the entries appear. infix fun <E : Any, T : Iterable<E?>> Assert<T>.contains(nullableEntry: NullableEntry<E>): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains an entry holding the
assertions created by nullableEntry.assertionCreator or an entry which is infix fun <E : Any, T : Iterable<E>> Assert<T>.contains(entries: Entries<E>): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject contains an entry holding the assertions created by the entries.assertionCreator -- likewise an entry (can be the same) is searched for each of the entries.otherAssertionCreators. infix fun <E : Any, T : Iterable<E?>> Assert<T>.contains(nullableEntries: NullableEntries<E>): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains an entry holding the
assertions created by nullableEntries.assertionCreator or an entry
which is |
|
infix fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject contains the toString representation of the given expected using a non disjoint search. infix fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject contains the given values representation using a non disjoint search. infix fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject contains DefaultTranslationsOf.expected's getDefault representation and the getDefault representations of the DefaultTranslationsOf.otherExpected (if given), using a non disjoint search. infix fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject contains a sequence which matches the given patterns using a non disjoint search. infix fun <E, T : Iterable<E>> Assert<T>.
Makes the assertion that AssertionPlant.subject contains the expected value. infix fun <E, T : Iterable<E>> Assert<T>.
Makes the assertion that AssertionPlant.subject contains the expected values. infix fun <E, T : Iterable<E>> Assert<T>.
Makes the assertion that AssertionPlant.subject contains the expected objects. infix fun <E : Any, T : Iterable<E>> Assert<T>.
Makes the assertion that AssertionPlant.subject contains an entry holding the assertions created by the assertionCreator where it does not matter in which order the entries appear. infix fun <E : Any, T : Iterable<E>> Assert<T>.
Makes the assertion that AssertionPlant.subject contains an entry holding the assertions created by the Entries.assertionCreator and an additional entry for each Entries.otherAssertionCreators (if given) where it does not matter in which order the entries appear. |
|
fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject contains expected's getDefault representation and the getDefault representations of the otherExpected (if given), using a non disjoint search. |
|
infix fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject contains the getDefault representation of the given translatable. |
|
fun <T : CharSequence> Assert<T>.containsNot(expected: Any, vararg otherExpected: Any): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject does not contain expected's toString representation and neither one of the otherExpected's toString representation (if given). fun <E : Any, T : Iterable<E>> Assert<T>.containsNot(expected: E, vararg otherExpected: E): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject does not contain the expected value and neither one of the otherExpected values (if given). |
|
fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject does not contain expected's toString representation and neither one of the otherExpected's toString representation (if given). fun <E, T : Iterable<E>> Assert<T>.
Makes the assertion that AssertionPlant.subject does not contain expected and neither one of the otherExpected (if given). |
|
infix fun <T : CharSequence> Assert<T>.containsNot(expected: Any): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject does not expected's toString representation. infix fun <T : CharSequence> Assert<T>.containsNot(values: Values<Any>): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject does not contain the toString representation of the given values. infix fun <E : Any, T : Iterable<E>> Assert<T>.containsNot(expected: E): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject does not contain the expected value. infix fun <E : Any, T : Iterable<E>> Assert<T>.containsNot(values: Values<E>): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject does not contain the expected values. |
|
infix fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject does not expected's toString representation. infix fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject does not contain the toString representation of the given values. infix fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject does not contain DefaultTranslationsOf.expected's getDefault representation and neither one of the DefaultTranslationsOf.otherExpected's getDefault representation (if given). infix fun <E, T : Iterable<E>> Assert<T>.
Makes the assertion that AssertionPlant.subject does not contain the expected value. infix fun <E, T : Iterable<E>> Assert<T>.
Makes the assertion that AssertionPlant.subject does not contain the expected values. infix fun <E, T : Iterable<E>> Assert<T>.
Makes the assertion that AssertionPlant.subject does not contain the expected objects. |
|
fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject does not contain expected's getDefault representation and neither one of the otherExpected's getDefault representation (if given). |
|
fun <E : Any, T : Iterable<E?>> Assert<T>.containsNullableEntries(assertionCreatorOrNull: Assert<E>.() -> Unit, vararg otherAssertionCreatorsOrNulls: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains an entry holding the
assertions created by assertionCreatorOrNull or an entry which is |
|
fun <E : Any, T : Iterable<E?>> Assert<T>.containsNullableEntry(assertionCreatorOrNull: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains an entry holding the
assertions created by assertionCreatorOrNull or an entry which is |
|
fun <E, T : Iterable<E>> Assert<T>.containsNullableValue(expectedOrNull: E): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains the expected nullable value. |
|
fun <E, T : Iterable<E>> Assert<T>.containsNullableValues(expectedOrNull: E, vararg otherExpectedOrNulls: E): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains the expected nullable value and the other expected nullable values (if given). |
|
fun <T : CharSequence> Assert<T>.containsRegex(pattern: String, vararg otherPatterns: String): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject contains a sequence which matches the given regular expression pattern as well as the otherPatterns (if given), using a non disjoint search. |
|
fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject contains a sequence which matches the given regular expression pattern as well as the otherPatterns (if given), using a non disjoint search. |
|
infix fun <T : CharSequence> Assert<T>.containsRegex(pattern: String): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject contains a sequence which matches the given pattern. |
|
infix fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject contains a sequence which matches the given pattern. |
|
fun <E : Any, T : Iterable<E>> Assert<T>.containsStrictly(expected: E, vararg otherExpected: E): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject contains only expected and the otherExpected (if given) in the defined order. fun <E : Any, T : Iterable<E>> Assert<T>.containsStrictly(assertionCreator: Assert<E>.() -> Unit, vararg otherAssertionCreators: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject contains only an entry holding the assertions created by the assertionCreator and an additional entry for each otherAssertionCreators (if given) in the defined order holding the assertions created by them. |
|
fun <E, T : Iterable<E>> Assert<T>.
Makes the assertion that AssertionPlant.subject contains only expected and the otherExpected (if given) in the defined order. fun <E : Any, T : Iterable<E>> Assert<T>.
Makes the assertion that AssertionPlant.subject contains only an entry holding the assertions created by the assertionCreator and an additional entry for each otherAssertionCreators (if given) in the defined order holding the assertions created by them. |
|
infix fun <E : Any, T : Iterable<E>> Assert<T>.containsStrictly(expected: E): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject contains only the expected value. infix fun <E, T : Iterable<E>> Assert<T>.containsStrictly(expected: NullableValue<E>): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains only the expected nullable value. infix fun <E : Any, T : Iterable<E>> Assert<T>.containsStrictly(values: Values<E>): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject contains only the expected values in the defined order. infix fun <E, T : Iterable<E>> Assert<T>.containsStrictly(nullableValues: NullableValues<E>): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains only the expected nullableValues in the defined order. infix fun <E : Any, T : Iterable<E>> Assert<T>.containsStrictly(assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject contains only one entry which is holding the assertions created by the assertionCreator. infix fun <E : Any, T : Iterable<E?>> Assert<T>.containsStrictly(nullableEntry: NullableEntry<E>): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains only one entry
which is holding the assertions created by nullableEntry.assertionCreator or
only one entry which is infix fun <E : Any, T : Iterable<E>> Assert<T>.containsStrictly(entries: Entries<E>): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject contains only an entry holding the assertions created by the entries.assertionCreator and an additional entry for each entries.otherAssertionCreators (if given) in the defined order holding the assertions created by them. infix fun <E : Any, T : Iterable<E?>> Assert<T>.containsStrictly(nullableEntries: NullableEntries<E>): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains only an entry holding
the assertions created by nullableEntries.assertionCreator or
|
|
infix fun <E, T : Iterable<E>> Assert<T>.
Makes the assertion that AssertionPlant.subject contains only the expected value. infix fun <E, T : Iterable<E>> Assert<T>.
Makes the assertion that AssertionPlant.subject contains only the expected values in the defined order. infix fun <E, T : Iterable<E>> Assert<T>.
Makes the assertion that AssertionPlant.subject contains only the expected objects in the defined order. infix fun <E : Any, T : Iterable<E>> Assert<T>.
Makes the assertion that AssertionPlant.subject contains only one entry which is holding the assertions created by the assertionCreator. infix fun <E : Any, T : Iterable<E>> Assert<T>.
Makes the assertion that AssertionPlant.subject contains only an entry holding the assertions created by the Entries.assertionCreator and an additional entry for each Entries.otherAssertionCreators (if given) in the defined order holding the assertions created by them. |
|
fun <E : Any, T : Iterable<E?>> Assert<T>.containsStrictlyNullableEntries(assertionCreatorOrNull: Assert<E>.() -> Unit, vararg otherAssertionCreatorsOrNulls: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains only an entry holding
the assertions created by assertionCreatorOrNull or |
|
fun <E : Any, T : Iterable<E?>> Assert<T>.containsStrictlyNullableEntry(assertionCreatorOrNull: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains only an entry holding
the assertions created by assertionCreatorOrNull or only one entry which is |
|
fun <E, T : Iterable<E>> Assert<T>.containsStrictlyNullableValue(expectedOrNull: E): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains only the expected nullable value. |
|
fun <E, T : Iterable<E>> Assert<T>.containsStrictlyNullableValues(expectedOrNull: E, vararg otherExpectedOrNulls: E): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains only the expected nullable value and the other expected nullable values (if given) in the defined order. |
|
fun <T : CharSequence> Assert<T>.endetMit(expected: CharSequence): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject ends with expected. |
|
fun <T : CharSequence> Assert<T>.endetNichtMit(expected: CharSequence): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject does not end with expected. |
|
fun <T : CharSequence> Assert<T>.endsNotWith(expected: CharSequence): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject does not end with expected. |
|
fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject does not end with expected. |
|
infix fun <T : CharSequence> Assert<T>.endsNotWith(expected: CharSequence): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject does not end with expected. |
|
infix fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject does not end with expected. |
|
fun <T : CharSequence> Assert<T>.endsWith(expected: CharSequence): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject ends with expected. |
|
fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject ends with expected. |
|
infix fun <T : CharSequence> Assert<T>.endsWith(expected: CharSequence): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject ends with expected. |
|
infix fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject ends with expected. |
|
fun <T : CharSequence> Assert<T>.enthaelt(expected: Any, vararg otherExpected: Any): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject contains expected's toString representation and the toString representation of the otherExpected (if given), using a non disjoint search. fun <E : Any, T : Iterable<E>> Assert<T>.enthaelt(expected: E, vararg otherExpected: E): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject contains expected and the otherExpected values (if given). fun <E : Any, T : Iterable<E>> Assert<T>.enthaelt(assertionCreator: Assert<E>.() -> Unit): <ERROR CLASS>
Makes the assertion that AssertionPlant.subject contains an entry holding the assertions created by the assertionCreator. fun <E : Any, T : Iterable<E>> Assert<T>.enthaelt(assertionCreator: Assert<E>.() -> Unit, vararg otherAssertionCreators: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject contains an entry holding the assertions created by the assertionCreator -- likewise an entry (can be the same) is searched for each of the otherAssertionCreators. |
|
fun <T : CharSequence> Assert<T>.enthaeltNicht(expected: Any, vararg otherExpected: Any): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject does not contain expected's toString representation and neither one of the otherExpected's toString representation (if given). fun <E : Any, T : Iterable<E>> Assert<T>.enthaeltNicht(expected: E, vararg otherExpected: E): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject does not contain the expected value and neither one of the otherExpected values (if given). |
|
fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject does not contain expected's getDefault representation and neither one of the otherExpected's getDefault representation (if given). |
|
fun <E : Any, T : Iterable<E?>> Assert<T>.enthaeltNullableEintraege(assertionCreatorOrNull: Assert<E>.() -> Unit, vararg otherAssertionCreatorsOrNulls: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains an entry holding the
assertions created by assertionCreatorOrNull or an entry which is |
|
fun <E : Any, T : Iterable<E?>> Assert<T>.enthaeltNullableEintrag(assertionCreatorOrNull: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains an entry holding the
assertions created by assertionCreatorOrNull or an entry which is |
|
fun <E, T : Iterable<E>> Assert<T>.enthaeltNullableWert(expectedOrNull: E): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains the expected nullable value. |
|
fun <E, T : Iterable<E>> Assert<T>.enthaeltNullableWerte(expectedOrNull: E, vararg otherExpectedOrNulls: E): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains the expected nullable value and the other expected nullable values (if given). |
|
fun <T : CharSequence> Assert<T>.enthaeltRegex(pattern: String, vararg otherPatterns: String): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject contains a sequence which matches the given regular expression pattern as well as the otherPatterns (if given), using a non disjoint search. |
|
fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject contains expected's getDefault representation and the getDefault representations of the otherExpected (if given), using a non disjoint search. |
|
fun <E : Any, T : Iterable<E>> Assert<T>.enthaeltStrikt(expected: E, vararg otherExpected: E): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject contains only expected and the otherExpected (if given) in the defined order. fun <E : Any, T : Iterable<E>> Assert<T>.enthaeltStrikt(assertionCreator: Assert<E>.() -> Unit, vararg otherAssertionCreators: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject contains only an entry holding the assertions created by the assertionCreator and an additional entry for each otherAssertionCreators (if given) in the defined order holding the assertions created by them. |
|
fun <E : Any, T : Iterable<E?>> Assert<T>.enthaeltStriktNullableEintraege(assertionCreatorOrNull: Assert<E>.() -> Unit, vararg otherAssertionCreatorsOrNulls: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains only an entry holding
the assertions created by assertionCreatorOrNull or |
|
fun <E : Any, T : Iterable<E?>> Assert<T>.enthaeltStriktNullableEintrag(assertionCreatorOrNull: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains only an entry holding
the assertions created by assertionCreatorOrNull or only one entry which is |
|
fun <E, T : Iterable<E>> Assert<T>.enthaeltStriktNullableWert(expectedOrNull: E): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains only the expected nullable value. |
|
fun <E, T : Iterable<E>> Assert<T>.enthaeltStriktNullableWerte(expectedOrNull: E, vararg otherExpectedOrNulls: E): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains only the expected nullable value and the other expected nullable values (if given) in the defined order. |
|
fun <T : Collection<*>> Assert<T>.hasSize(size: Int): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject's Collection.size is size. |
|
fun <T : Collection<*>> Assert<T>.
Makes the assertion that AssertionPlant.subject's Collection.size is size. |
|
infix fun <T : Collection<*>> Assert<T>.hasSize(size: Int): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject's Collection.size is size. |
|
infix fun <T : Collection<*>> Assert<T>.
Makes the assertion that AssertionPlant.subject's Collection.size is size. |
|
fun <T : Collection<*>> Assert<T>.hatDieGroesse(size: Int): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject's Collection.size is size. |
|
fun <E : Any, T : Iterable<E?>> Assert<T>.irgendEinNullable(assertionCreatorOrNull: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains an entry holding
the assertions created by assertionCreatorOrNull or an entry which is |
|
fun <E : Any, T : Iterable<E>> Assert<T>.irgendEiner(assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject contains an entry holding the assertions created by the assertionCreator. |
|
fun <TSub : Any> Assert<Any>.isA(assertionCreator: AssertionPlant<TSub>.() -> Unit): Unit
Makes the assertion that AssertionPlant.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. |
|
fun <TSub : Any> Assert<Any>.
Makes the assertion that AssertionPlant.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 <TSub : Any> Assert<Any>.isA(assertionCreator: AssertionPlant<TSub>.() -> Unit): Unit
Makes the assertion that AssertionPlant.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 <TSub : Any> Assert<Any>.
Makes the assertion that AssertionPlant.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. |
|
fun <T : CharSequence> Assert<T>.isEmpty(): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject.kotlin.text.isEmpty. |
|
fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject.kotlin.text.isEmpty. |
|
fun <T : BigDecimal> Assert<T>.isEqualIncludingScale(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is equal to expected including BigDecimal.scale. |
|
fun <T : BigDecimal> Assert<T>.
Makes the assertion that AssertionPlant.subject is equal to expected including BigDecimal.scale. |
|
infix fun <T : BigDecimal> Assert<T>.isEqualIncludingScale(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is (equal to) expected including BigDecimal.scale. |
|
infix fun <T : BigDecimal> Assert<T>.
Makes the assertion that AssertionPlant.subject is (equal to) expected including BigDecimal.scale. |
|
fun Assert<Boolean>.
Makes the assertion that AssertionPlant.subject is |
|
fun <T : Comparable<T>> Assert<T>.isGreaterOrEquals(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is greater than or equals expected. |
|
fun <T : Comparable<T>> Assert<T>.
Makes the assertion that AssertionPlant.subject is greater than or equals expected. |
|
infix fun <T : Comparable<T>> Assert<T>.isGreaterOrEquals(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is greater than or equals expected. |
|
infix fun <T : Comparable<T>> Assert<T>.
Makes the assertion that AssertionPlant.subject is greater than or equals expected. |
|
fun <T : Comparable<T>> Assert<T>.isGreaterThan(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is greater than expected. |
|
fun <T : Comparable<T>> Assert<T>.
Makes the assertion that AssertionPlant.subject is greater than expected. |
|
infix fun <T : Comparable<T>> Assert<T>.isGreaterThan(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is greater than expected. |
|
infix fun <T : Comparable<T>> Assert<T>.
Makes the assertion that AssertionPlant.subject is greater than expected. |
|
fun <T : Comparable<T>> Assert<T>.isLessOrEquals(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is less than or equals expected. |
|
fun <T : Comparable<T>> Assert<T>.
Makes the assertion that AssertionPlant.subject is less than or equals expected. |
|
infix fun <T : Comparable<T>> Assert<T>.isLessOrEquals(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is less than or equals expected. |
|
infix fun <T : Comparable<T>> Assert<T>.
Makes the assertion that AssertionPlant.subject is less than or equals expected. |
|
fun <T : Comparable<T>> Assert<T>.isLessThan(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is less than expected. |
|
fun <T : Comparable<T>> Assert<T>.
Makes the assertion that AssertionPlant.subject is less than expected. |
|
infix fun <T : Comparable<T>> Assert<T>.isLessThan(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is less than expected. |
|
infix fun <T : Comparable<T>> Assert<T>.
Makes the assertion that AssertionPlant.subject is less than expected. |
|
fun <T : CharSequence> Assert<T>.isNotEmpty(): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject.kotlin.text.isNotEmpty. |
|
fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject.kotlin.text.isNotEmpty. |
|
fun <T : BigDecimal> Assert<T>.isNotEqualIncludingScale(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is not equal to expected including BigDecimal.scale. |
|
fun <T : BigDecimal> Assert<T>.
Makes the assertion that AssertionPlant.subject is not equal to expected including BigDecimal.scale. |
|
infix fun <T : BigDecimal> Assert<T>.isNotEqualIncludingScale(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is not equal to expected including BigDecimal.scale. |
|
infix fun <T : BigDecimal> Assert<T>.
Makes the assertion that AssertionPlant.subject is not equal to expected including BigDecimal.scale. |
|
fun <T : BigDecimal> Assert<T>.isNotNumericallyEqualTo(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is not numerically equal to expected. |
|
fun <T : BigDecimal> Assert<T>.
Makes the assertion that AssertionPlant.subject is not numerically equal to expected. |
|
infix fun <T : BigDecimal> Assert<T>.isNotNumericallyEqualTo(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is not numerically equal to expected. |
|
infix fun <T : BigDecimal> Assert<T>.
Makes the assertion that AssertionPlant.subject is not numerically equal to expected. |
|
fun <T : Any> Assert<T>.
Makes the assertion that AssertionPlant.subject is not the same instance as expected. |
|
infix fun <T : Any> Assert<T>.
Makes the assertion that AssertionPlant.subject is not the same instance as expected. |
|
fun <T : Any> Assert<T>.isNotSameAs(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is not the same instance as expected. |
|
infix fun <T : Any> Assert<T>.isNotSameAs(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is not the same instance as expected. |
|
fun <T : BigDecimal> Assert<T>.isNumericallyEqualTo(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is numerically equal to expected. |
|
fun <T : BigDecimal> Assert<T>.
Makes the assertion that AssertionPlant.subject is numerically equal to expected. |
|
infix fun <T : BigDecimal> Assert<T>.isNumericallyEqualTo(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is numerically equal to expected. |
|
infix fun <T : BigDecimal> Assert<T>.
Makes the assertion that AssertionPlant.subject is numerically equal to expected. |
|
fun <T : Any> Assert<T>.
Makes the assertion that AssertionPlant.subject is the same instance as expected. |
|
infix fun <T : Any> Assert<T>.
Makes the assertion that AssertionPlant.subject is the same instance as expected. |
|
fun <T : Any> Assert<T>.isSameAs(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is the same instance as expected. |
|
infix fun <T : Any> Assert<T>.isSameAs(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is the same instance as expected. |
|
fun Assert<Boolean>.
Makes the assertion that AssertionPlant.subject is |
|
fun <T : Any> Assert<T>.ist(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is (equal to) expected. |
|
fun <TSub : Any> Assert<Any>.istEin(assertionCreator: AssertionPlant<TSub>.() -> Unit): Unit
Makes the assertion that AssertionPlant.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. |
|
fun Assert<Boolean>.
Makes the assertion that AssertionPlant.subject is |
|
fun <T : BigDecimal> Assert<T>.istGleichInklusiveScale(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is equal to expected including BigDecimal.scale. |
|
fun <T : Comparable<T>> Assert<T>.istGroesserAls(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is greater than expected. |
|
fun <T : Comparable<T>> Assert<T>.istGroesserOderGleich(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is greater than or equals expected. |
|
fun <T : Comparable<T>> Assert<T>.istKleinerAls(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is less than expected. |
|
fun <T : Comparable<T>> Assert<T>.istKleinerOderGleich(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is less than or equals expected. |
|
fun <T : CharSequence> Assert<T>.istLeer(): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject.kotlin.text.isEmpty. |
|
fun Assert<Float>.istMitFehlerToleranz(expected: Float, tolerance: Float): AssertionPlant<Float> fun Assert<Double>.istMitFehlerToleranz(expected: Double, tolerance: Double): AssertionPlant<Double> fun <T : BigDecimal> Assert<T>.istMitFehlerToleranz(expected: T, tolerance: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is equal to expected with an error tolerance (range including bounds). |
|
fun <T : Any> Assert<T>.istNicht(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is not (equal to) expected. |
|
fun <T : BigDecimal> Assert<T>.istNichtGleichInklusiveScale(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is not equal to expected including BigDecimal.scale. |
|
fun <T : CharSequence> Assert<T>.istNichtLeer(): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject.kotlin.text.isNotEmpty. |
|
fun <T : BigDecimal> Assert<T>.istNichtNumerischGleichWie(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is not numerically equal to expected. |
|
fun <T : Any> Assert<T>.istNichtSelbeInstanzWie(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is not the same instance as expected. |
|
fun <T : BigDecimal> Assert<T>.istNumerischGleichWie(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is numerically equal to expected. |
|
fun <T : Any> Assert<T>.istSelbeInstanzWie(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is the same instance as expected. |
|
fun Assert<Boolean>.
Makes the assertion that AssertionPlant.subject is |
|
fun <E : Any, T : Iterable<E>> Assert<T>.keiner(assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject does not contain a single entry which holds all assertions created by the assertionCreator. |
|
fun <E : Any, T : Iterable<E?>> Assert<T>.keinerDerNullable(assertionCreatorOrNull: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) does not contain a single entry
which holds all assertions created by assertionCreatorOrNull or does not contain a single entry which is |
|
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 message istNichtNull and uses assertionCreator which might create further Assertions which are lazily evaluated at the end. |
|
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 message notToBeNull and uses assertionCreator which might create further Assertions which are lazily evaluated at the end. |
|
fun <T : Throwable> Assert<T>.
Creates an AssertionPlantNullable for the message of the plant's subject (which is a Throwable) and makes the assertion that message isNotNull and uses assertionCreator which might create further Assertions which are lazily evaluated at the end. |
|
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>.
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. |
|
fun <T : Throwable> Assert<T>.messageContains(expected: Any, vararg otherExpected: Any): Unit
Creates the assertion that the Throwable's message is not null (see message) contains expected's toString representation and the toString representation of the otherExpected (if given), using a non disjoint search. |
|
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. |
|
fun <T : Throwable> Assert<T>.messageEnthaelt(expected: Any, vararg otherExpected: Any): Unit
Creates the assertion that the Throwable's message is not null (see message) contains expected's toString representation and the toString representation of the otherExpected (if given), using a non disjoint search. |
|
fun <E : Any, T : Iterable<E>> Assert<T>.none(assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject does not contain a single entry which holds all assertions created by the assertionCreator. |
|
infix fun <E : Any, T : Iterable<E>> Assert<T>.none(assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject does not contain a single entry which holds all assertions created by the assertionCreator. infix fun <E : Any, T : Iterable<E?>> Assert<T>.none(nullableEntry: NullableEntry<E>): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) does not contain a single entry
which holds all assertions created by nullableEntry.assertionCreator
or does not contain a single entry which is |
|
fun <E : Any, T : Iterable<E?>> Assert<T>.noneOfNullable(assertionCreatorOrNull: Assert<E>.() -> Unit): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) does not contain a single entry
which holds all assertions created by assertionCreatorOrNull or does not contain a single entry which is |
|
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 : CharSequence> Assert<T>.
Creates a CharSequenceContains.Builder based on this AssertionPlant which allows to define
more sophisticated |
|
fun <T : Any> Assert<T>.notToBe(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is not (equal to) expected. |
|
fun <T : Any> Assert<T>.
Makes the assertion that AssertionPlant.subject is not (equal to) expected. |
|
infix fun <T : Any> Assert<T>.notToBe(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is not (equal to) expected. infix fun <T : CharSequence> Assert<T>.notToBe(onlyEmptyAllowed: Empty): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject.kotlin.text.isNotEmpty. |
|
infix fun <T : Any> Assert<T>.
Makes the assertion that AssertionPlant.subject is not (equal to) expected. infix fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject.kotlin.text.isNotEmpty. |
|
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> 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. |
|
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> 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. |
|
fun <T : Any, TProperty : Any> Assert<T>.
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> Assert<T>.
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. |
|
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> 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. |
|
fun <T : Any, TProperty : Any> Assert<T>.
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> Assert<T>.
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. |
|
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> 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. |
|
fun <T : Any, TReturnValue : Any> Assert<T>.
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, TReturnValue : Any> Assert<T>.
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, TReturnValue : Any> Assert<T>.
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, TReturnValue : Any> Assert<T>.
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, TReturnValue : Any> Assert<T>.
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, TReturnValue : Any> Assert<T>.
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, TReturnValue : Any> Assert<T>.
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, TReturnValue : Any> Assert<T>.
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, TReturnValue : Any> Assert<T>.
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, TReturnValue : Any> Assert<T>.
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, TReturnValue : Any> Assert<T>.
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, TReturnValue : Any> Assert<T>.
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. |
|
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> 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. |
|
fun <T : Any, TReturnValue : Any> Assert<T>.
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, TReturnValue : Any> Assert<T>.
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, TReturnValue : Any> Assert<T>.
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, TReturnValue : Any> Assert<T>.
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, TReturnValue : Any> Assert<T>.
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, TReturnValue : Any> Assert<T>.
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, TReturnValue : Any> Assert<T>.
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, TReturnValue : Any> Assert<T>.
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, TReturnValue : Any> Assert<T>.
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, TReturnValue : Any> Assert<T>.
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, TReturnValue : Any> Assert<T>.
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, TReturnValue : Any> Assert<T>.
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. |
|
fun <T : Any, R : Any> Assert<T>.rueckgabewertVon(method: KFunction0<R>): AssertionPlant<R> fun <T : Any, R : Any> Assert<T>.rueckgabewertVon(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> Assert<T>.rueckgabewertVon(method: KFunction0<R>, assertionCreator: Assert<R>.() -> Unit): AssertionPlant<R> fun <T : Any, R : Any> Assert<T>.rueckgabewertVon(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>.rueckgabewertVon(method: KFunction1<T1, R>, arg1: T1): AssertionPlant<R> fun <T : Any, T1, R : Any> Assert<T>.rueckgabewertVon(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>.rueckgabewertVon(method: KFunction1<T1, R>, arg1: T1, assertionCreator: Assert<R>.() -> Unit): AssertionPlant<R> fun <T : Any, T1, R : Any> Assert<T>.rueckgabewertVon(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>.rueckgabewertVon(method: KFunction2<T1, T2, R>, arg1: T1, arg2: T2): AssertionPlant<R> fun <T : Any, T1, T2, R : Any> Assert<T>.rueckgabewertVon(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>.rueckgabewertVon(method: KFunction2<T1, T2, R>, arg1: T1, arg2: T2, assertionCreator: Assert<R>.() -> Unit): AssertionPlant<R> fun <T : Any, T1, T2, R : Any> Assert<T>.rueckgabewertVon(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>.rueckgabewertVon(method: KFunction3<T1, T2, T3, R>, arg1: T1, arg2: T2, arg3: T3): AssertionPlant<R> fun <T : Any, T1, T2, T3, R : Any> Assert<T>.rueckgabewertVon(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>.rueckgabewertVon(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>.rueckgabewertVon(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>.rueckgabewertVon(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>.rueckgabewertVon(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>.rueckgabewertVon(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>.rueckgabewertVon(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>.rueckgabewertVon(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>.rueckgabewertVon(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>.rueckgabewertVon(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>.rueckgabewertVon(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. |
|
fun <T : CharSequence> Assert<T>.startsNotWith(expected: CharSequence): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject does not start with expected. |
|
fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject does not start with expected. |
|
infix fun <T : CharSequence> Assert<T>.startsNotWith(expected: CharSequence): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject does not start with expected. |
|
infix fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject does not start with expected. |
|
fun <T : CharSequence> Assert<T>.startsWith(expected: CharSequence): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject starts with expected. |
|
fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject starts with expected. |
|
infix fun <T : CharSequence> Assert<T>.startsWith(expected: CharSequence): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject starts with expected. |
|
infix fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject starts with expected. |
|
infix fun <T : CharSequence> Assert<T>.to(contain: contain): Builder<T, NoOpSearchBehaviour>
Creates a CharSequenceContains.Builder based on this AssertionPlant which allows to define
a sophisticated |
|
infix fun <T : CharSequence> Assert<T>.
Creates a CharSequenceContains.Builder based on this AssertionPlant which allows to define
a sophisticated |
|
fun <T : Any> Assert<T>.toBe(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is (equal to) expected. |
|
fun <T : Any> Assert<T>.
Makes the assertion that AssertionPlant.subject is (equal to) expected. |
|
infix fun <T : Any> Assert<T>.toBe(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is (equal to) expected. infix fun <T : CharSequence> Assert<T>.toBe(Empty: Empty): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject.kotlin.text.isEmpty. |
|
infix fun <T : Any> Assert<T>.
Makes the assertion that AssertionPlant.subject is (equal to) expected. infix fun <T : CharSequence> Assert<T>.
Makes the assertion that AssertionPlant.subject.kotlin.text.isEmpty. |
|
fun Assert<Float>.toBeWithErrorTolerance(expected: Float, tolerance: Float): AssertionPlant<Float> fun Assert<Double>.toBeWithErrorTolerance(expected: Double, tolerance: Double): AssertionPlant<Double> fun Assert<BigDecimal>.toBeWithErrorTolerance(expected: BigDecimal, tolerance: BigDecimal): AssertionPlant<BigDecimal>
Makes the assertion that AssertionPlant.subject is equal to expected with an error tolerance (range including bounds). |
|
fun Assert<Float>. fun Assert<Double>. fun Assert<BigDecimal>.
Makes the assertion that AssertionPlant.subject is equal to expected with an error tolerance (range including bounds). |
|
infix fun <T : Any> AssertionPlant<T>.und(assertionCreator: Assert<T>.() -> Unit): AssertionPlant<T>
Can be used to create a group of sub assertions when using the fluent API. |
interface CheckingAssertionPlant<out T : Any> : AssertionPlant<T>
Represents a plant for Assertions and offers the possibility to check whether allAssertionsHold which have been added to this plant (since the last check). |
|
interface CollectingAssertionPlant<out T : Any> : AssertionPlant<T>
Represents an AssertionPlant which is intended to serve as receiver object for lambdas which create Assertions, in which this assertion plant collects the so created assertions. |
|
interface ReportingAssertionPlant<out T : Any> : AssertionPlant<T>, BaseReportingAssertionPlant<T, AssertionPlant<T>>
Represents a plant for Assertions and offers the possibility to addAssertions and to report them. |