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

commonMain.com.copperleaf.ballast.test.internal.BallastIsolatedScenarioScopeImpl.kt Maven / Gradle / Ivy

There is a newer version: 4.2.1
Show newest version
package com.copperleaf.ballast.test.internal

import com.copperleaf.ballast.BallastLogger
import com.copperleaf.ballast.test.BallastIsolatedScenarioScope
import com.copperleaf.ballast.test.TestResults
import kotlin.time.Duration

internal class BallastIsolatedScenarioScopeImpl(
    internal val delegate: BallastScenarioScopeImpl
) : BallastIsolatedScenarioScope {
    override val name: String
        get() = delegate.name

    override fun solo() {
        delegate.solo()
    }

    override fun skip() {
        delegate.skip()
    }

    override fun logger(logger: (String) -> BallastLogger) {
        delegate.logger(logger)
    }

    override fun timeout(timeout: () -> Duration) {
        delegate.timeout(timeout)
    }

    override fun given(block: () -> State) {
        delegate.given(block)
    }

    override fun resultsIn(block: TestResults.() -> Unit) {
        delegate.resultsIn(block)
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy