Class: XCResult::ActionTestPlanRunSummary

Inherits:
ActionAbstractTestSummary show all
Defined in:
lib/xcresult/models.rb

Overview

  • ActionTestPlanRunSummary

    • Supertype: ActionAbstractTestSummary

    • Kind: object

    • Properties: + testableSummaries: [ActionTestableSummary]

Instance Attribute Summary collapse

Attributes inherited from ActionAbstractTestSummary

#name

Attributes inherited from AbstractObject

#type

Instance Method Summary collapse

Methods inherited from AbstractObject

#fetch_value, #fetch_values

Constructor Details

#initialize(data) ⇒ ActionTestPlanRunSummary

Returns a new instance of ActionTestPlanRunSummary.



58
59
60
61
62
63
# File 'lib/xcresult/models.rb', line 58

def initialize(data)
  self.testable_summaries = fetch_values(data, 'testableSummaries').map do |summary_data|
    ActionTestableSummary.new(summary_data)
  end
  super
end

Instance Attribute Details

#testable_summariesObject

Returns the value of attribute testable_summaries.



57
58
59
# File 'lib/xcresult/models.rb', line 57

def testable_summaries
  @testable_summaries
end