集群命令启动器
public class ClusterCommandLauncher
extends Object
implements IRemoteTest, IInvocationContextReceiver , IConfigurationReceiver
对象 |
↳ | com.android.tradefed.cluster.ClusterCommandLauncher |
一个IRemoteTest
类通过子TF推出从TFC的命令。 FIXME:这需要扩展以支持多设备测试。
概括
字段
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
公共构造函数
集群命令启动器
public ClusterCommandLauncher ()
公共方法
public void run (TestInformation testInfo,
ITestInvocationListener listener)
参数 |
---|
testInfo | TestInformation |
listener | ITestInvocationListener |
投掷 |
---|
DeviceNotAvailableException | |
设置调用上下文
public void setInvocationContext (IInvocationContext invocationContext)
参数 |
---|
invocationContext | IInvocationContext |