Class: Google::Apis::TestingV1::TestTargetsForShard

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

Test targets for a shard.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TestTargetsForShard

Returns a new instance of TestTargetsForShard.



2984
2985
2986
# File 'lib/google/apis/testing_v1/classes.rb', line 2984

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

Instance Attribute Details

#test_targetsArray<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 test_targets must be greater than 0. Corresponds to the JSON property testTargets

Returns:

  • (Array<String>)


2982
2983
2984
# File 'lib/google/apis/testing_v1/classes.rb', line 2982

def test_targets
  @test_targets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2989
2990
2991
# File 'lib/google/apis/testing_v1/classes.rb', line 2989

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