Lines Matching refs:FPL
41 #define FPL(x) FILE_PATH_LITERAL(x)
250 FilePath file_01 = temp_dir_.path().Append(FPL("The file 01.txt"));
256 FilePath subdir_path = temp_dir_.path().Append(FPL("Level2"));
259 FilePath file_02 = subdir_path.Append(FPL("The file 02.txt"));
265 FilePath subsubdir_path = subdir_path.Append(FPL("Level3"));
268 FilePath file_03 = subsubdir_path.Append(FPL("The file 03.txt"));
278 FilePath file_a_path = temp_dir_.path().Append(FPL("file_a"));
279 FilePath dir_path = temp_dir_.path().Append(FPL("dir"));
280 FilePath file_b_path = dir_path.Append(FPL("file_b"));
320 FilePath base_a = temp_dir_.path().Append(FPL("base_a"));
323 FilePath sub_a = base_a.Append(FPL("sub_a"));
326 FilePath file_txt = sub_a.Append(FPL("file.txt"));
333 FilePath sub_long_rel(FPL("sub_long"));
334 FilePath deep_txt(FPL("deep.txt"));
344 FilePath::StringType long_name_str = FPL("long_name_");
355 FilePath base_b = temp_dir_.path().Append(FPL("base_b"));
358 FilePath to_sub_a = base_b.Append(FPL("to_sub_a"));
365 FilePath to_base_b = base_b.Append(FPL("to_base_b"));
370 FilePath to_sub_long = base_b.Append(FPL("to_sub_long"));
381 ASSERT_TRUE(NormalizeFilePath(to_sub_a.Append(FPL("file.txt")),
387 ASSERT_TRUE(NormalizeFilePath(base_b.Append(FPL("to_base_b"))
388 .Append(FPL("to_base_b"))
389 .Append(FPL("to_sub_a"))
390 .Append(FPL("file.txt")),
400 long_path = long_path.Append(FPL("to_base_b"));
402 long_path = long_path.Append(FPL("to_sub_a"))
403 .Append(FPL("file.txt"));
416 ASSERT_FALSE(NormalizeFilePath(to_sub_a.Append(FPL("file.txt")),
442 FilePath kRelativePath(FPL("dir1\\dir2\\file.txt"));
474 const FilePath::StringType kExtraChars = FPL("12345");
489 FilePath empty_dir = temp_dir_.path().Append(FPL("gpfi_test"));
513 const FilePath::CharType kLongDirName[] = FPL("A long path");
514 const FilePath::CharType kTestSubDirName[] = FPL("test");
562 FilePath link_from = temp_dir_.path().Append(FPL("from_file"));
563 FilePath link_to = temp_dir_.path().Append(FPL("to_file"));
579 link_from = temp_dir_.path().Append(FPL("from_dir"));
580 link_to = temp_dir_.path().Append(FPL("to_dir"));
588 FilePath missing = temp_dir_.path().Append(FPL("missing"));
599 FilePath link_from = temp_dir_.path().Append(FPL("from_file"));
600 FilePath link_to = temp_dir_.path().Append(FPL("to_file"));
614 link_from = temp_dir_.path().Append(FPL("from_dir"));
615 link_to = temp_dir_.path().Append(FPL("to_dir"));
624 link_from = temp_dir_.path().Append(FPL("link_a"));
625 link_to = temp_dir_.path().Append(FPL("link_b"));
648 FilePath file_name = temp_dir_.path().Append(FPL("Test DeleteFile 1.txt"));
657 file_name = temp_dir_.path().Append(FPL("Test DeleteFile 2.txt"));
669 FilePath file_name = temp_dir_.path().Append(FPL("Test DeleteFile 2.txt"));
688 FilePath non_existent = temp_dir_.path().Append(FPL("Test DeleteFile 3.txt"));
709 FilePath file_name = temp_dir_.path().Append(FPL("Test Readable File.txt"));
751 FilePath file_name = temp_dir_.path().Append(FPL("Test Readable File.txt"));
794 temp_dir_.path().Append(FPL("PermissionTest1"));
799 FilePath file_name = subdir_path.Append(FPL("Test Readable File.txt"));
847 FilePath file_name = temp_dir_.path().Append(FPL("Test DeleteWildCard.txt"));
851 FilePath subdir_path = temp_dir_.path().Append(FPL("DeleteWildCardDir"));
857 directory_contents = directory_contents.Append(FPL("*"));
874 temp_dir_.path().Append(FPL("DeleteNonExistantWildCard"));
880 directory_contents = directory_contents.Append(FPL("*"));
895 FilePath test_subdir = temp_dir_.path().Append(FPL("DeleteDirNonRecursive"));
899 FilePath file_name = test_subdir.Append(FPL("Test DeleteDir.txt"));
903 FilePath subdir_path1 = test_subdir.Append(FPL("TestSubDir1"));
907 FilePath subdir_path2 = test_subdir.Append(FPL("TestSubDir2"));
925 FilePath test_subdir = temp_dir_.path().Append(FPL("DeleteDirRecursive"));
929 FilePath file_name = test_subdir.Append(FPL("Test DeleteDirRecursive.txt"));
933 FilePath subdir_path1 = test_subdir.Append(FPL("TestSubDir1"));
937 FilePath subdir_path2 = test_subdir.Append(FPL("TestSubDir2"));
1715 EXPECT_EQ(f0.Next().value(), FPL(""));
1716 EXPECT_EQ(f0.Next().value(), FPL(""));
1721 EXPECT_EQ(temp_dir_.path().Append(FPL("..")).value(),
1723 EXPECT_EQ(FPL(""), f0_dotdot.Next().value());
1726 FilePath dir1 = temp_dir_.path().Append(FPL("dir1"));
1728 FilePath dir2 = temp_dir_.path().Append(FPL("dir2"));
1730 FilePath dir2inner = dir2.Append(FPL("inner"));
1734 FilePath dir2file = dir2.Append(FPL("dir2file.txt"));
1736 FilePath dir2innerfile = dir2inner.Append(FPL("innerfile.txt"));
1738 FilePath file1 = temp_dir_.path().Append(FPL("file1.txt"));
1741 .Append(FPL("file2.txt"));
1743 FilePath file2_abs = temp_dir_.path().Append(FPL("file2.txt"));
1777 EXPECT_TRUE(c2_dotdot.HasFile(temp_dir_.path().Append(FPL(".."))));
1802 FileEnumerator f5(temp_dir_.path(), true, FILES_AND_DIRECTORIES, FPL("dir*"));
1823 FilePath inner2 = dir1.Append(FPL("inner"));
1825 EXPECT_TRUE(c6.HasFile(inner2.Append(FPL("innerfile.txt"))));
1826 EXPECT_TRUE(c6.HasFile(dir1.Append(FPL("dir2file.txt"))));