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

setTestInfo

public void setTestInfo (TestInformation testInfo)

Parameters
testInfo TestInformation

startTest

public void startTest (Test test)

Parameters
test Test

Protected methods

run

protected void run (TestCase test)

Parameters
test TestCase