RunNotifierWrapper

public class RunNotifierWrapper
extends RunNotifier

java.lang.Object
org.junit.runner.notification.RunNotifier
com.android.tradefed.testtype.junit4.RunNotifierWrapper


RunNotifier حتى نتمكن من حمل DeviceNotAvailableException .

ملخص

المنشأت العامة

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

fireTestAssumption فشل

public void fireTestAssumptionFailed (Failure failure)

المعلمات
failure Failure

fireTestFailure

public void fireTestFailure (Failure failure)

المعلمات
failure Failure

حريق اختبار انتهى

public void fireTestFinished (Description description)

المعلمات
description Description

اختبار حريق تم تجاهله

public void fireTestIgnored (Description description)

المعلمات
description Description

FireTestRunFinished

public void fireTestRunFinished (Result result)

المعلمات
result Result

fireTestRunStarted

public void fireTestRunStarted (Description description)

المعلمات
description Description

fireTest بدأ

public void fireTestStarted (Description description)

المعلمات
description Description

fireTestSuiteFinished

public void fireTestSuiteFinished (Description description)

المعلمات
description Description

fireTestSuiteStarted

public void fireTestSuiteStarted (Description description)

المعلمات
description Description

getDeviceNotAvailableException

public DeviceNotAvailableException getDeviceNotAvailableException ()

DeviceNotAvailableException إذا تم إلقاء أي منها.

عائدات
DeviceNotAvailableException

توقف أرجوك

public void pleaseStop ()

إزالة المستمع

public void removeListener (RunListener listener)

المعلمات
listener RunListener

setTestInfo

public void setTestInfo (TestInformation testInfo)

المعلمات
testInfo TestInformation