Stay organized with collections
Save and categorize content based on your preferences.
RunNotifierWrapper
public
class
RunNotifierWrapper
extends RunNotifier
java.lang.Object
|
↳ |
org.junit.runner.notification.RunNotifier
|
|
↳ |
com.android.tradefed.testtype.junit4.RunNotifierWrapper
|
Wrapper of RunNotifier
so we can carry the DeviceNotAvailableException
.
Summary
Public constructors
RunNotifierWrapper
public RunNotifierWrapper (RunNotifier notifier)
Parameters |
notifier |
RunNotifier |
Public methods
addFirstListener
public void addFirstListener (RunListener listener)
Parameters |
listener |
RunListener |
addListener
public void addListener (RunListener listener)
Parameters |
listener |
RunListener |
fireTestAssumptionFailed
public void fireTestAssumptionFailed (Failure failure)
Parameters |
failure |
Failure |
fireTestFailure
public void fireTestFailure (Failure failure)
Parameters |
failure |
Failure |
fireTestFinished
public void fireTestFinished (Description description)
Parameters |
description |
Description |
fireTestIgnored
public void fireTestIgnored (Description description)
Parameters |
description |
Description |
fireTestRunFinished
public void fireTestRunFinished (Result result)
fireTestRunStarted
public void fireTestRunStarted (Description description)
Parameters |
description |
Description |
fireTestStarted
public void fireTestStarted (Description description)
Parameters |
description |
Description |
fireTestSuiteFinished
public void fireTestSuiteFinished (Description description)
Parameters |
description |
Description |
fireTestSuiteStarted
public void fireTestSuiteStarted (Description description)
Parameters |
description |
Description |
pleaseStop
public void pleaseStop ()
removeListener
public void removeListener (RunListener listener)
Parameters |
listener |
RunListener |
public void setTestInfo (TestInformation testInfo)
Parameters |
testInfo |
TestInformation |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-03-08 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"lastModified": "Last updated 2023-03-08 UTC.",
"confidential": False
}