RunNotifierWrapper
public
class
RunNotifierWrapper
extends RunNotifier
java.lang.Object | ||
↳ | org.junit.runner.notification.RunNotifier | |
↳ | com.android.tradefed.testtype.junit4.RunNotifierWrapper |
Wrapper de RunNotifier
para que podamos llevar el DeviceNotAvailableException
.
Resumen
Constructores públicos | |
---|---|
RunNotifierWrapper(RunNotifier notifier)
|
Métodos públicos | |
---|---|
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()
Muestra |
void
|
pleaseStop()
|
void
|
removeListener(RunListener listener)
|
void
|
setTestInfo(TestInformation testInfo)
|
Constructores públicos
RunNotifierWrapper
public RunNotifierWrapper (RunNotifier notifier)
Parámetros | |
---|---|
notifier |
RunNotifier |
Métodos públicos
addFirstListener
public void addFirstListener (RunListener listener)
Parámetros | |
---|---|
listener |
RunListener |
addListener
public void addListener (RunListener listener)
Parámetros | |
---|---|
listener |
RunListener |
fireTestAssumptionFailed
public void fireTestAssumptionFailed (Failure failure)
Parámetros | |
---|---|
failure |
Failure |
FireTestFailure
public void fireTestFailure (Failure failure)
Parámetros | |
---|---|
failure |
Failure |
fireTestFinished
public void fireTestFinished (Description description)
Parámetros | |
---|---|
description |
Description |
Prueba de fuego ignorada
public void fireTestIgnored (Description description)
Parámetros | |
---|---|
description |
Description |
fireTestRunFinished
public void fireTestRunFinished (Result result)
Parámetros | |
---|---|
result |
Result |
fireTestRunStarted
public void fireTestRunStarted (Description description)
Parámetros | |
---|---|
description |
Description |
fireTestStarted
public void fireTestStarted (Description description)
Parámetros | |
---|---|
description |
Description |
fireTestSuiteFinished
public void fireTestSuiteFinished (Description description)
Parámetros | |
---|---|
description |
Description |
fireTestSuiteStarted
public void fireTestSuiteStarted (Description description)
Parámetros | |
---|---|
description |
Description |
getDeviceNotAvailableException
public DeviceNotAvailableException getDeviceNotAvailableException ()
Muestra el DeviceNotAvailableException
si se arrojó alguno.
Muestra | |
---|---|
DeviceNotAvailableException |
pleaseStop
public void pleaseStop ()
removeListener
public void removeListener (RunListener listener)
Parámetros | |
---|---|
listener |
RunListener |