殺死現有的模擬器準備器
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) |
公共構造函數
殺死現有的模擬器準備器
public KillExistingEmulatorPreparer ()
公共方法
設定
public void setUp (TestInformation testInformation)
參數 | |
---|---|
testInformation | TestInformation |
投擲 | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |