IviTestCase

abstract class IviTestCase : TtTestCase

Base class for unit tests that depend on the TomTom Digital Cockpit platform.

Constructors

Link copied to clipboard
fun IviTestCase()

Inherited properties

Link copied to clipboard
var coroutinesTestRule: CoroutineTestRule
Link copied to clipboard
val watcher: TestRule

Functions

Link copied to clipboard
fun clearTraceEventConsumers()

Clears the trace event consumers after each test run if any were added using addTraceEventConsumer.

Inherited functions

Link copied to clipboard
fun cleanupMocks()
Link copied to clipboard
fun configure()
Link copied to clipboard
fun <T> LiveData<T>.getOrAwaitValue(time: Long, timeUnit: TimeUnit): T
Link copied to clipboard
fun mockMainScope(): TestCoroutineScope
Link copied to clipboard
fun onMainLooper(operation: () -> Unit)