Mantieni tutto organizzato con le raccolte Salva e classifica i contenuti in base alle tue preferenze.

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.

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

impostare

public void setUp (TestInformation testInfo)

Parametri
testInfo TestInformation

Tiri
DeviceNotAvailableException
TargetSetupError

demolire

public void tearDown (TestInformation testInfo, 
                Throwable e)

Parametri
testInfo TestInformation

e Throwable

Tiri
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.

Tiri
TargetSetupError