ClusterCommandLauncher
public class ClusterCommandLauncher
extends Object
implements IRemoteTest , IInvocationContextReceiver , IConfigurationReceiver
java.lang.Objek | |
↳ | com.android.tradefed.cluster.ClusterCommandLauncher |
Kelas IRemoteTest
untuk meluncurkan perintah dari TFC melalui TF subproses. FIXME: ini perlu diperluas untuk mendukung pengujian multi-perangkat.
Ringkasan
Bidang | |
---|---|
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
|
Konstruktor publik | |
---|---|
ClusterCommandLauncher () |
Metode publik | |
---|---|
void | run ( TestInformation testInfo, ITestInvocationListener listener) Jalankan tes, dan laporkan hasilnya ke pendengar. |
void | setConfiguration ( IConfiguration configuration) Menyuntikkan |
void | setInvocationContext ( IInvocationContext invocationContext) |
Bidang
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
Konstruktor publik
ClusterCommandLauncher
public ClusterCommandLauncher ()
Metode publik
berlari
public void run (TestInformation testInfo, ITestInvocationListener listener)
Jalankan tes, dan laporkan hasilnya ke pendengar.
Parameter | |
---|---|
testInfo | TestInformation : Objek TestInformation yang berisi informasi berguna untuk menjalankan pengujian. |
listener | ITestInvocationListener : ITestInvocationListener dari hasil tes |
Melempar | |
---|---|
DeviceNotAvailableException |
setConfiguration
public void setConfiguration (IConfiguration configuration)
Menyuntikkan IConfiguration
yang sedang digunakan.
Parameter | |
---|---|
configuration | IConfiguration |
setInvocationContext
public void setInvocationContext (IInvocationContext invocationContext)
Parameter | |
---|---|
invocationContext | IInvocationContext |