jenkinsci/jenkins — pull request #825 by lmwang (2013-06-25 05:38:31+00:00)
Title: Fixed ListJobsCommandTest.java failed case on Windows by update line ending

Test on Windows has such errors.

Running hudson.cli.ListJobsCommandTest
Tests run: 4, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 15.121 sec <<< FAILURE! - in hudson.cli.ListJobsCommandTest
getAllJobsForEmptyName(hudson.cli.ListJobsCommandTest) Time elapsed: 0.062 sec <<< FAILURE!
java.lang.AssertionError:
Expected: Job listing of [some-job, some-other-job]
but: was
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
at hudson.cli.ListJobsCommandTest.getAllJobsForEmptyName(ListJobsCommandTest.java:77)

getJobsFromView(hudson.cli.ListJobsCommandTest) Time elapsed: 0.322 sec <<< FAILURE!
java.lang.AssertionError:
Expected: Job listing of [some-job, some-other-job]
but: was
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
at hudson.cli.ListJobsCommandTest.getJobsFromView(ListJobsCommandTest.java:94)

getJobsRecursivelyFromViewGroup(hudson.cli.ListJobsCommandTest) Time elapsed: 0.15 sec <<< FAILURE!
java.lang.AssertionError:
Expected: Job listing of [rootJob, leftJob, rightJob, sharedJob]
but: was
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
at hudson.cli.ListJobsCommandTest.getJobsRecursivelyFromViewGroup(ListJobsCommandTest.java:119)