RunCommandTargetPreparer

public class RunCommandTargetPreparer
extends BaseTargetPreparer

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


סיכום

‫constructors ציבוריים

RunCommandTargetPreparer()

‫methods ציבוריים

final void addRunCommand(String cmd)

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

List<String> getCommands()
List<String> getExecutedCommands()
void setUp(TestInformation testInfo)

void tearDown(TestInformation testInfo, Throwable e)

שיטות מוגנות

ITestDevice getDevice(TestInformation testInfo)

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

‫constructors ציבוריים

RunCommandTargetPreparer

public RunCommandTargetPreparer ()

‫methods ציבוריים

addRunCommand

public final void addRunCommand (String cmd)

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

פרמטרים
cmd String

getCommands

public List<String> getCommands ()

החזרות
List<String>

getExecutedCommands

public List<String> getExecutedCommands ()

החזרות
List<String>

setUp

public void setUp (TestInformation testInfo)

פרמטרים
testInfo TestInformation

הקפצת הודעות שגיאה (throw)
DeviceNotAvailableException
TargetSetupError

tearDown

public void tearDown (TestInformation testInfo, 
                Throwable e)

פרמטרים
testInfo TestInformation

e Throwable

הקפצת הודעות שגיאה (throw)
DeviceNotAvailableException

שיטות מוגנות

getDevice

protected ITestDevice getDevice (TestInformation testInfo)

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

החזרות
ITestDevice המכשיר שבו רוצים להשתמש בכלי להכנת המכשיר.

הקפצת הודעות שגיאה (throw)
com.android.tradefed.targetprep.TargetSetupError
TargetSetupError