Struct google_testing1::TestSetup [−][src]
pub struct TestSetup { pub environment_variables: Option<Vec<EnvironmentVariable>>, pub account: Option<Account>, pub files_to_push: Option<Vec<DeviceFile>>, pub directories_to_pull: Option<Vec<String>>, pub network_profile: Option<String>, }
A description of how to set up the device prior to running the test
This type is not used in any activity, and only used as part of another schema.
Fields
environment_variables: Option<Vec<EnvironmentVariable>>
Environment variables to set for the test (only applicable for instrumentation tests).
account: Option<Account>
The device will be logged in on this account for the duration of the test. Optional
files_to_push: Option<Vec<DeviceFile>>
List of files to push to the device before starting the test.
Optional
directories_to_pull: Option<Vec<String>>
List of directories on the device to upload to GCS at the end of the test; they must be absolute paths under /sdcard 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.
Optional
network_profile: Option<String>
The network traffic profile used for running the test. Optional
Trait Implementations
impl Default for TestSetup
[src]
impl Default for TestSetup
impl Clone for TestSetup
[src]
impl Clone for TestSetup
fn clone(&self) -> TestSetup
[src]
fn clone(&self) -> TestSetup
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for TestSetup
[src]
impl Debug for TestSetup
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for TestSetup
[src]
impl Part for TestSetup