DeviceUnavailableMonitor

public final class DeviceUnavailableMonitor
extends Object implements ITestInvocationListener

java.lang.Object의 클래스
   ↳ com.android.tradefed.invoker.DeviceUnavailableMonitor


이 리스너는 테스트 사례 수준의 DNAE만 캡처하려고 시도합니다.

요약

공개 생성자

DeviceUnavailableMonitor()

공개 메서드

DeviceNotAvailableException getUnavailableException()

캡처된 예외가 있는 경우 예외를 반환합니다.

void invocationFailed(FailureDescription failure)
void invocationFailed(Throwable cause)
void invocationStarted(IInvocationContext context)
void testFailed(TestDescription test, FailureDescription failure)
void testRunFailed(FailureDescription failure)

공개 생성자

DeviceUnavailableMonitor

public DeviceUnavailableMonitor ()

공개 메서드

getUnavailableException

public DeviceNotAvailableException getUnavailableException ()

캡처된 예외가 있는 경우 예외를 반환합니다.

반환 값
DeviceNotAvailableException

invocationFailed

public void invocationFailed (FailureDescription failure)

매개변수
failure FailureDescription

invocationFailed

public void invocationFailed (Throwable cause)

매개변수
cause Throwable

invocationStarted

public void invocationStarted (IInvocationContext context)

매개변수
context IInvocationContext

테스트 실패

public void testFailed (TestDescription test, 
                FailureDescription failure)

매개변수
test TestDescription

failure FailureDescription

testRunFailed

public void testRunFailed (FailureDescription failure)

매개변수
failure FailureDescription