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

addListener

public void addListener (RunListener listener)

매개변수
listener RunListener

fireTestAssumptionFailed

public void fireTestAssumptionFailed (Failure failure)

매개변수
failure Failure

fireTestFailure

public void fireTestFailure (Failure failure)

매개변수
failure Failure

fireTestFinished

public void fireTestFinished (Description description)

매개변수
description Description

fireTestIgnored

public void fireTestIgnored (Description description)

매개변수
description Description

fireTestRunFinished

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