DeviceTestResult

public class DeviceTestResult
extends TestResult

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


Spécialisation de TestResult qui s'arrête lorsqu'un 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

endTest

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

Génère
DeviceTestResult.RuntimeDeviceNotAvailableException si une exception DeviceNotAvailableException se produit

setTestInfo

public void setTestInfo (TestInformation testInfo)

Paramètres
testInfo TestInformation

startTest

public void startTest (Test test)

Paramètres
test Test

Méthodes protégées

Exécuter

protected void run (TestCase test)

Paramètres
test TestCase