本地模擬器啟動

public class LocalEmulatorLaunch
extends BaseEmulatorPreparer

對象
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.BaseEmulatorPreparer
com.android.tradefed.targetprep.LocalEmulatorLaunch


TargetPreparer 從 android 構建環境在本地啟動模擬器。

強烈建議在運行包含該快照的任何配置之前準備一個模擬器快照(例如,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