RunCommandTargetPreparer
public class RunCommandTargetPreparer
extends BaseTargetPreparer
java.lang.Nesne | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.RunCommandTargetPreparer |
Özet
Kamu inşaatçıları | |
---|---|
RunCommandTargetPreparer () |
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
addRunCommand
public final void addRunCommand (String cmd)
Hazırlayıcı tarafından çalıştırılacak bir komut ekleyin.
parametreler | |
---|---|
cmd | String |
kurmak
public void setUp (TestInformation testInfo)
parametreler | |
---|---|
testInfo | TestInformation |
atar | |
---|---|
DeviceNotAvailableException | |
TargetSetupError |
sökmek
public void tearDown (TestInformation testInfo, Throwable e)
parametreler | |
---|---|
testInfo | TestInformation |
e | Throwable |
atar | |
---|---|
DeviceNotAvailableException |
Korumalı yöntemler
getDevice
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. |
atar | |
---|---|
TargetSetupError |