Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val createTestContext: suspend (CoroutineScope) -> UIThreadViewModelTest.ViewModelTestContext<ViewModel>
Link copied to clipboard
open override val createTestContextWithConfiguration: suspend (configuration: Unit, scope: CoroutineScope) -> UIThreadViewModelTest.ViewModelTestContext<ViewModel>

Functions

Link copied to clipboard
expect open fun afterTest()
Link copied to clipboard
expect open fun beforeTest()
Link copied to clipboard
abstract fun createViewModel(): ViewModel
Link copied to clipboard
fun testOnUIThread(configuration: Unit, cancelScopeAfterTest: Boolean, block: suspend UIThreadViewModelTest.ViewModelTestContext<ViewModel>.() -> Unit)
fun testOnUIThread(cancelScopeAfterTest: Boolean, block: suspend UIThreadViewModelTest.ViewModelTestContext<ViewModel>.() -> Unit)