InstrumentationFileTest

class InstrumentationFileTest
extends Object implements IRemoteTest

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


Runs a set of instrumentation tests by specifying a list of line separated test classes and methods in a file pushed to device (expected format: com.android.foo.FooClassName#testMethodName)

Note: Requires a runner that supports test execution from a file. Will default to serial tests execution via InstrumentationSerialTest if any issues with file creation are encountered or if all tests in the created file fail to successfully finish execution.

Summary

Public methods

void run(ITestInvocationListener listener)

Runs the tests, and reports result to the listener.

Public methods

run

void run (ITestInvocationListener listener)

Runs the tests, and reports result to the listener.

Parameters
listener ITestInvocationListener: the ITestInvocationListener of test results

Throws
DeviceNotAvailableException