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

com.avito.report.model.Kind.kt Maven / Gradle / Ivy

Go to download

Collection of infrastructure libraries and gradle plugins of Avito Android project

There is a newer version: 2023.22
Show newest version
package com.avito.report.model

/**
 * https://avito-tech.github.io/avito-android/docs/test/testcaseincode/
 * todo move to report-viewer module (avito specific)
 * todo extract to public api module (used in avito build scripts)
 */
public enum class Kind(public val tmsId: String) {
    UNIT("unit"),
    UI_COMPONENT("ui-component"),
    INTEGRATION("integration"),
    E2E("e2e"),

    UI_COMPONENT_STUB("ui-component-stub"),
    E2E_STUB("e2e-stub"),
    MANUAL("manual"),

    /**
     * 'null object'
     * for backward compatibility and unexpected cases
     */
    UNKNOWN("unknown");

    public companion object {
        public fun fromTmsId(tmsId: String): Kind? = values().find { it.tmsId == tmsId }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy