Class: Google::Apis::TestingV1::IosTestLoop

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/testing_v1/classes.rb,
lib/google/apis/testing_v1/representations.rb,
lib/google/apis/testing_v1/representations.rb

Overview

A test of an iOS application that implements one or more game loop scenarios. This test type accepts an archived application (.ipa file) and a list of integer scenarios that will be executed on the app sequentially.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IosTestLoop

Returns a new instance of IosTestLoop.



1618
1619
1620
# File 'lib/google/apis/testing_v1/classes.rb', line 1618

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#app_bundle_idString

Output only. The bundle id for the application under test. Corresponds to the JSON property appBundleId

Returns:

  • (String)


1605
1606
1607
# File 'lib/google/apis/testing_v1/classes.rb', line 1605

def app_bundle_id
  @app_bundle_id
end

#app_ipaGoogle::Apis::TestingV1::FileReference

A reference to a file, used for user inputs. Corresponds to the JSON property appIpa



1610
1611
1612
# File 'lib/google/apis/testing_v1/classes.rb', line 1610

def app_ipa
  @app_ipa
end

#scenariosArray<Fixnum>

The list of scenarios that should be run during the test. Defaults to the single scenario 0 if unspecified. Corresponds to the JSON property scenarios

Returns:

  • (Array<Fixnum>)


1616
1617
1618
# File 'lib/google/apis/testing_v1/classes.rb', line 1616

def scenarios
  @scenarios
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1623
1624
1625
1626
1627
# File 'lib/google/apis/testing_v1/classes.rb', line 1623

def update!(**args)
  @app_bundle_id = args[:app_bundle_id] if args.key?(:app_bundle_id)
  @app_ipa = args[:app_ipa] if args.key?(:app_ipa)
  @scenarios = args[:scenarios] if args.key?(:scenarios)
end