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 TestInformationTestInformation物件包含執行測試的有用資訊。

listener ITestInvocationListener :測試結果的ITestInvocationListener

投擲
DeviceNotAvailableException