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

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

Protected methods

run

protected void run (TestCase test)

Parameters
test TestCase