RunCommandTargetPreparer
public
class
RunCommandTargetPreparer
extends BaseTargetPreparer
| java.lang.Object | ||
| ↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
| ↳ | com.android.tradefed.targetprep.RunCommandTargetPreparer | |
Özet
Herkese açık kurucular | |
|---|---|
RunCommandTargetPreparer()
|
|
Herkese açık yöntemler | |
|---|---|
final
void
|
addRunCommand(String cmd)
Hazırlayıcı tarafından çalıştırılacak bir komut ekleyin. |
|
getCommands()
|
|
getExecutedCommands()
|
void
|
setUp(TestInformation testInfo)
|
void
|
tearDown(TestInformation testInfo, Throwable e)
|
Korunan yöntemler | |
|---|---|
ITestDevice
|
getDevice(TestInformation testInfo)
Hazırlayıcıyı uygulamak için cihazı döndürür. |
Herkese açık kurucular
RunCommandTargetPreparer
public RunCommandTargetPreparer ()
Herkese açık yöntemler
addRunCommand
public final void addRunCommand (String cmd)
Hazırlayıcı tarafından çalıştırılacak bir komut ekleyin.
| Parametreler | |
|---|---|
cmd |
String |
getCommands
publicgetCommands ()
| İlerlemeler | |
|---|---|
|
|
getExecutedCommands
publicgetExecutedCommands ()
| İlerlemeler | |
|---|---|
|
|
setUp
public void setUp (TestInformation testInfo)
| Parametreler | |
|---|---|
testInfo |
TestInformation |
| Atışlar | |
|---|---|
DeviceNotAvailableException |
|
TargetSetupError |
|
tearDown
public void tearDown (TestInformation testInfo, Throwable e)
| Parametreler | |
|---|---|
testInfo |
TestInformation |
e |
Throwable |
| Atışlar | |
|---|---|
DeviceNotAvailableException |
|
Korunan yöntemler
getDevice
protected ITestDevice getDevice (TestInformation testInfo)
Hazırlayıcıyı uygulamak için cihazı döndürür.
| İlerlemeler | |
|---|---|
ITestDevice |
Hazırlayıcının uygulanacağı cihaz. |
| Atışlar | |
|---|---|
|
com.android.tradefed.targetprep.TargetSetupError |
TargetSetupError |
|