杀死现有的模拟器准备器
public class KillExistingEmulatorPreparer
extends BaseTargetPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.KillExistingEmulatorPreparer |
用于关闭正在运行的模拟器的ITargetPreparer
。
通常与 LocalEmulatorSnapshot 配合使用来关闭冷启动模拟器,以便后续准备器/测试可以从快照启动。
概括
公共构造函数 | |
---|---|
KillExistingEmulatorPreparer () |
公共方法 | |
---|---|
void | setUp ( TestInformation testInformation) |
公共构造函数
杀死现有的模拟器准备器
public KillExistingEmulatorPreparer ()
公共方法
设置
public void setUp (TestInformation testInformation)
参数 | |
---|---|
testInformation | TestInformation |
投掷 | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |