本地模拟器启动

public class LocalEmulatorLaunch
extends BaseEmulatorPreparer

java.lang.Object
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.BaseEmulatorPreparer
com.android.tradefed.targetprep.LocalEmulatorLaunch


从 Android 构建环境本地启动模拟器的 TargetPreparer。

强烈建议在运行包含此内容的任何配置之前准备模拟器快照(例如 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