RunCommandTargetPreparer
public class RunCommandTargetPreparer
extends BaseTargetPreparer
Özet
Genel yöntemler |
---|
final void | addRunCommand (String cmd) Hazırlayıcı tarafından çalıştırılacak bir komut ekleyin. |
void | setUp (TestInformation testInfo) |
void | tearDown (TestInformation testInfo, Throwable e) |
Korumalı yöntemler |
---|
ITestDevice | getDevice (TestInformation testInfo) Hazırlayıcının uygulanacağı cihazı döndürür. |
Kamu inşaatçıları
RunCommandTargetPreparer
public RunCommandTargetPreparer ()
Genel yöntemler
addRunKomutu
public final void addRunCommand (String cmd)
Hazırlayıcı tarafından çalıştırılacak bir komut ekleyin.
public void setUp (TestInformation testInfo)
Parametreler |
---|
testInfo | TestInformation |
Atar |
---|
DeviceNotAvailableException | |
TargetSetupError | |
public void tearDown (TestInformation testInfo,
Throwable e)
Parametreler |
---|
testInfo | TestInformation |
e | Throwable |
Atar |
---|
DeviceNotAvailableException | |
Korumalı yöntemler
protected ITestDevice getDevice (TestInformation testInfo)
Hazırlayıcının uygulanacağı cihazı döndürür.
İadeler |
---|
ITestDevice | Hazırlayıcının uygulanacağı cihaz. |