Class: Google::Apis::ToolresultsV1beta3::TestCaseReference
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ToolresultsV1beta3::TestCaseReference
 
 
- 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 reference to a test case. Test case references are canonically ordered lexicographically by these three factors: * First, by test_suite_name. * Second, by class_name. * Third, by name.
Instance Attribute Summary collapse
- 
  
    
      #class_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the class.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the test case.
 - 
  
    
      #test_suite_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the test suite to which this test case belongs.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ TestCaseReference 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of TestCaseReference.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TestCaseReference
Returns a new instance of TestCaseReference
      2210 2211 2212  | 
    
      # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2210 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#class_name ⇒ String
The name of the class.
Corresponds to the JSON property className
      2197 2198 2199  | 
    
      # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2197 def class_name @class_name end  | 
  
#name ⇒ String
The name of the test case.
Required.
Corresponds to the JSON property name
      2203 2204 2205  | 
    
      # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2203 def name @name end  | 
  
#test_suite_name ⇒ String
The name of the test suite to which this test case belongs.
Corresponds to the JSON property testSuiteName
      2208 2209 2210  | 
    
      # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2208 def test_suite_name @test_suite_name end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2215 2216 2217 2218 2219  | 
    
      # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2215 def update!(**args) @class_name = args[:class_name] if args.key?(:class_name) @name = args[:name] if args.key?(:name) @test_suite_name = args[:test_suite_name] if args.key?(:test_suite_name) end  |