Class: XCResult::ResultIssueSummaries
- Inherits:
-
AbstractObject
- Object
- AbstractObject
- XCResult::ResultIssueSummaries
- Defined in:
- lib/xcresult/models.rb
Overview
-
ResultIssueSummaries
-
Kind: object
-
Properties: + analyzerWarningSummaries: [IssueSummary] + errorSummaries: [IssueSummary] + testFailureSummaries: [TestFailureIssueSummary] + warningSummaries: [IssueSummary]
-
Instance Attribute Summary collapse
-
#analyzer_warning_summaries ⇒ Object
Returns the value of attribute analyzer_warning_summaries.
-
#error_summaries ⇒ Object
Returns the value of attribute error_summaries.
-
#test_failure_summaries ⇒ Object
Returns the value of attribute test_failure_summaries.
-
#warning_summaries ⇒ Object
Returns the value of attribute warning_summaries.
Attributes inherited from AbstractObject
Instance Method Summary collapse
-
#initialize(data) ⇒ ResultIssueSummaries
constructor
A new instance of ResultIssueSummaries.
Methods inherited from AbstractObject
Constructor Details
#initialize(data) ⇒ ResultIssueSummaries
Returns a new instance of ResultIssueSummaries.
389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 |
# File 'lib/xcresult/models.rb', line 389 def initialize(data) self.analyzer_warning_summaries = fetch_values(data, 'analyzerWarningSummaries').map do |summary_data| IssueSummary.new(summary_data) end self.error_summaries = fetch_values(data, 'errorSummaries').map do |summary_data| IssueSummary.new(summary_data) end self.test_failure_summaries = fetch_values(data, 'testFailureSummaries').map do |summary_data| TestFailureIssueSummary.new(summary_data) end self.warning_summaries = fetch_values(data, 'warningSummaries').map do |summary_data| IssueSummary.new(summary_data) end super end |
Instance Attribute Details
#analyzer_warning_summaries ⇒ Object
Returns the value of attribute analyzer_warning_summaries.
385 386 387 |
# File 'lib/xcresult/models.rb', line 385 def analyzer_warning_summaries @analyzer_warning_summaries end |
#error_summaries ⇒ Object
Returns the value of attribute error_summaries.
386 387 388 |
# File 'lib/xcresult/models.rb', line 386 def error_summaries @error_summaries end |
#test_failure_summaries ⇒ Object
Returns the value of attribute test_failure_summaries.
387 388 389 |
# File 'lib/xcresult/models.rb', line 387 def test_failure_summaries @test_failure_summaries end |
#warning_summaries ⇒ Object
Returns the value of attribute warning_summaries.
388 389 390 |
# File 'lib/xcresult/models.rb', line 388 def warning_summaries @warning_summaries end |