Class: Google::Apis::ToolresultsV1beta3::AndroidInstrumentationTest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ToolresultsV1beta3::AndroidInstrumentationTest
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/toolresults_v1beta3/classes.rb,
 generated/google/apis/toolresults_v1beta3/representations.rb,
 generated/google/apis/toolresults_v1beta3/representations.rb
Overview
A test of an Android application that can control an Android component independently of its normal lifecycle. See for more information on types of Android tests.
Instance Attribute Summary collapse
- 
  
    
      #test_package_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The java package for the test to be executed. 
- 
  
    
      #test_runner_class  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The InstrumentationTestRunner class. 
- 
  
    
      #test_targets  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Each target must be fully qualified with the package name or class name, in one of these formats: - "package package_name" - "class package_name. 
- 
  
    
      #use_orchestrator  ⇒ Boolean 
    
    
      (also: #use_orchestrator?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    The flag indicates whether Android Test Orchestrator will be used to run test or not. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AndroidInstrumentationTest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of AndroidInstrumentationTest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AndroidInstrumentationTest
Returns a new instance of AndroidInstrumentationTest
| 93 94 95 | # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 93 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#test_package_id ⇒ String
The java package for the test to be executed. Required
Corresponds to the JSON property testPackageId
| 71 72 73 | # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 71 def test_package_id @test_package_id end | 
#test_runner_class ⇒ String
The InstrumentationTestRunner class. Required
Corresponds to the JSON property testRunnerClass
| 76 77 78 | # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 76 def test_runner_class @test_runner_class end | 
#test_targets ⇒ Array<String>
Each target must be fully qualified with the package name or class name, in
one of these formats: - "package package_name" - "class package_name.
class_name" - "class package_name.class_name#method_name"
If empty, all targets in the module will be run.
Corresponds to the JSON property testTargets
| 84 85 86 | # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 84 def test_targets @test_targets end | 
#use_orchestrator ⇒ Boolean Also known as: use_orchestrator?
The flag indicates whether Android Test Orchestrator will be used to run test
or not.
Corresponds to the JSON property useOrchestrator
| 90 91 92 | # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 90 def use_orchestrator @use_orchestrator end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 98 99 100 101 102 103 | # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 98 def update!(**args) @test_package_id = args[:test_package_id] if args.key?(:test_package_id) @test_runner_class = args[:test_runner_class] if args.key?(:test_runner_class) @test_targets = args[:test_targets] if args.key?(:test_targets) @use_orchestrator = args[:use_orchestrator] if args.key?(:use_orchestrator) end |