DeviceTestResult
public
class
DeviceTestResult
extends TestResult
java.lang.Object | ||
↳ | junit.framework.TestResult | |
↳ | com.android.tradefed.testtype.DeviceTestResult |
TestResult
的專門化版本,會在 DeviceNotAvailableException
發生時中止
摘要
巢狀類別 | |
---|---|
class |
DeviceTestResult.RuntimeDeviceNotAvailableException
|
公用建構函式 | |
---|---|
DeviceTestResult()
|
公用方法 | |
---|---|
void
|
endTest(Test test)
|
void
|
runProtected(Test test, Protectable p)
執行 TestCase。 |
void
|
setTestInfo(TestInformation testInfo)
|
void
|
startTest(Test test)
|
受保護的方法 | |
---|---|
void
|
run(TestCase test)
|
公用建構函式
DeviceTestResult
public DeviceTestResult ()
公用方法
endTest
public void endTest (Test test)
參數 | |
---|---|
test |
Test |
runProtected
public void runProtected (Test test, Protectable p)
執行 TestCase。
參數 | |
---|---|
test |
Test |
p |
Protectable |
擲回 | |
---|---|
DeviceTestResult.RuntimeDeviceNotAvailableException |
如果發生 DeviceNotAvailableException |
startTest
public void startTest (Test test)
參數 | |
---|---|
test |
Test |
受保護的方法
得分
protected void run (TestCase test)
參數 | |
---|---|
test |
TestCase |