class Google::Apis::TestingV1::AndroidTestLoop

A test of an Android Application with a Test Loop. The intent \ will be implicitly added, since Games is the only user of this api, for the time being.

Attributes

app_apk[RW]

A reference to a file, used for user inputs. Corresponds to the JSON property `appApk` @return [Google::Apis::TestingV1::FileReference]

app_bundle[RW]

An Android App Bundle file format, containing a BundleConfig.pb file, a base module directory, zero or more dynamic feature module directories. See https:// developer.android.com/guide/app-bundle/build for guidance on building App Bundles. Corresponds to the JSON property `appBundle` @return [Google::Apis::TestingV1::AppBundle]

app_package_id[RW]

The java package for the application under test. The default is determined by examining the application's manifest. Corresponds to the JSON property `appPackageId` @return [String]

scenario_labels[RW]

The list of scenario labels that should be run during the test. The scenario labels should map to labels defined in the application's manifest. For example, player_experience and com.google.test.loops.player_experience add all of the loops labeled in the manifest with the com.google.test.loops.player_experience name to the execution. Scenarios can also be specified in the scenarios field. Corresponds to the JSON property `scenarioLabels` @return [Array<String>]

scenarios[RW]

The list of scenarios that should be run during the test. The default is all test loops, derived from the application's manifest. Corresponds to the JSON property `scenarios` @return [Array<Fixnum>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/testing_v1/classes.rb, line 532
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/testing_v1/classes.rb, line 537
def update!(**args)
  @app_apk = args[:app_apk] if args.key?(:app_apk)
  @app_bundle = args[:app_bundle] if args.key?(:app_bundle)
  @app_package_id = args[:app_package_id] if args.key?(:app_package_id)
  @scenario_labels = args[:scenario_labels] if args.key?(:scenario_labels)
  @scenarios = args[:scenarios] if args.key?(:scenarios)
end