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

com.avito.android.test.annotations.TestCasePriority.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.android.test.annotations

// todo move to report-viewer module (avito specific)
public enum class TestCasePriority(public val tmsValue: Int) {
    CRITICAL(4), MAJOR(3), NORMAL(2), MINOR(1);

    public companion object {

        public fun fromId(tmsId: Int): TestCasePriority? = values().find { it.tmsValue == tmsId }

        public fun fromName(name: String): TestCasePriority? = values().find { it.name == name.toUpperCase() }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy