{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
class OrchestrationListenerManager
Container class for all orchestration listeners
Nested types |
|
|---|---|
OrchestrationListenerManager.TestEvent |
Message types sent from the remote instrumentation |
Constants |
|
|---|---|
const String! |
|
Public constructors |
|
|---|---|
OrchestrationListenerManager(instrumentation: Instrumentation!) |
|
Public functions |
|
|---|---|
Unit |
addListener(listener: OrchestrationRunListener!) |
Unit |
handleNotification(bundle: Bundle!)Takes a test message and parses it out for all the listeners. |
Unit |
orchestrationRunStarted(testCount: Int)To be called after test collection, before the first test begins. |
Unit |
testProcessFinished(outputFile: String!)To be called when the test process terminates, with the result from standard out. |
Unit |
testProcessStarted(description: ParcelableDescription!)To be called when the test process begins |
fun handleNotification(bundle: Bundle!): Unit
Takes a test message and parses it out for all the listeners.
| Parameters | |
|---|---|
bundle: Bundle! |
A bundle containing a key describing the type of message, and a bundle with the appropriate parcelable imitation of aJ Unit object. |
fun orchestrationRunStarted(testCount: Int): Unit
To be called after test collection, before the first test begins.
fun testProcessFinished(outputFile: String!): Unit
To be called when the test process terminates, with the result from standard out.
fun testProcessStarted(description: ParcelableDescription!): Unit
To be called when the test process begins