ClusterCommandLauncher
public class ClusterCommandLauncher
extends Object
implements IRemoteTest , IInvocationContextReceiver , IConfigurationReceiver
java.lang.Object | |
เ | com.android.tradefed.cluster.ClusterCommandLauncher |
คลาส IRemoteTest
เพื่อเรียกใช้คำสั่งจาก TFC ผ่านกระบวนการย่อย TF FIXME: จำเป็นต้องขยายเวลานี้เพื่อรองรับการทดสอบหลายอุปกรณ์
สรุป
ทุ่งนา | |
---|---|
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
|
ผู้สร้างสาธารณะ | |
---|---|
ClusterCommandLauncher () |
วิธีการสาธารณะ | |
---|---|
void | run ( TestInformation testInfo, ITestInvocationListener listener) ดำเนินการทดสอบและรายงานผลให้ผู้ฟังทราบ |
void | setConfiguration ( IConfiguration configuration) |
void | setInvocationContext ( IInvocationContext invocationContext) |
ทุ่งนา
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
ผู้สร้างสาธารณะ
ClusterCommandLauncher
public ClusterCommandLauncher ()
วิธีการสาธารณะ
วิ่ง
public void run (TestInformation testInfo, ITestInvocationListener 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 |