Searched refs:createFile (Results 1 – 12 of 12) sorted by relevance
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | FilesTest.java | 125 Files.createFile(filesSetup.getTestPath()); in test_createFile() 130 Files.createFile(unicodeFilePath); in test_createFile() 135 Files.createFile(filesSetup.getDataFilePath()); in test_createFile() 143 Files.createFile(null); in test_createFile_NPE() 152 Files.createFile(filesSetup.getTestPath(), attr); in test_createFile$String$Attr() 159 Files.createFile(filePath2, attr, attr1); in test_createFile$String$Attr() 165 Files.createFile(filesSetup.getDataFilePath(), attr); in test_createFile$String$Attr() 251 Files.createFile(path_file1); in test_newDirectoryStream() 252 Files.createFile(path_file2); in test_newDirectoryStream() 253 Files.createFile(path_file3); in test_newDirectoryStream() [all …]
|
D | WatchServiceTest.java | 131 Files.createFile(file); in test_singleFile() 175 Files.createFile(file); in test_EventMask() 226 Files.createFile(file); in test_cancel() 256 Files.createFile(file); in test_removeTarget() 297 Files.createFile(path); in test_multipleKeys() 338 Files.createFile(path); in test_multipleServices() 352 Files.createFile(dir1file1); in test_multipleServices()
|
D | Files2Test.java | 225 Files.createFile(filesSetup.getTestPath(), attr); in test_getPosixFilePermissions() 603 Files.createFile(file1); in test_walkFileTree$Path$Set$int$FileVisitor_symbolicLinkFollow() 650 Files.createFile(file3); in test_walkFileTree$Path$FileVisitor() 651 Files.createFile(file5); in test_walkFileTree$Path$FileVisitor() 690 Files.createFile(file1); in test_walkFileTree_depthFirst() 691 Files.createFile(file2); in test_walkFileTree_depthFirst() 756 Files.createFile(file1); in test_walkFileTree_maximumDepth() 757 Files.createFile(file3); in test_walkFileTree_maximumDepth() 758 Files.createFile(file5); in test_walkFileTree_maximumDepth() 851 Files.createFile(file1); in test_find() [all …]
|
D | DefaultFileSystemProviderTest.java | 559 Files.createFile(filesSetup.getPathInTestDir("dir/file")); in test_delete() 591 Files.createFile(filesSetup.getPathInTestDir("dir/file")); in test_deleteIfExist() 635 Files.createFile(newFile); in test_copy() 725 Files.createFile(Paths.get(dirPath.toString(), file.toString())); in test_copy_directory() 726 Files.createFile(Paths.get(dirPath4.toString(), file.toString())); in test_copy_directory() 751 Files.createFile(path_f1); in test_newDirectoryStream$Path$Filter() 752 Files.createFile(path_f2); in test_newDirectoryStream$Path$Filter() 753 Files.createFile(path_f3); in test_newDirectoryStream$Path$Filter() 797 Files.createFile(path_file1); in test_newDirectoryStream$Filter_Exception()
|
D | LinuxPathTest.java | 328 Files.createFile(filesSetup.getTestPath()); in test_toRealPath() 337 Files.createFile(file); in test_toRealPath() 375 Files.createFile(file); in test_register$WatchService$WatchEvent_Kind() 420 Files.createFile(directory); in test_register$WatchService$WatchEvent_Kind_Exception()
|
D | DefaultFileSystemProvider2Test.java | 99 Files.createFile(filesSetup.getTestPath()); in test_move() 108 Files.createFile(filesSetup.getTestPath()); in test_move() 195 Files.createFile(Paths.get(dirPath.toString(), DATA_FILE)); in test_move_directory_DirectoryNotEmptyException() 196 Files.createFile(Paths.get(dirPath4.toString(), DATA_FILE)); in test_move_directory_DirectoryNotEmptyException()
|
D | DefaultSecureDirectoryStreamTest.java | 91 Files.createFile(path_f1); in setup() 92 Files.createFile(path_f2); in setup() 93 Files.createFile(path_f3); in setup()
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | MemoryMappedFileTest.java | 56 File file = createFile(bytes); in testMmapRo_emptyFile() 69 File file = createFile(bytes); in testMmapRo() 79 File file = createFile(bytes); in testMmapRo_close() 101 File file = createFile(bytes); in testReadAfterCloseFails() 121 File file = createFile(bytes); in checkReadByte() 149 File file = createFile(bytes); in checkSeek() 193 File file = createFile(bytes); in checkSkip() 235 File file = createFile(bytes); in testReadShort_bigEndian() 257 File file = createFile(bytes); in testReadShort_littleEndian() 297 File file = createFile(bytes); in testReadInt_bigEndian() [all …]
|
/libcore/ojluni/src/test/java/nio/file/attribute/ |
D | PosixFileAttributeViewTest.java | 106 Files.createFile(file, attr); in createWithPermissions() 139 Files.createFile(file); in permissionTests() 247 Files.createFile(file); in ownerTests()
|
D | BasicFileAttributeViewCreationTimeTest.java | 65 Path file = Files.createFile(top.resolve("foo")); in test()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | TempFileHelper.java | 138 return Files.createFile(f, attrs); in create()
|
D | Files.java | 627 public static Path createFile(Path path, FileAttribute<?>... attrs)
|