class TestFlow


Represents a gallery of the test output metadata. e.g. the screens visited, and actions performed, in an Espresso test.

Summary

Public constructors

Public functions

Unit

Adds a ScreenData object to the graph.

Unit
addScreen(screen: ScreenData, action: ActionData)

Adds a ScreenData object to the graph with existing ActionData.

ActionData?
getEdge(index: Int)

Gets the ActionData that has a certain index.

Int
Unit

Resets each ScreenData object.

Public properties

ScreenData?
ScreenData?

Public constructors

TestFlow

TestFlow()

Public functions

addScreen

fun addScreen(screen: ScreenData): Unit

Adds a ScreenData object to the graph.

addScreen

fun addScreen(screen: ScreenData, action: ActionData): Unit

Adds a ScreenData object to the graph with existing ActionData.

getEdge

fun getEdge(index: Int): ActionData?

Gets the ActionData that has a certain index. Null if not found.

getSize

fun getSize(): Int

resetTraversal

fun resetTraversal(): Unit

Resets each ScreenData object.

Public properties

head

var headScreenData?

tail

var tailScreenData?