forked from kinow/tap-plugin
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIXED JENKINS-17504] Fix 404 bad detail links on results page
- Loading branch information
Showing
7 changed files
with
100 additions
and
102 deletions.
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
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
File renamed without changes.
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
31 changes: 31 additions & 0 deletions
31
src/test/java/org/tap4j/plugin/issue17947/TestIssue17947.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package org.tap4j.plugin.issue17947; | ||
|
||
import junit.framework.TestCase; | ||
|
||
import org.tap4j.model.TestSet; | ||
import org.tap4j.parser.Tap13Parser; | ||
|
||
public class TestIssue17947 extends TestCase { | ||
|
||
public void testSubtestsIssue17947() { | ||
// tap stream provided by issue reporter | ||
String tap = "1..3\n" + | ||
" 1..1\n" + | ||
" ok 1 - subtest 1\n" + | ||
"ok 1 - test 1\n" + | ||
" 1..4\n" + | ||
" ok 1 - subtest 1\n" + | ||
" ok 2 - subtest 2\n" + | ||
" ok 3 - subtest 3\n" + | ||
" ok 4 - subtest 4\n" + | ||
"ok 2 - test 2\n" + | ||
" 1..15\n" + | ||
" Bail out!\n" + | ||
" not ok 1 - test 3"; | ||
|
||
Tap13Parser parser = new Tap13Parser(true); | ||
TestSet ts = parser.parseTapStream(tap); | ||
System.out.println(ts.getNumberOfTestResults()); | ||
} | ||
|
||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/** | ||
* Tests for issue JENKINS-17947. | ||
*/ | ||
package org.tap4j.plugin.issue17947; |
f1c034f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jenkins » tap-plugin #46 UNSTABLE
Looks like this commit caused a build failure
(what's this?)