LocalEmulatorLaunch

public class LocalEmulatorLaunch
extends BaseEmulatorPreparer

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


TargetPreparer שמפעיל אמולטור באופן מקומי מסביבת build של Android.

מומלץ מאוד להכין קובץ snapshot של אמולטור (למשל 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