Class: Trainer::XCResult::TestFailureIssueSummary
- Inherits:
-
IssueSummary
- Object
- AbstractObject
- IssueSummary
- Trainer::XCResult::TestFailureIssueSummary
- Defined in:
- trainer/lib/trainer/xcresult.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.
387 388 389 390 |
# File 'trainer/lib/trainer/xcresult.rb', line 387 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.
386 387 388 |
# File 'trainer/lib/trainer/xcresult.rb', line 386 def test_case_name @test_case_name end |
Instance Method Details
#failure_message ⇒ Object
392 393 394 395 396 397 398 399 400 |
# File 'trainer/lib/trainer/xcresult.rb', line 392 def = self. if self.document_location_in_creating_workspace&.url file_path = self.document_location_in_creating_workspace.url.gsub("file://", "") += " (#{file_path})" end return end |