UsbResetTest

public class UsbResetTest
extends Object implements IRemoteTest

java.lang.Object
   ↳ com.android.tradefed.testtype.UsbResetTest


An IRemoteTest that reset the device USB and checks whether the device comes back online afterwards.

Summary

Public constructors

UsbResetTest()

Public methods

void run(TestInformation testInfo, ITestInvocationListener listener)

Runs the tests, and reports result to the listener.

Public constructors

UsbResetTest

public UsbResetTest ()

Public methods

run

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

Runs the tests, and reports result to the listener.

Parameters
testInfo TestInformation: The TestInformation object containing useful information to run tests.

listener ITestInvocationListener: the ITestInvocationListener of test results

Throws
DeviceNotAvailableException