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