ملف 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()
لعرض |
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 |
تعذُّر اختبار fireTest
public void fireTestFailure (Failure failure)
المعلمات | |
---|---|
failure |
Failure |
fireTestFinished
public void fireTestFinished (Description description)
المعلمات | |
---|---|
description |
Description |
fireTestIgnored
public void fireTestIgnored (Description description)
المعلمات | |
---|---|
description |
Description |
تم الانتهاء من fireTestRun
public void fireTestRunFinished (Result result)
المعلمات | |
---|---|
result |
Result |
fireTestRunStarted
public void fireTestRunStarted (Description description)
المعلمات | |
---|---|
description |
Description |
fireTestStarted
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 ()
removeListener
public void removeListener (RunListener listener)
المعلمات | |
---|---|
listener |
RunListener |