DeviceUnavailableMonitor
public
final
class
DeviceUnavailableMonitor
extends Object
implements
ITestInvocationListener
java.lang.Object | |
↳ | com.android.tradefed.invoker.DeviceUnavailableMonitor |
Esse listener tenta capturar apenas o DNAE do nível de um caso de teste.
Resumo
Construtores públicos | |
---|---|
DeviceUnavailableMonitor()
|
Métodos públicos | |
---|---|
DeviceNotAvailableException
|
getUnavailableException()
Retorna a exceção, se alguma tiver sido capturada. |
void
|
invocationFailed(FailureDescription failure)
|
void
|
invocationFailed(Throwable cause)
|
void
|
invocationStarted(IInvocationContext context)
|
void
|
testFailed(TestDescription test, FailureDescription failure)
|
void
|
testRunFailed(FailureDescription failure)
|
Construtores públicos
DeviceUnavailableMonitor
public DeviceUnavailableMonitor ()
Métodos públicos
getUnavailableException
public DeviceNotAvailableException getUnavailableException ()
Retorna a exceção, se alguma tiver sido capturada.
Retorna | |
---|---|
DeviceNotAvailableException |
InvocationFalha
public void invocationFailed (FailureDescription failure)
Parâmetros | |
---|---|
failure |
FailureDescription |
InvocationFalha
public void invocationFailed (Throwable cause)
Parâmetros | |
---|---|
cause |
Throwable |
invocationStarted
public void invocationStarted (IInvocationContext context)
Parâmetros | |
---|---|
context |
IInvocationContext |
testFailed
public void testFailed (TestDescription test, FailureDescription failure)
Parâmetros | |
---|---|
test |
TestDescription |
failure |
FailureDescription |
testRunFailed
public void testRunFailed (FailureDescription failure)
Parâmetros | |
---|---|
failure |
FailureDescription |