Kod RunNotifierWrapper

public class RunNotifierWrapper
extends RunNotifier

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


Pakowanie RunNotifier, abyśmy mogli nosić DeviceNotAvailableException.

Podsumowanie

Konstruktory publiczne

RunNotifierWrapper(RunNotifier notifier)

Metody publiczne

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

Zwraca DeviceNotAvailableException, jeśli został zgłoszony.

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

Konstruktory publiczne

Kod RunNotifierWrapper

public RunNotifierWrapper (RunNotifier notifier)

Parametry
notifier RunNotifier

Metody publiczne

addFirstListener (dodajFirstListener)

public void addFirstListener (RunListener listener)

Parametry
listener RunListener

addListener

public void addListener (RunListener listener)

Parametry
listener RunListener

Niepowodzenie testu pożaru

public void fireTestAssumptionFailed (Failure failure)

Parametry
failure Failure

Niepowodzenie testu pożaru

public void fireTestFailure (Failure failure)

Parametry
failure Failure

Test pożaru zakończony

public void fireTestFinished (Description description)

Parametry
description Description

Ignorujesz test pożaru

public void fireTestIgnored (Description description)

Parametry
description Description

Zakończono test pożaru

public void fireTestRunFinished (Result result)

Parametry
result Result

FireTestRun został uruchomiony

public void fireTestRunStarted (Description description)

Parametry
description Description

FireTestStarted

public void fireTestStarted (Description description)

Parametry
description Description

FireTestSuiteZakończony

public void fireTestSuiteFinished (Description description)

Parametry
description Description

Rozpoczęcie FireTestSuite

public void fireTestSuiteStarted (Description description)

Parametry
description Description

Wyjątek getDeviceNotAvailableException

public DeviceNotAvailableException getDeviceNotAvailableException ()

Zwraca DeviceNotAvailableException, jeśli został zgłoszony.

Zwroty
DeviceNotAvailableException

proszęStop

public void pleaseStop ()

removeListener,

public void removeListener (RunListener listener)

Parametry
listener RunListener

setTestInfo

public void setTestInfo (TestInformation testInfo)

Parametry
testInfo TestInformation