A test runner able to run tests on a list of com.android.builder.testing.api.DeviceConnector
| Modifiers | Name | Description |
|---|---|---|
class |
TestRunner.NoAuthorizedDeviceFoundException |
| Type | Name and description |
|---|---|
boolean |
runTests(String projectName, String variantName, File testApk, TestData testData, List<? extends com.android.builder.testing.api.DeviceConnector> deviceList, int maxThreads, int timeoutInMs, Collection<String> installOptions, File resultsDir, File coverageDir, com.android.utils.ILogger logger)Returns true if the tests succeeded. |
Returns true if the tests succeeded.
maxThreads - the max number of threads to run in parallel. 0 means unlimited.timeoutInMs - time out in millisecondsinstallOptions - parameters passed to the pm install command.