Struct google_api_proto::google::devtools::testing::v1::AndroidRoboTest
source · pub struct AndroidRoboTest {
pub app_package_id: String,
pub app_initial_activity: String,
pub max_depth: i32,
pub max_steps: i32,
pub robo_directives: Vec<RoboDirective>,
pub robo_mode: i32,
pub robo_script: Option<FileReference>,
pub starting_intents: Vec<RoboStartingIntent>,
pub app_under_test: Option<AppUnderTest>,
}
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.
Fields§
§app_package_id: String
The java package for the application under test. The default value is determined by examining the application’s manifest.
app_initial_activity: String
The initial activity that should be used to start the app.
max_depth: 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: i32
The max number of steps Robo can execute. Default is no limit.
robo_directives: 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_mode: i32
The mode in which Robo should run. Most clients should allow the server to populate this field automatically.
robo_script: Option<FileReference>
A JSON file with a sequence of actions Robo should perform as a prologue for the crawl.
starting_intents: 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_under_test: Option<AppUnderTest>
Required.
Implementations§
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§impl Message for AndroidRoboTest
impl Message for AndroidRoboTest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for AndroidRoboTest
impl PartialEq for AndroidRoboTest
source§fn eq(&self, other: &AndroidRoboTest) -> bool
fn eq(&self, other: &AndroidRoboTest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq 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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request