Lines Matching refs:link_to
647 FilePath link_to = temp_dir_.GetPath().Append(FPL("to_file")); in TEST_F() local
648 CreateTextFile(link_to, bogus_content); in TEST_F()
650 ASSERT_TRUE(CreateSymbolicLink(link_to, link_from)) in TEST_F()
659 EXPECT_EQ(link_to.value(), result.value()); in TEST_F()
663 link_to = temp_dir_.GetPath().Append(FPL("to_dir")); in TEST_F()
664 ASSERT_TRUE(CreateDirectory(link_to)); in TEST_F()
665 ASSERT_TRUE(CreateSymbolicLink(link_to, link_from)) in TEST_F()
669 EXPECT_FALSE(CreateSymbolicLink(link_to, link_to)); in TEST_F()
670 EXPECT_FALSE(ReadSymbolicLink(link_to, &result)); in TEST_F()
683 FilePath link_to = temp_dir_.GetPath().Append(FPL("to_file")); in TEST_F() local
684 CreateTextFile(link_to, bogus_content); in TEST_F()
686 ASSERT_TRUE(CreateSymbolicLink(link_to, link_from)) in TEST_F()
692 EXPECT_NE(link_from, link_to); in TEST_F()
693 EXPECT_EQ(link_to.BaseName().value(), normalized_path.BaseName().value()); in TEST_F()
694 EXPECT_EQ(link_to.BaseName().value(), normalized_path.BaseName().value()); in TEST_F()
698 link_to = temp_dir_.GetPath().Append(FPL("to_dir")); in TEST_F()
699 ASSERT_TRUE(CreateDirectory(link_to)); in TEST_F()
700 ASSERT_TRUE(CreateSymbolicLink(link_to, link_from)) in TEST_F()
708 link_to = temp_dir_.GetPath().Append(FPL("link_b")); in TEST_F()
709 ASSERT_TRUE(CreateSymbolicLink(link_to, link_from)) in TEST_F()
711 ASSERT_TRUE(CreateSymbolicLink(link_from, link_to)) in TEST_F()
761 FilePath link_to = temp_dir_.GetPath().Append(FPL("to_file")); in TEST_F() local
762 CreateTextFile(link_to, bogus_content); in TEST_F()
764 ASSERT_TRUE(CreateSymbolicLink(link_to, link_from)); in TEST_F()
772 EXPECT_EQ(link_to.value(), result.value()); in TEST_F()
784 EXPECT_EQ(file_contents, ReadTextFile(link_to)); in TEST_F()