StopServicesSetup

public class StopServicesSetup
extends BaseTargetPreparer

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


Um ITargetPreparer que interrompe os serviços no dispositivo.

Resumo

Construtores públicos

StopServicesSetup ()

Métodos públicos

void addService (String service)

Adiciona um serviço à lista de serviços.

void setStopFramework (boolean stopFramework)

Especifique se deseja parar a estrutura.

void setUp ( TestInformation testInfo)

void tearDown ( TestInformation testInformation, Throwable e)

Construtores públicos

StopServicesSetup

public StopServicesSetup ()

Métodos públicos

adicionarServiço

public void addService (String service)

Adiciona um serviço à lista de serviços.

Parâmetros
service String

setStopFramework

public void setStopFramework (boolean stopFramework)

Especifique se deseja parar a estrutura.

Parâmetros
stopFramework boolean

configurar

public void setUp (TestInformation testInfo)

Parâmetros
testInfo TestInformation

lances
DeviceNotAvailableException

destruir

public void tearDown (TestInformation testInformation, 
                Throwable e)

Parâmetros
testInformation TestInformation

e Throwable

lances
DeviceNotAvailableException