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 build 环境在本地启动模拟器的 TargetPreparer。

强烈建议您先准备模拟器快照(例如 tradefed 运行 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