ITestInvocation
public
interface
ITestInvocation
com.android.tradefed.invoker.ITestInvocation |
Handles one TradeFederation test invocation.
Summary
Public methods | |
---|---|
abstract
void
|
invoke(IInvocationContext metadata, IConfiguration config, IRescheduler rescheduler, ITestInvocationListener... extraListeners)
Perform the test invocation. |
default
void
|
notifyInvocationStopped()
Notify the |
Public methods
invoke
public abstract void invoke (IInvocationContext metadata, IConfiguration config, IRescheduler rescheduler, ITestInvocationListener... extraListeners)
Perform the test invocation.
Parameters | |
---|---|
metadata |
IInvocationContext : the IInvocationContext to perform tests. |
config |
IConfiguration : the IConfiguration of this test run. |
rescheduler |
IRescheduler : the IRescheduler , for rescheduling portions of the invocation for
execution on another resource(s) |
extraListeners |
ITestInvocationListener : ITestInvocationListener s to notify, in addition to those in
config |
Throws | |
---|---|
DeviceNotAvailableException |
if communication with device was lost |
Throwable |
notifyInvocationStopped
public void notifyInvocationStopped ()
Notify the TestInvocation
that TradeFed has been requested to stop.