RunCommandTargetPreparer
public
class
RunCommandTargetPreparer
extends BaseTargetPreparer
| java.lang.Object | ||
| ↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
| ↳ | com.android.tradefed.targetprep.RunCommandTargetPreparer | |
สรุป
ตัวสร้างแบบสาธารณะ | |
|---|---|
RunCommandTargetPreparer()
|
|
เมธอดสาธารณะ | |
|---|---|
final
void
|
addRunCommand(String cmd)
เพิ่มคําสั่งที่จะเรียกใช้โดยผู้เตรียม |
|
getCommands()
|
|
getExecutedCommands()
|
void
|
setUp(TestInformation testInfo)
|
void
|
tearDown(TestInformation testInfo, Throwable e)
|
วิธีการที่มีการป้องกัน | |
|---|---|
ITestDevice
|
getDevice(TestInformation testInfo)
แสดงอุปกรณ์เพื่อใช้เครื่องมือเตรียม |
ตัวสร้างแบบสาธารณะ
RunCommandTargetPreparer
public RunCommandTargetPreparer ()
เมธอดสาธารณะ
addRunCommand
public final void addRunCommand (String cmd)
เพิ่มคําสั่งที่จะเรียกใช้โดยผู้เตรียม
| พารามิเตอร์ | |
|---|---|
cmd |
String |
getCommands
publicgetCommands ()
| คิกรีเทิร์น | |
|---|---|
|
|
getExecutedCommands
publicgetExecutedCommands ()
| คิกรีเทิร์น | |
|---|---|
|
|
setUp
public void setUp (TestInformation testInfo)
| พารามิเตอร์ | |
|---|---|
testInfo |
TestInformation |
| การโยน | |
|---|---|
DeviceNotAvailableException |
|
TargetSetupError |
|
tearDown
public void tearDown (TestInformation testInfo, Throwable e)
| พารามิเตอร์ | |
|---|---|
testInfo |
TestInformation |
e |
Throwable |
| การโยน | |
|---|---|
DeviceNotAvailableException |
|
วิธีการที่มีการป้องกัน
getDevice
protected ITestDevice getDevice (TestInformation testInfo)
แสดงอุปกรณ์เพื่อใช้เครื่องมือเตรียม
| คิกรีเทิร์น | |
|---|---|
ITestDevice |
อุปกรณ์ที่จะใช้เครื่องมือเตรียม |
| การโยน | |
|---|---|
|
com.android.tradefed.targetprep.TargetSetupError |
TargetSetupError |
|