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 |
|