FailureInfo


class FailureInfo : Parcelable


Denotes an android test failure, has details of the failure including stack trace / type and message.

Summary

Public constructors

Creates a FailureInfo from android Parcel.

FailureInfo(
    failureMessage: String?,
    failureType: String?,
    stackTrace: String,
    testCase: TestCaseInfo
)

Constructor to create a FailureInfo.

Public functions

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

Public properties

String?

The failure message associated with the failure.

String?

The type of failure exception.

String

The stack trace associated with the failure.

TestCaseInfo

The test case that caused the failure.

Constants

CREATOR

const val CREATORParcelable.Creator<FailureInfo!>!

Public constructors

FailureInfo

FailureInfo(source: Parcel)

Creates a FailureInfo from android Parcel.

Parameters
source: Parcel

the android Parcel.

FailureInfo

FailureInfo(
    failureMessage: String?,
    failureType: String?,
    stackTrace: String,
    testCase: TestCaseInfo
)

Constructor to create a FailureInfo.

Public functions

describeContents

fun describeContents(): Int

writeToParcel

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

Public properties

failureMessage

val failureMessageString?

The failure message associated with the failure.

failureType

val failureTypeString?

The type of failure exception. E.g NullPointerException.

stackTrace

val stackTraceString

The stack trace associated with the failure.

testCase

val testCaseTestCaseInfo

The test case that caused the failure.