DeviceTestResult

public class DeviceTestResult
extends TestResult

java.lang.Object
junit.framework.TestResult
com.android.tradefed.testtype.DeviceTestResult


Uma especialização de TestResult que será interrompida quando ocorrer uma DeviceNotAvailableException

Resumo

Classes aninhadas

class DeviceTestResult.RuntimeDeviceNotAvailableException

Construtores públicos

DeviceTestResult ()

Métodos públicos

void endTest (Test test)

void runProtected (Test test, Protectable p)

Executa um TestCase.

void setTestInfo ( TestInformation testInfo)
void startTest (Test test)

Métodos protegidos

void run (TestCase test)

Construtores públicos

DeviceTestResult

public DeviceTestResult ()

Métodos públicos

endTest

public void endTest (Test test)

Parâmetros
test Test

runProtected

public void runProtected (Test test, 
                Protectable p)

Executa um TestCase.

Parâmetros
test Test

p Protectable

lances
DeviceTestResult.RuntimeDeviceNotAvailableException se ocorrer uma DeviceNotAvailableException

setTestInfo

public void setTestInfo (TestInformation testInfo)

Parâmetros
testInfo TestInformation

startTest

public void startTest (Test test)

Parâmetros
test Test

Métodos protegidos

correr

protected void run (TestCase test)

Parâmetros
test TestCase