Contains API which provides a pure fluent API in German and which has its design focus on usability in conjunction with code completion.
object
|
|
class Eintraege<in T : Any> : GroupWithoutNullableEntries<Assert<T>.() -> Unit>
Parameter object to express a GroupWithoutNullableEntries of identification lambdas. |
|
class Eintrag<in T : Any> : GroupWithoutNullableEntries<Assert<T>.() -> Unit>
Parameter object to express a GroupWithoutNullableEntries with a single identification lambda. |
|
class NullableEintraege<in T : Any> : GroupWithNullableEntries<Assert<T>.() -> Unit>
Parameter object to express a GroupWithNullableEntries of nullable identification lambdas. |
|
class NullableEintrag<in T : Any> : GroupWithNullableEntries<Assert<T>.() -> Unit>
Parameter object to express a GroupWithNullableEntries with a single nullable identification lambda. |
|
data class NullableWert<T> : GroupWithNullableEntries<T>
Represents a GroupWithNullableEntries with a single nullable value. |
|
class NullableWerte<T> : GroupWithNullableEntries<T>
Represents a GroupWithNullableEntries of multiple nullable values. |
|
data class Wert<T : Any> : GroupWithoutNullableEntries<T>
Represents a GroupWithoutNullableEntries with a single value. |
|
class Werte<T : Any> : GroupWithoutNullableEntries<T>
Represents a GroupWithoutNullableEntries of multiple values. |
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 <E, T : Iterable<E>> Builder<E, T, InOrderOnlySearchBehaviour>.gruppiert: <ERROR CLASS>
Defines that the Iterable contains |
|
val <T : CharSequence> Builder<T, NoOpSearchBehaviour>.ignoriereGrossKleinschreibung: Builder<T, IgnoringCaseSearchBehaviour>
Defines that the search behaviour val <T : CharSequence> NotCheckerOption<T, NotSearchBehaviour>.ignoriereGrossKleinschreibung: NotCheckerOption<T, IgnoringCaseSearchBehaviour>
Defines that the search behaviour |
|
val <E, T : Iterable<E>> Builder<E, T, NoOpSearchBehaviour>.inBeliebigerReihenfolge: <ERROR CLASS>
Defines that the search behaviour "find entries |
|
val <E, T : Iterable<E>> Builder<E, T, NoOpSearchBehaviour>.inGegebenerReihenfolge: <ERROR CLASS>
Defines that the search behaviour "find entries |
|
val <E, T : Iterable<E>> Builder<E, T, InOrderOnlyGroupedSearchBehaviour>.innerhalb: <ERROR CLASS>
A filler word to emphasis that the next step defines the order within expected groups of values. |
|
val <E, T : Iterable<E>> Builder<E, T, InAnyOrderSearchBehaviour>.nur: <ERROR CLASS>
Defines that the constraint " val <E, T : Iterable<E>> Builder<E, T, InOrderSearchBehaviour>.nur: <ERROR CLASS>
Defines that the constraint " |
|
val <T : Any> AssertionPlant<T>.und: AssertionPlant<T>
Can be used to separate assertions when using the fluent API. |
fun <T : CharSequence, S : SearchBehaviour> AtLeastCheckerOption<T, S>.aberHoechstens(times: Int): ButAtMostCheckerOption<T, S>
Restricts a fun <T : CharSequence, S : SearchBehaviour> fun <E, T : Iterable<E>> fun <E, T : Iterable<E>, S : InAnyOrderSearchBehaviour> AtLeastCheckerOption<E, T, S>.aberHoechstens(times: Int): ButAtMostCheckerOption<E, T, S>
Restricts a |
|
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 |
|
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 <E : Any, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.eintraege(assertionCreator: Assert<E>.() -> Unit, vararg otherAssertionCreators: Assert<E>.() -> Unit): AssertionPlant<T>
Finishes the specification of the sophisticated fun <E : Any, T : Iterable<E>> fun <E : Any, T : Iterable<E>> fun <E : Any, T : Iterable<E>> fun <E : Any, T : Iterable<E>> Builder<E, T, InAnyOrderOnlySearchBehaviour>.eintraege(assertionCreator: Assert<E>.() -> Unit, vararg otherAssertionCreators: Assert<E>.() -> Unit): AssertionPlant<T>
Finishes the specification of the sophisticated fun <E : Any, T : Iterable<E>> Builder<E, T, InOrderOnlySearchBehaviour>.eintraege(assertionCreator: Assert<E>.() -> Unit, vararg otherAssertionCreators: Assert<E>.() -> Unit): AssertionPlant<T>
Finishes the specification of the sophisticated |
|
fun <E : Any, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.eintrag(assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>
Finishes the specification of the sophisticated fun <E : Any, T : Iterable<E>> fun <E : Any, T : Iterable<E>> fun <E : Any, T : Iterable<E>> fun <E : Any, T : Iterable<E>> Builder<E, T, InAnyOrderOnlySearchBehaviour>.eintrag(assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>
Finishes the specification of the sophisticated fun <E : Any, T : Iterable<E>> Builder<E, T, InOrderOnlySearchBehaviour>.eintrag(assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>
Finishes the specification of the sophisticated |
|
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>.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?>> |
|
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?>> |
|
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 : CharSequence, S : SearchBehaviour> Builder<T, S>.genau(times: Int): ExactlyCheckerOption<T, S>
Restricts a fun <T : CharSequence, S : SearchBehaviour> fun <E, T : Iterable<E>> fun <E, T : Iterable<E>, S : InAnyOrderSearchBehaviour> Builder<E, T, S>.genau(times: Int): ExactlyCheckerOption<E, T, S>
Restricts a |
|
fun <T : CharSequence> |
|
fun <T : CharSequence> |
|
fun <T : CharSequence> fun <T : CharSequence> |
|
fun <E, T : Iterable<E>> |
|
fun <E, T : Iterable<E>> |
|
fun <T : Collection<*>> Assert<T>.hatDieGroesse(size: Int): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject's Collection.size is size. |
|
fun <T : CharSequence, S : SearchBehaviour> Builder<T, S>.hoechstens(times: Int): AtMostCheckerOption<T, S>
Restricts a fun <T : CharSequence, S : SearchBehaviour> fun <E, T : Iterable<E>> fun <E, T : Iterable<E>, S : InAnyOrderSearchBehaviour> Builder<E, T, S>.hoechstens(times: Int): AtMostCheckerOption<E, T, S>
Restricts a |
|
fun <E, T : Iterable<E>> |
|
fun <E : Any, T : Iterable<E>> Builder<E, T, InOrderOnlyGroupedWithinSearchBehaviour>.inBeliebigerReihenfolge(firstGroup: GroupWithoutNullableEntries<E>, secondGroup: GroupWithoutNullableEntries<E>, vararg otherExpectedGroups: GroupWithoutNullableEntries<E>): AssertionPlant<T>
Finishes the specification of the sophisticated fun <E, T : Iterable<E>> Builder<E, T, InOrderOnlyGroupedWithinSearchBehaviour>.inBeliebigerReihenfolge(firstGroup: GroupWithNullableEntries<E>, secondGroup: GroupWithNullableEntries<E>, vararg otherExpectedGroups: GroupWithNullableEntries<E>): AssertionPlant<T>
Finishes the specification of the sophisticated fun <E : Any, T : Iterable<E>> Builder<E, T, InOrderOnlyGroupedWithinSearchBehaviour>.inBeliebigerReihenfolge(firstGroup: GroupWithoutNullableEntries<Assert<E>.() -> Unit>, secondGroup: GroupWithoutNullableEntries<Assert<E>.() -> Unit>, vararg otherExpectedGroups: GroupWithoutNullableEntries<Assert<E>.() -> Unit>): AssertionPlant<T> fun <E : Any, T : Iterable<E?>> Builder<E?, T, InOrderOnlyGroupedWithinSearchBehaviour>.inBeliebigerReihenfolge(firstGroup: GroupWithNullableEntries<Assert<E>.() -> Unit>, secondGroup: GroupWithNullableEntries<Assert<E>.() -> Unit>, vararg otherExpectedGroups: GroupWithNullableEntries<Assert<E>.() -> Unit>): AssertionPlant<T>
Finishes the specification of the sophisticated |
|
fun <E, T : Iterable<E>> |
|
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 <T : Any> Assert<T>.ist(expected: T): AssertionPlant<T>
Makes the assertion that AssertionPlant.subject is (equal to) expected. fun <T> AssertionPlantNullable<T>.ist(null: Nothing?): Unit
Makes the assertion that AssertionPlant.subject is |
|
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 : Any> AssertionPlantNullable<T?>.istNichtNull(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. |
|
fun <T : Any> AssertionPlantNullable<T?>.istNichtNullAber(expected: T): Unit
Makes the assertion that AssertionPlantNullable.subject is not null but the expected value. |
|
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> AssertionPlantNullable<T>.
Makes the assertion that AssertionPlant.subject is |
|
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>.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 <T : CharSequence, S : SearchBehaviour> Builder<T, S>.nichtOderHoechstens(times: Int): NotOrAtMostCheckerOption<T, S>
Restricts a fun <T : CharSequence, S : SearchBehaviour> fun <E, T : Iterable<E>> fun <E, T : Iterable<E>, S : InAnyOrderSearchBehaviour> Builder<E, T, S>.nichtOderHoechstens(times: Int): NotOrAtMostCheckerOption<E, T, S>
Restricts a |
|
fun <E : Any, T : Iterable<E?>> CheckerOption<E?, T, InAnyOrderSearchBehaviour>.nullableEintraege(assertionCreatorOrNull: Assert<E>.() -> Unit, vararg otherAssertionCreatorsOrNulls: Assert<E>.() -> Unit): AssertionPlant<T>
Finishes the specification of the sophisticated fun <E : Any, T : Iterable<E?>> fun <E : Any, T : Iterable<E?>> fun <E : Any, T : Iterable<E?>> fun <E : Any, T : Iterable<E?>> Builder<E?, T, InAnyOrderOnlySearchBehaviour>.nullableEintraege(assertionCreatorOrNull: Assert<E>.() -> Unit, vararg otherAssertionCreatorsOrNulls: Assert<E>.() -> Unit): AssertionPlant<T>
Finishes the specification of the sophisticated fun <E : Any, T : Iterable<E?>> Builder<E?, T, InOrderOnlySearchBehaviour>.nullableEintraege(assertionCreatorOrNull: Assert<E>.() -> Unit, vararg otherAssertionCreatorsOrNulls: Assert<E>.() -> Unit): AssertionPlant<T>
Finishes the specification of the sophisticated |
|
fun <E : Any, T : Iterable<E?>> CheckerOption<E?, T, InAnyOrderSearchBehaviour>.nullableEintrag(assertionCreatorOrNull: Assert<E>.() -> Unit): AssertionPlant<T>
Finishes the specification of the sophisticated fun <E : Any, T : Iterable<E?>> fun <E : Any, T : Iterable<E?>> fun <E : Any, T : Iterable<E?>> fun <E : Any, T : Iterable<E?>> Builder<E?, T, InAnyOrderOnlySearchBehaviour>.nullableEintrag(assertionCreatorOrNull: Assert<E>.() -> Unit): AssertionPlant<T>
Finishes the specification of the sophisticated fun <E : Any, T : Iterable<E?>> Builder<E?, T, InOrderOnlySearchBehaviour>.nullableEintrag(assertionCreatorOrNull: Assert<E>.() -> Unit): AssertionPlant<T>
Finishes the specification of the sophisticated |
|
fun <E, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.nullableWert(expectedOrNull: E): AssertionPlant<T>
Finishes the specification of the sophisticated fun <E, T : Iterable<E>> Builder<E, T, InAnyOrderOnlySearchBehaviour>.nullableWert(expectedOrNull: E): AssertionPlant<T> fun <E, T : Iterable<E>> Builder<E, T, InOrderOnlySearchBehaviour>.nullableWert(expectedOrNull: E): AssertionPlant<T>
Finishes the specification of the sophisticated |
|
fun <E, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.nullableWerte(expectedOrNull: E, vararg otherExpectedOrNulls: E): AssertionPlant<T>
Finishes the specification of the sophisticated fun <E, T : Iterable<E>> Builder<E, T, InAnyOrderOnlySearchBehaviour>.nullableWerte(expectedOrNull: E, vararg otherExpectedOrNulls: E): AssertionPlant<T>
Finishes the specification of the sophisticated fun <E, T : Iterable<E>> Builder<E, T, InOrderOnlySearchBehaviour>.nullableWerte(expectedOrNull: E, vararg otherExpectedOrNulls: E): AssertionPlant<T>
Finishes the specification of the sophisticated |
|
fun <E, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>. fun <E, T : Iterable<E>> fun <E, T : Iterable<E>> Builder<E, T, InAnyOrderOnlySearchBehaviour>. fun <E, T : Iterable<E>> fun <E, T : Iterable<E>> Builder<E, T, InOrderOnlySearchBehaviour>. fun <E, T : Iterable<E>> |
|
fun <E, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>. fun <E, T : Iterable<E>> fun <E, T : Iterable<E>> Builder<E, T, InAnyOrderOnlySearchBehaviour>. fun <E, T : Iterable<E>> fun <E, T : Iterable<E>> Builder<E, T, InOrderOnlySearchBehaviour>. fun <E, T : Iterable<E>> |
|
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. |
|
fun <T : CharSequence> CheckerOption<T, NoOpSearchBehaviour>.regex(pattern: String, vararg otherPatterns: String): AssertionPlant<T>
Finishes the specification of the sophisticated fun <T : CharSequence> CheckerOption<T, IgnoringCaseSearchBehaviour>.regex(pattern: String, vararg otherPatterns: String): AssertionPlant<T>
Finishes the specification of the sophisticated |
|
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> 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>.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> CheckerOption<T, NoOpSearchBehaviour>.
Finishes the specification of the sophisticated fun <T : CharSequence> CheckerOption<T, IgnoringCaseSearchBehaviour>.
Finishes the specification of the sophisticated |
|
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. |
|
fun <T : CharSequence> CheckerOption<T, NoOpSearchBehaviour>.wert(expected: Any): AssertionPlant<T>
Finishes the specification of the sophisticated fun <T : CharSequence> CheckerOption<T, IgnoringCaseSearchBehaviour>.wert(expected: Any): AssertionPlant<T>
Finishes the specification of the sophisticated fun <E : Any, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.wert(expected: E): AssertionPlant<T>
Finishes the specification of the sophisticated fun <E, T : Iterable<E>> fun <E, T : Iterable<E>> fun <E, T : Iterable<E>> fun <E : Any, T : Iterable<E>> Builder<E, T, InAnyOrderOnlySearchBehaviour>.wert(expected: E): AssertionPlant<T> fun <E : Any, T : Iterable<E>> Builder<E, T, InOrderOnlySearchBehaviour>.wert(expected: E): AssertionPlant<T>
Finishes the specification of the sophisticated |
|
fun <T : CharSequence> CheckerOption<T, NoOpSearchBehaviour>.werte(expected: Any, vararg otherExpected: Any): AssertionPlant<T>
Finishes the specification of the sophisticated fun <T : CharSequence> CheckerOption<T, IgnoringCaseSearchBehaviour>.werte(expected: Any, vararg otherExpected: Any): AssertionPlant<T>
Finishes the specification of the sophisticated fun <E : Any, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.werte(expected: E, vararg otherExpected: E): AssertionPlant<T>
Finishes the specification of the sophisticated fun <E, T : Iterable<E>> fun <E, T : Iterable<E>> fun <E, T : Iterable<E>> fun <E : Any, T : Iterable<E>> Builder<E, T, InAnyOrderOnlySearchBehaviour>.werte(expected: E, vararg otherExpected: E): AssertionPlant<T>
Finishes the specification of the sophisticated fun <E : Any, T : Iterable<E>> Builder<E, T, InOrderOnlySearchBehaviour>.werte(expected: E, vararg otherExpected: E): AssertionPlant<T>
Finishes the specification of the sophisticated |
|
fun <TExpected : Throwable> Builder.
Makes the assertion that the thrown Throwable is of type TExpected. fun <TExpected : Throwable> Builder.wirft(assertionCreator: Assert<TExpected>.() -> Unit): Unit
Makes the assertion that the thrown Throwable is of type TExpected and it assertionCreator which are checked additionally as well. |
|
fun <T : CharSequence, S : SearchBehaviour> Builder<T, S>.zumindest(times: Int): AtLeastCheckerOption<T, S>
Restricts a fun <T : CharSequence, S : SearchBehaviour> fun <E, T : Iterable<E>> fun <E, T : Iterable<E>, S : InAnyOrderSearchBehaviour> Builder<E, T, S>.zumindest(times: Int): AtLeastCheckerOption<E, T, S>
Restricts a |