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.

Protected methods

void run(TestCase test)

Public constructors

DeviceTestResult

DeviceTestResult ()

Public methods

endTest

void endTest (Test test)

Parameters
test Test

runProtected

void runProtected (Test test, 
                Protectable p)

Runs a TestCase.

Parameters
test Test

p Protectable

Throws
DeviceTestResult.RuntimeDeviceNotAvailableException if a DeviceNotAvailableException occurs

Protected methods

run

void run (TestCase test)

Parameters
test TestCase