Class: Trainer::XCResult::ActionTestPlanRunSummary

Inherits:
ActionAbstractTestSummary show all
Defined in:
trainer/lib/trainer/xcresult.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.



54
55
56
57
58
59
# File 'trainer/lib/trainer/xcresult.rb', line 54

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.



53
54
55
# File 'trainer/lib/trainer/xcresult.rb', line 53

def testable_summaries
  @testable_summaries
end