Class: Google::Apis::FirebaserulesV1::TestSuite
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::FirebaserulesV1::TestSuite
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/firebaserules_v1/classes.rb,
 generated/google/apis/firebaserules_v1/representations.rb,
 generated/google/apis/firebaserules_v1/representations.rb
Overview
TestSuite is a collection of TestCase instances that validate the logical
correctness of a Ruleset. The TestSuite may be referenced in-line within
a TestRuleset invocation or as part of a Release object as a pre-release
check.
Instance Attribute Summary collapse
- 
  
    
      #test_cases  ⇒ Array<Google::Apis::FirebaserulesV1::TestCase> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Collection of test cases associated with the TestSuite.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ TestSuite 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of TestSuite. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TestSuite
Returns a new instance of TestSuite
| 655 656 657 | # File 'generated/google/apis/firebaserules_v1/classes.rb', line 655 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#test_cases ⇒ Array<Google::Apis::FirebaserulesV1::TestCase>
Collection of test cases associated with the TestSuite.
Corresponds to the JSON property testCases
| 653 654 655 | # File 'generated/google/apis/firebaserules_v1/classes.rb', line 653 def test_cases @test_cases end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 660 661 662 | # File 'generated/google/apis/firebaserules_v1/classes.rb', line 660 def update!(**args) @test_cases = args[:test_cases] if args.key?(:test_cases) end |