Suspending Test Container Host
class SuspendingTestContainerHost<STATE : Any, SIDE_EFFECT : Any, CONTAINER_HOST : ContainerHost<STATE, SIDE_EFFECT>>(actual: CONTAINER_HOST, initialState: STATE, isolateFlow: Boolean) : TestContainerHost<STATE, SIDE_EFFECT, CONTAINER_HOST>
Content copied to clipboard
Functions
assert
Link copied to clipboard
fun assert(initialState: STATE, timeoutMillis: Long = 1000L, block: OrbitVerification<STATE, SIDE_EFFECT>.() -> Unit = {})
Content copied to clipboard
runOnCreate
Link copied to clipboard
suspend fun runOnCreate(): SuspendingTestContainerHost<STATE, SIDE_EFFECT, CONTAINER_HOST>
Content copied to clipboard
testIntent
Link copied to clipboard
suspend fun testIntent(action: CONTAINER_HOST.() -> Unit): SuspendingTestContainerHost<STATE, SIDE_EFFECT, CONTAINER_HOST>
Content copied to clipboard
Properties
Sources
(source)
Link copied to clipboard