DeviceTestResult

public class DeviceTestResult
extends TestResult

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


Specjalizowanie funkcji TestResult, która zostanie przerwana, gdy wystąpi DeviceNotAvailableException

Podsumowanie

Zagnieżdżone klasy

class DeviceTestResult.RuntimeDeviceNotAvailableException

 

Konstruktory publiczne

DeviceTestResult()

Metody publiczne

void endTest(Test test)

void runProtected(Test test, Protectable p)

Uruchamia TestCase.

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

Chronione metody

void run(TestCase test)

Konstruktory publiczne

DeviceTestResult

public DeviceTestResult ()

Metody publiczne

endTest

public void endTest (Test test)

Parametry
test Test

runProtected

public void runProtected (Test test, 
                Protectable p)

Uruchamia TestCase.

Parametry
test Test

p Protectable

Rzuty
DeviceTestResult.RuntimeDeviceNotAvailableException jeśli wystąpi wyjątek DeviceNotAvailableException

setTestInfo

public void setTestInfo (TestInformation testInfo)

Parametry
testInfo TestInformation

startTest

public void startTest (Test test)

Parametry
test Test

Chronione metody

home run

protected void run (TestCase test)

Parametry
test TestCase