Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-28790] Baptiste comments fixed
(cherry picked from commit 7fb1ac9)
  • Loading branch information
escoem authored and olivergondza committed Mar 30, 2016
1 parent 0782aa5 commit f6db667
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/src/test/java/hudson/util/ArgumentListBuilderTest.java
Expand Up @@ -104,8 +104,8 @@ public void assertPrependBeforeAddingMasked() {

@Test
public void testToWindowsCommand() {
ArgumentListBuilder builder = new ArgumentListBuilder().
add("ant.bat").add("-Dfoo1=abc"). // nothing special, no quotes
ArgumentListBuilder builder = new ArgumentListBuilder().
add("ant.bat").add("-Dfoo1=abc"). // nothing special, no quotes
add("-Dfoo2=foo bar").add("-Dfoo3=/u*r").add("-Dfoo4=/us?"). // add quotes
add("-Dfoo10=bar,baz").
add("-Dfoo5=foo;bar^baz").add("-Dfoo6=<xml>&here;</xml>"). // add quotes
Expand Down Expand Up @@ -133,11 +133,11 @@ public void testToWindowsCommand() {
}

@Test
@Ignore
@Ignore("It's only for reproduce JENKINS-28790 issue. It's added to testToWindowsCommand")
@Issue("JENKINS-28790")
public void testToWindowsCommandMasked() {
ArgumentListBuilder builder = new ArgumentListBuilder().
add("ant.bat").add("-Dfoo1=abc"). // nothing special, no quotes
add("ant.bat").add("-Dfoo1=abc"). // nothing special, no quotes
add("-Dfoo2=foo bar").add("-Dfoo3=/u*r").add("-Dfoo4=/us?"). // add quotes
add("-Dfoo10=bar,baz").
add("-Dfoo5=foo;bar^baz").add("-Dfoo6=<xml>&here;</xml>"). // add quotes
Expand Down

0 comments on commit f6db667

Please sign in to comment.