Skip to content

Instantly share code, notes, and snippets.

@Malinskiy
Created February 22, 2019 06:07
Show Gist options
  • Save Malinskiy/4a2708ba86276c420a557079ff4fe389 to your computer and use it in GitHub Desktop.
Save Malinskiy/4a2708ba86276c420a557079ff4fe389 to your computer and use it in GitHub Desktop.
Marathon: Device interface
interface Device {
val operatingSystem: OperatingSystem
val serialNumber: String
val model: String
val manufacturer: String
val networkState: NetworkState
val deviceFeatures: Collection<DeviceFeature>
val healthy: Boolean
val abi: String
suspend fun execute(configuration: Configuration,
devicePoolId: DevicePoolId,
testBatch: TestBatch,
deferred: CompletableDeferred<TestBatchResults>,
progressReporter: ProgressReporter)
suspend fun prepare(configuration: Configuration)
fun dispose()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment