TestSetupResponse

data class TestSetupResponse(val account: AccountResponse, val additionalApks: List<ApkResponse>, val directoriesToPull: List<String>, val dontAutograntPermissions: Boolean, val environmentVariables: List<EnvironmentVariableResponse>, val filesToPush: List<DeviceFileResponse>, val networkProfile: String, val systrace: SystraceSetupResponse)

A description of how to set up the Android device prior to running the test.

Constructors

Link copied to clipboard
constructor(account: AccountResponse, additionalApks: List<ApkResponse>, directoriesToPull: List<String>, dontAutograntPermissions: Boolean, environmentVariables: List<EnvironmentVariableResponse>, filesToPush: List<DeviceFileResponse>, networkProfile: String, systrace: SystraceSetupResponse)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The device will be logged in on this account for the duration of the test.

Link copied to clipboard

APKs to install in addition to those being directly tested. Currently capped at 100.

Link copied to clipboard

List of directories on the device to upload to GCS at the end of the test; they must be absolute paths under /sdcard, /storage or /data/local/tmp. Path names are restricted to characters a-z A-Z 0-9 _ - . + and / Note: The paths /sdcard and /data will be made available and treated as implicit path substitutions. E.g. if /sdcard on a particular device does not map to external storage, the system will replace it with the external storage path prefix for that device.

Link copied to clipboard

Whether to prevent all runtime permissions to be granted at app install

Link copied to clipboard

Environment variables to set for the test (only applicable for instrumentation tests).

Link copied to clipboard

List of files to push to the device before starting the test.

Link copied to clipboard

The network traffic profile used for running the test. Available network profiles can be queried by using the NETWORK_CONFIGURATION environment type when calling TestEnvironmentDiscoveryService.GetTestEnvironmentCatalog.

Link copied to clipboard

Systrace configuration for the run. Deprecated: Systrace used Python 2 which was sunsetted on 2020-01-01. Systrace is no longer supported in the Cloud Testing API, and no Systrace file will be provided in the results.