TTDC
platform_tools_api_testing_testcaselegacy
/
com.tomtom.ivi.platform.tools.api.testing.testcase
/
CoroutineTestRule
Coroutine
Test
Rule
@
ExperimentalCoroutinesApi
class
CoroutineTestRule
:
ResourceRule
Constructors
Functions
Inherited functions
Properties
Constructors
Coroutine
Test
Rule
Link copied to clipboard
fun
CoroutineTestRule
(
)
Properties
test
Dispatcher
Link copied to clipboard
val
testDispatcher
:
TestCoroutineDispatcher
Functions
mock
Main
Scope
Link copied to clipboard
fun
mockMainScope
(
)
:
CoroutineScope
Helper function for mocking
MainScope
and use
TestCoroutineScope
as
CoroutineScope
.
Inherited functions
apply
Link copied to clipboard
open
override
fun
apply
(
baseStatement
:
Statement
,
description
:
Description
)
:
Statement