ClusterCommandLauncher

public class ClusterCommandLauncher
extends Object implements IConfigurationReceiver, IInvocationContextReceiver, IRemoteTest

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


Una classe IRemoteTest per avviare un comando da TFC tramite un sottoprocesso TF. FIXME: this needs to be extended to support multi-device tests.

Riepilogo

Costanti

String ANDROID_SERIALS

String TEST_WORK_DIR

String TF_DEVICE_COUNT

String TF_JAR_DIR

String TF_PATH

Costruttori pubblici

ClusterCommandLauncher()

Metodi pubblici

void run(TestInformation testInfo, ITestInvocationListener listener)

Esegue i test e comunica il risultato al listener.

void setConfiguration(IConfiguration configuration)

Inserisce il IConfiguration in uso.

void setInvocationContext(IInvocationContext invocationContext)

Costanti

ANDROID_SERIALS

public static final String ANDROID_SERIALS

Constant Value: "ANDROID_SERIALS"

TEST_WORK_DIR

public static final String TEST_WORK_DIR

Constant Value: "TEST_WORK_DIR"

TF_DEVICE_COUNT

public static final String TF_DEVICE_COUNT

Constant Value: "TF_DEVICE_COUNT"

TF_JAR_DIR

public static final String TF_JAR_DIR

Constant Value: "TF_JAR_DIR"

TF_PATH

public static final String TF_PATH

Constant Value: "TF_PATH"

Costruttori pubblici

ClusterCommandLauncher

public ClusterCommandLauncher ()

Metodi pubblici

run

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

Esegue i test e comunica il risultato al listener.

Parametri
testInfo TestInformation: l'oggetto TestInformation contenente informazioni utili per eseguire i test.

listener ITestInvocationListener: il ITestInvocationListener dei risultati del test

Lanci
DeviceNotAvailableException

setConfiguration

public void setConfiguration (IConfiguration configuration)

Inserisce il IConfiguration in uso.

Parametri
configuration IConfiguration

setInvocationContext

public void setInvocationContext (IInvocationContext invocationContext)

Parametri
invocationContext IInvocationContext