android-components / mozilla.components.support.test.rule

Package mozilla.components.support.test.rule

Types

Name Summary
MainCoroutineRule class MainCoroutineRule : TestWatcher
JUnit rule to change Dispatchers.Main in coroutines.

Functions

Name Summary
createTestCoroutinesDispatcher fun createTestCoroutinesDispatcher(): CoroutineDispatcher
Create single threaded dispatcher for test environment.