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 2023-03-08 UTC.
[null,null,["Last updated 2023-03-08 UTC."],[],[]]