RunNotifierWrapper
public class RunNotifierWrapper
extends RunNotifier
java.lang.object |
↳ | org.junit.runner.notification.RunNotifier |
| ↳ | com.android.tradefed.testtype.junit4.RunNotifierWrapper |
Wrapper RunNotifier
تا بتوانیم DeviceNotAvailableException
را حمل کنیم.
خلاصه
سازندگان عمومی
RunNotifierWrapper
public RunNotifierWrapper (RunNotifier notifier)
پارامترها |
---|
notifier | RunNotifier |
روش های عمومی
addFirstListener
public void addFirstListener (RunListener listener)
پارامترها |
---|
listener | RunListener |
addListener
public void addListener (RunListener listener)
پارامترها |
---|
listener | RunListener |
fireTestAssumption Failed
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)
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 |
لطفا بس کن
public void pleaseStop ()
removeListener
public void removeListener (RunListener listener)
پارامترها |
---|
listener | RunListener |
public void setTestInfo (TestInformation testInfo)
پارامترها |
---|
testInfo | TestInformation |