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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_activityString

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

Returns:

  • (String)


114
115
116
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 114

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)


119
120
121
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 119

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)


124
125
126
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 124

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)


129
130
131
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 129

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)


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