ClusterCommandLauncher

public class ClusterCommandLauncher
extends Object implements IRemoteTest, IInvocationContextReceiver, IConfigurationReceiver

java.lang.Object
   ↳ com.android.tradefed.cluster.ClusterCommandLauncher


用于通过子进程 TF 从 TFC 启动命令的 IRemoteTest 类。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)

注入正在使用的 IConfiguration

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

listener ITestInvocationListener

抛出
DeviceNotAvailableException

setConfiguration

public void setConfiguration (IConfiguration configuration)

注入正在使用的 IConfiguration

参数
configuration IConfiguration

setInvocationContext

public void setInvocationContext (IInvocationContext invocationContext)

参数
invocationContext IInvocationContext