android-components / mozilla.components.support.test / KArgumentCaptor

KArgumentCaptor

class KArgumentCaptor<out T> (source)

Constructors

Name Summary
<init> KArgumentCaptor(captor: ArgumentCaptor<T>, tClass: KClass<*>)

Properties

Name Summary
allValues val allValues: List<T>
value val value: T
The first captured value of the argument.

Functions

Name Summary
capture fun capture(): T

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.