ClusterCommandLauncher

public class ClusterCommandLauncher
extends Object implements IRemoteTest, IInvocationContextReceiver, IConfigurationReceiver

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


Classe IRemoteTest permettant de lancer une commande à partir de TFC via un sous-processus TF. FIXME: cette section doit être étendue pour prendre en charge les tests multi-appareils.

Résumé

Champs

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

Constructeurs publics

ClusterCommandLauncher()

Méthodes publiques

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

Injecte le IConfiguration utilisé.

void setInvocationContext(IInvocationContext invocationContext)

Champs

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

Constructeurs publics

ClusterCommandLauncher

public ClusterCommandLauncher ()

Méthodes publiques

Exécuter

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

Paramètres
testInfo TestInformation

listener ITestInvocationListener

Génère
DeviceNotAvailableException

setConfiguration

public void setConfiguration (IConfiguration configuration)

Injecte le IConfiguration utilisé.

Paramètres
configuration IConfiguration

setInvocationContext

public void setInvocationContext (IInvocationContext invocationContext)

Paramètres
invocationContext IInvocationContext