Class: Google::Apis::ToolresultsV1beta3::AndroidRoboTest
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::AndroidRoboTest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/toolresults_v1beta3/classes.rb,
generated/google/apis/toolresults_v1beta3/representations.rb,
generated/google/apis/toolresults_v1beta3/representations.rb
Overview
A test of an android application that explores the application on a virtual or physical Android device, finding culprits and crashes as it goes.
Instance Attribute Summary collapse
-
#app_initial_activity ⇒ String
The initial activity that should be used to start the app.
-
#bootstrap_package_id ⇒ String
The java package for the bootstrap.
-
#bootstrap_runner_class ⇒ String
The runner class for the bootstrap.
-
#max_depth ⇒ Fixnum
The max depth of the traversal stack Robo can explore.
-
#max_steps ⇒ Fixnum
The max number of steps/actions Robo can execute.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AndroidRoboTest
constructor
A new instance of AndroidRoboTest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AndroidRoboTest
Returns a new instance of AndroidRoboTest.
156 157 158 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 156 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_initial_activity ⇒ String
The initial activity that should be used to start the app. Optional
Corresponds to the JSON property appInitialActivity
133 134 135 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 133 def app_initial_activity @app_initial_activity end |
#bootstrap_package_id ⇒ String
The java package for the bootstrap. Optional
Corresponds to the JSON property bootstrapPackageId
138 139 140 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 138 def bootstrap_package_id @bootstrap_package_id end |
#bootstrap_runner_class ⇒ String
The runner class for the bootstrap. Optional
Corresponds to the JSON property bootstrapRunnerClass
143 144 145 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 143 def bootstrap_runner_class @bootstrap_runner_class end |
#max_depth ⇒ Fixnum
The max depth of the traversal stack Robo can explore. Optional
Corresponds to the JSON property maxDepth
148 149 150 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 148 def max_depth @max_depth end |
#max_steps ⇒ Fixnum
The max number of steps/actions Robo can execute. Default is no limit (0).
Optional
Corresponds to the JSON property maxSteps
154 155 156 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 154 def max_steps @max_steps end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
161 162 163 164 165 166 167 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 161 def update!(**args) @app_initial_activity = args[:app_initial_activity] if args.key?(:app_initial_activity) @bootstrap_package_id = args[:bootstrap_package_id] if args.key?(:bootstrap_package_id) @bootstrap_runner_class = args[:bootstrap_runner_class] if args.key?(:bootstrap_runner_class) @max_depth = args[:max_depth] if args.key?(:max_depth) @max_steps = args[:max_steps] if args.key?(:max_steps) end |