• Home
  • Raw
  • Download

Lines Matching refs:link_from

646   FilePath link_from = temp_dir_.GetPath().Append(FPL("from_file"));  in TEST_F()  local
650 ASSERT_TRUE(CreateSymbolicLink(link_to, link_from)) in TEST_F()
655 EXPECT_EQ(bogus_content, ReadTextFile(link_from)); in TEST_F()
658 ASSERT_TRUE(ReadSymbolicLink(link_from, &result)); in TEST_F()
662 link_from = temp_dir_.GetPath().Append(FPL("from_dir")); in TEST_F()
665 ASSERT_TRUE(CreateSymbolicLink(link_to, link_from)) in TEST_F()
682 FilePath link_from = temp_dir_.GetPath().Append(FPL("from_file")); in TEST_F() local
686 ASSERT_TRUE(CreateSymbolicLink(link_to, link_from)) in TEST_F()
691 ASSERT_TRUE(NormalizeFilePath(link_from, &normalized_path)); in TEST_F()
692 EXPECT_NE(link_from, link_to); in TEST_F()
697 link_from = temp_dir_.GetPath().Append(FPL("from_dir")); in TEST_F()
700 ASSERT_TRUE(CreateSymbolicLink(link_to, link_from)) in TEST_F()
703 EXPECT_FALSE(NormalizeFilePath(link_from, &normalized_path)) in TEST_F()
707 link_from = temp_dir_.GetPath().Append(FPL("link_a")); 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()
715 EXPECT_FALSE(NormalizeFilePath(link_from, &normalized_path)); in TEST_F()
760 FilePath link_from = temp_dir_.GetPath().Append(FPL("from_file")); in TEST_F() local
764 ASSERT_TRUE(CreateSymbolicLink(link_to, link_from)); in TEST_F()
768 EXPECT_EQ(bogus_content, ReadTextFile(link_from)); in TEST_F()
771 ASSERT_TRUE(ReadSymbolicLink(link_from, &result)); in TEST_F()
778 ASSERT_TRUE(CopyFile(src_file, link_from)); in TEST_F()
782 EXPECT_TRUE(IsLink(link_from)); in TEST_F()
783 EXPECT_EQ(file_contents, ReadTextFile(link_from)); in TEST_F()