TestStatus


public final class TestStatus implements Parcelable


The final status of a Test Case or Test Run.

Summary

Nested types

public enum TestStatus.Status

Valid test statuses for individual test cases and test runs.

Constants

static final Parcelable.Creator<TestStatus>

Public constructors

Creates a TestStatus from an Android Parcel.

Creates a parcelable wrapper TestStatus for Status.

Public methods

int
void
writeToParcel(Parcel parcel, int i)

Inherited Constants

From android.os.Parcelable
static final int
static final int

Constants

CREATOR

public static final Parcelable.Creator<TestStatusCREATOR

Public fields

status

public @NonNull TestStatus.Status status

Public constructors

TestStatus

public TestStatus(@NonNull Parcel source)

Creates a TestStatus from an Android Parcel.

Parameters
@NonNull Parcel source

Android Parcel to read from

TestStatus

public TestStatus(@NonNull TestStatus.Status status)

Creates a parcelable wrapper TestStatus for Status.

Parameters
@NonNull TestStatus.Status status

the chosen status

Public methods

describeContents

public int describeContents()

writeToParcel

public void writeToParcel(Parcel parcel, int i)