Branch: refs/heads/junit-failure
Home: https://github.com/jenkinsci/analysis-model
Commit: 5bfa05af2c2f1547d9f02fd770f87a1c1d9e27d6
https://github.com/jenkinsci/analysis-model/commit/5bfa05af2c2f1547d9f02fd770f87a1c1d9e27d6
Author: Ulli Hafner <[email protected]>
Date: 2021-04-08 (Thu, 08 Apr 2021)
Changed paths:
M
src/test/java/edu/hm/hafner/analysis/parser/violations/JUnitAdapterTest.java
A
src/test/resources/edu/hm/hafner/analysis/parser/violations/TEST-edu.hm.hafner.analysis.parser.SonarQubeDiffParserTest.xml
A
src/test/resources/edu/hm/hafner/analysis/parser/violations/TEST-edu.hm.hafner.analysis.parser.SonarQubeIssuesParserTest.xml
Log Message:
-----------
Add a test that exposes a bug with in the JUnit parser.
It seems that the JUnit parser cannot parse reports with plain errors:
```
<testcase name="shouldParseEmptyFile"
classname="edu.hm.hafner.analysis.parser.SonarQubeDiffParserTest" time="0">
<error type="org.json.JSONException"><![CDATA[org.json.JSONException:
Missing value at 0 [character 1 line 1]
]]></error>
</testcase>
```
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/analysis-model/push/refs/heads/junit-failure/000000-5bfa05%40github.com.