RunNotifierWrapper
public
class
RunNotifierWrapper
extends RunNotifier
java.lang.Object | ||
↳ | org.junit.runner.notification.RunNotifier | |
↳ | com.android.tradefed.testtype.junit4.RunNotifierWrapper |
Opakowanie RunNotifier
, abyśmy mogli przenosić 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 |
void
|
pleaseStop()
|
void
|
removeListener(RunListener listener)
|
void
|
setTestInfo(TestInformation testInfo)
|
Konstruktory publiczne
RunNotifierWrapper
public RunNotifierWrapper (RunNotifier notifier)
Parametry | |
---|---|
notifier |
RunNotifier |
Metody publiczne
addFirstListener
public void addFirstListener (RunListener listener)
Parametry | |
---|---|
listener |
RunListener |
addListener
public void addListener (RunListener listener)
Parametry | |
---|---|
listener |
RunListener |
fireTestAssumptionFailed
public void fireTestAssumptionFailed (Failure failure)
Parametry | |
---|---|
failure |
Failure |
Niepowodzenie testu pożaru
public void fireTestFailure (Failure failure)
Parametry | |
---|---|
failure |
Failure |
fireTestFinished
public void fireTestFinished (Description description)
Parametry | |
---|---|
description |
Description |
fireTestIgnored
public void fireTestIgnored (Description description)
Parametry | |
---|---|
description |
Description |
fireTestRunFinished
public void fireTestRunFinished (Result result)
Parametry | |
---|---|
result |
Result |
fireTestRunStarted
public void fireTestRunStarted (Description description)
Parametry | |
---|---|
description |
Description |
fireTestStarted
public void fireTestStarted (Description description)
Parametry | |
---|---|
description |
Description |
fireTestSuiteFinished
public void fireTestSuiteFinished (Description description)
Parametry | |
---|---|
description |
Description |
fireTestSuiteStarted
public void fireTestSuiteStarted (Description description)
Parametry | |
---|---|
description |
Description |
getDeviceNotAvailableException
public DeviceNotAvailableException getDeviceNotAvailableException ()
Zwraca wartość DeviceNotAvailableException
, jeśli została rzucona.
Zwroty | |
---|---|
DeviceNotAvailableException |
pleaseStop
public void pleaseStop ()
removeListener
public void removeListener (RunListener listener)
Parametry | |
---|---|
listener |
RunListener |