/external/guava/guava-tests/test/com/google/common/io/ |
D | MoreFilesTest.java | 152 Files.createSymbolicLink(link, dir); in testByteSource_size_ofSymlinkToDirectory() 171 Files.createSymbolicLink(link, file); in testByteSource_size_ofSymlinkToRegularFile() 185 Files.createSymbolicLink(link, file); in testByteSource_size_ofSymlinkToRegularFile_nofollowLinks() 231 Files.createSymbolicLink(fooSymlink, fooPath); in testEqual_links() 328 Files.createSymbolicLink(symlink, root()); in testCreateParentDirectories_symlinkParentExists() 383 Files.createSymbolicLink(symlinkToDir, dir); in testPredicates() 384 Files.createSymbolicLink(symlinkToFile, file); in testPredicates() 434 Files.createSymbolicLink(fs.getPath("dir/d"), fs.getPath("b/i")); in newTestFileSystem() 436 Files.createSymbolicLink(fs.getPath("dir/f"), fs.getPath("/dontdelete")); in newTestFileSystem() 438 Files.createSymbolicLink(fs.getPath("dir/b/h"), fs.getPath("../a")); in newTestFileSystem() [all …]
|
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
D | JimfsUnixLikeFileSystemTest.java | 307 Files.createSymbolicLink(path("/link"), path("/")); in testPaths_toRealPath() 425 Files.createSymbolicLink(path("/link.txt"), path("test.txt")); in testCreateSymbolicLink_absolute() 431 Files.createSymbolicLink(path("/foo/link.txt"), path("test.txt")); in testCreateSymbolicLink_absolute() 494 Files.createSymbolicLink(path("link.txt"), path("test.txt")); in testCreateSymbolicLink_relative() 501 Files.createSymbolicLink(path("foo/link.txt"), path("test.txt")); in testCreateSymbolicLink_relative() 546 Files.createSymbolicLink(path("/test"), path("/foo")); in testCreateFile_existing() 578 Files.createSymbolicLink(path("/foo/test"), path("/bar")); in testCreateFile_parentDoesNotExist() 622 Files.createSymbolicLink(path("/foo/bar"), path("/foo/nope")); in testCreateFile_parentSymlinkDoesNotExist() 635 Files.createSymbolicLink(path("/foo/bar"), path("nope")); in testCreateFile_symlinkHigherInPathDoesNotExist() 649 Files.createSymbolicLink(path("/foo/bar"), path("/foo/file")); in testCreateFile_parentSymlinkDoesPointsToNonDirectory() [all …]
|
D | FileTreeTest.java | 135 createSymbolicLink("four", "five", "/foo"); in setUp() 136 createSymbolicLink("four", "six", "../one"); in setUp() 137 createSymbolicLink("four", "loop", "../four/loop"); in setUp() 456 private File createSymbolicLink(String parent, String name, String target) { in createSymbolicLink() method in FileTreeTest
|
D | JimfsWindowsLikeFileSystemTest.java | 238 Files.createSymbolicLink(path("C:\\link"), path("C:\\")); in testPaths_toRealPath() 366 Files.createSymbolicLink(path("Z:\\"), path("foo")); in testCreateFileOrDirectory_forNonExistentRootPath_fails() 435 Files.createSymbolicLink(path("E:\\"), path("foo")); in testCreateFileOrDirectory_forExistingRootPath_fails()
|
D | FileFactoryTest.java | 51 file = factory.createSymbolicLink(fakePath()); in testCreateFiles_basic()
|
D | JimfsFileSystemCloseTest.java | 373 Files.createSymbolicLink(nothing, file); in testFilesMethodsThrow()
|
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/ |
D | FileFactory.java | 64 SymbolicLink createSymbolicLink(JimfsPath target) { in createSymbolicLink() method in FileFactory 118 return createSymbolicLink(target); in get()
|
D | JimfsFileSystemProvider.java | 232 public void createSymbolicLink(Path link, Path target, FileAttribute<?>... attrs) in createSymbolicLink() method in JimfsFileSystemProvider 240 view.createSymbolicLink(linkPath, targetPath, attrs); in createSymbolicLink()
|
D | FileSystemView.java | 232 public SymbolicLink createSymbolicLink( in createSymbolicLink() method in FileSystemView
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | ClassPathTest.java | 26 import static java.nio.file.Files.createSymbolicLink; 221 createSymbolicLink(left.resolve("sibling"), right); in testScanDirectory_symlinkCycle() 222 createSymbolicLink(right.resolve("sibling"), left); in testScanDirectory_symlinkCycle() 251 createSymbolicLink(child.resolve("grandchild"), root); in testScanDirectory_symlinkToRootCycle()
|