RunCommandTargetPreparer
public class RunCommandTargetPreparer
extends BaseTargetPreparer
java.lang.객체 | ||
↳ | 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 ()
보고 | |
---|---|
설정
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 |