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

public  getCommands ()

보고

getExecutedCommands

public  getExecutedCommands ()

보고

설정

public void setUp (TestInformation testInfo)

매개변수
testInfo TestInformation

던지기
DeviceNotAvailableException
TargetSetupError

분해

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