Struct google_testing1::AndroidRoboTest
source · pub struct AndroidRoboTest {
pub robo_directives: Option<Vec<RoboDirective>>,
pub robo_script: Option<FileReference>,
pub app_apk: Option<FileReference>,
pub max_depth: Option<i32>,
pub starting_intents: Option<Vec<RoboStartingIntent>>,
pub max_steps: Option<i32>,
pub app_package_id: Option<String>,
pub app_initial_activity: Option<String>,
}Expand description
A test of an android application that explores the application on a virtual or physical Android Device, finding culprits and crashes as it goes.
This type is not used in any activity, and only used as part of another schema.
Fields§
§robo_directives: Option<Vec<RoboDirective>>A set of directives Robo should apply during the crawl. This allows users to customize the crawl. For example, the username and password for a test account can be provided. Optional
robo_script: Option<FileReference>A JSON file with a sequence of actions Robo should perform as a prologue for the crawl. Optional
app_apk: Option<FileReference>The APK for the application under test.
max_depth: Option<i32>The max depth of the traversal stack Robo can explore. Needs to be at least 2 to make Robo explore the app beyond the first activity. Default is 50. Optional
starting_intents: Option<Vec<RoboStartingIntent>>The intents used to launch the app for the crawl. If none are provided, then the main launcher activity is launched. If some are provided, then only those provided are launched (the main launcher activity must be provided explicitly).
max_steps: Option<i32>The max number of steps Robo can execute. Default is no limit. Optional
app_package_id: Option<String>The java package for the application under test. Optional, default is determined by examining the application’s manifest.
app_initial_activity: Option<String>The initial activity that should be used to start the app. Optional
Trait Implementations§
source§impl Clone for AndroidRoboTest
impl Clone for AndroidRoboTest
source§fn clone(&self) -> AndroidRoboTest
fn clone(&self) -> AndroidRoboTest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AndroidRoboTest
impl Debug for AndroidRoboTest
source§impl Default for AndroidRoboTest
impl Default for AndroidRoboTest
source§fn default() -> AndroidRoboTest
fn default() -> AndroidRoboTest
source§impl<'de> Deserialize<'de> for AndroidRoboTest
impl<'de> Deserialize<'de> for AndroidRoboTest
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 AndroidRoboTest
impl Serialize for AndroidRoboTest
impl Part for AndroidRoboTest
Auto Trait Implementations§
impl Freeze for AndroidRoboTest
impl RefUnwindSafe for AndroidRoboTest
impl Send for AndroidRoboTest
impl Sync for AndroidRoboTest
impl Unpin for AndroidRoboTest
impl UnwindSafe for AndroidRoboTest
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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