[][src]Struct google_testing1::AndroidRoboTest

pub struct AndroidRoboTest {
    pub app_bundle: Option<AppBundle>,
    pub robo_directives: Option<Vec<RoboDirective>>,
    pub robo_script: Option<FileReference>,
    pub max_steps: Option<i32>,
    pub max_depth: Option<i32>,
    pub starting_intents: Option<Vec<RoboStartingIntent>>,
    pub app_apk: Option<FileReference>,
    pub app_package_id: Option<String>,
    pub app_initial_activity: Option<String>,
}

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

app_bundle: Option<AppBundle>

A multi-apk app bundle for the application under test.

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.

robo_script: Option<FileReference>

A JSON file with a sequence of actions Robo should perform as a prologue for the crawl.

max_steps: Option<i32>

The max number of steps Robo can execute. Default is no limit.

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.

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).

app_apk: Option<FileReference>

The APK for the application under test.

app_package_id: Option<String>

The java package for the application under test. The default value is determined by examining the application's manifest.

app_initial_activity: Option<String>

The initial activity that should be used to start the app.

Trait Implementations

impl Part for AndroidRoboTest[src]

impl Default for AndroidRoboTest[src]

impl Clone for AndroidRoboTest[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for AndroidRoboTest[src]

impl Serialize for AndroidRoboTest[src]

impl<'de> Deserialize<'de> for AndroidRoboTest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]