DeviceTestResult

public class DeviceTestResult
extends TestResult

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


Une spécialisation de TestResult qui s'arrêtera lorsqu'une DeviceNotAvailableException se produit

Résumé

Classes imbriquées

class DeviceTestResult.RuntimeDeviceNotAvailableException

Constructeurs publics

DeviceTestResult ()

Méthodes publiques

void endTest (Test test)

void runProtected (Test test, Protectable p)

Exécute un TestCase.

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

Méthodes protégées

void run (TestCase test)

Constructeurs publics

DeviceTestResult

public DeviceTestResult ()

Méthodes publiques

finTest

public void endTest (Test test)

Paramètres
test Test

runProtected

public void runProtected (Test test, 
                Protectable p)

Exécute un TestCase.

Paramètres
test Test

p Protectable

Lance
DeviceTestResult.RuntimeDeviceNotAvailableException si une exception DeviceNotAvailableException se produit

setTestInfo

public void setTestInfo (TestInformation testInfo)

Paramètres
testInfo TestInformation

commencerTest

public void startTest (Test test)

Paramètres
test Test

Méthodes protégées

courir

protected void run (TestCase test)

Paramètres
test TestCase