Class: Google::Apis::ToolresultsV1beta3::AndroidRoboTest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_activityString

The initial activity that should be used to start the app. Optional Corresponds to the JSON property appInitialActivity

Returns:

  • (String)


133
134
135
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 133

def app_initial_activity
  @app_initial_activity
end

#bootstrap_package_idString

The java package for the bootstrap. Optional Corresponds to the JSON property bootstrapPackageId

Returns:

  • (String)


138
139
140
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 138

def bootstrap_package_id
  @bootstrap_package_id
end

#bootstrap_runner_classString

The runner class for the bootstrap. Optional Corresponds to the JSON property bootstrapRunnerClass

Returns:

  • (String)


143
144
145
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 143

def bootstrap_runner_class
  @bootstrap_runner_class
end

#max_depthFixnum

The max depth of the traversal stack Robo can explore. Optional Corresponds to the JSON property maxDepth

Returns:

  • (Fixnum)


148
149
150
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 148

def max_depth
  @max_depth
end

#max_stepsFixnum

The max number of steps/actions Robo can execute. Default is no limit (0). Optional Corresponds to the JSON property maxSteps

Returns:

  • (Fixnum)


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