jvmMain.tech.skot.core.components.SKWebViewViewMock.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of viewmodelTests Show documentation
Show all versions of viewmodelTests Show documentation
viewmodelTests description
package tech.skot.core.components
class SKWebViewViewMock(config: SKWebViewVC.Config,
openUrlInitial: SKWebViewVC.OpenUrl?): SKComponentViewMock(), SKWebViewVC {
override val config: SKWebViewVC.Config = config
override var openUrl: SKWebViewVC.OpenUrl? = openUrlInitial
override var goBack: SKWebViewVC.BackRequest? = null
var requestGoForwardCount = 0
override fun requestGoForward() {
requestGoForwardCount++
}
var requestReloadCount = 0
override fun requestReload() {
requestReloadCount++
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy