BaseKoinUIThreadViewModelTest
abstract class BaseKoinUIThreadViewModelTest<Configuration, Context : BaseKoinUIThreadViewModelTest.KoinViewModelTestContext<ViewModel>, ViewModel : LifecycleViewModel> : BaseKoinUIThreadTest<Configuration, 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>) : BaseKoinUIThreadTest.KoinTestContext, BaseUIThreadViewModelTest.ViewModelTestContext<ViewModel>
Properties
Link copied to clipboard
abstract val createTestContextWithConfiguration: suspend (configuration: Configuration, scope: CoroutineScope) -> Context
Link copied to clipboard
open override val onFailedToCreateTestContextWithConfiguration: (configuration: Configuration) -> Unit
Functions
Link copied to clipboard
Link copied to clipboard
fun testOnUIThread(configuration: Configuration, cancelScopeAfterTest: Boolean, block: suspend Context.() -> Unit): TestResult