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:
-
Setting up the device for testing
-
Installing all apks necessary for the test
-
Running the tests
-
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 |
Summary
Public functions |
|
---|---|
@Incubating Boolean |
runTests(params: DeviceTestRunParameters<InputT>) 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. |