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