ClusterCommandLauncher

public class ClusterCommandLauncher
extends Object implements IRemoteTest, IInvocationContextReceiver, IConfigurationReceiver

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


Uma classe IRemoteTest para iniciar um comando do TFC por um TF de subprocesso. FIXME: isso precisa ser estendido para oferecer suporte a testes em vários dispositivos.

Resumo

Campos

public static final String ANDROID_SERIALS

public static final String TEST_WORK_DIR

public static final String TF_DEVICE_COUNT

public static final String TF_JAR_DIR

public static final String TF_PATH

Construtores públicos

ClusterCommandLauncher()

Métodos públicos

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

Injeta o IConfiguration em uso.

void setInvocationContext(IInvocationContext invocationContext)

Campos

ANDROID_SERIALS

public static final String ANDROID_SERIALS

TEST_WORK_DIR

public static final String TEST_WORK_DIR

TF_DEVICE_COUNT

public static final String TF_DEVICE_COUNT

TF_JAR_DIR

public static final String TF_JAR_DIR

TF_PATH

public static final String TF_PATH

Construtores públicos

ClusterCommandLauncher

public ClusterCommandLauncher ()

Métodos públicos

run

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

Parâmetros
testInfo TestInformation

listener ITestInvocationListener

Gera
DeviceNotAvailableException

setConfiguration

public void setConfiguration (IConfiguration configuration)

Injeta o IConfiguration em uso.

Parâmetros
configuration IConfiguration

setInvocationContext

public void setInvocationContext (IInvocationContext invocationContext)

Parâmetros
invocationContext IInvocationContext