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

com.malinskiy.marathon.config.vendor.android.TestParserConfiguration.kt Maven / Gradle / Ivy

package com.malinskiy.marathon.config.vendor.android

import com.fasterxml.jackson.annotation.JsonSubTypes
import com.fasterxml.jackson.annotation.JsonTypeInfo

@JsonTypeInfo(
    use = JsonTypeInfo.Id.NAME,
    include = JsonTypeInfo.As.PROPERTY,
    property = "type"
)
@JsonSubTypes(
    JsonSubTypes.Type(value = TestParserConfiguration.LocalTestParserConfiguration::class, name = "local"),
    JsonSubTypes.Type(value = TestParserConfiguration.RemoteTestParserConfiguration::class, name = "remote"),
)
sealed class TestParserConfiguration {
    object LocalTestParserConfiguration : TestParserConfiguration()
    data class RemoteTestParserConfiguration(
        val instrumentationArgs: Map = emptyMap(),
    ) : TestParserConfiguration()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy