ClusterCommandLauncher
public
class
ClusterCommandLauncher
extends Object
implements
IConfigurationReceiver,
IInvocationContextReceiver,
IRemoteTest
| java.lang.Object | |
| ↳ | com.android.tradefed.cluster.ClusterCommandLauncher |
IRemoteTest 類別,可透過子程序 TF 從 TFC 啟動指令。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 |