TestRunErrorEvent


class TestRunErrorEvent : TestPlatformEvent


This event is sent when an error is encountered in a test run but cannot be attributed to any specific test case. Multiple TestRunErrorEvents may be reported. This event does not mean the test run has finished.

See also
TestCaseErrorEvent

for an event regarding errors for a specific test.

TestRunFinishedEvent

to mark the test run as finished.

Summary

Public constructors

TestRunErrorEvent(
    testRun: TestRunInfo,
    error: ErrorInfo,
    timeStamp: TimeStamp
)

Constructor to create TestRunErrorEvent.

Public functions

Unit
writeToParcel(parcel: Parcel!, i: Int)

Public constructors

TestRunErrorEvent

TestRunErrorEvent(
    testRun: TestRunInfo,
    error: ErrorInfo,
    timeStamp: TimeStamp
)

Constructor to create TestRunErrorEvent.

Parameters
testRun: TestRunInfo

the test run this error should be attributed to.

error: ErrorInfo

the error that occurred.

timeStamp: TimeStamp

the time when this error occurred.

Public functions

writeToParcel

fun writeToParcel(parcel: Parcel!, i: Int): Unit

Public properties

error

val errorErrorInfo

testRun

val testRunTestRunInfo

timeStamp

val timeStampTimeStamp