EseguiCommandTargetPreparer
public class RunCommandTargetPreparer
extends BaseTargetPreparer
Riepilogo
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
aggiungiRunCommand
public final void addRunCommand (String cmd)
Aggiungi un comando che verrà eseguito dal preparatore.
public void setUp (TestInformation testInfo)
Parametri |
---|
testInfo | TestInformation |
Lancia |
---|
DeviceNotAvailableException | |
TargetSetupError | |
public void tearDown (TestInformation testInfo,
Throwable e)
Parametri |
---|
testInfo | TestInformation |
e | Throwable |
Lancia |
---|
DeviceNotAvailableException | |
Metodi protetti
protected ITestDevice getDevice (TestInformation testInfo)
Restituisce il dispositivo su cui applicare il preparatore.
ritorna |
---|
ITestDevice | Il dispositivo su cui applicare il preparatore. |