mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
better reproducibility of exploratory tests across OSes
This commit is contained in:
+1
-1
@@ -294,7 +294,7 @@ public class MadTestingUtil {
|
||||
}
|
||||
|
||||
List<File> toChoose = preferDirs(data, children);
|
||||
Collections.sort(toChoose);
|
||||
Collections.sort(toChoose, Comparator.comparing(File::getName));
|
||||
int index = data.drawInt(IntDistribution.uniform(0, toChoose.size() - 1));
|
||||
File generated = generateRandomFile(data, toChoose.get(index), exhausted);
|
||||
if (generated != null) {
|
||||
|
||||
Reference in New Issue
Block a user