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 ()

公共方法

setUp

public void setUp (TestInformation testInformation)

参数
testInformation TestInformation

抛出
BuildError
DeviceNotAvailableException
TargetSetupError