TestDiscoveryErrorEvent


public class TestDiscoveryErrorEvent extends TestDiscoveryEvent


This event is sent when an error is encountered during test discovery. Multiple s may be reported. This event does not mean discovery has finished.

Summary

Public fields

final @NonNull ErrorInfo
final @NonNull TimeStamp

Public constructors

TestDiscoveryErrorEvent(
    @NonNull ErrorInfo error,
    @NonNull TimeStamp timeStamp
)

Constructor to create TestDiscoveryErrorEvent.

Public methods

void
writeToParcel(Parcel parcel, int i)

Public fields

error

public final @NonNull ErrorInfo error

timeStamp

public final @NonNull TimeStamp timeStamp

Public constructors

TestDiscoveryErrorEvent

public TestDiscoveryErrorEvent(
    @NonNull ErrorInfo error,
    @NonNull TimeStamp timeStamp
)

Constructor to create TestDiscoveryErrorEvent.

Parameters
@NonNull ErrorInfo error

the error that occurred.

@NonNull TimeStamp timeStamp

the time when this error occurred.

Public methods

writeToParcel

public void writeToParcel(Parcel parcel, int i)