Class: Google::Apis::TestingV1::AndroidTestLoop
- Inherits:
-
Object
- Object
- Google::Apis::TestingV1::AndroidTestLoop
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/testing_v1/classes.rb,
generated/google/apis/testing_v1/representations.rb,
generated/google/apis/testing_v1/representations.rb
Overview
A test of an Android Application with a Test Loop. The intent <intent-name> will be implicitly added, since Games is the only user of this api, for the time being.
Instance Attribute Summary collapse
-
#app_apk ⇒ Google::Apis::TestingV1::FileReference
A reference to a file, used for user inputs.
-
#app_bundle ⇒ Google::Apis::TestingV1::AppBundle
An Android App Bundle file format, containing a BundleConfig.pb file, a base module directory, zero or more dynamic feature module directories.
-
#app_package_id ⇒ String
The java package for the application under test.
-
#scenario_labels ⇒ Array<String>
The list of scenario labels that should be run during the test.
-
#scenarios ⇒ Array<Fixnum>
The list of scenarios that should be run during the test.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AndroidTestLoop
constructor
A new instance of AndroidTestLoop.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AndroidTestLoop
Returns a new instance of AndroidTestLoop.
548 549 550 |
# File 'generated/google/apis/testing_v1/classes.rb', line 548 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_apk ⇒ Google::Apis::TestingV1::FileReference
A reference to a file, used for user inputs.
Corresponds to the JSON property appApk
514 515 516 |
# File 'generated/google/apis/testing_v1/classes.rb', line 514 def app_apk @app_apk end |
#app_bundle ⇒ Google::Apis::TestingV1::AppBundle
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
522 523 524 |
# File 'generated/google/apis/testing_v1/classes.rb', line 522 def app_bundle @app_bundle end |
#app_package_id ⇒ String
The java package for the application under test.
The default is determined by examining the application's manifest.
Corresponds to the JSON property appPackageId
528 529 530 |
# File 'generated/google/apis/testing_v1/classes.rb', line 528 def app_package_id @app_package_id end |
#scenario_labels ⇒ Array<String>
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
539 540 541 |
# File 'generated/google/apis/testing_v1/classes.rb', line 539 def scenario_labels @scenario_labels end |
#scenarios ⇒ Array<Fixnum>
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
546 547 548 |
# File 'generated/google/apis/testing_v1/classes.rb', line 546 def scenarios @scenarios end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
553 554 555 556 557 558 559 |
# File 'generated/google/apis/testing_v1/classes.rb', line 553 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 |