ClusterCommandLauncher
public
class
ClusterCommandLauncher
extends Object
implements
IConfigurationReceiver,
IInvocationContextReceiver,
IRemoteTest
| java.lang.Object | |
| ↳ | com.android.tradefed.cluster.ClusterCommandLauncher |
IRemoteTest คลาสเพื่อเปิดใช้คำสั่งจาก TFC ผ่าน TF กระบวนการย่อย FIXME: this needs
to be extended to support multi-device tests.
สรุป
ค่าคงที่ | |
|---|---|
String |
ANDROID_SERIALS
|
String |
TEST_WORK_DIR
|
String |
TF_DEVICE_COUNT
|
String |
TF_JAR_DIR
|
String |
TF_PATH
|
เครื่องมือสร้างสาธารณะ | |
|---|---|
ClusterCommandLauncher()
|
|
เมธอดสาธารณะ | |
|---|---|
void
|
run(TestInformation testInfo, ITestInvocationListener listener)
เรียกใช้การทดสอบและรายงานผลลัพธ์ไปยัง Listener |
void
|
setConfiguration(IConfiguration configuration)
แทรก |
void
|
setInvocationContext(IInvocationContext invocationContext)
|
ค่าคงที่
ANDROID_SERIALS
public static final String ANDROID_SERIALS
ค่าคงที่ "ANDROID_SERIALS"
TEST_WORK_DIR
public static final String TEST_WORK_DIR
ค่าคงที่: "TEST_WORK_DIR"
TF_DEVICE_COUNT
public static final String TF_DEVICE_COUNT
ค่าคงที่ "TF_DEVICE_COUNT"
TF_JAR_DIR
public static final String TF_JAR_DIR
ค่าคงที่: "TF_JAR_DIR"
TF_PATH
public static final String TF_PATH
ค่าคงที่: "TF_PATH"
เครื่องมือสร้างสาธารณะ
ClusterCommandLauncher
public ClusterCommandLauncher ()
เมธอดสาธารณะ
โฮมรัน
public void run (TestInformation testInfo, ITestInvocationListener listener)
เรียกใช้การทดสอบและรายงานผลลัพธ์ไปยัง Listener
| พารามิเตอร์ | |
|---|---|
testInfo |
TestInformation: ออบเจ็กต์ TestInformation ที่มีข้อมูลที่เป็นประโยชน์ในการเรียกใช้
การทดสอบ |
listener |
ITestInvocationListener: ITestInvocationListener ของผลการทดสอบ |
| การขว้าง | |
|---|---|
DeviceNotAvailableException |
|
setConfiguration
public void setConfiguration (IConfiguration configuration)
แทรก IConfiguration ที่ใช้งานอยู่
| พารามิเตอร์ | |
|---|---|
configuration |
IConfiguration |
setInvocationContext
public void setInvocationContext (IInvocationContext invocationContext)
| พารามิเตอร์ | |
|---|---|
invocationContext |
IInvocationContext |