Struct google_testing1::api::AndroidRoboTest[][src]

pub struct AndroidRoboTest {
    pub app_apk: Option<FileReference>,
    pub app_bundle: Option<AppBundle>,
    pub app_initial_activity: Option<String>,
    pub app_package_id: Option<String>,
    pub max_depth: Option<i32>,
    pub max_steps: Option<i32>,
    pub robo_directives: Option<Vec<RoboDirective>>,
    pub robo_script: Option<FileReference>,
    pub starting_intents: Option<Vec<RoboStartingIntent>>,
}
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. Next tag: 30

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_initial_activity: Option<String>

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

app_package_id: Option<String>

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

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.

max_steps: Option<i32>

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

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.

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

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.