LocalEmulatorLaunch

public class LocalEmulatorLaunch
extends BaseEmulatorPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.BaseEmulatorPreparer
       ↳ com.android.tradefed.targetprep.LocalEmulatorLaunch


A TargetPreparer that launches an emulator locally from an android build environment.

Its highly recommended to prepare an emulator snapshot (eg tradefed run emulator/generate-snapshot) before running any configs that includes this.

Summary

Public constructors

LocalEmulatorLaunch()

Public methods

void setUp(TestInformation testInformation)
void tearDown(TestInformation testInformation, Throwable e)

Public constructors

LocalEmulatorLaunch

public LocalEmulatorLaunch ()

Public methods

setUp

public void setUp (TestInformation testInformation)

Parameters
testInformation TestInformation

Throws
BuildError
DeviceNotAvailableException
TargetSetupError

tearDown

public void tearDown (TestInformation testInformation, 
                Throwable e)

Parameters
testInformation TestInformation

e Throwable

Throws
DeviceNotAvailableException