Class TestSetup
A description of how to set up the Android device prior to running the test.
Implements
Inherited Members
Namespace: Google.Apis.Testing.v1.Data
Assembly: Google.Apis.Testing.v1.dll
Syntax
public class TestSetup : IDirectResponseSchema
Properties
Account
The device will be logged in on this account for the duration of the test.
Declaration
[JsonProperty("account")]
public virtual Account Account { get; set; }
Property Value
Type | Description |
---|---|
Account |
AdditionalApks
APKs to install in addition to those being directly tested. These will be installed after the app under test. Currently capped at 100.
Declaration
[JsonProperty("additionalApks")]
public virtual IList<Apk> AdditionalApks { get; set; }
Property Value
Type | Description |
---|---|
IList<Apk> |
DirectoriesToPull
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.
Declaration
[JsonProperty("directoriesToPull")]
public virtual IList<string> DirectoriesToPull { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
DontAutograntPermissions
Whether to prevent all runtime permissions to be granted at app install
Declaration
[JsonProperty("dontAutograntPermissions")]
public virtual bool? DontAutograntPermissions { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EnvironmentVariables
Environment variables to set for the test (only applicable for instrumentation tests).
Declaration
[JsonProperty("environmentVariables")]
public virtual IList<EnvironmentVariable> EnvironmentVariables { get; set; }
Property Value
Type | Description |
---|---|
IList<EnvironmentVariable> |
FilesToPush
List of files to push to the device before starting the test.
Declaration
[JsonProperty("filesToPush")]
public virtual IList<DeviceFile> FilesToPush { get; set; }
Property Value
Type | Description |
---|---|
IList<DeviceFile> |
InitialSetupApks
Optional. Initial setup APKs to install before the app under test is installed. Currently capped at 100.
Declaration
[JsonProperty("initialSetupApks")]
public virtual IList<Apk> InitialSetupApks { get; set; }
Property Value
Type | Description |
---|---|
IList<Apk> |
NetworkProfile
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.
Declaration
[JsonProperty("networkProfile")]
public virtual string NetworkProfile { get; set; }
Property Value
Type | Description |
---|---|
string |
Systrace
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.
Declaration
[JsonProperty("systrace")]
public virtual SystraceSetup Systrace { get; set; }
Property Value
Type | Description |
---|---|
SystraceSetup |