pub struct AndroidTestLoop {
pub app_apk: Option<FileReference>,
pub app_bundle: Option<AppBundle>,
pub app_package_id: Option<String>,
pub scenario_labels: Option<Vec<String>>,
pub scenarios: Option<Vec<i32>>,
}
Expand description
A test of an Android Application with a Test Loop. The intent \ will be implicitly added, since Games is the only user of this api, for the time being.
This type is not used in any activity, and only used as part of another schema.
Fields§
§app_apk: Option<FileReference>
The APK for the application under test.
app_bundle: Option<AppBundle>
A multi-apk app bundle for the application under test.
app_package_id: Option<String>
The java package for the application under test. The default is determined by examining the application’s manifest.
scenario_labels: Option<Vec<String>>
The list of scenario labels that should be run during the test. The scenario labels should map to labels defined in the application’s manifest. For example, player_experience and com.google.test.loops.player_experience add all of the loops labeled in the manifest with the com.google.test.loops.player_experience name to the execution. Scenarios can also be specified in the scenarios field.
scenarios: Option<Vec<i32>>
The list of scenarios that should be run during the test. The default is all test loops, derived from the application’s manifest.
Trait Implementations§
Source§impl Clone for AndroidTestLoop
impl Clone for AndroidTestLoop
Source§fn clone(&self) -> AndroidTestLoop
fn clone(&self) -> AndroidTestLoop
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AndroidTestLoop
impl Debug for AndroidTestLoop
Source§impl Default for AndroidTestLoop
impl Default for AndroidTestLoop
Source§fn default() -> AndroidTestLoop
fn default() -> AndroidTestLoop
Source§impl<'de> Deserialize<'de> for AndroidTestLoop
impl<'de> Deserialize<'de> for AndroidTestLoop
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for AndroidTestLoop
impl Serialize for AndroidTestLoop
impl Part for AndroidTestLoop
Auto Trait Implementations§
impl Freeze for AndroidTestLoop
impl RefUnwindSafe for AndroidTestLoop
impl Send for AndroidTestLoop
impl Sync for AndroidTestLoop
impl Unpin for AndroidTestLoop
impl UnwindSafe for AndroidTestLoop
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more