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

com.avito.reportviewer.internal.model.Incident.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.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
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy