interface Expect<T>
(source)
Represents the extension point for Assertion functions and sophisticated builders for subjects of type T.
T
- The type of the subject of this
expectation.
val <T> Expect<T>._logic: AssertionContainer<T>
Entry point to the logic level of Atrium -- which is one level deeper than the API -- on which assertion functions do not return Expects but Assertions and the like. |
|
val <T> Expect<T>.and: Expect<T>
Can be used to separate single assertions. |
|
val <T : CharSequence> Expect<T>.
Starts a sophisticated |
|
val <T : CharSequence> Expect<T>.
Starts a sophisticated |
|
val Expect<LocalDate>.day: Expect<Int>
Creates an Expect for the property LocalDate.dayOfMonth of the subject of val Expect<LocalDateTime>.day: Expect<Int>
Creates an Expect for the property LocalDateTime.dayOfMonth
of the subject of val Expect<ZonedDateTime>.day: Expect<Int>
Creates an Expect for the property ZonedDateTime.dayOfMonth
of the subject of |
|
val Expect<LocalDate>.day: Expect<Int>
Creates an Expect for the property LocalDate.dayOfMonth of the subject of val Expect<LocalDateTime>.day: Expect<Int>
Creates an Expect for the property LocalDateTime.dayOfMonth
of the subject of val Expect<ZonedDateTime>.day: Expect<Int>
Creates an Expect for the property ZonedDateTime.dayOfMonth
of the subject of |
|
val Expect<LocalDate>.dayOfWeek: Expect<DayOfWeek>
Creates an Expect for the property LocalDate.getDayOfWeek of the subject of val Expect<LocalDateTime>.dayOfWeek: Expect<DayOfWeek>
Creates an Expect for the property LocalDateTime.dayOfWeek
of the subject of val Expect<ZonedDateTime>.dayOfWeek: Expect<DayOfWeek>
Creates an Expect for the property ZonedDatetime.dayOfWeek
of the subject of |
|
val Expect<LocalDate>.dayOfWeek: Expect<DayOfWeek>
Creates an Expect for the property LocalDate.getDayOfWeek of the subject of val Expect<LocalDateTime>.dayOfWeek: Expect<DayOfWeek>
Creates an Expect for the property LocalDateTime.dayOfWeek
of the subject of val Expect<ZonedDateTime>.dayOfWeek: Expect<DayOfWeek>
Creates an Expect for the property ZonedDatetime.dayOfWeek
of the subject of |
|
val <T : Path> Expect<T>.extension: Expect<String>
Creates an Expect for the property Path.extension
(provided via niok) of the subject of |
|
val <T : Path> Expect<T>.extension: Expect<String>
Creates an Expect for the property Path.extension
(provided via niok) of the subject of |
|
val <T : Path> Expect<T>.fileName: Expect<String>
Creates an Expect for the property Path.fileNameAsString
(provided via niok) of the subject of |
|
val <T : Path> Expect<T>.fileName: Expect<String>
Creates an Expect for the property Path.fileNameAsString
(provided via niok) of the subject of |
|
val <T : Path> Expect<T>.fileNameWithoutExtension: Expect<String>
Creates an Expect for the property Path.fileNameWithoutExtension
(provided via niok) of the subject of |
|
val <T : Path> Expect<T>.fileNameWithoutExtension: Expect<String>
Creates an Expect for the property Path.fileNameWithoutExtension
(provided via niok) of the subject of |
|
val <K, T : Pair<K, *>> Expect<T>.first: Expect<K>
Creates an Expect for the property Pair.first of the subject of |
|
val <K, T : Pair<K, *>> Expect<T>.first: Expect<K>
Creates an Expect for the property Pair.first of the subject of |
|
val <T> Expect<T>.it: Expect<T>
Inline property referring actually to |
|
val <T> Expect<T>.its: Expect<T>
Inline property referring actually to |
|
val <K, T : Entry<K, *>> Expect<T>.key: Expect<K>
Creates an Expect for the property Map.Entry.key of the subject of |
|
val <K, T : Entry<K, *>> Expect<T>.key: Expect<K>
Creates an Expect for the property Map.Entry.key of the subject of |
|
val <K, T : Map<out K, *>> Expect<T>.keys: Expect<Set<K>>
Creates an Expect for the property Map.keys of the subject of |
|
val <K, T : Map<out K, *>> Expect<T>.keys: Expect<Set<K>>
Creates an Expect for the property Map.keys of the subject of |
|
val <T : Throwable> Expect<T>.message: Expect<String>
Expects that the property Throwable.message of the subject of |
|
val <T : Throwable> Expect<T>.message: Expect<String>
Expects that the property Throwable.message of the subject of |
|
val Expect<LocalDate>.month: Expect<Int>
Creates an Expect for the property LocalDate.monthValue of the subject of val Expect<LocalDateTime>.month: Expect<Int>
Creates an Expect for the property LocalDateTime.monthValue
of the subject of val Expect<ZonedDateTime>.month: Expect<Int>
Creates an Expect for the property ZonedDateTime.monthValue
of the subject of |
|
val Expect<LocalDate>.month: Expect<Int>
Creates an Expect for the property LocalDate.monthValue of the subject of val Expect<LocalDateTime>.month: Expect<Int>
Creates an Expect for the property LocalDateTime.monthValue
of the subject of val Expect<ZonedDateTime>.month: Expect<Int>
Creates an Expect for the property ZonedDateTime.monthValue
of the subject of |
|
val <T : CharSequence> Expect<T>.notToContain: NotCheckerStep<T, NotSearchBehaviour>
Starts a sophisticated |
|
val <T : Path> Expect<T>.parent: Expect<Path>
Expects that this Path has a parent and creates an Expect for it, so that further fluent calls are assertions about it. |
|
val <T : Path> Expect<T>.parent: Expect<Path>
Expects that this Path has a parent and creates an Expect for it, so that further fluent calls are assertions about it. |
|
val <V, T : Pair<*, V>> Expect<T>.second: Expect<V>
Creates an Expect for the property Pair.second of the subject of |
|
val <V, T : Pair<*, V>> Expect<T>.second: Expect<V>
Creates an Expect for the property Pair.second of the subject of |
|
val <T : Collection<*>> Expect<T>.size: Expect<Int>
Creates an Expect for the property Collection.size of the subject of |
|
val <T : Collection<*>> Expect<T>.size: Expect<Int>
Creates an Expect for the property Collection.size of the subject of |
|
val <T : CharSequence> Expect<T>.toContain: CharSequenceContains.EntryPointStep<T, NoOpSearchBehaviour>
Starts a sophisticated |
|
val <V, T : Entry<*, V>> Expect<T>.value: Expect<V>
Creates an Expect for the property Map.Entry.value of the subject of |
|
val <V, T : Entry<*, V>> Expect<T>.value: Expect<V>
Creates an Expect for the property Map.Entry.value of the subject of |
|
val <V, T : Map<*, V>> Expect<T>.values: Expect<Collection<V>>
Creates an Expect for the property Map.values of the subject of |
|
val <V, T : Map<*, V>> Expect<T>.values: Expect<Collection<V>>
Creates an Expect for the property Map.values of the subject of |
|
val Expect<LocalDate>.year: Expect<Int>
Creates an Expect for the property LocalDate.year of the subject of val Expect<LocalDateTime>.year: Expect<Int>
Creates an Expect for the property LocalDateTime.year[LocalDateTime.getYear of the subject of val Expect<ZonedDateTime>.year: Expect<Int>
Creates an Expect for the property ZonedDateTime.year of the subject of |
|
val Expect<LocalDate>.year: Expect<Int>
Creates an Expect for the property LocalDate.year of the subject of val Expect<LocalDateTime>.year: Expect<Int>
Creates an Expect for the property LocalDateTime.year[LocalDateTime.getYear of the subject of val Expect<ZonedDateTime>.year: Expect<Int>
Creates an Expect for the property ZonedDateTime.year of the subject of |
fun <T> Expect<T>._logicAppend(assertionCreator: AssertionContainer<T>.() -> Assertion): Expect<T>
Appends the Assertion the given assertionCreator creates based on this Expect. |
|
fun <E : Any, T : Iterable<E?>> Expect<T>.
Expects that the subject of |
|
infix fun <E : Any, T : Iterable<E?>> Expect<T>.
Expects that the subject of |
|
infix fun <T> Expect<T>.and(assertionCreator: Expect<T>.() -> Unit): Expect<T>
Can be used to create a group of sub assertions when using the fluent API. |
|
infix fun <T> Expect<T>.and(o: o): Expect<T>
Can be used to separate single assertions. infix fun <T> Expect<T>.and(assertionCreator: Expect<T>.() -> Unit): Expect<T>
Can be used to create a group of sub assertions when using the fluent API. |
|
fun <E : Any, T : Iterable<E?>> Expect<T>.
Expects that the subject of |
|
infix fun <E : Any, T : Iterable<E?>> Expect<T>.
Expects that the subject of |
|
fun <K, V, T : Map<out K, V>> Expect<T>.asEntries(): Expect<Set<Entry<K, V>>>
Turns fun <K, V, T : Map<out K, V>> Expect<T>.asEntries(assertionCreator: Expect<Set<Entry<K, V>>>.() -> Unit): Expect<T>
Turns |
|
infix fun <K, V, T : Map<out K, V>> Expect<T>.asEntries(o: o): Expect<Set<Entry<K, V>>>
Turns infix fun <K, V, T : Map<out K, V>> Expect<T>.asEntries(assertionCreator: Expect<Set<Entry<K, V>>>.() -> Unit): Expect<T>
Turns |
|
fun <E, T : Sequence<E>> Expect<T>.asIterable(): Expect<Iterable<E>>
Turns fun <E, T : Sequence<E>> Expect<T>.asIterable(assertionCreator: Expect<Iterable<E>>.() -> Unit): Expect<T>
Expects that the subject of |
|
infix fun <E, T : Sequence<E>> Expect<T>.asIterable(o: o): Expect<Iterable<E>>
Turns infix fun <E, T : Sequence<E>> Expect<T>.asIterable(assertionCreator: Expect<Iterable<E>>.() -> Unit): Expect<T>
Expects that the subject of |
|
fun <E> Expect<out Array<out E>>.asList(): Expect<List<E>>
Turns fun <E> Expect<Array<E>>.asList(assertionCreator: Expect<List<E>>.() -> Unit): Expect<Array<E>> fun Expect<ByteArray>.asList(assertionCreator: Expect<List<Byte>>.() -> Unit): Expect<ByteArray> fun Expect<CharArray>.asList(assertionCreator: Expect<List<Char>>.() -> Unit): Expect<CharArray> fun Expect<ShortArray>.asList(assertionCreator: Expect<List<Short>>.() -> Unit): Expect<ShortArray> fun Expect<IntArray>.asList(assertionCreator: Expect<List<Int>>.() -> Unit): Expect<IntArray> fun Expect<LongArray>.asList(assertionCreator: Expect<List<Long>>.() -> Unit): Expect<LongArray> fun Expect<FloatArray>.asList(assertionCreator: Expect<List<Float>>.() -> Unit): Expect<FloatArray> fun Expect<DoubleArray>.asList(assertionCreator: Expect<List<Double>>.() -> Unit): Expect<DoubleArray> fun Expect<BooleanArray>.asList(assertionCreator: Expect<List<Boolean>>.() -> Unit): Expect<BooleanArray> fun <E, T : Iterable<E>> Expect<T>.asList(assertionCreator: Expect<List<E>>.() -> Unit): Expect<T>
Expects that the subject of fun Expect<ByteArray>.asList(): Expect<List<Byte>>
Turns fun Expect<CharArray>.asList(): Expect<List<Char>>
Turns fun Expect<ShortArray>.asList(): Expect<List<Short>>
Turns fun Expect<IntArray>.asList(): Expect<List<Int>>
Turns fun Expect<LongArray>.asList(): Expect<List<Long>>
Turns fun Expect<FloatArray>.asList(): Expect<List<Float>>
Turns fun Expect<DoubleArray>.asList(): Expect<List<Double>>
Turns fun Expect<BooleanArray>.asList(): Expect<List<Boolean>>
Turns fun <E, T : Iterable<E>> Expect<T>.asList(): Expect<List<E>>
Turns |
|
infix fun <E> Expect<out Array<out E>>.asList(o: o): Expect<List<E>>
Turns infix fun <E> Expect<Array<E>>.asList(assertionCreator: Expect<List<E>>.() -> Unit): Expect<Array<E>> infix fun Expect<ByteArray>.asList(assertionCreator: Expect<List<Byte>>.() -> Unit): Expect<ByteArray> infix fun Expect<CharArray>.asList(assertionCreator: Expect<List<Char>>.() -> Unit): Expect<CharArray> infix fun Expect<ShortArray>.asList(assertionCreator: Expect<List<Short>>.() -> Unit): Expect<ShortArray> infix fun Expect<IntArray>.asList(assertionCreator: Expect<List<Int>>.() -> Unit): Expect<IntArray> infix fun Expect<LongArray>.asList(assertionCreator: Expect<List<Long>>.() -> Unit): Expect<LongArray> infix fun Expect<FloatArray>.asList(assertionCreator: Expect<List<Float>>.() -> Unit): Expect<FloatArray> infix fun Expect<DoubleArray>.asList(assertionCreator: Expect<List<Double>>.() -> Unit): Expect<DoubleArray> infix fun Expect<BooleanArray>.asList(assertionCreator: Expect<List<Boolean>>.() -> Unit): Expect<BooleanArray> infix fun <E, T : Iterable<E>> Expect<T>.asList(assertionCreator: Expect<List<E>>.() -> Unit): Expect<T>
Expects that the subject of infix fun Expect<ByteArray>.asList(o: o): Expect<List<Byte>>
Turns infix fun Expect<CharArray>.asList(o: o): Expect<List<Char>>
Turns infix fun Expect<ShortArray>.asList(o: o): Expect<List<Short>>
Turns infix fun Expect<IntArray>.asList(o: o): Expect<List<Int>>
Turns infix fun Expect<LongArray>.asList(o: o): Expect<List<Long>>
Turns infix fun Expect<FloatArray>.asList(o: o): Expect<List<Float>>
Turns infix fun Expect<DoubleArray>.asList(o: o): Expect<List<Double>>
Turns infix fun Expect<BooleanArray>.asList(o: o): Expect<List<Boolean>>
Turns infix fun <E, T : Iterable<E>> Expect<T>.asList(o: o): Expect<List<E>>
Turns |
|
fun <T : File> Expect<T>.asPath(): Expect<Path>
Turns fun <T : File> Expect<T>.asPath(assertionCreator: Expect<Path>.() -> Unit): Expect<T>
Expects that the subject of |
|
infix fun <T : File> Expect<T>.asPath(o: o): Expect<Path>
Turns infix fun <T : File> Expect<T>.asPath(assertionCreator: Expect<Path>.() -> Unit): Expect<T>
Expects that the subject of |
|
fun <T> Expect<T>.because(reason: String, assertionCreator: Expect<T>.() -> Unit): Expect<T>
Allows to state a reason for one or multiple assertions for the current subject. |
|
infix fun <T> Expect<T>.because(keyWithCreator: KeyWithCreator<String, T>): Expect<T>
Allows to state a reason for one or multiple assertions for the current subject. |
|
fun <TExpected : Throwable> Expect<out Throwable>.cause(): Expect<TExpected>
Expects that the property Throwable.cause of the subject is a TExpected (the same type or a sub-type), creates an Expect of the TExpected type for it and returns it. fun <TExpected : Throwable> Expect<out Throwable>.cause(assertionCreator: Expect<TExpected>.() -> Unit): Expect<TExpected>
Expects that the property Throwable.cause of the subject is a TExpected (the same type or a sub-type) and holds all assertions the given assertionCreator creates for it. |
|
fun <TExpected : Throwable> Expect<out Throwable>.cause(): Expect<TExpected>
Expects that the property Throwable.cause of the subject is a TExpected (the same type or a sub-type), creates an Expect of the TExpected type for it and returns it. infix fun <TExpected : Throwable> Expect<out Throwable>.cause(assertionCreator: Expect<TExpected>.() -> Unit): Expect<TExpected>
Expects that the property Throwable.cause of the subject is a TExpected (the same type or a sub-type) and holds all assertions the given assertionCreator creates for it. |
|
fun <T : CharSequence> Expect<T>.
Expects that the subject of fun <E, T : Iterable<E>> Expect<T>.
Expects that the subject of fun <E : Any, T : Iterable<E?>> Expect<T>.
Expects that the subject of fun <E : Any, T : Iterable<E?>> Expect<T>.
Expects that the subject of fun <K, V, T : Map<out K, V>> Expect<T>.
Expects that the subject of fun <K, V : Any, T : Map<out K, V?>> Expect<T>.
Expects that the subject of |
|
infix fun <T : CharSequence> Expect<T>.
Starts a sophisticated infix fun <T : CharSequence> Expect<T>.
Expects that the subject of infix fun <T : CharSequence> Expect<T>.
Expects that the subject of infix fun <T : CharSequence> Expect<T>.
Expects that the subject of infix fun <T : CharSequence> Expect<T>.
Expects that the subject of infix fun <T : CharSequence> Expect<T>.
Expects that the subject of infix fun <E, T : Iterable<E>> Expect<T>.
Expects that the subject of infix fun <E, T : Iterable<E>> Expect<T>.
Expects that the subject of infix fun <E : Any, T : Iterable<E?>> Expect<T>.
Expects that the subject of infix fun <E : Any, T : Iterable<E?>> Expect<T>.
Expects that the subject of infix fun <E, T : Iterable<E>> Expect<T>.
Expects that the subject of infix fun <K, V, T : Map<out K, V>> Expect<T>.
Expects that the subject of infix fun <K, V, T : Map<out K, V>> Expect<T>.
Expects the subject of infix fun <K, V : Any, T : Map<out K, V?>> Expect<T>.
Expects that the subject of infix fun <K, V : Any, T : Map<out K, V?>> Expect<T>.
Expects that the subject of infix fun <K, V : Any, T : Map<out K, V?>> Expect<T>. |
|
fun <E, T : Iterable<E>> Expect<T>.
Expects that the subject of |
|
infix fun <E, T : Iterable<E>> Expect<T>.
Expects that the subject of |
|
fun <K, V : Any, T : Map<out K, V?>> Expect<T>.
Expects that the subject of |
|
infix fun <K, V : Any, T : Map<out K, V?>> Expect<T>.
Expects that the subject of |
|
fun <E, T : Iterable<E>> Expect<T>.
Expects that the subject of fun <E : Any, T : Iterable<E?>> Expect<T>.
Expects that the subject of fun <E : Any, T : Iterable<E?>> Expect<T>.
Expects that the subject of |
|
infix fun <E, T : Iterable<E>> Expect<T>.
Expects that the subject of infix fun <E, T : Iterable<E>> Expect<T>.
Expects that the subject of infix fun <E : Any, T : Iterable<E?>> Expect<T>.
Expects that the subject of infix fun <E : Any, T : Iterable<E?>> Expect<T>.
Expects that the subject of |
|
fun <E, T : Iterable<E>> Expect<T>.
Expects that the subject of |
|
infix fun <E, T : Iterable<E>> Expect<T>.
Expects that the subject of |
|
fun <K, T : Map<out K, *>> Expect<T>.
Expects that the subject of |
|
infix fun <K, T : Map<out K, *>> Expect<T>.
Expects that the subject of |
|
fun <E, T : Iterable<E>> Expect<T>.
Expects that the subject of |
|
fun <T : CharSequence> Expect<T>.
Expects that the subject of fun <E, T : Iterable<E>> Expect<T>.
Expects that the subject of |
|
infix fun <T : CharSequence> Expect<T>.
Starts a sophisticated infix fun <T : CharSequence> Expect<T>.
Expects that the subject of infix fun <T : CharSequence> Expect<T>.
Expects that the subject of infix fun <E, T : Iterable<E>> Expect<T>.
Expects that the subject of infix fun <E, T : Iterable<E>> Expect<T>.
Expects that the subject of |
|
fun <K, T : Map<out K, *>> Expect<T>.
Expects that the subject of |
|
infix fun <K, T : Map<out K, *>> Expect<T>.
Expects that the subject of |
|
fun <K, V, T : Map<out K, V>> Expect<T>.
Expects that the subject of fun <K, V : Any, T : Map<out K, V?>> Expect<T>.
Expects that the subject of |
|
infix fun <K, V, T : Map<out K, V>> Expect<T>.
Expects that the subject of infix fun <K, V, T : Map<out K, V>> Expect<T>.
Expects the subject of infix fun <K, V : Any, T : Map<out K, V?>> Expect<T>.
Expects that the subject of infix fun <K, V : Any, T : Map<out K, V?>> Expect<T>.
Expects that the subject of |
|
fun <K, V : Any, T : Map<out K, V?>> Expect<T>.
Expects that the subject of |
|
infix fun <K, V : Any, T : Map<out K, V?>> Expect<T>.
Expects that the subject of |
|
fun <T : CharSequence> Expect<T>. fun <T : CharSequence> Expect<T>.
Expects that the subject of |
|
infix fun <T : CharSequence> Expect<T>.
Expects that the subject of |
|
fun Expect<LocalDate>.day(assertionCreator: Expect<Int>.() -> Unit): Expect<LocalDate>
Expects that the property LocalDate.dayOfMonth of the subject of fun Expect<LocalDateTime>.day(assertionCreator: Expect<Int>.() -> Unit): Expect<LocalDateTime>
Expects that the property LocalDateTime.dayOfMonth of the subject of fun Expect<ZonedDateTime>.day(assertionCreator: Expect<Int>.() -> Unit): Expect<ZonedDateTime>
Expects that the property ZonedDateTime.dayOfMonth of the subject of |
|
infix fun Expect<LocalDate>.day(assertionCreator: Expect<Int>.() -> Unit): Expect<LocalDate>
Expects that the property LocalDate.dayOfMonth of the subject of infix fun Expect<LocalDateTime>.day(assertionCreator: Expect<Int>.() -> Unit): Expect<LocalDateTime>
Expects that the property LocalDateTime.dayOfMonth of the subject of infix fun Expect<ZonedDateTime>.day(assertionCreator: Expect<Int>.() -> Unit): Expect<ZonedDateTime>
Expects that the property ZonedDateTime.dayOfMonth of the subject of |
|
fun Expect<LocalDate>.dayOfWeek(assertionCreator: Expect<DayOfWeek>.() -> Unit): Expect<LocalDate>
Expects that the property LocalDate.getDayOfWeek of the subject of fun Expect<LocalDateTime>.dayOfWeek(assertionCreator: Expect<DayOfWeek>.() -> Unit): Expect<LocalDateTime>
Expects that the property LocalDateTime.dayOfWeekof the subject of fun Expect<ZonedDateTime>.dayOfWeek(assertionCreator: Expect<DayOfWeek>.() -> Unit): Expect<ZonedDateTime>
Expects that the property ZonedDatetime.dayOfWeek of the subject of |
|
infix fun Expect<LocalDate>.dayOfWeek(assertionCreator: Expect<DayOfWeek>.() -> Unit): Expect<LocalDate>
Expects that the property LocalDate.getDayOfWeek of the subject of infix fun Expect<LocalDateTime>.dayOfWeek(assertionCreator: Expect<DayOfWeek>.() -> Unit): Expect<LocalDateTime>
Expects that the property LocalDateTime.dayOfWeekof the subject of infix fun Expect<ZonedDateTime>.dayOfWeek(assertionCreator: Expect<DayOfWeek>.() -> Unit): Expect<ZonedDateTime>
Expects that the property ZonedDatetime.dayOfWeek of the subject of |
|
fun <T : CharSequence> Expect<T>. fun <T : CharSequence> Expect<T>.
Expects that the subject of fun <T : Path> Expect<T>.
Expects that the subject of |
|
infix fun <T : CharSequence> Expect<T>. infix fun <T : CharSequence> Expect<T>.
Expects that the subject of infix fun <T : Path> Expect<T>.
Expects that the subject of |
|
fun <T : CharSequence> Expect<T>. fun <T : CharSequence> Expect<T>.
Expects that the subject of fun <T : Path> Expect<T>.
Expects that the subject of |
|
infix fun <T : CharSequence> Expect<T>. infix fun <T : CharSequence> Expect<T>.
Expects that the subject of infix fun <T : Path> Expect<T>.
Expects that the subject of |
|
fun <T : Path> Expect<T>.
Expects that the subject of |
|
fun <T : Path> Expect<T>.
Expects that the subject of |
|
fun <T, R> Expect<T>. |
|
fun <T : Path> Expect<T>.extension(assertionCreator: Expect<String>.() -> Unit): Expect<T>
Expects that the property Path.extension
(provided via niok) of the subject of |
|
infix fun <T : Path> Expect<T>.extension(assertionCreator: Expect<String>.() -> Unit): Expect<T>
Expects that the property Path.extension
(provided via niok) of the subject of |
|
fun <T, R> Expect<T>.feature(property: KProperty1<in T, R>): FeatureExpect<T, R>
Extracts the property out of the current subject of fun <T, R> Expect<T>.feature(property: KProperty1<in T, R>, assertionCreator: Expect<R>.() -> Unit): Expect<T>
Extracts the property out of the current subject of fun <T, R> Expect<T>.feature(f: KFunction1<T, R>): FeatureExpect<T, R>
Extracts the value which is returned when calling f on the current subject of fun <T, R> Expect<T>.feature(f: KFunction1<T, R>, assertionCreator: Expect<R>.() -> Unit): Expect<T>
Extracts the value which is returned when calling f on the current subject of fun <T, A1, R> Expect<T>.feature(f: KFunction2<T, A1, R>, a1: A1): FeatureExpect<T, R>
Extracts the value which is returned when calling f with argument a1
on the current subject of fun <T, A1, R> Expect<T>.feature(f: KFunction2<T, A1, R>, a1: A1, assertionCreator: Expect<R>.() -> Unit): Expect<T>
Extracts the value which is returned when calling f with argument a1
on the current subject of fun <T, A1, A2, R> Expect<T>.feature(f: KFunction3<T, A1, A2, R>, a1: A1, a2: A2): FeatureExpect<T, R>
Extracts the value which is returned when calling f with arguments a1, a2
on the current subject of fun <T, A1, A2, R> Expect<T>.feature(f: KFunction3<T, A1, A2, R>, a1: A1, a2: A2, assertionCreator: Expect<R>.() -> Unit): Expect<T>
Extracts the value which is returned when calling f with argument a1, a2
on the current subject of fun <T, A1, A2, A3, R> Expect<T>.feature(f: KFunction4<T, A1, A2, A3, R>, a1: A1, a2: A2, a3: A3): FeatureExpect<T, R>
Extracts the value which is returned when calling f with arguments a1, a2, a3
on the current subject of fun <T, A1, A2, A3, R> Expect<T>.feature(f: KFunction4<T, A1, A2, A3, R>, a1: A1, a2: A2, a3: A3, assertionCreator: Expect<R>.() -> Unit): Expect<T>
Extracts the value which is returned when calling f with argument a1, a2, a3
on the current subject of fun <T, A1, A2, A3, A4, R> Expect<T>.feature(f: KFunction5<T, A1, A2, A3, A4, R>, a1: A1, a2: A2, a3: A3, a4: A4): FeatureExpect<T, R>
Extracts the value which is returned when calling f with arguments a1, a2, a3, a4
on the current subject of fun <T, A1, A2, A3, A4, R> Expect<T>.feature(f: KFunction5<T, A1, A2, A3, A4, R>, a1: A1, a2: A2, a3: A3, a4: A4, assertionCreator: Expect<R>.() -> Unit): Expect<T>
Extracts the value which is returned when calling f with argument a1, a2, a3, a4
on the current subject of fun <T, A1, A2, A3, A4, A5, R> Expect<T>.feature(f: KFunction6<T, A1, A2, A3, A4, A5, R>, a1: A1, a2: A2, a3: A3, a4: A4, a5: A5): FeatureExpect<T, R>
Extracts the value which is returned when calling f with arguments a1, a2, a3, a4, a5
on the current subject of fun <T, A1, A2, A3, A4, A5, R> Expect<T>.feature(f: KFunction6<T, A1, A2, A3, A4, A5, R>, a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, assertionCreator: Expect<R>.() -> Unit): Expect<T>
Extracts the value which is returned when calling f with argument a1, a2, a3, a4, a5
on the current subject of fun <T, R> Expect<T>.feature(description: String, provider: T.() -> R): FeatureExpect<T, R>
Extracts a feature out of the current subject of fun <T, R> Expect<T>.feature(description: String, provider: T.() -> R, assertionCreator: Expect<R>.() -> Unit): Expect<T>
Extracts a feature out of the current subject of fun <T, R> Expect<T>.feature(provider: MetaFeatureOption<T>.(T) -> MetaFeature<R>): FeatureExpect<T, R>
Extracts a feature out of the current subject of fun <T, R> Expect<T>.feature(provider: MetaFeatureOption<T>.(T) -> MetaFeature<R>, assertionCreator: Expect<R>.() -> Unit): Expect<T>
Extracts a feature out of the current subject of |
|
infix fun <T, R> Expect<T>.feature(property: KProperty1<in T, R>): FeatureExpect<T, R>
Extracts the property out of the current subject of infix fun <T, R> Expect<T>.feature(f: KFunction1<T, R>): FeatureExpect<T, R>
Extracts the value which is returned when calling the method f on the current subject of infix fun <T, R> Expect<T>.feature(of: Feature<in T, R>): FeatureExpect<T, R>
Extracts a feature out of the current subject of infix fun <T, R> Expect<T>.feature(of: FeatureWithCreator<in T, R>): Expect<T>
Extracts a feature out of the current subject of infix fun <T, R> Expect<T>.feature(provider: MetaFeatureOption<T>.(T) -> MetaFeature<R>): FeatureExpect<T, R>
Extracts a feature out of the current subject of infix fun <T, R> Expect<T>.feature(of: MetaFeatureOptionWithCreator<T, R>): Expect<T>
Extracts a feature out of the current subject of |
|
fun <T : Path> Expect<T>.fileName(assertionCreator: Expect<String>.() -> Unit): Expect<T>
Expects that the property Path.fileNameAsString
(provided via niok) of the subject of |
|
infix fun <T : Path> Expect<T>.fileName(assertionCreator: Expect<String>.() -> Unit): Expect<T>
Expects that the property Path.fileNameAsString
(provided via niok) of the subject of |
|
fun <T : Path> Expect<T>.fileNameWithoutExtension(assertionCreator: Expect<String>.() -> Unit): Expect<T>
Expects that the property Path.fileNameWithoutExtension
(provided via niok)
of the subject of |
|
infix fun <T : Path> Expect<T>.fileNameWithoutExtension(assertionCreator: Expect<String>.() -> Unit): Expect<T>
Expects that the property Path.fileNameWithoutExtension
(provided via niok)
of the subject of |
|
fun <K, V, T : Pair<K, V>> Expect<T>.first(assertionCreator: Expect<K>.() -> Unit): Expect<T>
Expects that the property Pair.first of the subject of |
|
infix fun <K, V, T : Pair<K, V>> Expect<T>.first(assertionCreator: Expect<K>.() -> Unit): Expect<T>
Expects that the property Pair.first of the subject of |
|
fun <E, T : List<E>> Expect<T>.get(index: Int): Expect<E>
Expects that the given index is within the bounds of the subject of fun <E, T : List<E>> Expect<T>.get(index: Int, assertionCreator: Expect<E>.() -> Unit): Expect<T>
Expects that the given index is within the bounds of the subject of |
|
infix fun <E, T : List<E>> Expect<T>.get(index: Int): Expect<E>
Expects that the given index is within the bounds of the subject of infix fun <E, T : List<E>> Expect<T>.get(index: IndexWithCreator<E>): Expect<T>
Expects that the given index is within the bounds of the subject of |
|
fun <K, V, T : Map<out K, V>> Expect<T>.getExisting(key: K): Expect<V>
Expects that the subject of fun <K, V, T : Map<out K, V>> Expect<T>.getExisting(key: K, assertionCreator: Expect<V>.() -> Unit): Expect<T>
Expects that the subject of |
|
infix fun <K, V, T : Map<out K, V>> Expect<T>.getExisting(key: K): Expect<V>
Expects that the subject of infix fun <K, V, T : Map<out K, V>> Expect<T>.getExisting(key: KeyWithCreator<K, V>): Expect<T>
Expects that the subject of |
|
infix fun <E, T : Iterable<E>> Expect<T>.
Expects that the subject of infix fun <T : Path> Expect<T>.
Expects that the subject of |
|
fun <T : Path> Expect<T>.
Expects that the subject of |
|
infix fun <T : Path> Expect<T>.
Expects that the subject of |
|
fun <E, T : Iterable<E>> Expect<T>.
Expects that the subject of |
|
infix fun <E, T : Iterable<E>> Expect<T>.
Expects that the subject of |
|
fun <E, T : Iterable<E>> Expect<T>.
Expects that the subject of |
|
fun <T : Path> Expect<T>.
Expects that the subject of |
|
infix fun <T : Path> Expect<T>.
Expects that the subject of |
|
fun <T : Path> Expect<T>.
Expects that the subject of |
|
infix fun <T : Path> Expect<T>.
Expects that the subject of infix fun <T : Path> Expect<T>.
Expects that the subject of |
|
fun <T : Collection<*>> Expect<T>.
Expects that the subject of |
|
infix fun <T : Collection<*>> Expect<T>.
Expects that the subject of |
|
fun <TSub : Any> Expect<*>.
Expects that the subject of fun <TSub : Any> Expect<*>.
Expects that the subject of |
|
fun <TSub : Any> Expect<*>.
Expects that the subject of infix fun <TSub : Any> Expect<*>.
Expects that the subject of |
|
fun <T : Path> Expect<T>.
Expects that the subject of |
|
fun <T : ChronoLocalDate> Expect<T>.
Expects that the subject of fun <T : ChronoLocalDate> Expect<T>.
Expects that the subject of fun <T : ChronoLocalDateTime<out ChronoLocalDate>> Expect<T>.
Expects that the subject of fun <T : ChronoZonedDateTime<out ChronoLocalDate>> Expect<T>.
Expects that the subject of |
|
infix fun <T : ChronoLocalDate> Expect<T>.
Expects that the subject of infix fun <T : ChronoLocalDate> Expect<T>.
Expects that the subject of infix fun <T : ChronoLocalDateTime<out ChronoLocalDate>> Expect<T>.
Expects that the subject of infix fun <T : ChronoZonedDateTime<out ChronoLocalDate>> Expect<T>.
Expects that the subject of |
|
fun <T : ChronoLocalDate> Expect<T>.
Expects that the subject of fun <T : ChronoLocalDate> Expect<T>.
Expects that the subject of fun <T : ChronoLocalDateTime<out ChronoLocalDate>> Expect<T>.
Expects that the subject of fun <T : ChronoZonedDateTime<out ChronoLocalDate>> Expect<T>.
Expects that the subject of |
|
infix fun <T : ChronoLocalDate> Expect<T>.
Expects that the subject of infix fun <T : ChronoLocalDate> Expect<T>.
Expects that the subject of infix fun <T : ChronoLocalDateTime<out ChronoLocalDate>> Expect<T>.
Expects that the subject of infix fun <T : ChronoZonedDateTime<out ChronoLocalDate>> Expect<T>.
Expects that the subject of |
|
fun <T : ChronoLocalDate> Expect<T>.
Expects that the subject of fun <T : ChronoLocalDate> Expect<T>.
Expects that the subject of fun <T : ChronoLocalDateTime<out ChronoLocalDate>> Expect<T>.
Expects that the subject of fun <T : ChronoZonedDateTime<out ChronoLocalDate>> Expect<T>.
Expects that the subject of |
|
infix fun <T : ChronoLocalDate> Expect<T>.
Expects that the subject of infix fun <T : ChronoLocalDate> Expect<T>.
Expects that the subject of infix fun <T : ChronoLocalDateTime<out ChronoLocalDate>> Expect<T>.
Expects that the subject of infix fun <T : ChronoZonedDateTime<out ChronoLocalDate>> Expect<T>.
Expects that the subject of |
|
fun <T : ChronoLocalDate> Expect<T>.
Expects that the subject of fun <T : ChronoLocalDate> Expect<T>.
Expects that the subject of fun <T : ChronoLocalDateTime<out ChronoLocalDate>> Expect<T>.
Expects that the subject of fun <T : ChronoZonedDateTime<out ChronoLocalDate>> Expect<T>.
Expects that the subject of |
|
infix fun <T : ChronoLocalDate> Expect<T>.
Expects that the subject of infix fun <T : ChronoLocalDate> Expect<T>.
Expects that the subject of infix fun <T : ChronoLocalDateTime<out ChronoLocalDate>> Expect<T>.
Expects that the subject of infix fun <T : ChronoZonedDateTime<out ChronoLocalDate>> Expect<T>.
Expects that the subject of |
|
fun <T : Path> Expect<T>.
Expects that the subject of |
|
fun <T : CharSequence> Expect<T>.
Expects that the subject of |
|
fun <T : Path> Expect<T>.
Expects that the subject of |
|
fun <T : ChronoLocalDate> Expect<T>.
Expects that the subject of fun <T : ChronoLocalDate> Expect<T>.
Expects that the subject of fun <T : ChronoLocalDateTime<out ChronoLocalDate>> Expect<T>.
Expects that the subject of fun <T : ChronoZonedDateTime<out ChronoLocalDate>> Expect<T>.
Expects that the subject of |
|
infix fun <T : ChronoLocalDate> Expect<T>.
Expects that the subject of infix fun <T : ChronoLocalDate> Expect<T>.
Expects that the subject of infix fun <T : ChronoLocalDateTime<out ChronoLocalDate>> Expect<T>.
Expects that the subject of infix fun <T : ChronoZonedDateTime<out ChronoLocalDate>> Expect<T>.
Expects that the subject of |
|
fun <T : Comparable<T>> Expect<T>.
Expects that the subject of |
|
infix fun <T : Comparable<T>> Expect<T>.
Expects that the subject of |
|
fun <T : BigDecimal> Expect<T>.
Expects that the subject of |
|
infix fun <T : BigDecimal> Expect<T>.
Expects that the subject of |
|
fun <T : Path> Expect<T>.
Expects that the subject of |
|
fun <TExpected : Throwable> Expect<out Result<*>>.
Expects that the subject of fun <TExpected : Throwable> Expect<out Result<*>>.
Expects that the subject of |
|
fun <TExpected : Throwable> Expect<out Result<*>>.
Expects that the subject of infix fun <TExpected : Throwable> Expect<out Result<*>>.
Expects that the subject of |
|
fun <T : Comparable<T>> Expect<T>.
Expects that the subject of |
|
infix fun <T : Comparable<T>> Expect<T>.
Expects that the subject of |
|
fun <T : Comparable<T>> Expect<T>.
Expects that the subject of |
|
infix fun <T : Comparable<T>> Expect<T>.
Expects that the subject of |
|
fun <K, V, T : Entry<K, V>> Expect<T>.
Expects that the property Map.Entry.key of the subject of |
|
infix fun <K, V, T : Entry<K, V>> Expect<T>.
Expects that the property Map.Entry.key of the subject of |
|
fun <T : Comparable<T>> Expect<T>.
Expects that the subject of |
|
infix fun <T : Comparable<T>> Expect<T>.
Expects that the subject of |
|
fun <T : Comparable<T>> Expect<T>.
Expects that the subject of |
|
infix fun <T : Comparable<T>> Expect<T>.
Expects that the subject of |
|
fun <T> Expect<T>.
Expects that the subject of |
|
infix fun <T> Expect<T>.
Expects that the subject of |
|
fun <T : CharSequence> Expect<T>.
Expects that the subject of |
|
fun <T : CharSequence> Expect<T>.
Expects that the subject of |
|
fun <T : BigDecimal> Expect<T>.
Expects that the subject of |
|
infix fun <T : BigDecimal> Expect<T>.
Expects that the subject of |
|
fun <T> Expect<T>.
Expects that the subject of |
|
infix fun <T> Expect<T>.
Expects that the subject of |
|
fun <T : BigDecimal> Expect<T>.
Expects that the subject of |
|
infix fun <T : BigDecimal> Expect<T>.
Expects that the subject of |
|
fun <T> Expect<T>.
Expects that the subject of |
|
infix fun <T> Expect<T>.
Expects that the subject of |
|
fun <T : BigDecimal> Expect<T>.
Expects that the subject of |
|
infix fun <T : BigDecimal> Expect<T>.
Expects that the subject of |
|
fun <E, T : Optional<E>> Expect<T>.
Expects that the subject of fun <E, T : Optional<E>> Expect<T>.
Expects that the subject of |
|
fun <T : Path> Expect<T>.
Expects that the subject of |
|
fun <T : Path> Expect<T>.
Expects that the subject of |
|
fun <T : Path> Expect<T>.
Expects that the subject of |
|
fun <T> Expect<T>.
Expects that the subject of |
|
infix fun <T> Expect<T>.
Expects that the subject of |
|
fun <E, T : Result<E>> Expect<T>.
Expects that the subject of fun <E, T : Result<E>> Expect<T>.
Expects that the subject of |
|
fun <T : Path> Expect<T>.
Expects that the subject of |
|
fun <T : Path> Expect<T>.
Expects that the subject of |
|
infix fun <T> Expect<T>.it(assertionCreator: Expect<T>.() -> Unit): Expect<T>
Can be used to create a group of sub assertions when using the fluent API. |
|
fun <T, R> Expect<T>.its(extractor: T.() -> R): FeatureExpect<T, R>
Extracts a feature out of the current subject of fun <T, R> Expect<T>.its(extractor: T.() -> R, assertionCreator: Expect<R>.() -> Unit): Expect<T>
Extracts a feature out of the current subject of |
|
infix fun <T, R> Expect<T>.its(extractor: T.() -> R): FeatureExpect<T, R>
Extracts a feature out of the current subject of infix fun <T, R> Expect<T>.its(extractorWithCreator: ExtractorWithCreator<T, R>): Expect<T>
Extracts a feature out of the current subject of |
|
fun <K, V, T : Entry<K, V>> Expect<T>.key(assertionCreator: Expect<K>.() -> Unit): Expect<T>
Expects that the property Map.Entry.key of the subject of |
|
infix fun <K, V, T : Entry<K, V>> Expect<T>.key(assertionCreator: Expect<K>.() -> Unit): Expect<T>
Expects that the property Map.Entry.key of the subject of |
|
fun <K, V, T : Map<out K, V>> Expect<T>.keys(assertionCreator: Expect<Set<K>>.() -> Unit): Expect<T>
Expects that the property Map.keys of the subject of |
|
infix fun <K, V, T : Map<out K, V>> Expect<T>.keys(assertionCreator: Expect<Set<K>>.() -> Unit): Expect<T>
Expects that the property Map.keys of the subject of |
|
fun <T : CharSequence> Expect<T>.
Expects that the subject of |
|
infix fun <T : CharSequence> Expect<T>.
Expects that the subject of |
|
fun <E : Comparable<E>, T : Iterable<E>> Expect<T>.max(): Expect<E>
Creates an Expect for the result of calling fun <E : Comparable<E>, T : Iterable<E>> Expect<T>.max(assertionCreator: Expect<E>.() -> Unit): Expect<T>
Expects that the result of calling |
|
infix fun <E : Comparable<E>, T : Iterable<E>> Expect<T>.max(o: o): Expect<E>
Creates an Expect for the result of calling infix fun <E : Comparable<E>, T : Iterable<E>> Expect<T>.max(assertionCreator: Expect<E>.() -> Unit): Expect<T>
Expects that the result of calling |
|
fun <T : Throwable> Expect<T>.message(assertionCreator: Expect<String>.() -> Unit): Expect<T>
Expects that the property Throwable.message of the subject of |
|
infix fun <T : Throwable> Expect<T>.message(assertionCreator: Expect<String>.() -> Unit): Expect<T>
Expects that the property Throwable.message of the subject of |
|
fun <T : Throwable> Expect<T>.
Expects that the property Throwable.message of the subject of |
|
infix fun <T : Throwable> Expect<T>.
Expects that the property Throwable.message of the subject of infix fun <T : Throwable> Expect<T>.
Expects that the property Throwable.message of the subject of |
|
fun <T : Throwable> Expect<T>.messageToContain(expected: CharSequenceOrNumberOrChar, vararg otherExpected: CharSequenceOrNumberOrChar): Expect<T>
Expects that the property Throwable.message of the subject of |
|
infix fun <T : Throwable> Expect<T>.messageToContain(expected: CharSequenceOrNumberOrChar): Expect<T>
Expects that the property Throwable.message of the subject of infix fun <T : Throwable> Expect<T>.messageToContain(values: Values<Any>): Expect<T>
Expects that the property Throwable.message of the subject of |
|
fun <E : Comparable<E>, T : Iterable<E>> Expect<T>.min(): Expect<E>
Creates an Expect for the result of calling fun <E : Comparable<E>, T : Iterable<E>> Expect<T>.min(assertionCreator: Expect<E>.() -> Unit): Expect<T>
Expects that the result of calling |
|
infix fun <E : Comparable<E>, T : Iterable<E>> Expect<T>.min(o: o): Expect<E>
Creates an Expect for the result of calling infix fun <E : Comparable<E>, T : Iterable<E>> Expect<T>.min(assertionCreator: Expect<E>.() -> Unit): Expect<T>
Expects that the result of calling |
|
fun <T : CharSequence> Expect<T>.
Expects that the subject of |
|
infix fun <T : CharSequence> Expect<T>.
Expects that the subject of |
|
fun Expect<LocalDate>.month(assertionCreator: Expect<Int>.() -> Unit): Expect<LocalDate>
Expects that the property LocalDate.monthValue of the subject of fun Expect<LocalDateTime>.month(assertionCreator: Expect<Int>.() -> Unit): Expect<LocalDateTime>
Expects that the property LocalDateTime.monthValueof the subject of fun Expect<ZonedDateTime>.month(assertionCreator: Expect<Int>.() -> Unit): Expect<ZonedDateTime>
Expects that the property ZonedDateTime.monthValue of the subject of |
|
infix fun Expect<LocalDate>.month(assertionCreator: Expect<Int>.() -> Unit): Expect<LocalDate>
Expects that the property LocalDate.monthValue of the subject of infix fun Expect<LocalDateTime>.month(assertionCreator: Expect<Int>.() -> Unit): Expect<LocalDateTime>
Expects that the property LocalDateTime.monthValueof the subject of infix fun Expect<ZonedDateTime>.month(assertionCreator: Expect<Int>.() -> Unit): Expect<ZonedDateTime>
Expects that the property ZonedDateTime.monthValue of the subject of |
|
fun <E : Any, T : Iterable<E?>> Expect<T>.
Expects that the subject of |
|
infix fun <E : Any, T : Iterable<E?>> Expect<T>.
Expects that the subject of |
|
fun <T> Expect<T>.
Expects that the subject of |
|
infix fun <T : CharSequence> Expect<T>.notToBe(empty: empty): Expect<T>
Expects that the subject of infix fun <T : CharSequence> Expect<T>.notToBe(blank: blank): Expect<T>
Expects that the subject of infix fun <T> Expect<T>.
Expects that the subject of infix fun <T : Path> Expect<T>.notToBe(existing: existing): Expect<T>
Expects that the subject of infix fun <T : Path> Expect<T>.notToBe(readable: readable): Expect<T>
Expects that the subject of infix fun <T : Path> Expect<T>.notToBe(writable: writable): Expect<T>
Expects that the subject of infix fun <T : Path> Expect<T>.notToBe(executable: executable): Expect<T>
Expects that the subject of |
|
fun <T : CharSequence> Expect<T>.notToBeBlank(): Expect<T>
Expects that the subject of |
|
fun <T : CharSequence> Expect<T>.notToBeEmpty(): Expect<T>
Expects that the subject of |
|
fun <T : Path> Expect<T>.notToBeExecutable(): Expect<T>
Expects that the subject of |
|
fun <T : Comparable<T>> Expect<T>.notToBeGreaterThan(expected: T): Expect<T>
Expects that the subject of |
|
infix fun <T : Comparable<T>> Expect<T>.notToBeGreaterThan(expected: T): Expect<T>
Expects that the subject of |
|
fun <T : Comparable<T>> Expect<T>.notToBeLessThan(expected: T): Expect<T>
Expects that the subject of |
|
infix fun <T : Comparable<T>> Expect<T>.notToBeLessThan(expected: T): Expect<T>
Expects that the subject of |
|
fun <T : Any> Expect<T?>.
Expects that the subject of fun <T : Any> Expect<T?>.
Expects that the subject of |
|
infix fun <T : Any> Expect<T?>.
Expects that the subject of infix fun <T : Any> Expect<T?>.
Expects that the subject of |
|
fun <T : Path> Expect<T>.notToBeReadable(): Expect<T>
Expects that the subject of |
|
fun <T> Expect<T>.notToBeTheInstance(expected: T): Expect<T>
Expects that the subject of |
|
infix fun <T> Expect<T>.notToBeTheInstance(expected: T): Expect<T>
Expects that the subject of |
|
fun <T : Path> Expect<T>.notToBeWritable(): Expect<T>
Expects that the subject of |
|
fun <T : CharSequence> Expect<T>.notToContain(expected: CharSequenceOrNumberOrChar, vararg otherExpected: CharSequenceOrNumberOrChar): Expect<T>
Expects that the subject of fun <E, T : Iterable<E>> Expect<T>.notToContain(expected: E, vararg otherExpected: E): Expect<T>
Expects that the subject of |
|
infix fun <T : CharSequence> Expect<T>.notToContain(o: o): NotCheckerStep<T, NotSearchBehaviour>
Starts a sophisticated infix fun <T : CharSequence> Expect<T>.notToContain(expected: CharSequenceOrNumberOrChar): Expect<T>
Expects that the subject of infix fun <T : CharSequence> Expect<T>.notToContain(values: Values<CharSequenceOrNumberOrChar>): Expect<T>
Expects that the subject of infix fun <E, T : Iterable<E>> Expect<T>.notToContain(expected: E): Expect<T>
Expects that the subject of infix fun <E, T : Iterable<E>> Expect<T>.notToContain(values: Values<E>): Expect<T>
Expects that the subject of |
|
fun <K, T : Map<out K, *>> Expect<T>.notToContainKey(key: K): Expect<T>
Expects that the subject of |
|
infix fun <K, T : Map<out K, *>> Expect<T>.notToContainKey(key: K): Expect<T>
Expects that the subject of |
|
fun <T : CharSequence> Expect<T>.notToEndWith(expected: CharSequence): Expect<T>
Expects that the subject of fun <T : Path> Expect<T>.notToEndWith(expected: Path): Expect<T>
Expects that the subject of |
|
infix fun <T : CharSequence> Expect<T>.notToEndWith(expected: CharSequence): Expect<T>
Expects that the subject of infix fun <T : Path> Expect<T>.notToEndWith(expected: Path): Expect<T>
Expects that the subject of |
|
fun <T> Expect<T>.notToEqual(expected: T): Expect<T>
Expects that the subject of |
|
infix fun <T> Expect<T>.notToEqual(expected: T): Expect<T>
Expects that the subject of |
|
fun <T : BigDecimal> Expect<T>.notToEqualIncludingScale(expected: T): Expect<T>
Expects that the subject of |
|
infix fun <T : BigDecimal> Expect<T>.notToEqualIncludingScale(expected: T): Expect<T>
Expects that the subject of |
|
fun <T : Any> Expect<T?>.notToEqualNull(): Expect<T>
Expects that the subject of fun <T : Any> Expect<T?>.notToEqualNull(assertionCreator: Expect<T>.() -> Unit): Expect<T>
Expects that the subject of |
|
infix fun <T : Any> Expect<T?>.notToEqualNull(o: o): Expect<T>
Expects that the subject of infix fun <T : Any> Expect<T?>.notToEqualNull(assertionCreator: Expect<T>.() -> Unit): Expect<T>
Expects that the subject of |
|
fun <T : BigDecimal> Expect<T>.notToEqualNumerically(expected: T): Expect<T>
Expects that the subject of |
|
infix fun <T : BigDecimal> Expect<T>.notToEqualNumerically(expected: T): Expect<T>
Expects that the subject of |
|
fun <T> Expect<T>.notToEqualOneIn(expected: IterableLike): Expect<T>
Expects that the subject of |
|
infix fun <T> Expect<T>.notToEqualOneIn(expected: IterableLike): Expect<T>
Expects that the subject of |
|
fun <T> Expect<T>.notToEqualOneOf(expected: T, vararg otherValues: T): Expect<T>
Expects that the subject of |
|
infix fun <T> Expect<T>.notToEqualOneOf(values: Values<T>): Expect<T>
Expects that the subject of |
|
fun <T : Path> Expect<T>.notToExist(): Expect<T>
Expects that the subject of |
|
infix fun <E, T : Iterable<E>> Expect<T>.notToHave(elements: elements): Expect<T>
Expects that the subject of infix fun <T : Iterator<*>> Expect<T>.notToHave(next: next): Expect<T>
Expects that the subject of |
|
fun <E, T : Iterable<E>> Expect<T>.notToHaveElements(): Expect<T>
Expects that the subject of |
|
fun <T : Iterator<*>> Expect<T>.notToHaveNext(): Expect<T>
Expects that the subject of |
|
fun <T : CharSequence> Expect<T>.notToMatch(pattern: Regex): Expect<T>
Expects that the subject of |
|
infix fun <T : CharSequence> Expect<T>.notToMatch(pattern: Regex): Expect<T>
Expects that the subject of |
|
fun <T : CharSequence> Expect<T>.notToStartWith(expected: CharSequence): Expect<T>
Expects that the subject of fun <T : Path> Expect<T>.notToStartWith(expected: Path): Expect<T>
Expects that the subject of |
|
infix fun <T : CharSequence> Expect<T>.notToStartWith(expected: CharSequence): Expect<T>
Expects that the subject of infix fun <T : Path> Expect<T>.notToStartWith(expected: Path): Expect<T>
Expects that the subject of |
|
fun <R, T : () -> R> Expect<T>.notToThrow(): Expect<R>
Expects that no Throwable is thrown at all when calling the subject (a lambda with arity 0, i.e. without arguments)
and changes the subject of fun <R, T : () -> R> Expect<T>.notToThrow(assertionCreator: Expect<R>.() -> Unit): Expect<R>
Expects that no Throwable is thrown at all when calling the subject (a lambda with arity 0, i.e. without arguments) and that the corresponding return value holds all assertions the given assertionCreator creates. |
|
fun <R, T : () -> R> Expect<T>.notToThrow(): Expect<R>
Expects that no Throwable is thrown at all when calling the subject (a lambda with arity 0, i.e. without arguments)
and changes the subject of infix fun <R, T : () -> R> Expect<T>.notToThrow(assertionCreator: Expect<R>.() -> Unit): Expect<R>
Expects that no Throwable is thrown at all when calling the subject (a lambda with arity 0, i.e. without arguments) and that the corresponding return value holds all assertions the given assertionCreator creates. |
|
fun <T : Path> Expect<T>.parent(assertionCreator: Expect<Path>.() -> Unit): Expect<T>
Expects that this Path has a parent, that the parent holds all assertions the
given assertionCreator creates for it and returns an Expect for the current subject of |
|
infix fun <T : Path> Expect<T>.parent(assertionCreator: Expect<Path>.() -> Unit): Expect<T>
Expects that this Path has a parent, that the parent holds all assertions the
given assertionCreator creates for it and returns an Expect for the current subject of |
|
fun <T : Path> Expect<T>.resolve(other: String): Expect<Path>
Expects that other resolves against this Path and creates an Expect for the resolved Path so that further fluent calls are assertions about it. fun <T : Path> Expect<T>.resolve(other: String, assertionCreator: Expect<Path>.() -> Unit): Expect<T>
Expects that other resolves against this Path, that the resolved Path holds all assertions the
given assertionCreator creates for it and returns an Expect for the current subject of |
|
infix fun <T : Path> Expect<T>.resolve(other: String): Expect<Path>
Expects that other resolves against this Path and creates an Expect for the resolved Path so that further fluent calls are assertions about it. infix fun <T : Path> Expect<T>.resolve(path: PathWithCreator<Path>): Expect<T>
Expects that PathWithCreator.path resolves against this Path, that the resolved Path holds all assertions the
given PathWithCreator.assertionCreator creates for it and
returns an Expect for the current subject of |
|
fun <K, V, T : Pair<K, V>> Expect<T>.second(assertionCreator: Expect<V>.() -> Unit): Expect<T>
Expects that the property Pair.second of the subject of |
|
infix fun <K, V, T : Pair<K, V>> Expect<T>.second(assertionCreator: Expect<V>.() -> Unit): Expect<T>
Expects that the property Pair.second of the subject of |
|
fun <E, T : Collection<E>> Expect<T>.size(assertionCreator: Expect<Int>.() -> Unit): Expect<T>
Expects that the property Collection.size of the subject of |
|
infix fun <E, T : Collection<E>> Expect<T>.size(assertionCreator: Expect<Int>.() -> Unit): Expect<T>
Expects that the property Collection.size of the subject of |
|
fun <T : CharSequence> Expect<T>. fun <T : CharSequence> Expect<T>.
Expects that the subject of fun <T : Path> Expect<T>.
Expects that the subject of |
|
infix fun <T : CharSequence> Expect<T>. infix fun <T : CharSequence> Expect<T>.
Expects that the subject of infix fun <T : Path> Expect<T>.
Expects that the subject of |
|
fun <T : CharSequence> Expect<T>. fun <T : CharSequence> Expect<T>.
Expects that the subject of fun <T : Path> Expect<T>.
Expects that the subject of |
|
infix fun <T : CharSequence> Expect<T>. infix fun <T : CharSequence> Expect<T>.
Expects that the subject of infix fun <T : Path> Expect<T>.
Expects that the subject of |
|
fun <T> Expect<T>.toAssertionContainer(): AssertionContainer<T>
Casts this Expect to an AssertionContainer so that you have access to the functionality provided on the logic level. |
|
fun <T> Expect<T>.
Expects that the subject of fun <T : BigDecimal> Expect<T?>.
Expects that the subject of |
|
infix fun <T : CharSequence> Expect<T>.toBe(empty: empty): Expect<T>
Expects that the subject of infix fun <T> Expect<T>.
Expects that the subject of infix fun <T : BigDecimal> Expect<T?>.
Expects that the subject of infix fun <E, T : Optional<E>> Expect<T>.toBe(present: present): FeatureExpect<T, E>
Expects that the subject of infix fun <E, T : Optional<E>> Expect<T>.toBe(present: PresentWithCreator<E>): Expect<T>
Expects that the subject of infix fun <T : Path> Expect<T>.toBe(existing: existing): Expect<T>
Expects that the subject of infix fun <T : Path> Expect<T>.toBe(readable: readable): Expect<T>
Expects that the subject of infix fun <T : Path> Expect<T>.toBe(writable: writable): Expect<T>
Expects that the subject of infix fun <T : Path> Expect<T>.toBe(executable: executable): Expect<T>
Expects that the subject of infix fun <T : Path> Expect<T>.toBe(aRegularFile: aRegularFile): Expect<T>
Expects that the subject of infix fun <T : Path> Expect<T>.toBe(aDirectory: aDirectory): Expect<T>
Expects that the subject of infix fun <T : Path> Expect<T>.toBe(anEmptyDirectory: anEmptyDirectory): Expect<T>
Expects that the subject of infix fun <T : Path> Expect<T>.toBe(aSymbolicLink: aSymbolicLink): Expect<T>
Expects that the subject of infix fun <T : Path> Expect<T>.toBe(absolute: absolute): Expect<T>
Expects that the subject of infix fun <T : Path> Expect<T>.toBe(relative: relative): Expect<T>
Expects that the subject of |
|
infix fun <E, T : Result<E>> Expect<T>.
Expects that the subject of infix fun <E, T : Result<E>> Expect<T>.toBe(aSuccess: aSuccess): Expect<E>
Expects that the subject of infix fun <E, T : Result<E>> Expect<T>.toBe(success: SuccessWithCreator<E>): Expect<T>
Expects that the subject of |
|
fun <T : Path> Expect<T>.toBeAbsolute(): Expect<T>
Expects that the subject of |
|
fun <T : Path> Expect<T>.toBeADirectory(): Expect<T>
Expects that the subject of |
|
fun <TExpected : Throwable> Expect<out Result<*>>.toBeAFailure(): Expect<TExpected>
Expects that the subject of fun <TExpected : Throwable> Expect<out Result<*>>.toBeAFailure(assertionCreator: Expect<TExpected>.() -> Unit): Expect<TExpected>
Expects that the subject of |
|
fun <TExpected : Throwable> Expect<out Result<*>>.toBeAFailure(): Expect<TExpected>
Expects that the subject of infix fun <TExpected : Throwable> Expect<out Result<*>>.toBeAFailure(assertionCreator: Expect<TExpected>.() -> Unit): Expect<TExpected>
Expects that the subject of |
|
fun <T : ChronoLocalDate> Expect<T>.toBeAfter(expected: ChronoLocalDate): Expect<T>
Expects that the subject of fun <T : ChronoLocalDate> Expect<T>.toBeAfter(expected: String): Expect<T>
Expects that the subject of fun <T : ChronoLocalDateTime<out ChronoLocalDate>> Expect<T>.toBeAfter(expected: ChronoLocalDateTime<*>): Expect<T>
Expects that the subject of fun <T : ChronoZonedDateTime<out ChronoLocalDate>> Expect<T>.toBeAfter(expected: ChronoZonedDateTime<*>): Expect<T>
Expects that the subject of |
|
infix fun <T : ChronoLocalDate> Expect<T>.toBeAfter(expected: ChronoLocalDate): Expect<T>
Expects that the subject of infix fun <T : ChronoLocalDate> Expect<T>.toBeAfter(expected: String): Expect<T>
Expects that the subject of infix fun <T : ChronoLocalDateTime<out ChronoLocalDate>> Expect<T>.toBeAfter(expected: ChronoLocalDateTime<*>): Expect<T>
Expects that the subject of infix fun <T : ChronoZonedDateTime<out ChronoLocalDate>> Expect<T>.toBeAfter(expected: ChronoZonedDateTime<*>): Expect<T>
Expects that the subject of |
|
fun <T : ChronoLocalDate> Expect<T>.toBeAfterOrTheSamePointInTimeAs(expected: ChronoLocalDate): Expect<T>
Expects that the subject of fun <T : ChronoLocalDate> Expect<T>.toBeAfterOrTheSamePointInTimeAs(expected: String): Expect<T>
Expects that the subject of fun <T : ChronoLocalDateTime<out ChronoLocalDate>> Expect<T>.toBeAfterOrTheSamePointInTimeAs(expected: ChronoLocalDateTime<*>): Expect<T>
Expects that the subject of fun <T : ChronoZonedDateTime<out ChronoLocalDate>> Expect<T>.toBeAfterOrTheSamePointInTimeAs(expected: ChronoZonedDateTime<*>): Expect<T>
Expects that the subject of |
|
infix fun <T : ChronoLocalDate> Expect<T>.toBeAfterOrTheSamePointInTimeAs(expected: ChronoLocalDate): Expect<T>
Expects that the subject of infix fun <T : ChronoLocalDate> Expect<T>.toBeAfterOrTheSamePointInTimeAs(expected: String): Expect<T>
Expects that the subject of infix fun <T : ChronoLocalDateTime<out ChronoLocalDate>> Expect<T>.toBeAfterOrTheSamePointInTimeAs(expected: ChronoLocalDateTime<*>): Expect<T>
Expects that the subject of infix fun <T : ChronoZonedDateTime<out ChronoLocalDate>> Expect<T>.toBeAfterOrTheSamePointInTimeAs(expected: ChronoZonedDateTime<*>): Expect<T>
Expects that the subject of |
|
fun <T : Path> Expect<T>.toBeAnEmptyDirectory(): Expect<T>
Expects that the subject of |
|
fun <TSub : Any> Expect<*>.toBeAnInstanceOf(): Expect<TSub>
Expects that the subject of fun <TSub : Any> Expect<*>.toBeAnInstanceOf(assertionCreator: Expect<TSub>.() -> Unit): Expect<TSub>
Expects that the subject of |
|
fun <TSub : Any> Expect<*>.toBeAnInstanceOf(): Expect<TSub>
Expects that the subject of infix fun <TSub : Any> Expect<*>.toBeAnInstanceOf(assertionCreator: Expect<TSub>.() -> Unit): Expect<TSub>
Expects that the subject of |
|
fun <T : Path> Expect<T>.toBeARegularFile(): Expect<T>
Expects that the subject of |
|
fun <E, T : Result<E>> Expect<T>.toBeASuccess(): Expect<E>
Expects that the subject of fun <E, T : Result<E>> Expect<T>.toBeASuccess(assertionCreator: Expect<E>.() -> Unit): Expect<T>
Expects that the subject of |
|
fun <T : Path> Expect<T>.toBeASymbolicLink(): Expect<T>
Expects that the subject of |
|
fun <T : ChronoLocalDate> Expect<T>.toBeBefore(expected: ChronoLocalDate): Expect<T>
Expects that the subject of fun <T : ChronoLocalDate> Expect<T>.toBeBefore(expected: String): Expect<T>
Expects that the subject of fun <T : ChronoLocalDateTime<out ChronoLocalDate>> Expect<T>.toBeBefore(expected: ChronoLocalDateTime<*>): Expect<T>
Expects that the subject of fun <T : ChronoZonedDateTime<out ChronoLocalDate>> Expect<T>.toBeBefore(expected: ChronoZonedDateTime<*>): Expect<T>
Expects that the subject of |
|
infix fun <T : ChronoLocalDate> Expect<T>.toBeBefore(expected: ChronoLocalDate): Expect<T>
Expects that the subject of infix fun <T : ChronoLocalDate> Expect<T>.toBeBefore(expected: String): Expect<T>
Expects that the subject of infix fun <T : ChronoLocalDateTime<out ChronoLocalDate>> Expect<T>.toBeBefore(expected: ChronoLocalDateTime<*>): Expect<T>
Expects that the subject of infix fun <T : ChronoZonedDateTime<out ChronoLocalDate>> Expect<T>.toBeBefore(expected: ChronoZonedDateTime<*>): Expect<T>
Expects that the subject of |
|
fun <T : ChronoLocalDate> Expect<T>.toBeBeforeOrTheSamePointInTimeAs(expected: ChronoLocalDate): Expect<T>
Expects that the subject of fun <T : ChronoLocalDate> Expect<T>.toBeBeforeOrTheSamePointInTimeAs(expected: String): Expect<T>
Expects that the subject of fun <T : ChronoLocalDateTime<out ChronoLocalDate>> Expect<T>.toBeBeforeOrTheSamePointInTimeAs(expected: ChronoLocalDateTime<*>): Expect<T>
Expects that the subject of fun <T : ChronoZonedDateTime<out ChronoLocalDate>> Expect<T>.toBeBeforeOrTheSamePointInTimeAs(expected: ChronoZonedDateTime<*>): Expect<T>
Expects that the subject of |
|
infix fun <T : ChronoLocalDate> Expect<T>.toBeBeforeOrTheSamePointInTimeAs(expected: ChronoLocalDate): Expect<T>
Expects that the subject of infix fun <T : ChronoLocalDate> Expect<T>.toBeBeforeOrTheSamePointInTimeAs(expected: String): Expect<T>
Expects that the subject of infix fun <T : ChronoLocalDateTime<out ChronoLocalDate>> Expect<T>.toBeBeforeOrTheSamePointInTimeAs(expected: ChronoLocalDateTime<*>): Expect<T>
Expects that the subject of infix fun <T : ChronoZonedDateTime<out ChronoLocalDate>> Expect<T>.toBeBeforeOrTheSamePointInTimeAs(expected: ChronoZonedDateTime<*>): Expect<T>
Expects that the subject of |
|
fun <T : CharSequence> Expect<T>.toBeEmpty(): Expect<T>
Expects that the subject of |
|
fun <T : Comparable<T>> Expect<T>.toBeEqualComparingTo(expected: T): Expect<T>
Expects that the subject of |
|
infix fun <T : Comparable<T>> Expect<T>.toBeEqualComparingTo(expected: T): Expect<T>
Expects that the subject of |
|
fun <T : Path> Expect<T>.toBeExecutable(): Expect<T>
Expects that the subject of |
|
fun <T : Comparable<T>> Expect<T>.toBeGreaterThan(expected: T): Expect<T>
Expects that the subject of |
|
infix fun <T : Comparable<T>> Expect<T>.toBeGreaterThan(expected: T): Expect<T>
Expects that the subject of |
|
fun <T : Comparable<T>> Expect<T>.toBeGreaterThanOrEqualTo(expected: T): Expect<T>
Expects that the subject of |
|
infix fun <T : Comparable<T>> Expect<T>.toBeGreaterThanOrEqualTo(expected: T): Expect<T>
Expects that the subject of |
|
fun <T : Comparable<T>> Expect<T>.toBeLessThan(expected: T): Expect<T>
Expects that the subject of |
|
infix fun <T : Comparable<T>> Expect<T>.toBeLessThan(expected: T): Expect<T>
Expects that the subject of |
|
fun <T : Comparable<T>> Expect<T>.toBeLessThanOrEqualTo(expected: T): Expect<T>
Expects that the subject of |
|
infix fun <T : Comparable<T>> Expect<T>.toBeLessThanOrEqualTo(expected: T): Expect<T>
Expects that the subject of |
|
fun <T : Any> Expect<T?>.
Expects that the subject of |
|
infix fun <T : Any> Expect<T?>.
Expects that the subject of |
|
fun <E, T : Optional<E>> Expect<T>.toBePresent(): Expect<E>
Expects that the subject of fun <E, T : Optional<E>> Expect<T>.toBePresent(assertionCreator: Expect<E>.() -> Unit): Expect<T>
Expects that the subject of |
|
fun <T : Path> Expect<T>.toBeReadable(): Expect<T>
Expects that the subject of |
|
fun <T : Path> Expect<T>.toBeRelative(): Expect<T>
Expects that the subject of |
|
fun <T> Expect<T>.toBeTheInstance(expected: T): Expect<T>
Expects that the subject of |
|
infix fun <T> Expect<T>.toBeTheInstance(expected: T): Expect<T>
Expects that the subject of |
|
fun <T : ChronoLocalDate> Expect<T>.toBeTheSamePointInTimeAs(expected: ChronoLocalDate): Expect<T>
Expects that the subject of fun <T : ChronoLocalDate> Expect<T>.toBeTheSamePointInTimeAs(expected: String): Expect<T>
Expects that the subject of fun <T : ChronoLocalDateTime<out ChronoLocalDate>> Expect<T>.toBeTheSamePointInTimeAs(expected: ChronoLocalDateTime<*>): Expect<T>
Expects that the subject of fun <T : ChronoZonedDateTime<out ChronoLocalDate>> Expect<T>.toBeTheSamePointInTimeAs(expected: ChronoZonedDateTime<*>): Expect<T>
Expects that the subject of |
|
infix fun <T : ChronoLocalDate> Expect<T>.toBeTheSamePointInTimeAs(expected: ChronoLocalDate): Expect<T>
Expects that the subject of infix fun <T : ChronoLocalDate> Expect<T>.toBeTheSamePointInTimeAs(expected: String): Expect<T>
Expects that the subject of infix fun <T : ChronoLocalDateTime<out ChronoLocalDate>> Expect<T>.toBeTheSamePointInTimeAs(expected: ChronoLocalDateTime<*>): Expect<T>
Expects that the subject of infix fun <T : ChronoZonedDateTime<out ChronoLocalDate>> Expect<T>.toBeTheSamePointInTimeAs(expected: ChronoZonedDateTime<*>): Expect<T>
Expects that the subject of |
|
fun Expect<Float>.
Expects that the subject of fun Expect<Double>.
Expects that the subject of |
|
fun <T : Path> Expect<T>.toBeWritable(): Expect<T>
Expects that the subject of |
|
fun <T : CharSequence> Expect<T>.toContain(expected: CharSequenceOrNumberOrChar, vararg otherExpected: CharSequenceOrNumberOrChar): Expect<T>
Expects that the subject of fun <E, T : Iterable<E>> Expect<T>.toContain(expected: E, vararg otherExpected: E): Expect<T>
Expects that the subject of fun <E : Any, T : Iterable<E?>> Expect<T>.toContain(assertionCreatorOrNull: (Expect<E>.() -> Unit)?): Expect<T>
Expects that the subject of fun <E : Any, T : Iterable<E?>> Expect<T>.toContain(assertionCreatorOrNull: (Expect<E>.() -> Unit)?, vararg otherAssertionCreatorsOrNulls: (Expect<E>.() -> Unit)?): Expect<T>
Expects that the subject of fun <K, V, T : Map<out K, V>> Expect<T>.toContain(keyValuePair: Pair<K, V>, vararg otherPairs: Pair<K, V>): Expect<T>
Expects that the subject of fun <K, V : Any, T : Map<out K, V?>> Expect<T>.toContain(keyValue: KeyValue<K, V>, vararg otherKeyValues: KeyValue<K, V>): Expect<T>
Expects that the subject of |
|
infix fun <T : CharSequence> Expect<T>.toContain(o: o): CharSequenceContains.EntryPointStep<T, NoOpSearchBehaviour>
Starts a sophisticated infix fun <T : CharSequence> Expect<T>.toContain(expected: CharSequenceOrNumberOrChar): Expect<T>
Expects that the subject of infix fun <T : CharSequence> Expect<T>.toContain(values: Values<CharSequenceOrNumberOrChar>): Expect<T>
Expects that the subject of infix fun <T : CharSequence> Expect<T>.toContain(pattern: Regex): Expect<T>
Expects that the subject of infix fun <T : CharSequence> Expect<T>.toContain(regexPatterns: RegexPatterns): Expect<T>
Expects that the subject of infix fun <T : CharSequence> Expect<T>.toContain(patterns: All<Regex>): Expect<T>
Expects that the subject of infix fun <E, T : Iterable<E>> Expect<T>.toContain(expected: E): Expect<T>
Expects that the subject of infix fun <E, T : Iterable<E>> Expect<T>.toContain(values: Values<E>): Expect<T>
Expects that the subject of infix fun <E : Any, T : Iterable<E?>> Expect<T>.toContain(assertionCreatorOrNull: (Expect<E>.() -> Unit)?): Expect<T>
Expects that the subject of infix fun <E : Any, T : Iterable<E?>> Expect<T>.toContain(entries: Entries<E>): Expect<T>
Expects that the subject of infix fun <K, V, T : Map<out K, V>> Expect<T>.toContain(keyValuePair: Pair<K, V>): Expect<T>
Expects that the subject of infix fun <K, V, T : Map<out K, V>> Expect<T>.toContain(pairs: Pairs<K, V>): Expect<T>
Expects the subject of infix fun <K, V : Any, T : Map<out K, V?>> Expect<T>.toContain(keyValue: KeyWithValueCreator<K, V>): Expect<T>
Expects that the subject of infix fun <K, V : Any, T : Map<out K, V?>> Expect<T>.toContain(keyValues: KeyValues<K, V>): Expect<T>
Expects that the subject of |
|
fun <E, T : Iterable<E>> Expect<T>.toContainElementsOf(expectedIterableLike: IterableLike): Expect<T>
Expects that the subject of |
|
infix fun <E, T : Iterable<E>> Expect<T>.toContainElementsOf(expectedIterableLike: IterableLike): Expect<T>
Expects that the subject of |
|
fun <K, V : Any, T : Map<out K, V?>> Expect<T>.toContainEntriesOf(mapLike: MapLike): Expect<T>
Expects that the subject of |
|
infix fun <K, V : Any, T : Map<out K, V?>> Expect<T>.toContainEntriesOf(mapLike: MapLike): Expect<T>
Expects that the subject of |
|
fun <E, T : Iterable<E>> Expect<T>.toContainExactly(expected: E, vararg otherExpected: E, report: InOrderOnlyReportingOptions.() -> Unit = {}): Expect<T>
Expects that the subject of fun <E : Any, T : Iterable<E?>> Expect<T>.toContainExactly(assertionCreatorOrNull: (Expect<E>.() -> Unit)?): Expect<T>
Expects that the subject of fun <E : Any, T : Iterable<E?>> Expect<T>.toContainExactly(assertionCreatorOrNull: (Expect<E>.() -> Unit)?, vararg otherAssertionCreatorsOrNulls: (Expect<E>.() -> Unit)?, report: InOrderOnlyReportingOptions.() -> Unit = {}): Expect<T>
Expects that the subject of |
|
infix fun <E, T : Iterable<E>> Expect<T>.toContainExactly(expected: E): Expect<T>
Expects that the subject of infix fun <E, T : Iterable<E>> Expect<T>.toContainExactly(values: Values<E>): Expect<T> infix fun <E, T : Iterable<E>> Expect<T>.toContainExactly(values: WithInOrderOnlyReportingOptions<Values<E>>): Expect<T>
Expects that the subject of infix fun <E : Any, T : Iterable<E?>> Expect<T>.toContainExactly(assertionCreatorOrNull: (Expect<E>.() -> Unit)?): Expect<T>
Expects that the subject of infix fun <E : Any, T : Iterable<E?>> Expect<T>.toContainExactly(entries: Entries<E>): Expect<T>
Expects that the subject of infix fun <E : Any, T : Iterable<E?>> Expect<T>.toContainExactly(entries: WithInOrderOnlyReportingOptions<Entries<E>>): Expect<T> infix fun <E, T : Iterable<E>> Expect<T>.toContainExactly(elementsOf: WithInOrderOnlyReportingOptions<IterableLike>): Expect<T>
Expects that the subject of |
|
fun <E, T : Iterable<E>> Expect<T>.toContainExactlyElementsOf(expectedIterableLike: IterableLike, report: InOrderOnlyReportingOptions.() -> Unit = {}): Expect<T>
Expects that the subject of |
|
infix fun <E, T : Iterable<E>> Expect<T>.toContainExactlyElementsOf(expectedIterableLike: IterableLike): Expect<T>
Expects that the subject of |
|
fun <K, T : Map<out K, *>> Expect<T>.toContainKey(key: K): Expect<T>
Expects that the subject of |
|
infix fun <K, T : Map<out K, *>> Expect<T>.toContainKey(key: K): Expect<T>
Expects that the subject of |
|
fun <K, V, T : Map<out K, V>> Expect<T>.toContainOnly(keyValuePair: Pair<K, V>, vararg otherPairs: Pair<K, V>): Expect<T>
Expects that the subject of fun <K, V : Any, T : Map<out K, V?>> Expect<T>.toContainOnly(keyValue: KeyValue<K, V>, vararg otherKeyValues: KeyValue<K, V>): Expect<T>
Expects that the subject of |
|
infix fun <K, V, T : Map<out K, V>> Expect<T>.toContainOnly(keyValuePair: Pair<K, V>): Expect<T>
Expects that the subject of infix fun <K, V, T : Map<out K, V>> Expect<T>.toContainOnly(pairs: Pairs<K, V>): Expect<T>
Expects the subject of infix fun <K, V : Any, T : Map<out K, V?>> Expect<T>.toContainOnly(keyValue: KeyWithValueCreator<K, V>): Expect<T>
Expects that the subject of infix fun <K, V : Any, T : Map<out K, V?>> Expect<T>.toContainOnly(keyValues: KeyValues<K, V>): Expect<T>
Expects that the subject of |
|
fun <K, V : Any, T : Map<out K, V?>> Expect<T>.toContainOnlyEntriesOf(mapLike: MapLike): Expect<T>
Expects that the subject of |
|
infix fun <K, V : Any, T : Map<out K, V?>> Expect<T>.toContainOnlyEntriesOf(mapLike: MapLike): Expect<T>
Expects that the subject of |
|
fun <T : CharSequence> Expect<T>.toContainRegex(pattern: String, vararg otherPatterns: String): Expect<T> fun <T : CharSequence> Expect<T>.toContainRegex(pattern: Regex, vararg otherPatterns: Regex): Expect<T>
Expects that the subject of |
|
infix fun <T : CharSequence> Expect<T>.toContainRegex(pattern: String): Expect<T>
Expects that the subject of |
|
fun <T : CharSequence> Expect<T>.toEndWith(expected: CharSequence): Expect<T>
Expects that the subject of fun <T : Path> Expect<T>.toEndWith(expected: Path): Expect<T>
Expects that the subject of |
|
infix fun <T : CharSequence> Expect<T>.toEndWith(expected: CharSequence): Expect<T>
Expects that the subject of infix fun <T : Path> Expect<T>.toEndWith(expected: Path): Expect<T>
Expects that the subject of |
|
fun <T> Expect<T>.toEqual(expected: T): Expect<T>
Expects that the subject of fun <T : BigDecimal> Expect<T?>.toEqual(expected: Nothing?): Expect<T?>
Expects that the subject of |
|
infix fun <T> Expect<T>.toEqual(expected: T): Expect<T>
Expects that the subject of infix fun <T : BigDecimal> Expect<T?>.toEqual(expected: Nothing?): Expect<T?>
Expects that the subject of |
|
fun <T : BigDecimal> Expect<T>.toEqualIncludingScale(expected: T): Expect<T>
Expects that the subject of |
|
infix fun <T : BigDecimal> Expect<T>.toEqualIncludingScale(expected: T): Expect<T>
Expects that the subject of |
|
fun <K, V, T : Entry<K, V>> Expect<T>.toEqualKeyValue(key: K, value: V): Expect<T>
Expects that the property Map.Entry.key of the subject of |
|
infix fun <K, V, T : Entry<K, V>> Expect<T>.toEqualKeyValue(keyValuePair: Pair<K, V>): Expect<T>
Expects that the property Map.Entry.key of the subject of |
|
fun <T : Any> Expect<T?>.toEqualNullIfNullGivenElse(assertionCreatorOrNull: (Expect<T>.() -> Unit)?): Expect<T?>
Expects that the subject of |
|
infix fun <T : Any> Expect<T?>.toEqualNullIfNullGivenElse(assertionCreatorOrNull: (Expect<T>.() -> Unit)?): Expect<T?>
Expects that the subject of |
|
fun <T : BigDecimal> Expect<T>.toEqualNumerically(expected: T): Expect<T>
Expects that the subject of |
|
infix fun <T : BigDecimal> Expect<T>.toEqualNumerically(expected: T): Expect<T>
Expects that the subject of |
|
fun Expect<Float>.toEqualWithErrorTolerance(expected: Float, tolerance: Float): Expect<Float>
Expects that the subject of fun Expect<Double>.toEqualWithErrorTolerance(expected: Double, tolerance: Double): Expect<Double>
Expects that the subject of |
|
fun <T : Path> Expect<T>.toExist(): Expect<T>
Expects that the subject of |
|
infix fun <E, T : Iterable<E>> Expect<T>.toHave(elements: elements): Expect<T>
Expects that the subject of infix fun <T : Iterator<*>> Expect<T>.toHave(next: next): Expect<T>
Expects that the subject of infix fun <T : Path> Expect<T>.toHave(directoryEntries: DirectoryEntries): Expect<T>
Expects that the subject of |
|
fun <E, T : Iterable<E>> Expect<T>.toHaveElements(): Expect<T>
Expects that the subject of |
|
infix fun <E, T : Iterable<E>> Expect<T>.toHaveElementsAnd(noDuplicates: noDuplicates): Expect<T>
Expects that the subject of |
|
fun <E : Any, T : Iterable<E?>> Expect<T>.toHaveElementsAndAll(assertionCreatorOrNull: (Expect<E>.() -> Unit)?): Expect<T>
Expects that the subject of |
|
infix fun <E : Any, T : Iterable<E?>> Expect<T>.toHaveElementsAndAll(assertionCreatorOrNull: (Expect<E>.() -> Unit)?): Expect<T>
Expects that the subject of |
|
fun <E : Any, T : Iterable<E?>> Expect<T>.toHaveElementsAndAny(assertionCreatorOrNull: (Expect<E>.() -> Unit)?): Expect<T>
Expects that the subject of |
|
infix fun <E : Any, T : Iterable<E?>> Expect<T>.toHaveElementsAndAny(assertionCreatorOrNull: (Expect<E>.() -> Unit)?): Expect<T>
Expects that the subject of |
|
fun <E, T : Iterable<E>> Expect<T>.toHaveElementsAndNoDuplicates(): Expect<T>
Expects that the subject of |
|
fun <E : Any, T : Iterable<E?>> Expect<T>.toHaveElementsAndNone(assertionCreatorOrNull: (Expect<E>.() -> Unit)?): Expect<T>
Expects that the subject of |
|
infix fun <E : Any, T : Iterable<E?>> Expect<T>.toHaveElementsAndNone(assertionCreatorOrNull: (Expect<E>.() -> Unit)?): Expect<T>
Expects that the subject of |
|
fun <T : Iterator<*>> Expect<T>.toHaveNext(): Expect<T>
Expects that the subject of |
|
fun <T : Collection<*>> Expect<T>.toHaveSize(expected: Int): Expect<T>
Expects that the subject of |
|
infix fun <T : Collection<*>> Expect<T>.toHaveSize(expected: Int): Expect<T>
Expects that the subject of |
|
fun <T : Path> Expect<T>.toHaveTheDirectoryEntries(entry: String, vararg otherEntries: String): Expect<T>
Expects that the subject of |
|
fun <T : Path> Expect<T>.toHaveTheSameBinaryContentAs(targetPath: Path): Expect<T>
Expects that the subject of |
|
infix fun <T : Path> Expect<T>.toHaveTheSameBinaryContentAs(targetPath: Path): Expect<T>
Expects that the subject of |
|
fun <T : Path> Expect<T>.toHaveTheSameTextualContentAs(targetPath: Path, sourceCharset: Charset = Charsets.UTF_8, targetCharset: Charset = Charsets.UTF_8): Expect<T>
Expects that the subject of |
|
infix fun <T : Path> Expect<T>.toHaveTheSameTextualContentAs(targetPath: Path): Expect<T>
Expects that the subject of infix fun <T : Path> Expect<T>.toHaveTheSameTextualContentAs(pathWithEncoding: PathWithEncoding): Expect<T>
Expects that the subject of |
|
fun <T : CharSequence> Expect<T>.toMatch(pattern: Regex): Expect<T>
Expects that the subject of |
|
infix fun <T : CharSequence> Expect<T>.toMatch(pattern: Regex): Expect<T>
Expects that the subject of |
|
fun <T : CharSequence> Expect<T>.toStartWith(expected: CharSequence): Expect<T>
Expects that the subject of fun <T : Path> Expect<T>.toStartWith(expected: Path): Expect<T>
Expects that the subject of |
|
infix fun <T : CharSequence> Expect<T>.toStartWith(expected: CharSequence): Expect<T>
Expects that the subject of infix fun <T : Path> Expect<T>.toStartWith(expected: Path): Expect<T>
Expects that the subject of |
|
fun <TExpected : Throwable> Expect<() -> Any?>.toThrow(): Expect<TExpected>
Expects that the thrown Throwable is a TExpected (the same type or a sub-type). fun <TExpected : Throwable> Expect<() -> Any?>.toThrow(assertionCreator: Expect<TExpected>.() -> Unit): Expect<TExpected>
Expects that the thrown Throwable is a TExpected (the same type or a sub-type) and that it holds all assertions the given assertionCreator creates. |
|
fun <TExpected : Throwable> Expect<() -> Any?>.toThrow(): Expect<TExpected>
Expects that the thrown Throwable is a TExpected (the same type or a sub-type). infix fun <TExpected : Throwable> Expect<() -> Any?>.toThrow(assertionCreator: Expect<TExpected>.() -> Unit): Expect<TExpected>
Expects that the thrown Throwable is a TExpected (the same type or a sub-type) and that it holds all assertions the given assertionCreator creates. |
|
fun <K, V, T : Entry<K, V>> Expect<T>.value(assertionCreator: Expect<V>.() -> Unit): Expect<T>
Expects that the property Map.Entry.value of the subject of |
|
infix fun <K, V, T : Entry<K, V>> Expect<T>.value(assertionCreator: Expect<V>.() -> Unit): Expect<T>
Expects that the property Map.Entry.value of the subject of |
|
fun <K, V, T : Map<out K, V>> Expect<T>.values(assertionCreator: Expect<Collection<V>>.() -> Unit): Expect<T>
Expects that the property Map.keys of the subject of |
|
infix fun <K, V, T : Map<out K, V>> Expect<T>.values(assertionCreator: Expect<Collection<V>>.() -> Unit): Expect<T>
Expects that the property Map.keys of the subject of |
|
fun Expect<LocalDate>.year(assertionCreator: Expect<Int>.() -> Unit): Expect<LocalDate>
Expects that the property LocalDate.yearof the subject of fun Expect<LocalDateTime>.year(assertionCreator: Expect<Int>.() -> Unit): Expect<LocalDateTime>
Expects that the property LocalDateTime.year of the subject of fun Expect<ZonedDateTime>.year(assertionCreator: Expect<Int>.() -> Unit): Expect<ZonedDateTime>
Expects that the property ZonedDateTime.year of the subject of |
|
infix fun Expect<LocalDate>.year(assertionCreator: Expect<Int>.() -> Unit): Expect<LocalDate>
Expects that the property LocalDate.yearof the subject of infix fun Expect<LocalDateTime>.year(assertionCreator: Expect<Int>.() -> Unit): Expect<LocalDateTime>
Expects that the property LocalDateTime.year of the subject of infix fun Expect<ZonedDateTime>.year(assertionCreator: Expect<Int>.() -> Unit): Expect<ZonedDateTime>
Expects that the property ZonedDateTime.year of the subject of |
interface CollectingExpect<T> : Expect<T>
Represents a container for Assertion which is intended to serve as receiver object for lambdas which create Assertions, in which this Expect collects the assertions created this way. |
|
interface DelegatingExpect<T> : Expect<T>
Represents an Expect which passes on appended Assertions to a given Expect. |
|
interface ExpectInternal<T> : Expect<T>, AssertionContainer<T>
Sole purpose of this interface is to hide AssertionContainer from newcomers which usually don't have to deal with this. |
|
interface FeatureExpect<T, R> : Expect<R>
Represents an Expect which results due to a feature extraction from he subject of the expectation. |
|
interface RootExpect<T> : Expect<T>
Represents the root of an Expect chain, intended as extension point for functionality which should only be available on the root. |