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 |