Skip to content
Permalink
Browse files

[JENKINS-29934] Added tests to reproduce JENKINS-29934.

  • Loading branch information
ikedam committed Aug 13, 2015
1 parent 9a38ead commit c798ede3186b2a1bd02a1e0d1e37f4b8e810c90a
@@ -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
);
@@ -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
);

0 comments on commit c798ede

Please sign in to comment.
You can’t perform that action at this time.