Class: XCResult::TestFailureIssueSummary
- Inherits:
-
IssueSummary
- Object
- AbstractObject
- IssueSummary
- XCResult::TestFailureIssueSummary
- Defined in:
- lib/xcresult/models.rb
Overview
-
TestFailureIssueSummary
-
Supertype: IssueSummary
-
Kind: object
-
Properties: + testCaseName: String
-
Instance Attribute Summary collapse
-
#test_case_name ⇒ Object
Returns the value of attribute test_case_name.
Attributes inherited from IssueSummary
#document_location_in_creating_workspace, #issue_type, #message, #producing_target
Attributes inherited from AbstractObject
Instance Method Summary collapse
- #failure_message ⇒ Object
-
#initialize(data) ⇒ TestFailureIssueSummary
constructor
A new instance of TestFailureIssueSummary.
Methods inherited from AbstractObject
Constructor Details
#initialize(data) ⇒ TestFailureIssueSummary
Returns a new instance of TestFailureIssueSummary.
413 414 415 416 |
# File 'lib/xcresult/models.rb', line 413 def initialize(data) self.test_case_name = fetch_value(data, 'testCaseName') super end |
Instance Attribute Details
#test_case_name ⇒ Object
Returns the value of attribute test_case_name.
412 413 414 |
# File 'lib/xcresult/models.rb', line 412 def test_case_name @test_case_name end |
Instance Method Details
#failure_message ⇒ Object
418 419 420 421 422 423 424 425 426 |
# File 'lib/xcresult/models.rb', line 418 def = if document_location_in_creating_workspace file_path = document_location_in_creating_workspace.url.gsub('file://', '') += " (#{file_path})" end end |