class XCResult::ActionTestableSummary
-
-
Supertype:
ActionAbstractTestSummary
-
Kind: object
-
Properties: + projectRelativePath: String? + targetName: String? + testKind: String? + tests: [ActionTestSummaryIdentifiableObject] + diagnosticsDirectoryName: String? + failureSummaries: [ActionTestFailureSummary] + testLanguage: String? + testRegion: String?
-
Attributes
project_relative_path[RW]
target_name[RW]
test_kind[RW]
tests[RW]
Public Class Methods
new(data)
click to toggle source
Calls superclass method
XCResult::ActionAbstractTestSummary::new
# File lib/xcresult/models.rb, line 84 def initialize(data) self.project_relative_path = fetch_value(data, 'projectRelativePath') self.target_name = fetch_value(data, 'targetName') self.test_kind = fetch_value(data, 'testKind') self.tests = fetch_values(data, 'tests').map do |tests_data| ActionTestSummaryIdentifiableObject.create(tests_data, self) end super end
Public Instance Methods
all_tests()
click to toggle source
# File lib/xcresult/models.rb, line 94 def all_tests tests.map(&:all_subtests).flatten end