KoinUIThreadViewModelTest
abstract class KoinUIThreadViewModelTest<Context : KoinUIThreadViewModelTest.KoinViewModelTestContext<ViewModel>, ViewModel : LifecycleViewModel> : KoinUIThreadTest<Context>
Deprecated
This feature has been deprecated. It is recommended to use Compose Multiplatform instead.
Types
Link copied to clipboard
abstract class KoinViewModelTestContext<ViewModel : LifecycleViewModel>(appDeclaration: KoinAppDeclaration? = null, koinModules: List<Module>) : KoinUIThreadTest.KoinTestContext, UIThreadViewModelTest.ViewModelTestContext<ViewModel>
Properties
Link copied to clipboard
Link copied to clipboard
open override val createTestContextWithConfiguration: suspend (configuration: Unit, scope: CoroutineScope) -> Context
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
fun testOnUIThread(configuration: Unit, cancelScopeAfterTest: Boolean, block: suspend Context.() -> Unit): TestResult
fun testOnUIThread(cancelScopeAfterTest: Boolean = false, block: suspend Context.() -> Unit): TestResult