Skip to content

Commit

Permalink
[JENKINS-29934] Added tests to reproduce JENKINS-29934.
Browse files Browse the repository at this point in the history
  • Loading branch information
ikedam committed Aug 13, 2015
1 parent 9a38ead commit c798ede
Showing 1 changed file with 2 additions and 9 deletions.
Expand Up @@ -620,18 +620,15 @@ public void testGetFileList() throws IOException
List<String> expected = Arrays.asList(
"",
"dir2/dir3/test4.dat",
"dir2/dir3",
"dir2",
"dir1/test3.txt",
"dir1",
"test2.dat",
"test1.txt"
);
List<String> fileList = FilenameChoiceListProviderForTest.getFileList(
tempDir,
"**/*",
"",
ScanType.FileAndDirectory,
ScanType.File,
true,
EmptyChoiceType.AtTop
);
Expand All @@ -641,20 +638,16 @@ public void testGetFileList() throws IOException
// Empty choice at the end and reversed.
{
List<String> expected = Arrays.asList(
"dir2/dir3/test4.dat",
"dir2/dir3",
"dir2",
"dir1/test3.txt",
"dir1",
"test2.dat",
"test1.txt",
""
);
List<String> fileList = FilenameChoiceListProviderForTest.getFileList(
tempDir,
"**/*",
"",
ScanType.FileAndDirectory,
ScanType.Directory,
true,
EmptyChoiceType.AtEnd
);
Expand Down

0 comments on commit c798ede

Please sign in to comment.