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

com.malinskiy.marathon.execution.device.DeviceAction.kt Maven / Gradle / Ivy

There is a newer version: 0.9.1
Show newest version
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()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy