Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/nio/file/
DFilesTest.java125 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 …]
DWatchServiceTest.java131 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()
DFiles2Test.java225 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 …]
DDefaultFileSystemProviderTest.java559 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()
DLinuxPathTest.java328 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()
DDefaultFileSystemProvider2Test.java99 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()
DDefaultSecureDirectoryStreamTest.java91 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/
DMemoryMappedFileTest.java56 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/
DPosixFileAttributeViewTest.java106 Files.createFile(file, attr); in createWithPermissions()
139 Files.createFile(file); in permissionTests()
247 Files.createFile(file); in ownerTests()
DBasicFileAttributeViewCreationTimeTest.java65 Path file = Files.createFile(top.resolve("foo")); in test()
/libcore/ojluni/src/main/java/java/nio/file/
DTempFileHelper.java138 return Files.createFile(f, attrs); in create()
DFiles.java627 public static Path createFile(Path path, FileAttribute<?>... attrs)