class Trainer::LegacyXCResult::ActionTestSummaryIdentifiableObject
-
ActionTestSummaryIdentifiableObject
-
Supertype:
ActionAbstractTestSummary
-
Kind: object
-
Properties: + identifier:
String
?
-
Attributes
Public Class Methods
Source
# File trainer/lib/trainer/legacy_xcresult.rb, line 116 def self.create(data, parent) type = data["_type"]["_name"] if type == "ActionTestSummaryGroup" return ActionTestSummaryGroup.new(data, parent) elsif type == "ActionTestMetadata" return ActionTestMetadata.new(data, parent) else raise "Unsupported type: #{type}" end end
Source
# File trainer/lib/trainer/legacy_xcresult.rb, line 106 def initialize(data, parent) self.identifier = fetch_value(data, "identifier") self.parent = parent super(data) end
Calls superclass method
Trainer::LegacyXCResult::ActionAbstractTestSummary::new
Public Instance Methods
Source
# File trainer/lib/trainer/legacy_xcresult.rb, line 112 def all_subtests raise "Not overridden" end