EseguiCommandTargetPreparer

public class RunCommandTargetPreparer
extends BaseTargetPreparer

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


Riepilogo

Costruttori pubblici

RunCommandTargetPreparer ()

Metodi pubblici

final void addRunCommand (String cmd)

Aggiungi un comando che verrà eseguito dal preparatore.

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

void tearDown ( TestInformation testInfo, Throwable e)

Metodi protetti

ITestDevice getDevice ( TestInformation testInfo)

Restituisce il dispositivo su cui applicare il preparatore.

Costruttori pubblici

EseguiCommandTargetPreparer

public RunCommandTargetPreparer ()

Metodi pubblici

aggiungiRunCommand

public final void addRunCommand (String cmd)

Aggiungi un comando che verrà eseguito dal preparatore.

Parametri
cmd String

getCommands

public  getCommands ()

ritorna

getExecutedCommands

public  getExecutedCommands ()

ritorna

impostare

public void setUp (TestInformation testInfo)

Parametri
testInfo TestInformation

Lancia
DeviceNotAvailableException
TargetSetupError

demolire

public void tearDown (TestInformation testInfo, 
                Throwable e)

Parametri
testInfo TestInformation

e Throwable

Lancia
DeviceNotAvailableException

Metodi protetti

getDevice

protected ITestDevice getDevice (TestInformation testInfo)

Restituisce il dispositivo su cui applicare il preparatore.

ritorna
ITestDevice Il dispositivo su cui applicare il preparatore.

Lancia
com.android.tradefed.targetprep.TargetSetupError
TargetSetupError