ReactiveState
Toggle table of contents
6.0.0-preview.9
android
Platform filter
android
Switch theme
Search in API
ReactiveState
reactivestate-android-test
/
com.ensody.reactivestate.test
/
AndroidCoroutineTest
Android
Coroutine
Test
open
class
AndroidCoroutineTest
:
CoroutineTest
A
CoroutineTest
that also sets up an
InstantTaskExecutorRule
.
Members
Constructors
Android
Coroutine
Test
Link copied to clipboard
constructor
(
)
Properties
attached
Disposables
Link copied to clipboard
open
override
val
attachedDisposables
:
DisposableGroup
instant
Task
Executor
Rule
Link copied to clipboard
val
instantTaskExecutorRule
:
InstantTaskExecutorRule
test
Dispatcher
Link copied to clipboard
val
testDispatcher
:
TestDispatcher
test
Scope
Link copied to clipboard
val
testScope
:
TestScope
Functions
collect
Flow
Link copied to clipboard
fun
<
T
>
TestScope
.
collectFlow
(
flow
:
Flow
<
T
>
,
collector
:
suspend
(
T
)
->
Unit
)
dispose
Link copied to clipboard
open
override
fun
dispose
(
)
enter
Coroutine
Test
Link copied to clipboard
fun
enterCoroutineTest
(
)
exit
Coroutine
Test
Link copied to clipboard
fun
exitCoroutineTest
(
)
run
Test
Link copied to clipboard
open
override
fun
runTest
(
block
:
suspend
TestScope
.
(
)
->
Unit
)
:
TestResult