Google is committed to advancing racial equity for Black communities. See how.

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(String message)

Notify the TestInvocation that TradeFed has been requested to stop.

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

Throws
DeviceNotAvailableException if communication with device was lost
Throwable

notifyInvocationStopped

public void notifyInvocationStopped (String message)

Notify the TestInvocation that TradeFed has been requested to stop.

Parameters
message String: The message associated with stopping the invocation