EseguiCommandTargetPreparer

public class RunCommandTargetPreparer
extends BaseTargetPreparer

java.lang.Oggetto
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

addRunCommand

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

Getta
DeviceNotAvailableException
TargetSetupError

demolire

public void tearDown (TestInformation testInfo, 
                Throwable e)

Parametri
testInfo TestInformation

e Throwable

Getta
DeviceNotAvailableException

Metodi protetti

getDispositivo

protected ITestDevice getDevice (TestInformation testInfo)

Restituisce il dispositivo su cui applicare il preparatore.

ritorna
ITestDevice Il dispositivo su cui applicare il preparatore.

Getta
com.android.tradefed.targetprep.TargetSetupError
TargetSetupError