RunNotifierWrapper

public class RunNotifierWrapper
extends RunNotifier

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


Wrapper de RunNotifier pour pouvoir transporter DeviceNotAvailableException.

Résumé

Constructeurs publics

RunNotifierWrapper(RunNotifier notifier)

Méthodes publiques

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

Renvoie l'DeviceNotAvailableException si une exception a été générée.

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

Constructeurs publics

RunNotifierWrapper

public RunNotifierWrapper (RunNotifier notifier)

Paramètres
notifier RunNotifier

Méthodes publiques

addFirstListener

public void addFirstListener (RunListener listener)

Paramètres
listener RunListener

addListener

public void addListener (RunListener listener)

Paramètres
listener RunListener

FireTestAssumptionFailed

public void fireTestAssumptionFailed (Failure failure)

Paramètres
failure Failure

FireTestFailure

public void fireTestFailure (Failure failure)

Paramètres
failure Failure

FireTestFinished

public void fireTestFinished (Description description)

Paramètres
description Description

FireTestIgnoré

public void fireTestIgnored (Description description)

Paramètres
description Description

FireTestRunFinished

public void fireTestRunFinished (Result result)

Paramètres
result Result

FireTestRunStarted

public void fireTestRunStarted (Description description)

Paramètres
description Description

FireTestStarted

public void fireTestStarted (Description description)

Paramètres
description Description

FireTestSuiteFinished

public void fireTestSuiteFinished (Description description)

Paramètres
description Description

FireTestSuiteStarted

public void fireTestSuiteStarted (Description description)

Paramètres
description Description

getDeviceNotAvailableException

public DeviceNotAvailableException getDeviceNotAvailableException ()

Renvoie l'DeviceNotAvailableException si une exception a été générée.

Renvoie
DeviceNotAvailableException

s'il te plaît, arrête

public void pleaseStop ()

removeListener

public void removeListener (RunListener listener)

Paramètres
listener RunListener

setTestInfo

public void setTestInfo (TestInformation testInfo)

Paramètres
testInfo TestInformation