[−][src]Struct google_testing1::TestSetup
A description of how to set up the Android device prior to running the test.
This type is not used in any activity, and only used as part of another schema.
Fields
account: Option<Account>
The device will be logged in on this account for the duration of the test.
systrace: Option<SystraceSetup>
Systrace configuration for the run. If set a systrace will be taken, starting on test start and lasting for the configured duration. The systrace file thus obtained is put in the results bucket together with the other artifacts from the run.
network_profile: Option<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.
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, /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.
environment_variables: Option<Vec<EnvironmentVariable>>
Environment variables to set for the test (only applicable for instrumentation tests).
additional_apks: Option<Vec<Apk>>
APKs to install in addition to those being directly tested. Currently capped at 100.
dont_autogrant_permissions: Option<bool>
Whether to prevent all runtime permissions to be granted at app install
files_to_push: Option<Vec<DeviceFile>>
List of files to push to the device before starting the test.
Trait Implementations
impl Clone for TestSetup
[src]
impl Debug for TestSetup
[src]
impl Default for TestSetup
[src]
impl<'de> Deserialize<'de> for TestSetup
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for TestSetup
[src]
impl Serialize for TestSetup
[src]
Auto Trait Implementations
impl RefUnwindSafe for TestSetup
impl Send for TestSetup
impl Sync for TestSetup
impl Unpin for TestSetup
impl UnwindSafe for TestSetup
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,