apollo-kotlin
3.8.2
apple
common
js
jvm
apollo-testing-support
/
com.apollographql.apollo3.testing.internal
Package
com.
apollographql.
apollo3.
testing.
internal
Functions
Functions
run
Test
Link copied to clipboard
apple
common
js
jvm
actual
fun
runTest
(
skipDelays
:
Boolean
,
context
:
CoroutineContext
,
before
:
suspend
CoroutineScope
.
(
)
->
Unit
,
after
:
suspend
CoroutineScope
.
(
)
->
Unit
,
block
:
suspend
CoroutineScope
.
(
)
->
Unit
)
Content copied to clipboard
expect
fun
runTest
(
skipDelays
:
Boolean
=
false
,
context
:
CoroutineContext
=
EmptyCoroutineContext
,
before
:
suspend
CoroutineScope
.
(
)
->
Unit
=
{}
,
after
:
suspend
CoroutineScope
.
(
)
->
Unit
=
{}
,
block
:
suspend
CoroutineScope
.
(
)
->
Unit
)
Content copied to clipboard
Utility method that executes the given
block
with optional
before
and
after
blocks.
actual
fun
runTest
(
skipDelays
:
Boolean
,
context
:
CoroutineContext
,
before
:
suspend
CoroutineScope
.
(
)
->
Unit
,
after
:
suspend
CoroutineScope
.
(
)
->
Unit
,
block
:
suspend
CoroutineScope
.
(
)
->
Unit
)
Content copied to clipboard
actual
fun
runTest
(
skipDelays
:
Boolean
,
context
:
CoroutineContext
,
before
:
suspend
CoroutineScope
.
(
)
->
Unit
,
after
:
suspend
CoroutineScope
.
(
)
->
Unit
,
block
:
suspend
CoroutineScope
.
(
)
->
Unit
)
Content copied to clipboard