RunCommandTargetPreparer
public class RunCommandTargetPreparer
extends BaseTargetPreparer
Streszczenie
Metody publiczne |
---|
final void | addRunCommand (String cmd) Dodaj polecenie, które będzie uruchamiane przez osobę przygotowującą. |
void | setUp (TestInformation testInfo) |
void | tearDown (TestInformation testInfo, Throwable e) |
Metody chronione |
---|
ITestDevice | getDevice (TestInformation testInfo) Zwraca urządzenie, na którym ma zostać zastosowany preparat przygotowujący. |
Konstruktorzy publiczni
RunCommandTargetPreparer
public RunCommandTargetPreparer ()
Metody publiczne
dodaj polecenie Uruchom
public final void addRunCommand (String cmd)
Dodaj polecenie, które będzie uruchamiane przez osobę przygotowującą.
public void setUp (TestInformation testInfo)
Parametry |
---|
testInfo | TestInformation |
Rzuca |
---|
DeviceNotAvailableException | |
TargetSetupError | |
public void tearDown (TestInformation testInfo,
Throwable e)
Parametry |
---|
testInfo | TestInformation |
e | Throwable |
Rzuca |
---|
DeviceNotAvailableException | |
Metody chronione
protected ITestDevice getDevice (TestInformation testInfo)
Zwraca urządzenie, na którym ma zostać zastosowany preparat przygotowujący.
Zwroty |
---|
ITestDevice | Urządzenie, na którym należy nałożyć preparat. |