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.
สรุป
ช่อง | |
---|---|
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 |