RegularTestContainerHost

class RegularTestContainerHost<STATE : Any, SIDE_EFFECT : Any, T : ContainerHost<STATE, SIDE_EFFECT>>(actual: T, initialState: STATE, runOnCreate: Boolean) : TestContainerHost<STATE, SIDE_EFFECT, T>

Functions

assert
Link copied to clipboard
common
fun assert(initialState: STATE, timeoutMillis: Long = 1000L, block: OrbitVerification<STATE, SIDE_EFFECT>.() -> Unit = {})
Perform assertions on your ContainerHost.
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
testIntent
Link copied to clipboard
common
fun testIntent(action: T.() -> Unit): TestContainerHost<STATE, SIDE_EFFECT, T>
Invoke an intent on the ContainerHost under test.
toString
Link copied to clipboard
common
open fun toString(): String

Properties

sideEffectObserver
Link copied to clipboard
common
val sideEffectObserver: TestFlowObserver<SIDE_EFFECT>
stateObserver
Link copied to clipboard
common
val stateObserver: TestFlowObserver<STATE>

Sources

(source)
Link copied to clipboard