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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AndroidRoboTest
Returns a new instance of AndroidRoboTest
137 138 139 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 137 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
114 115 116 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 114 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
119 120 121 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 119 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
124 125 126 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 124 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
129 130 131 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 129 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
135 136 137 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 135 def max_steps @max_steps end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
142 143 144 145 146 147 148 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 142 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 |