RunNotifierWrapper

public class RunNotifierWrapper
extends RunNotifier

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


Wrapper von RunNotifier, damit DeviceNotAvailableException übertragen werden kann.

Zusammenfassung

Öffentliche Konstruktoren

RunNotifierWrapper(RunNotifier notifier)

Öffentliche Methoden

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

Gibt DeviceNotAvailableException zurück, falls eine Ausnahme geworfen wurde.

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

Öffentliche Konstruktoren

RunNotifierWrapper

public RunNotifierWrapper (RunNotifier notifier)

Parameter
notifier RunNotifier

Öffentliche Methoden

addFirstListener

public void addFirstListener (RunListener listener)

Parameter
listener RunListener

addListener

public void addListener (RunListener listener)

Parameter
listener RunListener

fireTestAssumptionFailed

public void fireTestAssumptionFailed (Failure failure)

Parameter
failure Failure

fireTestFailure

public void fireTestFailure (Failure failure)

Parameter
failure Failure

fireTestFinished

public void fireTestFinished (Description description)

Parameter
description Description

fireTestIgnored

public void fireTestIgnored (Description description)

Parameter
description Description

fireTestRunFinished

public void fireTestRunFinished (Result result)

Parameter
result Result

fireTestRunStarted

public void fireTestRunStarted (Description description)

Parameter
description Description

fireTestStarted

public void fireTestStarted (Description description)

Parameter
description Description

FireTestSuiteBeendet

public void fireTestSuiteFinished (Description description)

Parameter
description Description

fireTestSuiteStarted

public void fireTestSuiteStarted (Description description)

Parameter
description Description

getDeviceNotAvailableException

public DeviceNotAvailableException getDeviceNotAvailableException ()

Gibt die DeviceNotAvailableException zurück, falls eine ausgegeben wurde.

Returns
DeviceNotAvailableException

pleaseStop

public void pleaseStop ()

removeListener

public void removeListener (RunListener listener)

Parameter
listener RunListener

setTestInfo

public void setTestInfo (TestInformation testInfo)

Parameter
testInfo TestInformation