本地模拟器启动
public class LocalEmulatorLaunch
extends BaseEmulatorPreparer
TargetPreparer 从 android 构建环境在本地启动模拟器。
强烈建议在运行包含此内容的任何配置之前准备模拟器快照(例如,tradefed run emulator/generate-snapshot)。
概括
公共方法 |
---|
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 | |