本地模擬器啟動
public class LocalEmulatorLaunch
extends BaseEmulatorPreparer
java.lang.Object | |||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | ||
↳ | com.android.tradefed.targetprep.BaseEmulatorPreparer | ||
↳ | com.android.tradefed.targetprep.LocalEmulatorLaunch |
從 android 構建環境本地啟動模擬器的 TargetPreparer。
強烈建議在運行包含此內容的任何配置之前準備模擬器快照(例如,tradefed run emulator/generate-snapshot)。
概括
公共構造函數 | |
---|---|
LocalEmulatorLaunch () |
公共方法 | |
---|---|
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 |