com.malinskiy.marathon.device.DeviceFeature.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.device
import com.fasterxml.jackson.annotation.JsonCreator
enum class DeviceFeature {
VIDEO,
SCREENSHOT;
companion object {
@JvmStatic
@JsonCreator
fun fromString(key: String?): DeviceFeature? {
return key?.let {
DeviceFeature.valueOf(it.toUpperCase())
}
}
}
}