KümeKomut Başlatıcı
public class ClusterCommandLauncher
extends Object
implements IRemoteTest , IInvocationContextReceiver , IConfigurationReceiver
java.lang.Nesne | |
↳ | com.android.tradefed.cluster.ClusterCommandLauncher |
Bir alt işlem 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 |
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ümeKomut Başlatıcı
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 faydalı 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 |
setInvocationContext
public void setInvocationContext (IInvocationContext invocationContext)
parametreler | |
---|---|
invocationContext | IInvocationContext |