Küme Komutu Başlatıcısı

public class ClusterCommandLauncher
extends Object implements IRemoteTest , IInvocationContextReceiver , IConfigurationReceiver

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


Bir alt süreç TF aracılığıyla TFC'den bir komut başlatmak için bir IRemoteTest sınıfı. FIXME: Bunun çoklu cihaz testlerini destekleyecek şekilde genişletilmesi gerekiyor.

Özet

Alanlar

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

Kamu inşaatçıları

ClusterCommandLauncher ()

Genel yöntemler

void run ( TestInformation testInfo, ITestInvocationListener listener)

Testleri çalıştırır ve sonucu dinleyiciye bildirir.

void setConfiguration ( IConfiguration configuration)

Kullanımdaki IConfiguration enjekte eder.

void setInvocationContext ( IInvocationContext invocationContext)

Alanlar

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

Kamu inşaatçıları

Küme Komutu Başlatıcısı

public ClusterCommandLauncher ()

Genel yöntemler

koşmak

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

Testleri çalıştırır ve sonucu dinleyiciye bildirir.

Parametreler
testInfo TestInformation : Testleri çalıştırmak için yararlı bilgiler içeren TestInformation nesnesi.

listener ITestInvocationListener : test sonuçlarının ITestInvocationListener

Atar
DeviceNotAvailableException

setYapılandırma

public void setConfiguration (IConfiguration configuration)

Kullanımdaki IConfiguration enjekte eder.

Parametreler
configuration IConfiguration

setInvokasyonContext

public void setInvocationContext (IInvocationContext invocationContext)

Parametreler
invocationContext IInvocationContext