KillExistingEmulatorPreparer
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) |
公共构造函数
KillExistingEmulatorPreparer
public KillExistingEmulatorPreparer ()
公共方法
设置
public void setUp (TestInformation testInformation)
参数 | |
---|---|
testInformation | TestInformation |
投掷 | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |