USB重置測試
public class UsbResetTest
extends Object
implements IRemoteTest
java.lang.Object | |
↳ | com.android.tradefed.testtype.UsbResetTest |
一個IRemoteTest
,它重置設備 USB 並檢查設備之後是否重新聯機。
概括
公共構造函數 | |
---|---|
UsbResetTest () |
公共方法 | |
---|---|
void | run ( TestInformation testInfo, ITestInvocationListener listener) 運行測試,並將結果報告給偵聽器。 |
公共構造函數
USB重置測試
public UsbResetTest ()
公共方法
跑步
public void run (TestInformation testInfo, ITestInvocationListener listener)
運行測試,並將結果報告給偵聽器。
參數 | |
---|---|
testInfo | TestInformation :包含運行測試的有用信息的TestInformation 對象。 |
listener | ITestInvocationListener : 測試結果的ITestInvocationListener |
投擲 | |
---|---|
DeviceNotAvailableException |