ClusterCommandLauncher
public class ClusterCommandLauncher
extends Object
implements IRemoteTest , IInvocationContextReceiver , IConfigurationReceiver
java.lang.Object | |
↳ | com.android.tradefed.cluster.ClusterCommandLauncher |
Une classe IRemoteTest
pour lancer une commande depuis TFC via un sous-processus TF. FIXME : il doit être étendu pour prendre en charge les tests multi-appareils.
Résumé
Des 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) Exécute les tests et rapporte le résultat à l'auditeur. |
void | setConfiguration ( IConfiguration configuration) Injecte la |
void | setInvocationContext ( IInvocationContext invocationContext) |
Des 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
courir
public void run (TestInformation testInfo, ITestInvocationListener listener)
Exécute les tests et rapporte le résultat à l'auditeur.
Paramètres | |
---|---|
testInfo | TestInformation : L'objet TestInformation contenant des informations utiles pour exécuter des tests. |
listener | ITestInvocationListener : l' ITestInvocationListener des résultats des tests |
Lance | |
---|---|
DeviceNotAvailableException |
setConfiguration
public void setConfiguration (IConfiguration configuration)
Injecte la IConfiguration
en cours d'utilisation.
Paramètres | |
---|---|
configuration | IConfiguration |
setInvocationContextsetInvocationContext
public void setInvocationContext (IInvocationContext invocationContext)
Paramètres | |
---|---|
invocationContext | IInvocationContext |