LocalEmulatorLaunch

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)

公用建構函式

LocalEmulatorLaunch

public LocalEmulatorLaunch ()

公用方法

setUp

public void setUp (TestInformation testInformation)

參數
testInformation TestInformation

擲回
BuildError
DeviceNotAvailableException
TargetSetupError

tearDown

public void tearDown (TestInformation testInformation, 
                Throwable e)

參數
testInformation TestInformation

e Throwable

擲回
DeviceNotAvailableException