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

ClusterCommandLauncher

public class ClusterCommandLauncher
extends Object implements IRemoteTest, IInvocationContextReceiver, IConfigurationReceiver

java.lang.Object
   ↳ com.android.tradefed.cluster.ClusterCommandLauncher


A IRemoteTest class to launch a command from TFC via a subprocess TF. FIXME: this needs to be extended to support multi-device tests.

Summary

Fields

public static final String TEST_WORK_DIR

public static final String TF_JAR_DIR

public static final String TF_PATH

Public constructors

ClusterCommandLauncher()

Public methods

void run(TestInformation testInfo, ITestInvocationListener listener)
void setConfiguration(IConfiguration configuration)

Injects the IConfiguration in use.

void setInvocationContext(IInvocationContext invocationContext)

Fields

TEST_WORK_DIR

public static final String TEST_WORK_DIR

TF_JAR_DIR

public static final String TF_JAR_DIR

TF_PATH

public static final String TF_PATH

Public constructors

ClusterCommandLauncher

public ClusterCommandLauncher ()

Public methods

run

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

Parameters
testInfo TestInformation

listener ITestInvocationListener

Throws
DeviceNotAvailableException

setConfiguration

public void setConfiguration (IConfiguration configuration)

Injects the IConfiguration in use.

Parameters
configuration IConfiguration

setInvocationContext

public void setInvocationContext (IInvocationContext invocationContext)

Parameters
invocationContext IInvocationContext