本地模擬器啟動
public class LocalEmulatorLaunch
extends BaseEmulatorPreparer
TargetPreparer 從 android 構建環境在本地啟動模擬器。
強烈建議在運行包含該快照的任何配置之前準備一個模擬器快照(例如,tradefed run emulator/generate-snapshot)。
概括
公共方法 |
---|
void | setUp (TestInformation testInformation) |
void | tearDown (TestInformation testInformation, Throwable e) |
公共構造函數
本地模擬器啟動
public LocalEmulatorLaunch ()
公共方法
public void setUp (TestInformation testInformation)
參數 |
---|
testInformation | TestInformation |
投擲 |
---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError | |
public void tearDown (TestInformation testInformation,
Throwable e)
參數 |
---|
testInformation | TestInformation |
e | Throwable |
投擲 |
---|
DeviceNotAvailableException | |