com.malinskiy.marathon.execution.device.DeviceAction.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Cross-platform test runner
package com.malinskiy.marathon.execution.device
import com.malinskiy.marathon.execution.TestBatchResults
import com.malinskiy.marathon.test.TestBatch
import kotlinx.coroutines.CompletableDeferred
sealed class DeviceAction {
object Initialize : DeviceAction()
data class Terminate(val batch: TestBatch? = null) : DeviceAction()
data class ExecuteBatch(val batch: TestBatch, val result: CompletableDeferred) : DeviceAction()
data class NotifyIsReady(val result: CompletableDeferred? = null) : DeviceAction()
}