TestSetupResponse class
A description of how to set up the Android device prior to running the test.
Constructors
-
TestSetupResponse({required Input<
AccountResponse> account, required Input<List< additionalApks, required Input<ApkResponse> >List< directoriesToPull, required Input<String> >bool> dontAutograntPermissions, required Input<List< environmentVariables, required Input<EnvironmentVariableResponse> >List< filesToPush, required Input<DeviceFileResponse> >List< initialSetupApks, required Input<ApkResponse> >String> networkProfile, required Input<SystraceSetupResponse> systrace}) -
Creates a new TestSetupResponse.
accountThe device will be logged in on this account for the duration of the test.additionalApksAPKs to install in addition to those being directly tested. These will be installed after the app under test. Currently capped at 100.directoriesToPullList 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.dontAutograntPermissionsWhether to prevent all runtime permissions to be granted at app installenvironmentVariablesEnvironment variables to set for the test (only applicable for instrumentation tests).filesToPushList of files to push to the device before starting the test.initialSetupApksOptional. Initial setup APKs to install before the app under test is installed. Currently capped at 100.networkProfileThe 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.systraceSystrace 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.const -
TestSetupResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
account
→ Input<
AccountResponse> -
The device will be logged in on this account for the duration of the test.
final
-
additionalApks
→ Input<
List< ApkResponse> > -
APKs to install in addition to those being directly tested. These will be installed after the app under test. Currently capped at 100.
final
-
directoriesToPull
→ Input<
List< String> > -
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.
final
-
dontAutograntPermissions
→ Input<
bool> -
Whether to prevent all runtime permissions to be granted at app install
final
-
environmentVariables
→ Input<
List< EnvironmentVariableResponse> > -
Environment variables to set for the test (only applicable for instrumentation tests).
final
-
filesToPush
→ Input<
List< DeviceFileResponse> > -
List of files to push to the device before starting the test.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
initialSetupApks
→ Input<
List< ApkResponse> > -
Optional. Initial setup APKs to install before the app under test is installed. Currently capped at 100.
final
-
networkProfile
→ Input<
String> -
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.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
systrace
→ Input<
SystraceSetupResponse> -
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.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited