All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jvmMain.tech.skot.core.components.SKWebViewViewMock.kt Maven / Gradle / Ivy

The newest version!
package tech.skot.core.components

class SKWebViewViewMock(config: SKWebViewVC.Config,
                        launchInitial: SKWebViewVC.Launch?): SKComponentViewMock(), SKWebViewVC {
    override val config: SKWebViewVC.Config = config
    override var launch: SKWebViewVC.Launch? = launchInitial
    override var goBack: SKWebViewVC.BackRequest? = null

    var requestGoForwardCount = 0
    override fun requestGoForward() {
        requestGoForwardCount++
    }

    var requestReloadCount = 0
    override fun requestReload() {
        requestReloadCount++
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy