RunNotifierWrapper

public class RunNotifierWrapper
extends RunNotifier

java.lang.Object
   ↳ org.junit.runner.notification.RunNotifier
     ↳ com.android.tradefed.testtype.junit4.RunNotifierWrapper


Wrapper de RunNotifier para que possamos transportar o DeviceNotAvailableException.

Resumo

Construtores públicos

RunNotifierWrapper(RunNotifier notifier)

Métodos públicos

void addFirstListener(RunListener listener)
void addListener(RunListener listener)
void fireTestAssumptionFailed(Failure failure)
void fireTestFailure(Failure failure)
void fireTestFinished(Description description)
void fireTestIgnored(Description description)
void fireTestRunFinished(Result result)
void fireTestRunStarted(Description description)
void fireTestStarted(Description description)
void fireTestSuiteFinished(Description description)
void fireTestSuiteStarted(Description description)
DeviceNotAvailableException getDeviceNotAvailableException()

Retorna DeviceNotAvailableException se alguma foi gerada.

void pleaseStop()
void removeListener(RunListener listener)
void setTestInfo(TestInformation testInfo)

Construtores públicos

RunNotifierWrapper

public RunNotifierWrapper (RunNotifier notifier)

Parâmetros
notifier RunNotifier

Métodos públicos

addFirstListener

public void addFirstListener (RunListener listener)

Parâmetros
listener RunListener

addListener

public void addListener (RunListener listener)

Parâmetros
listener RunListener

fireTestAssumptionFailed

public void fireTestAssumptionFailed (Failure failure)

Parâmetros
failure Failure

fireTestFailure

public void fireTestFailure (Failure failure)

Parâmetros
failure Failure

fireTestFinished

public void fireTestFinished (Description description)

Parâmetros
description Description

fireTestIgnored

public void fireTestIgnored (Description description)

Parâmetros
description Description

FireTestRunFinished

public void fireTestRunFinished (Result result)

Parâmetros
result Result

fireTestRunStarted

public void fireTestRunStarted (Description description)

Parâmetros
description Description

FireTestStarted

public void fireTestStarted (Description description)

Parâmetros
description Description

FireTestSuiteFinished

public void fireTestSuiteFinished (Description description)

Parâmetros
description Description

fireTestSuiteStarted

public void fireTestSuiteStarted (Description description)

Parâmetros
description Description

getDeviceNotAvailableException

public DeviceNotAvailableException getDeviceNotAvailableException ()

Retorna DeviceNotAvailableException se alguma foi gerada.

Retorna
DeviceNotAvailableException

Pare por favor

public void pleaseStop ()

removeListener

public void removeListener (RunListener listener)

Parâmetros
listener RunListener

setTestInfo

public void setTestInfo (TestInformation testInfo)

Parâmetros
testInfo TestInformation