com.avito.reportviewer.internal.model.Incident.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of report-viewer Show documentation
Show all versions of report-viewer Show documentation
Collection of infrastructure libraries and gradle plugins of Avito Android project
package com.avito.reportviewer.internal.model
import com.avito.report.model.Entry
import com.google.gson.annotations.SerializedName
internal data class Incident(
@SerializedName("type") val type: Type,
@SerializedName("timestamp") val timestamp: Long,
@SerializedName("trace") val trace: List,
@SerializedName("chain") val chain: List,
@SerializedName("entry_list") val entryList: List
) {
enum class Type {
/**
* abnormal test execution
*/
@SerializedName("error")
INFRASTRUCTURE_ERROR,
/**
* assertions not being fulfilled
*/
@SerializedName("failure")
ASSERTION_FAILED
}
// for test fixtures
companion object
}