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

com.avito.report.model.TestStaticDataPackage.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

import com.avito.android.test.annotations.TestCaseBehavior
import com.avito.android.test.annotations.TestCasePriority
import com.avito.test.model.DeviceName
import com.avito.test.model.TestName

public data class TestStaticDataPackage(
    override val name: TestName,
    override val device: DeviceName,
    override val description: String?,
    override val testCaseId: Int?,
    override val dataSetNumber: Int?,
    override val externalId: String?,
    override val featureIds: List,
    override val tagIds: List,
    override val priority: TestCasePriority?,
    override val behavior: TestCaseBehavior?,
    override val kind: Kind,
    override val flakiness: Flakiness
) : TestStaticData {

    override fun equals(other: Any?): Boolean {
        if (this === other) return true
        if (other !is TestStaticData) return false

        if (name != other.name) return false
        if (device != other.device) return false

        return true
    }

    override fun hashCode(): Int {
        var result = name.hashCode()
        result = 31 * result + device.hashCode()
        return result
    }

    // for test fixtures
    public companion object
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy