Package-level declarations

Types

Link copied to clipboard
expect interface BasicExpectation<out E>
actual interface BasicExpectation<out E>
actual interface BasicExpectation<out E>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
expect annotation class JsIgnore
actual typealias JsIgnore = Ignore
Link copied to clipboard
Link copied to clipboard
expect annotation class NativeIgnore
actual typealias NativeIgnore = <Error class: unknown class>

Functions

Link copied to clipboard
fun <E> expect(value: E): BasicExpectation<E>
fun <E> expect(vararg value: E): CollectionExpectation<E>
fun <E> expect(collection: Collection<E>?): CollectionExpectation<E>
inline fun <E> expect(value: E, builder: BasicExpectation<E>.() -> Unit): BasicExpectation<E>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <E> expectMany(value: Collection<E>, builder: CollectionExpectation<E>.() -> Unit): CollectionExpectation<E>
Link copied to clipboard
external fun <T> require(module: String): T
Link copied to clipboard
Link copied to clipboard
inline fun <E> BasicExpectation<Any?>.toBe(): E
Link copied to clipboard
inline fun <E> BasicExpectation<E>.toBeEqualTo(expected: E, message: String? = null)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <E> BasicExpectation<Any?>.toBeInstanceOf(message: String? = null): BasicExpectation<E>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> BasicExpectation<T>.toBeUnequalTo(expected: T, message: String? = null)
Link copied to clipboard
inline fun BasicExpectation<String?>.toContain(other: String, ignoreCase: Boolean = true)
Link copied to clipboard