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

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



1387
1388
1389
# File 'generated/google/apis/testing_v1/classes.rb', line 1387

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)


1374
1375
1376
# File 'generated/google/apis/testing_v1/classes.rb', line 1374

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



1379
1380
1381
# File 'generated/google/apis/testing_v1/classes.rb', line 1379

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>)


1385
1386
1387
# File 'generated/google/apis/testing_v1/classes.rb', line 1385

def scenarios
  @scenarios
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1392
1393
1394
1395
1396
# File 'generated/google/apis/testing_v1/classes.rb', line 1392

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