BasicExpectation

expect interface BasicExpectation<out E>

Deprecated

use kommander instead

Parameters

E

Expected Type

Samples

Inheritors

actual interface BasicExpectation<out E>

Deprecated

use kommander instead

Parameters

E

Expected Type

Samples

actual interface BasicExpectation<out E>

Deprecated

use kommander instead

Parameters

E

Expected Type

Samples

Functions

Link copied to clipboard
expect abstract fun toBe(expected: @UnsafeVariance E)
expect abstract fun toBe(expected: @UnsafeVariance E, message: String)
actual abstract fun toBe(expected: E)
actual abstract fun toBe(expected: E, message: String)
actual abstract fun toBe(expected: E)
actual abstract fun toBe(expected: E, message: String)
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
open fun toBeInstanceOf(clazz: Class<out Any?>)
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
expect abstract fun toBeNonNull()
expect abstract fun toBeNonNull(message: String)
actual abstract fun toBeNonNull()
actual abstract fun toBeNonNull(message: String)
actual abstract fun toBeNonNull()
actual abstract fun toBeNonNull(message: String)
Link copied to clipboard
expect abstract fun toBeNull()
expect abstract fun toBeNull(message: String)
actual abstract fun toBeNull()
actual abstract fun toBeNull(message: String)
actual abstract fun toBeNull()
actual abstract fun toBeNull(message: String)
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)

Properties

Link copied to clipboard
expect abstract val value: E
actual abstract val value: E
actual abstract val value: E