RunNotifierWrapper

public class RunNotifierWrapper
extends RunNotifier

java.lang.Object의 클래스
   ↳ org.junit.runner.notification.RunNotifier
     ↳ com.android.tradefed.testtype.junit4.RunNotifierWrapper


DeviceNotAvailableException를 전달할 수 있는 RunNotifier의 래퍼입니다.

요약

공개 생성자

RunNotifierWrapper(RunNotifier notifier)

공개 메서드

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()

발생한 경우 DeviceNotAvailableException를 반환합니다.

void pleaseStop()
void removeListener(RunListener listener)
void setTestInfo(TestInformation testInfo)

공개 생성자

RunNotifierWrapper

public RunNotifierWrapper (RunNotifier notifier)

매개변수
notifier RunNotifier

공개 메서드

addFirstListener를 추가합니다.

public void addFirstListener (RunListener listener)

매개변수
listener RunListener

addListeners

public void addListener (RunListener listener)

매개변수
listener RunListener

FireTestAssumptionFailed

public void fireTestAssumptionFailed (Failure failure)

매개변수
failure Failure

FireTestFailure

public void fireTestFailure (Failure failure)

매개변수
failure Failure

화재 테스트 완료

public void fireTestFinished (Description description)

매개변수
description Description

FireTestIgnored

public void fireTestIgnored (Description description)

매개변수
description Description

화재 테스트 실행 완료

public void fireTestRunFinished (Result result)

매개변수
result Result

FireTestRunStarted

public void fireTestRunStarted (Description description)

매개변수
description Description

FireTestStarted

public void fireTestStarted (Description description)

매개변수
description Description

FireTestSuite 완료됨

public void fireTestSuiteFinished (Description description)

매개변수
description Description

FireTestSuiteStarted

public void fireTestSuiteStarted (Description description)

매개변수
description Description

getDeviceNotAvailableException

public DeviceNotAvailableException getDeviceNotAvailableException ()

발생한 경우 DeviceNotAvailableException를 반환합니다.

반환 값
DeviceNotAvailableException

중지해 줘

public void pleaseStop ()

removeListener

public void removeListener (RunListener listener)

매개변수
listener RunListener

setTestInfo

public void setTestInfo (TestInformation testInfo)

매개변수
testInfo TestInformation