ClusterCommandLauncher
public class ClusterCommandLauncher
extends Object
implements IRemoteTest , IInvocationContextReceiver , IConfigurationReceiver
java.lang.Object | |
↳ | com.android.tradefed.cluster.ClusterCommandLauncher |
Bir TF alt işlemi aracılığıyla TFC'den bir komut başlatmak için bir IRemoteTest
sınıfı. FIXME: bunun çoklu cihaz testlerini desteklemek için 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_SERİLERİ
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
ClusterCommandLauncher
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 |
setConfiguration
public void setConfiguration (IConfiguration configuration)
Kullanımdaki IConfiguration
enjekte eder.
parametreler | |
---|---|
configuration | IConfiguration |
setInvocationContext
public void setInvocationContext (IInvocationContext invocationContext)
parametreler | |
---|---|
invocationContext | IInvocationContext |