使用集合让一切井井有条 根据您的偏好保存内容并对其进行分类。

本地模拟器启动

public class LocalEmulatorLaunch
extends BaseEmulatorPreparer

对象
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.BaseEmulatorPreparer
com.android.tradefed.targetprep.LocalEmulatorLaunch


TargetPreparer 从 android 构建环境在本地启动模拟器。

强烈建议在运行包含此内容的任何配置之前准备模拟器快照(例如,tradefed run emulator/generate-snapshot)。

概括

公共构造函数

LocalEmulatorLaunch ()

公共方法

void setUp (TestInformation testInformation)
void tearDown (TestInformation testInformation, Throwable e)

公共构造函数

本地模拟器启动

public LocalEmulatorLaunch ()

公共方法

设置

public void setUp (TestInformation testInformation)

参数
testInformation TestInformation

投掷
BuildError
DeviceNotAvailableException
TargetSetupError

拆除

public void tearDown (TestInformation testInformation, 
                Throwable e)

参数
testInformation TestInformation

e Throwable

投掷
DeviceNotAvailableException