TestRunInfo


class TestRunInfo : Parcelable


Represents a parcelable TestRun. Contains all the information for a test run. Each test class or test suite inside a Java test is considered a separate TestRunInfo.

See Android Parcelable.

Summary

Public constructors

Creates an TestRunInfo from an Android Parcel.

TestRunInfo(testRunName: String, testCases: (Mutable)List<TestCaseInfo!>)

Creates a TestRunInfo.

Public functions

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

Public properties

(Mutable)List<TestCaseInfo!>

Test cases within this test run

String

Name of this test run

Constants

CREATOR

const val CREATORParcelable.Creator<TestRunInfo!>!

Public constructors

TestRunInfo

TestRunInfo(source: Parcel)

Creates an TestRunInfo from an Android Parcel.

Parameters
source: Parcel

Android Parcel to read from

TestRunInfo

TestRunInfo(testRunName: String, testCases: (Mutable)List<TestCaseInfo!>)

Creates a TestRunInfo.

Parameters
testRunName: String

Name of this test run. Usually the class containing the tests to be run, (e.g. foo.bar.MyTests)

testCases: (Mutable)List<TestCaseInfo!>

Tests that are part of this test run.

Public functions

describeContents

fun describeContents(): Int

writeToParcel

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

Public properties

testCases

val testCases: (Mutable)List<TestCaseInfo!>

Test cases within this test run

testRunName

val testRunNameString

Name of this test run