TestRunStartedEvent


public class TestRunStartedEvent extends TestPlatformEvent


This event should be sent once at the beginning of a test run to signal that more events will follow. This should always be the first event that is sent - before any tests are actually run.

See also
TestRunFinishedEvent

to report that a test run is finished.

TestCaseStartedEvent

to report individual test cases have begun.

Summary

Public fields

final TestRunInfo
final TimeStamp

Public constructors

Creates a TestRunStartedEvent from an Parcel.

TestRunStartedEvent(
    @NonNull TestRunInfo testRun,
    @NonNull TimeStamp timeStamp
)

Creates a TestRunStartedEvent.

Public methods

void
writeToParcel(Parcel parcel, int i)

Public fields

testRun

public final TestRunInfo testRun

timeStamp

public final TimeStamp timeStamp

Public constructors

TestRunStartedEvent

public TestRunStartedEvent(Parcel source)

Creates a TestRunStartedEvent from an Parcel.

Parameters
Parcel source

Parcel to create the TestRunStartedEvent from.

TestRunStartedEvent

public TestRunStartedEvent(
    @NonNull TestRunInfo testRun,
    @NonNull TimeStamp timeStamp
)

Creates a TestRunStartedEvent.

Parameters
@NonNull TestRunInfo testRun

the test run that started.

@NonNull TimeStamp timeStamp

the time this test run started.

Public methods

writeToParcel

public void writeToParcel(Parcel parcel, int i)