RunCommandTargetPreparer

public class RunCommandTargetPreparer
extends BaseTargetPreparer

java.lang.Object
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.RunCommandTargetPreparer


סיכום

בנאים ציבוריים

RunCommandTargetPreparer ()

שיטות ציבוריות

final void addRunCommand (String cmd)

הוסף פקודה שתופעל על ידי המכין.

getCommands ()
getExecutedCommands ()
void setUp ( TestInformation testInfo)

void tearDown ( TestInformation testInfo, Throwable e)

שיטות מוגנות

ITestDevice getDevice ( TestInformation testInfo)

מחזירה את המכשיר כדי להחיל עליו את המכין.

בנאים ציבוריים

RunCommandTargetPreparer

public RunCommandTargetPreparer ()

שיטות ציבוריות

addRunCommand

public final void addRunCommand (String cmd)

הוסף פקודה שתופעל על ידי המכין.

פרמטרים
cmd String

getCommands

public  getCommands ()

החזרות

getExecutedCommands

public  getExecutedCommands ()

החזרות

להכין

public void setUp (TestInformation testInfo)

פרמטרים
testInfo TestInformation

זורק
DeviceNotAvailableException
TargetSetupError

לקרוע

public void tearDown (TestInformation testInfo, 
                Throwable e)

פרמטרים
testInfo TestInformation

e Throwable

זורק
DeviceNotAvailableException

שיטות מוגנות

getDevice

protected ITestDevice getDevice (TestInformation testInfo)

מחזירה את המכשיר כדי להחיל עליו את המכין.

החזרות
ITestDevice המכשיר למריחת המכין.

זורק
com.android.tradefed.targetprep.TargetSetupError
TargetSetupError