KillExistingEmulatorPreparer
public class KillExistingEmulatorPreparer
extends BaseTargetPreparer
对象 | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.KillExistingEmulatorPreparer |
一个ITargetPreparer
是关闭正在运行的模拟器。
通常与 LocalEmulatorSnapshot 配对以关闭冷启动模拟器,以便后续准备程序/测试可以从快照启动。
概括
公共构造函数 | |
---|---|
KillExistingEmulatorPreparer () |
公共方法 | |
---|---|
void | setUp (TestInformation testInformation) |
公共构造函数
KillExistingEmulatorPreparer
public KillExistingEmulatorPreparer ()
公共方法
设置
public void setUp (TestInformation testInformation)
参数 | |
---|---|
testInformation | TestInformation |
投掷 | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |