TestRunEventWithTestCase


public abstract class TestRunEventWithTestCase extends TestRunEvent

Known direct subclasses
TestFailureEvent

Denotes that the test ended with a TEST_FAILURE.

TestFinishedEvent

Denotes that the test ended with a TEST_FINISHED.

TestIgnoredEvent

Denotes that the test ended with a TEST_IGNORED.

TestRunStartedEvent

Denotes that the test ended with a TEST_RUN_STARTED event.

TestStartedEvent

Denotes that the test ended with a TEST_STARTED.

Known indirect subclasses
TestAssumptionFailureEvent

Denotes that the test ended with a TEST_ASSUMPTION_FAILURE.


Represents a TestRunEvent with an associated TestCaseInfo.

Summary

Public fields

final @NonNull TestCaseInfo

The TestCaseInfo this event is associated with.

Public methods

void
writeToParcel(Parcel parcel, int i)

Inherited methods

From android.os.Parcelable
abstract int
abstract void
writeToParcel(Parcel p, int p1)
From androidx.test.services.events.run.TestRunEvent

Public fields

testCase

public final @NonNull TestCaseInfo testCase

The TestCaseInfo this event is associated with.

Public methods

writeToParcel

public void writeToParcel(Parcel parcel, int i)