{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
public final class OrchestrationListenerManager
Container class for all orchestration listeners
Nested types |
|
|---|---|
OrchestrationListenerManager.TestEvent |
Message types sent from the remote instrumentation |
Constants |
|
|---|---|
static final String |
|
Public constructors |
|
|---|---|
OrchestrationListenerManager(Instrumentation instrumentation) |
|
Public methods |
|
|---|---|
void |
addListener(OrchestrationRunListener listener) |
void |
handleNotification(Bundle bundle)Takes a test message and parses it out for all the listeners. |
void |
orchestrationRunStarted(int testCount)To be called after test collection, before the first test begins. |
void |
testProcessFinished(String outputFile)To be called when the test process terminates, with the result from standard out. |
void |
testProcessStarted(ParcelableDescription description)To be called when the test process begins |
public void handleNotification(Bundle bundle)
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. |
public void orchestrationRunStarted(int testCount)
To be called after test collection, before the first test begins.
public void testProcessFinished(String outputFile)
To be called when the test process terminates, with the result from standard out.
public void testProcessStarted(ParcelableDescription description)
To be called when the test process begins