com.avito.report.model.Incident.kt Maven / Gradle / Ivy
package com.avito.report.model
public data class Incident(
val type: Type,
val timestamp: Long,
val trace: List,
val chain: List,
val entryList: List
) {
public val errorMessage: String = chain.firstOrNull()?.message ?: "Unknown"
public enum class Type {
/**
* abnormal test execution
*/
INFRASTRUCTURE_ERROR,
/**
* assertions not being fulfilled
*/
ASSERTION_FAILED
}
// for test fixtures
public companion object
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy