Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
54 additions
and 0 deletions.
- +1 −0 src/main/java/hudson/tasks/junit/TestResult.java
- +21 −0 src/test/java/hudson/tasks/junit/TestResultTest.java
- +6 −0 src/test/resources/hudson/tasks/junit/JENKINS-41134/TestSuite_first.xml
- +13 −0 src/test/resources/hudson/tasks/junit/JENKINS-41134/TestSuite_second.xml
- +13 −0 src/test/resources/hudson/tasks/junit/JENKINS-41134/TestSuite_second_dup_first.xml
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -277,6 +277,7 @@ void merge(TestResult other) { | ||
suite.setParent(null); // otherwise freeze ignores it | ||
add(suite); | ||
} | ||
tally(); | ||
} | ||
|
||
private boolean strictEq(Object lhs, Object rhs) { | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuites> | ||
<testsuite name="TestSuite_first" tests="1" errors="0" failures="0" skip="0" timestamp="2012-04-05T10:50:00"> | ||
<testcase classname="TestFoo" name="bar" time="157.980" /> | ||
</testsuite> | ||
</testsuites> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuites> | ||
<testsuite name="TestSuite_second" tests="1" errors="0" failures="1" skip="0" timestamp="2012-04-05T10:50:00"> | ||
<testcase classname="TestFoo2" name="bar2" time="123.980"> | ||
<failure message="PROGRAM.cbl:2 Use a program name that matches the source file name" type="WARNING"> | ||
WARNING: Use a program name that matches the source file name | ||
Category: COBOL Code Review – Naming Conventions | ||
File: /project/PROGRAM.cbl | ||
Line: 2 | ||
</failure> | ||
</testcase> | ||
</testsuite> | ||
</testsuites> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuites> | ||
<testsuite name="TestSuite_first" tests="1" errors="0" failures="1" skip="0" timestamp="2012-04-05T10:55:00"> | ||
<testcase classname="TestFoo" name="bar" time="157.980"> | ||
<failure message="PROGRAM.cbl:2 Use a program name that matches the source file name" type="WARNING"> | ||
WARNING: Use a program name that matches the source file name | ||
Category: COBOL Code Review – Naming Conventions | ||
File: /project/PROGRAM.cbl | ||
Line: 2 | ||
</failure> | ||
</testcase> | ||
</testsuite> | ||
</testsuites> |