Home
last modified time | relevance | path

Searched refs:pathStream (Results 1 – 1 of 1) sorted by relevance

/libcore/luni/src/test/java/libcore/java/nio/file/
DFiles2Test.java863 Stream<Path> pathStream = Files.find(rootDir, 2, (path, attr) -> Files.isDirectory(path)); in test_find() local
864 pathStream.forEach(path -> dirSet.add(path)); in test_find()
873 pathStream = Files.find(rootDir, 0, (path, attr) -> Files.isDirectory(path)); in test_find()
874 pathStream.forEach(path -> dirSet.add(path)); in test_find()
887 pathStream = Files.find(rootDir, 2, (path, attr) -> false); in test_find()
888 pathStream.forEach(path -> dirSet.add(path)); in test_find()
897 pathStream = Files.find(file1, 2, (path, attr) -> true); in test_find()
898 pathStream.forEach(path -> dirSet.add(path)); in test_find()
916 try(Stream<Path> pathStream = Files.find(rootDir, 2, null)) { in test_find_NPE() argument
917 pathStream.forEach(path -> {/* do nothing */}); in test_find_NPE()
[all …]