DeviceTestResult
public
class
DeviceTestResult
extends TestResult
java.lang.Object | ||
↳ | junit.framework.TestResult | |
↳ | com.android.tradefed.testtype.DeviceTestResult |
An specialization of TestResult
that will abort when a
DeviceNotAvailableException
occurs
Summary
Nested classes | |
---|---|
class |
DeviceTestResult.RuntimeDeviceNotAvailableException
|
Public constructors | |
---|---|
DeviceTestResult()
|
Public methods | |
---|---|
void
|
endTest(Test test)
|
void
|
runProtected(Test test, Protectable p)
Runs a TestCase. |
void
|
setTestInfo(TestInformation testInfo)
|
void
|
startTest(Test test)
|
Protected methods | |
---|---|
void
|
run(TestCase test)
|
Public constructors
DeviceTestResult
public DeviceTestResult ()
Public methods
endTest
public void endTest (Test test)
Parameters | |
---|---|
test |
Test |
runProtected
public void runProtected (Test test, Protectable p)
Runs a TestCase.
Parameters | |
---|---|
test |
Test |
p |
Protectable |
Throws | |
---|---|
DeviceTestResult.RuntimeDeviceNotAvailableException |
if a DeviceNotAvailableException occurs |
startTest
public void startTest (Test test)
Parameters | |
---|---|
test |
Test |
Protected methods
run
protected void run (TestCase test)
Parameters | |
---|---|
test |
TestCase |
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 2022-11-07 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"
}]