Class: Google::Apis::TestingV1::TestTargetsForShard
- Inherits:
-
Object
- Object
- Google::Apis::TestingV1::TestTargetsForShard
- 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
Test targets for a shard.
Instance Attribute Summary collapse
-
#test_targets ⇒ Array<String>
Group of packages, classes, and/or test methods to be run for each shard.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TestTargetsForShard
constructor
A new instance of TestTargetsForShard.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TestTargetsForShard
Returns a new instance of TestTargetsForShard.
2420 2421 2422 |
# File 'generated/google/apis/testing_v1/classes.rb', line 2420 def initialize(**args) update!(**args) end |
Instance Attribute Details
#test_targets ⇒ Array<String>
Group of packages, classes, and/or test methods to be run for each shard. The
targets need to be specified in AndroidJUnitRunner argument format. For
example, "package com.my.packages" "class com.my.package.MyClass". The number
of shard_test_targets must be greater than 0.
Corresponds to the JSON property testTargets
2418 2419 2420 |
# File 'generated/google/apis/testing_v1/classes.rb', line 2418 def test_targets @test_targets end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2425 2426 2427 |
# File 'generated/google/apis/testing_v1/classes.rb', line 2425 def update!(**args) @test_targets = args[:test_targets] if args.key?(:test_targets) end |