IInvocationContextReceiver

public interface IInvocationContextReceiver

com.android.tradefed.testtype.IInvocationContextReceiver


A test that needs reference to the context of the invocation.

Should be used when test needs to know the details of the invocation without needing a reference to the IBuildInfo. Most tests should not have a dependency on the build-under-test, and should rely on ITargetPreparers to prepare the test environment.

Summary

Public methods

abstract void setInvocationContext(IInvocationContext invocationContext)

Public methods

setInvocationContext

public abstract void setInvocationContext (IInvocationContext invocationContext)

Parameters
invocationContext IInvocationContext