TestRunFinishedEvent


public class TestRunFinishedEvent extends TestPlatformEvent


This event indicates that all tests in a test run are finished running. No more events should be sent after this. This event should always be emitted.

See also
TestRunStartedEvent

to begin a test run.

Summary

Public fields

final TestStatus
final TestRunInfo
final TimeStamp

Public constructors

TestRunFinishedEvent(
    @NonNull TestRunInfo testRun,
    @NonNull TestStatus runStatus,
    @NonNull TimeStamp timeStamp
)

Creates a TestRunFinishedEvent.

Public methods

void
writeToParcel(Parcel parcel, int i)

Public fields

runStatus

public final TestStatus runStatus

testRun

public final TestRunInfo testRun

timeStamp

public final TimeStamp timeStamp

Public constructors

TestRunFinishedEvent

public TestRunFinishedEvent(
    @NonNull TestRunInfo testRun,
    @NonNull TestStatus runStatus,
    @NonNull TimeStamp timeStamp
)

Creates a TestRunFinishedEvent.

Parameters
@NonNull TestRunInfo testRun

the test run that finished.

@NonNull TestStatus runStatus

the overall status of the test run.

@NonNull TimeStamp timeStamp

the time that this test run finished.

Public methods

writeToParcel

public void writeToParcel(Parcel parcel, int i)