RunCommandTargetPreparer

public class RunCommandTargetPreparer
extends BaseTargetPreparer

java.lang.Object
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.RunCommandTargetPreparer


Resumo

Construtores públicos

RunCommandTargetPreparer ()

Métodos públicos

final void addRunCommand (String cmd)

Adicione um comando que será executado pelo preparador.

getCommands ()
getExecutedCommands ()
void setUp ( TestInformation testInfo)

void tearDown ( TestInformation testInfo, Throwable e)

Métodos protegidos

ITestDevice getDevice ( TestInformation testInfo)

Retorna o dispositivo para aplicar o preparador.

Construtores públicos

RunCommandTargetPreparer

public RunCommandTargetPreparer ()

Métodos públicos

addRunCommand

public final void addRunCommand (String cmd)

Adicione um comando que será executado pelo preparador.

Parâmetros
cmd String

getCommands

public  getCommands ()

devoluções

getExecutedCommands

public  getExecutedCommands ()

devoluções

configurar

public void setUp (TestInformation testInfo)

Parâmetros
testInfo TestInformation

lances
DeviceNotAvailableException
TargetSetupError

destruir

public void tearDown (TestInformation testInfo, 
                Throwable e)

Parâmetros
testInfo TestInformation

e Throwable

lances
DeviceNotAvailableException

Métodos protegidos

getDevice

protected ITestDevice getDevice (TestInformation testInfo)

Retorna o dispositivo para aplicar o preparador.

devoluções
ITestDevice O dispositivo para aplicar o preparador.

lances
com.android.tradefed.targetprep.TargetSetupError
TargetSetupError