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.
383 384 385 386 |
# File 'trainer/lib/trainer/xcresult.rb', line 383 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.
382 383 384 |
# File 'trainer/lib/trainer/xcresult.rb', line 382 def test_case_name @test_case_name end |
Instance Method Details
#failure_message ⇒ Object
388 389 390 391 392 393 394 395 396 |
# File 'trainer/lib/trainer/xcresult.rb', line 388 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 |