TestCaseErrorEvent


class TestCaseErrorEvent : TestPlatformEvent


This event is sent when an error is encountered while a test case is running. This does not necessarily mean that the test case has failed - not all exceptions are considered fatal.

See also
TestCaseFinishedEvent

to signal an individual test case as completed.

TestRunErrorEvent

to signal errors that are not able to be attributed to an individual test case.

Summary

Public constructors

TestCaseErrorEvent(
    testCase: TestCaseInfo,
    error: ErrorInfo,
    timeStamp: TimeStamp
)

Constructor to create TestCaseErrorEvent.

Public functions

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

Public constructors

TestCaseErrorEvent

TestCaseErrorEvent(
    testCase: TestCaseInfo,
    error: ErrorInfo,
    timeStamp: TimeStamp
)

Constructor to create TestCaseErrorEvent.

Parameters
testCase: TestCaseInfo

the test case that should be associated with this error.

error: ErrorInfo

details of the error that was encountered.

timeStamp: TimeStamp

time at which this error was encountered.

Public functions

writeToParcel

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

Public properties

error

val errorErrorInfo

testCase

val testCaseTestCaseInfo

timeStamp

val timeStampTimeStamp