BlocInitializerExecutionTests

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun test initializer with dispatch and delay 1(): <Error class: unknown class>

Test whether the bloc waits for the initializer to finish before transitioning to started which will start processing directly dispatched actions (not by the initializer).

fun test initializer with dispatch and delay 2(): <Error class: unknown class>

Test whether the bloc waits for the initializer to finish before transitioning to started which will start processing directly dispatched actions (not by the initializer).

fun test initializer with dispatch to reducer(): <Error class: unknown class>

Test regular initializer with dispatch to reducer

Link copied to clipboard
fun test initializer with dispatch to thunk(): <Error class: unknown class>

Test regular initializer that triggers a thunk

fun test initializer with reduce and dispatch to reducer(): <Error class: unknown class>
fun test long-running initializer's execution order(): <Error class: unknown class>

Test whether long running initializers still run before everything else

Test whether long running initializers still run before everything else, now for MVVM+ style reducers and thunks

Link copied to clipboard
fun test without initializer(): <Error class: unknown class>
Link copied to clipboard
fun testEarlyBird(): <Error class: unknown class>

Test whether an action is queued if the initializer is already done