RunNotifierWrapper
public
class
RunNotifierWrapper
extends RunNotifier
java.lang.Object | ||
ꛭ | org.junit.runner.notification.RunNotifier | |
ꛭ | com.android.tradefed.testtype.junit4.RunNotifierWrapper |
Involucro di RunNotifier
per poter trasportare il DeviceNotAvailableException
.
Riepilogo
Costruttori pubblici | |
---|---|
RunNotifierWrapper(RunNotifier notifier)
|
Metodi pubblici | |
---|---|
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()
Restituisce |
void
|
pleaseStop()
|
void
|
removeListener(RunListener listener)
|
void
|
setTestInfo(TestInformation testInfo)
|
Costruttori pubblici
EseguiNotifierWrapper
public RunNotifierWrapper (RunNotifier notifier)
Parametri | |
---|---|
notifier |
RunNotifier |
Metodi pubblici
addFirstListener
public void addFirstListener (RunListener listener)
Parametri | |
---|---|
listener |
RunListener |
addListener
public void addListener (RunListener listener)
Parametri | |
---|---|
listener |
RunListener |
fireTestAssumptionFailed
public void fireTestAssumptionFailed (Failure failure)
Parametri | |
---|---|
failure |
Failure |
fireTestFailure
public void fireTestFailure (Failure failure)
Parametri | |
---|---|
failure |
Failure |
fireTestFinished
public void fireTestFinished (Description description)
Parametri | |
---|---|
description |
Description |
fireTestIgnored
public void fireTestIgnored (Description description)
Parametri | |
---|---|
description |
Description |
fireTestRunFinished
public void fireTestRunFinished (Result result)
Parametri | |
---|---|
result |
Result |
fireTestRunStarted
public void fireTestRunStarted (Description description)
Parametri | |
---|---|
description |
Description |
fireTestStarted
public void fireTestStarted (Description description)
Parametri | |
---|---|
description |
Description |
fireTestSuiteFinished
public void fireTestSuiteFinished (Description description)
Parametri | |
---|---|
description |
Description |
fireTestSuiteAvviato
public void fireTestSuiteStarted (Description description)
Parametri | |
---|---|
description |
Description |
getDeviceNotAvailableEccezione
public DeviceNotAvailableException getDeviceNotAvailableException ()
Restituisce DeviceNotAvailableException
se ne è stata lanciata una.
Ritorni | |
---|---|
DeviceNotAvailableException |
per favoreInterrompi
public void pleaseStop ()
removeListener
public void removeListener (RunListener listener)
Parametri | |
---|---|
listener |
RunListener |