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 |