ITestInvocation

public interface ITestInvocation

com.android.tradefed.invoker.ITestInvocation
Known Indirect Subclasses
TestInvocation Default implementation of 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 TestInvocation that TradeFed has been requested to stop.

Public methods

invoke

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: ITestInvocationListeners to notify, in addition to those in config

Throws
DeviceNotAvailableException if communication with device was lost
Throwable

notifyInvocationStopped

void notifyInvocationStopped ()

Notify the TestInvocation that TradeFed has been requested to stop.