Lines Matching refs:link

169         // record link target if symbolic link
174 // read named attributes if available (and file is not a sym link)
194 // verify link target
197 throw new RuntimeException("Failed to verify move of symbolic link");
449 * Test: Move symbolic link to file, target does not exist
453 source = dir1.resolve("link");
462 * Test: Move symbolic link to directory, target does not exist
465 source = dir1.resolve("link");
473 * Test: Move broken symbolic link, target does not exists
477 source = dir1.resolve("link");
485 * Test: Move symbolic link, target exists
488 source = dir1.resolve("link");
505 source = dir1.resolve("link");
514 * Test: move symbolic link, target exists and is empty directory
517 source = dir1.resolve("link");
526 * Test: symbolic link, target exists and is non-empty directory
529 source = dir1.resolve("link");
546 * Test atomic move of symbolic link (same file store)
549 source = dir1.resolve("link");
623 // check link target if symbolic link
668 Path source, target, link, entry;
848 * Test: Follow link
852 link = dir1.resolve("link");
853 createSymbolicLink(link, source);
855 copyAndVerify(link, target);
856 delete(link);
861 * Test: Copy link (to file)
865 link = dir1.resolve("link");
866 createSymbolicLink(link, source);
868 copyAndVerify(link, target, NOFOLLOW_LINKS);
869 delete(link);
874 * Test: Copy link (to directory)
879 link = dir1.resolve("link");
880 createSymbolicLink(link, source);
882 copyAndVerify(link, target, NOFOLLOW_LINKS);
883 delete(link);
888 * Test: Copy broken link
892 link = dir1.resolve("link");
893 createSymbolicLink(link, source);
895 copyAndVerify(link, target, NOFOLLOW_LINKS);
896 delete(link);
900 * Test: Copy link to UNC (Windows only)
906 link = dir1.resolve("link");
907 createSymbolicLink(link, unc);
909 copyAndVerify(link, target, NOFOLLOW_LINKS);
910 delete(link);
972 Path link = createSymbolicLink(tmpdir.resolve("link"),
977 copy(in, link);
981 delete(link);