class Trainer::XCResult::ActionTestSummaryIdentifiableObject
-
ActionTestSummaryIdentifiableObject
-
Supertype:
ActionAbstractTestSummary
-
Kind: object
-
Properties: + identifier:
String
?
-
Attributes
identifier[RW]
parent[RW]
Public Class Methods
create(data, parent)
click to toggle source
# File trainer/lib/trainer/xcresult.rb, line 112 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
new(data, parent)
click to toggle source
Calls superclass method
Trainer::XCResult::ActionAbstractTestSummary::new
# File trainer/lib/trainer/xcresult.rb, line 102 def initialize(data, parent) self.identifier = fetch_value(data, "identifier") self.parent = parent super(data) end
Public Instance Methods
all_subtests()
click to toggle source
# File trainer/lib/trainer/xcresult.rb, line 108 def all_subtests raise "Not overridden" end