DeviceTestRunTaskAction

@Incubating interface DeviceTestRunTaskAction<InputT : DeviceTestRunInput>


The Action for running the Test within the test Task.

This is the action to perform all of the test behavior for the given Custom Managed Device. This includes:

  1. Setting up the device for testing

  2. Installing all apks necessary for the test

  3. Running the tests

  4. Any clean up for the device.

This should be implemented for use with a Custom Managed Device Registration.

Parameters
<InputT : DeviceTestRunInput>

The Custom Managed Device specific input to be passed in as part of the DeviceTestRunParameters when the tests are run.

Summary

Public functions

@Incubating Boolean

Runs the tests with the given parameters.

Public functions

runTests

@Incubating
fun runTests(params: DeviceTestRunParameters<InputT>): Boolean

Runs the tests with the given parameters.

Parameters
params: DeviceTestRunParameters<InputT>

All parameters required to run this test.

Returns
Boolean

returns true if and only if all tests passed. Determines if the task succeeds or fails.