TestRunFinishedEvent


public class TestRunFinishedEvent extends TestRunEvent


Denotes that the test ended with a TEST_RUN_FINISHED event.

Summary

Public fields

final int
final @NonNull List<FailureInfo>
final int
final long

Public constructors

TestRunFinishedEvent(
    int count,
    int ignoreCount,
    long runTime,
    @NonNull List<FailureInfo> failures
)

Creates a TestRunFinishedEvent.

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

count

public final int count

failures

public final @NonNull List<FailureInfofailures

ignoreCount

public final int ignoreCount

runTime

public final long runTime

Public constructors

TestRunFinishedEvent

public TestRunFinishedEvent(
    int count,
    int ignoreCount,
    long runTime,
    @NonNull List<FailureInfo> failures
)

Creates a TestRunFinishedEvent.

Parameters
int count

total number of tests run

int ignoreCount

the number of tests ignored during the run

long runTime

the number of milliseconds it took to run the entire suite to run

@NonNull List<FailureInfo> failures

the tests that failed

Public methods

writeToParcel

public void writeToParcel(Parcel parcel, int i)