Files
SwiftLint/Tests/SwiftLintFrameworkTests/Resources/CannedGitLabJUnitReporterOutput.xml
T
Alexander Chapliuk ef4a37ee1e JUnit reporter for GitLab artifact:report:junit (#3177)
* Add JUnit reporter for GitLab artifact:report:junit

* Added CHANGELOG entry

Co-authored-by: Alexander Chapliuk <2318002+krin-san@users.noreply.github.com>
2020-04-12 17:14:52 +03:00

44 lines
988 B
XML

<?xml version="1.0" encoding="utf-8"?>
<testsuites><testsuite>
<testcase name='warning: line_length in filename:1'>
<failure>Severity: warning
Rule: line_length
Reason: Violation Reason.
File: filename
Line: 1
Column: 2
</failure>
</testcase>
<testcase name='error: line_length in filename:1'>
<failure>Severity: error
Rule: line_length
Reason: Violation Reason.
File: filename
Line: 1
Column: 2
</failure>
</testcase>
<testcase name='error: syntactic_sugar in filename:1'>
<failure>Severity: error
Rule: syntactic_sugar
Reason: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array&lt;Int&gt;.
File: filename
Line: 1
Column: 2
</failure>
</testcase>
<testcase name='error: colon in &lt;nopath&gt;'>
<failure>Severity: error
Rule: colon
Reason: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals.
File: &lt;nopath&gt;
Line: nil
Column: nil
</failure>
</testcase>
</testsuite></testsuites>