Lines Matching full:foo
467 { FPL("//foo/bar/baz/"), FPL("|//|foo|bar|baz")}, in TEST_F()
469 { FPL("/foo//bar//baz/"), FPL("|/|foo|bar|baz")}, in TEST_F()
470 { FPL("/foo/bar/baz/"), FPL("|/|foo|bar|baz")}, in TEST_F()
471 { FPL("/foo/bar/baz//"), FPL("|/|foo|bar|baz")}, in TEST_F()
472 { FPL("/foo/bar/baz///"), FPL("|/|foo|bar|baz")}, in TEST_F()
473 { FPL("/foo/bar/baz"), FPL("|/|foo|bar|baz")}, in TEST_F()
474 { FPL("/foo/bar.bot/baz.txt"), FPL("|/|foo|bar.bot|baz.txt")}, in TEST_F()
475 { FPL("//foo//bar/baz"), FPL("|//|foo|bar|baz")}, in TEST_F()
477 { FPL("foo"), FPL("|foo")}, in TEST_F()
480 { FPL("e:/foo"), FPL("|e:|/|foo")}, in TEST_F()
485 { FPL("../foo"), FPL("|..|foo")}, in TEST_F()
486 { FPL("./foo"), FPL("|foo")}, in TEST_F()
487 { FPL("../foo/bar/"), FPL("|..|foo|bar") }, in TEST_F()
488 { FPL("\\\\foo\\bar\\baz\\"), FPL("|\\\\|foo|bar|baz")}, in TEST_F()
490 { FPL("\\foo\\\\bar\\\\baz\\"), FPL("|\\|foo|bar|baz")}, in TEST_F()
491 { FPL("\\foo\\bar\\baz\\"), FPL("|\\|foo|bar|baz")}, in TEST_F()
492 { FPL("\\foo\\bar\\baz\\\\"), FPL("|\\|foo|bar|baz")}, in TEST_F()
493 { FPL("\\foo\\bar\\baz\\\\\\"), FPL("|\\|foo|bar|baz")}, in TEST_F()
494 { FPL("\\foo\\bar\\baz"), FPL("|\\|foo|bar|baz")}, in TEST_F()
495 { FPL("\\foo\\bar/baz\\\\\\"), FPL("|\\|foo|bar|baz")}, in TEST_F()
496 { FPL("/foo\\bar\\baz"), FPL("|/|foo|bar|baz")}, in TEST_F()
497 { FPL("\\foo\\bar.bot\\baz.txt"), FPL("|\\|foo|bar.bot|baz.txt")}, in TEST_F()
498 { FPL("\\\\foo\\\\bar\\baz"), FPL("|\\\\|foo|bar|baz")}, in TEST_F()
520 { { FPL("/"), FPL("/foo/bar/baz") }, true}, in TEST_F()
521 { { FPL("/foo/bar"), FPL("/foo/bar/baz") }, true}, in TEST_F()
522 { { FPL("/foo/bar/"), FPL("/foo/bar/baz") }, true}, in TEST_F()
523 { { FPL("//foo/bar/"), FPL("//foo/bar/baz") }, true}, in TEST_F()
524 { { FPL("/foo/bar"), FPL("/foo2/bar/baz") }, false}, in TEST_F()
525 { { FPL("/foo/bar.txt"), FPL("/foo/bar/baz") }, false}, in TEST_F()
526 { { FPL("/foo/bar"), FPL("/foo/bar2/baz") }, false}, in TEST_F()
527 { { FPL("/foo/bar"), FPL("/foo/bar") }, false}, in TEST_F()
528 { { FPL("/foo/bar/baz"), FPL("/foo/bar") }, false}, in TEST_F()
529 { { FPL("foo/bar"), FPL("foo/bar/baz") }, true}, in TEST_F()
530 { { FPL("foo/bar"), FPL("foo2/bar/baz") }, false}, in TEST_F()
531 { { FPL("foo/bar"), FPL("foo/bar2/baz") }, false}, in TEST_F()
532 { { FPL(""), FPL("foo") }, false}, in TEST_F()
534 { { FPL("c:/foo/bar"), FPL("c:/foo/bar/baz") }, true}, in TEST_F()
535 { { FPL("E:/foo/bar"), FPL("e:/foo/bar/baz") }, true}, in TEST_F()
536 { { FPL("f:/foo/bar"), FPL("F:/foo/bar/baz") }, true}, in TEST_F()
537 { { FPL("E:/Foo/bar"), FPL("e:/foo/bar/baz") }, false}, in TEST_F()
538 { { FPL("f:/foo/bar"), FPL("F:/foo/Bar/baz") }, false}, in TEST_F()
539 { { FPL("c:/"), FPL("c:/foo/bar/baz") }, true}, in TEST_F()
540 { { FPL("c:"), FPL("c:/foo/bar/baz") }, true}, in TEST_F()
541 { { FPL("c:/foo/bar"), FPL("d:/foo/bar/baz") }, false}, in TEST_F()
542 { { FPL("c:/foo/bar"), FPL("D:/foo/bar/baz") }, false}, in TEST_F()
543 { { FPL("C:/foo/bar"), FPL("d:/foo/bar/baz") }, false}, in TEST_F()
544 { { FPL("c:/foo/bar"), FPL("c:/foo2/bar/baz") }, false}, in TEST_F()
545 { { FPL("e:/foo/bar"), FPL("E:/foo2/bar/baz") }, false}, in TEST_F()
546 { { FPL("F:/foo/bar"), FPL("f:/foo2/bar/baz") }, false}, in TEST_F()
547 { { FPL("c:/foo/bar"), FPL("c:/foo/bar2/baz") }, false}, in TEST_F()
550 { { FPL("\\foo\\bar"), FPL("\\foo\\bar\\baz") }, true}, in TEST_F()
551 { { FPL("\\foo/bar"), FPL("\\foo\\bar\\baz") }, true}, in TEST_F()
552 { { FPL("\\foo/bar"), FPL("\\foo/bar/baz") }, true}, in TEST_F()
553 { { FPL("\\"), FPL("\\foo\\bar\\baz") }, true}, in TEST_F()
554 { { FPL(""), FPL("\\foo\\bar\\baz") }, false}, in TEST_F()
555 { { FPL("\\foo\\bar"), FPL("\\foo2\\bar\\baz") }, false}, in TEST_F()
556 { { FPL("\\foo\\bar"), FPL("\\foo\\bar2\\baz") }, false}, in TEST_F()
573 { { FPL("/"), FPL("/foo/bar/baz") }, FPL("foo\\bar\\baz")}, in TEST_F()
575 { { FPL("/"), FPL("/foo/bar/baz") }, FPL("foo/bar/baz")}, in TEST_F()
577 { { FPL("/foo/bar"), FPL("/foo/bar/baz") }, FPL("baz")}, in TEST_F()
578 { { FPL("/foo/bar/"), FPL("/foo/bar/baz") }, FPL("baz")}, in TEST_F()
579 { { FPL("//foo/bar/"), FPL("//foo/bar/baz") }, FPL("baz")}, in TEST_F()
580 { { FPL("/foo/bar"), FPL("/foo2/bar/baz") }, FPL("")}, in TEST_F()
581 { { FPL("/foo/bar.txt"), FPL("/foo/bar/baz") }, FPL("")}, in TEST_F()
582 { { FPL("/foo/bar"), FPL("/foo/bar2/baz") }, FPL("")}, in TEST_F()
583 { { FPL("/foo/bar"), FPL("/foo/bar") }, FPL("")}, in TEST_F()
584 { { FPL("/foo/bar/baz"), FPL("/foo/bar") }, FPL("")}, in TEST_F()
585 { { FPL("foo/bar"), FPL("foo/bar/baz") }, FPL("baz")}, in TEST_F()
586 { { FPL("foo/bar"), FPL("foo2/bar/baz") }, FPL("")}, in TEST_F()
587 { { FPL("foo/bar"), FPL("foo/bar2/baz") }, FPL("")}, in TEST_F()
588 { { FPL(""), FPL("foo") }, FPL("")}, in TEST_F()
590 { { FPL("c:/foo/bar"), FPL("c:/foo/bar/baz") }, FPL("baz")}, in TEST_F()
591 { { FPL("E:/foo/bar"), FPL("e:/foo/bar/baz") }, FPL("baz")}, in TEST_F()
592 { { FPL("f:/foo/bar"), FPL("F:/foo/bar/baz") }, FPL("baz")}, in TEST_F()
593 { { FPL("E:/Foo/bar"), FPL("e:/foo/bar/baz") }, FPL("")}, in TEST_F()
594 { { FPL("f:/foo/bar"), FPL("F:/foo/Bar/baz") }, FPL("")}, in TEST_F()
596 { { FPL("c:/"), FPL("c:/foo/bar/baz") }, FPL("foo\\bar\\baz")}, in TEST_F()
599 // /foo\bar\baz but appending to a nonempty path "blah" gives in TEST_F()
600 // blah\foo\bar\baz. in TEST_F()
601 // { { FPL("c:"), FPL("c:/foo/bar/baz") }, FPL("foo\\bar\\baz")}, in TEST_F()
603 { { FPL("c:/foo/bar"), FPL("d:/foo/bar/baz") }, FPL("")}, in TEST_F()
604 { { FPL("c:/foo/bar"), FPL("D:/foo/bar/baz") }, FPL("")}, in TEST_F()
605 { { FPL("C:/foo/bar"), FPL("d:/foo/bar/baz") }, FPL("")}, in TEST_F()
606 { { FPL("c:/foo/bar"), FPL("c:/foo2/bar/baz") }, FPL("")}, in TEST_F()
607 { { FPL("e:/foo/bar"), FPL("E:/foo2/bar/baz") }, FPL("")}, in TEST_F()
608 { { FPL("F:/foo/bar"), FPL("f:/foo2/bar/baz") }, FPL("")}, in TEST_F()
609 { { FPL("c:/foo/bar"), FPL("c:/foo/bar2/baz") }, FPL("")}, in TEST_F()
612 { { FPL("\\foo\\bar"), FPL("\\foo\\bar\\baz") }, FPL("baz")}, in TEST_F()
613 { { FPL("\\foo/bar"), FPL("\\foo\\bar\\baz") }, FPL("baz")}, in TEST_F()
614 { { FPL("\\foo/bar"), FPL("\\foo/bar/baz") }, FPL("baz")}, in TEST_F()
615 { { FPL("\\"), FPL("\\foo\\bar\\baz") }, FPL("foo\\bar\\baz")}, in TEST_F()
616 { { FPL(""), FPL("\\foo\\bar\\baz") }, FPL("")}, in TEST_F()
617 { { FPL("\\foo\\bar"), FPL("\\foo2\\bar\\baz") }, FPL("")}, in TEST_F()
618 { { FPL("\\foo\\bar"), FPL("\\foo\\bar2\\baz") }, FPL("")}, in TEST_F()
652 { { FPL("/foo/bar/baz"), FPL("/foo/bar/baz") }, true}, in TEST_F()
653 { { FPL("/foo/bar"), FPL("/foo/bar/baz") }, false}, in TEST_F()
654 { { FPL("/foo/bar/baz"), FPL("/foo/bar") }, false}, in TEST_F()
655 { { FPL("//foo/bar/"), FPL("//foo/bar/") }, true}, in TEST_F()
656 { { FPL("/foo/bar"), FPL("/foo2/bar") }, false}, in TEST_F()
657 { { FPL("/foo/bar.txt"), FPL("/foo/bar") }, false}, in TEST_F()
658 { { FPL("foo/bar"), FPL("foo/bar") }, true}, in TEST_F()
659 { { FPL("foo/bar"), FPL("foo/bar/baz") }, false}, in TEST_F()
660 { { FPL(""), FPL("foo") }, false}, in TEST_F()
662 { { FPL("c:/foo/bar"), FPL("c:/foo/bar") }, true}, in TEST_F()
663 { { FPL("E:/foo/bar"), FPL("e:/foo/bar") }, true}, in TEST_F()
664 { { FPL("f:/foo/bar"), FPL("F:/foo/bar") }, true}, in TEST_F()
665 { { FPL("E:/Foo/bar"), FPL("e:/foo/bar") }, false}, in TEST_F()
666 { { FPL("f:/foo/bar"), FPL("F:/foo/Bar") }, false}, in TEST_F()
669 { { FPL("c:/foo/bar"), FPL("d:/foo/bar") }, false}, in TEST_F()
670 { { FPL("c:/foo/bar"), FPL("D:/foo/bar") }, false}, in TEST_F()
671 { { FPL("C:/foo/bar"), FPL("d:/foo/bar") }, false}, in TEST_F()
672 { { FPL("c:/foo/bar"), FPL("c:/foo2/bar") }, false}, in TEST_F()
675 { { FPL("\\foo\\bar"), FPL("\\foo\\bar") }, true}, in TEST_F()
676 { { FPL("\\foo/bar"), FPL("\\foo/bar") }, true}, in TEST_F()
677 { { FPL("\\foo/bar"), FPL("\\foo\\bar") }, false}, in TEST_F()
681 { { FPL("\\foo\\bar"), FPL("\\foo2\\bar") }, false}, in TEST_F()
682 { { FPL("\\foo\\bar"), FPL("\\foo\\bar2") }, false}, in TEST_F()
684 { { FPL("c:\\foo\\bar"), FPL("c:\\foo\\bar") }, true}, in TEST_F()
685 { { FPL("E:\\foo\\bar"), FPL("e:\\foo\\bar") }, true}, in TEST_F()
686 { { FPL("f:\\foo\\bar"), FPL("F:\\foo/bar") }, false}, in TEST_F()
713 FilePath jpg = base_dir.Append(FILE_PATH_LITERAL("foo.jpg")); in TEST_F()
718 EXPECT_EQ(FILE_PATH_LITERAL("foo"), base.value()); in TEST_F()
737 { FPL("C:\\foo.bar\\\\\\"), FPL(".bar") }, in TEST_F()
738 { FPL("C:\\foo.bar\\.."), FPL("") }, in TEST_F()
739 { FPL("C:\\foo.bar\\..\\\\"), FPL("") }, in TEST_F()
741 { FPL("/foo/bar/baz.ext"), FPL(".ext") }, in TEST_F()
742 { FPL("/foo/bar/baz."), FPL(".") }, in TEST_F()
743 { FPL("/foo/bar/baz.."), FPL(".") }, in TEST_F()
744 { FPL("/foo/bar/baz"), FPL("") }, in TEST_F()
745 { FPL("/foo/bar/"), FPL("") }, in TEST_F()
746 { FPL("/foo/bar./"), FPL(".") }, in TEST_F()
747 { FPL("/foo/bar/baz.ext1.ext2"), FPL(".ext2") }, in TEST_F()
749 { FPL("/foo.12345.gz"), FPL(".gz") }, in TEST_F()
750 { FPL("/foo..gz"), FPL(".gz") }, in TEST_F()
753 { FPL("./foo"), FPL("") }, in TEST_F()
754 { FPL("./foo.ext"), FPL(".ext") }, in TEST_F()
755 { FPL("/foo.ext1/bar.ext2"), FPL(".ext2") }, in TEST_F()
756 { FPL("/foo.bar////"), FPL(".bar") }, in TEST_F()
757 { FPL("/foo.bar/.."), FPL("") }, in TEST_F()
758 { FPL("/foo.bar/..////"), FPL("") }, in TEST_F()
759 { FPL("/foo.1234.luser.js"), FPL(".js") }, in TEST_F()
763 { FPL("/foo.tar.gz"), FPL(".tar.gz") }, in TEST_F()
764 { FPL("/foo.tar.Z"), FPL(".tar.Z") }, in TEST_F()
765 { FPL("/foo.tar.bz2"), FPL(".tar.bz2") }, in TEST_F()
766 { FPL("/foo.1234.gz"), FPL(".1234.gz") }, in TEST_F()
767 { FPL("/foo.1234.tar.gz"), FPL(".tar.gz") }, in TEST_F()
768 { FPL("/foo.tar.tar.gz"), FPL(".tar.gz") }, in TEST_F()
769 { FPL("/foo.tar.gz.gz"), FPL(".gz.gz") }, in TEST_F()
770 { FPL("/foo.1234.user.js"), FPL(".user.js") }, in TEST_F()
771 { FPL("foo.user.js"), FPL(".user.js") }, in TEST_F()
772 { FPL("/foo.tar.bz"), FPL(".tar.bz") }, in TEST_F()
797 { { FPL("foo.dll"), FPL("txt") }, FPL("footxt.dll") }, in TEST_F()
799 { { FPL("foo.dll"), FPL(".txt") }, FPL("foo.txt.dll") }, in TEST_F()
800 { { FPL("foo"), FPL("txt") }, FPL("footxt") }, in TEST_F()
801 { { FPL("foo"), FPL(".txt") }, FPL("foo.txt") }, in TEST_F()
802 { { FPL("foo.baz.dll"), FPL("txt") }, FPL("foo.baztxt.dll") }, in TEST_F()
803 { { FPL("foo.baz.dll"), FPL(".txt") }, FPL("foo.baz.txt.dll") }, in TEST_F()
804 { { FPL("foo.dll"), FPL("") }, FPL("foo.dll") }, in TEST_F()
805 { { FPL("foo.dll"), FPL(".") }, FPL("foo..dll") }, in TEST_F()
806 { { FPL("foo"), FPL("") }, FPL("foo") }, in TEST_F()
807 { { FPL("foo"), FPL(".") }, FPL("foo.") }, in TEST_F()
808 { { FPL("foo.baz.dll"), FPL("") }, FPL("foo.baz.dll") }, in TEST_F()
809 { { FPL("foo.baz.dll"), FPL(".") }, FPL("foo.baz..dll") }, in TEST_F()
816 { { FPL("C:\\bar\\foo.dll"), FPL("txt") }, in TEST_F()
820 { { FPL("C:\\bar.baz\\foo.dll"), FPL("txt") }, in TEST_F()
822 { { FPL("C:\\bar.baz\\foo.dll.exe"), FPL("txt") }, in TEST_F()
823 FPL("C:\\bar.baz\\foo.dlltxt.exe") }, in TEST_F()
824 { { FPL("C:\\bar.baz\\foo"), FPL("") }, in TEST_F()
825 FPL("C:\\bar.baz\\foo") }, in TEST_F()
826 { { FPL("C:\\bar.baz\\foo.exe"), FPL("") }, in TEST_F()
827 FPL("C:\\bar.baz\\foo.exe") }, in TEST_F()
828 { { FPL("C:\\bar.baz\\foo.dll.exe"), FPL("") }, in TEST_F()
829 FPL("C:\\bar.baz\\foo.dll.exe") }, in TEST_F()
830 { { FPL("C:\\bar\\baz\\foo.exe"), FPL(" (1)") }, in TEST_F()
831 FPL("C:\\bar\\baz\\foo (1).exe") }, in TEST_F()
832 { { FPL("C:\\foo.baz\\\\"), FPL(" (1)") }, FPL("C:\\foo (1).baz") }, in TEST_F()
833 { { FPL("C:\\foo.baz\\..\\"), FPL(" (1)") }, FPL("") }, in TEST_F()
840 { { FPL("/bar/foo.dll"), FPL("txt") }, FPL("/bar/footxt.dll") }, in TEST_F()
842 { { FPL("/bar.baz/foo.dll"), FPL("txt") }, FPL("/bar.baz/footxt.dll") }, in TEST_F()
843 { { FPL("/bar.baz/foo.dll.exe"), FPL("txt") }, in TEST_F()
844 FPL("/bar.baz/foo.dlltxt.exe") }, in TEST_F()
845 { { FPL("/bar.baz/foo"), FPL("") }, FPL("/bar.baz/foo") }, in TEST_F()
846 { { FPL("/bar.baz/foo.exe"), FPL("") }, FPL("/bar.baz/foo.exe") }, in TEST_F()
847 { { FPL("/bar.baz/foo.dll.exe"), FPL("") }, FPL("/bar.baz/foo.dll.exe") }, in TEST_F()
848 { { FPL("/bar/baz/foo.exe"), FPL(" (1)") }, FPL("/bar/baz/foo (1).exe") }, in TEST_F()
864 { FPL("foo.dll"), FPL("foo") }, in TEST_F()
865 { FPL("./foo.dll"), FPL("./foo") }, in TEST_F()
866 { FPL("foo..dll"), FPL("foo.") }, in TEST_F()
867 { FPL("foo"), FPL("foo") }, in TEST_F()
868 { FPL("foo."), FPL("foo") }, in TEST_F()
869 { FPL("foo.."), FPL("foo.") }, in TEST_F()
870 { FPL("foo.baz.dll"), FPL("foo.baz") }, in TEST_F()
872 { FPL("C:\\foo.bar\\foo"), FPL("C:\\foo.bar\\foo") }, in TEST_F()
873 { FPL("C:\\foo.bar\\..\\\\"), FPL("C:\\foo.bar\\..\\\\") }, in TEST_F()
875 { FPL("/foo.bar/foo"), FPL("/foo.bar/foo") }, in TEST_F()
876 { FPL("/foo.bar/..////"), FPL("/foo.bar/..////") }, in TEST_F()
888 FilePath path(FPL("foo.tar.gz")); in TEST_F()
891 EXPECT_EQ(FPL("foo"), removed.value()) << ", path: " << path.value(); in TEST_F()
892 EXPECT_EQ(FPL("foo.tar"), removed_final.value()) << ", path: " in TEST_F()
904 { { FPL("foo.dll"), FPL("txt") }, FPL("foo.txt") }, in TEST_F()
905 { { FPL("./foo.dll"), FPL("txt") }, FPL("./foo.txt") }, in TEST_F()
906 { { FPL("foo..dll"), FPL("txt") }, FPL("foo..txt") }, in TEST_F()
907 { { FPL("foo.dll"), FPL(".txt") }, FPL("foo.txt") }, in TEST_F()
908 { { FPL("foo"), FPL("txt") }, FPL("foo.txt") }, in TEST_F()
909 { { FPL("foo."), FPL("txt") }, FPL("foo.txt") }, in TEST_F()
910 { { FPL("foo.."), FPL("txt") }, FPL("foo..txt") }, in TEST_F()
911 { { FPL("foo"), FPL(".txt") }, FPL("foo.txt") }, in TEST_F()
912 { { FPL("foo.baz.dll"), FPL("txt") }, FPL("foo.baz.txt") }, in TEST_F()
913 { { FPL("foo.baz.dll"), FPL(".txt") }, FPL("foo.baz.txt") }, in TEST_F()
914 { { FPL("foo.dll"), FPL("") }, FPL("foo") }, in TEST_F()
915 { { FPL("foo.dll"), FPL(".") }, FPL("foo") }, in TEST_F()
916 { { FPL("foo"), FPL("") }, FPL("foo") }, in TEST_F()
917 { { FPL("foo"), FPL(".") }, FPL("foo") }, in TEST_F()
918 { { FPL("foo.baz.dll"), FPL("") }, FPL("foo.baz") }, in TEST_F()
919 { { FPL("foo.baz.dll"), FPL(".") }, FPL("foo.baz") }, in TEST_F()
921 { { FPL("C:\\foo.bar\\foo"), FPL("baz") }, FPL("C:\\foo.bar\\foo.baz") }, in TEST_F()
922 { { FPL("C:\\foo.bar\\..\\\\"), FPL("baz") }, FPL("") }, in TEST_F()
924 { { FPL("/foo.bar/foo"), FPL("baz") }, FPL("/foo.bar/foo.baz") }, in TEST_F()
925 { { FPL("/foo.bar/..////"), FPL("baz") }, FPL("") }, in TEST_F()
942 { { FPL("foo.dll"), FPL("txt") }, FPL("foo.dll.txt") }, in TEST_F()
943 { { FPL("./foo.dll"), FPL("txt") }, FPL("./foo.dll.txt") }, in TEST_F()
944 { { FPL("foo..dll"), FPL("txt") }, FPL("foo..dll.txt") }, in TEST_F()
945 { { FPL("foo.dll"), FPL(".txt") }, FPL("foo.dll.txt") }, in TEST_F()
946 { { FPL("foo"), FPL("txt") }, FPL("foo.txt") }, in TEST_F()
947 { { FPL("foo."), FPL("txt") }, FPL("foo.txt") }, in TEST_F()
948 { { FPL("foo.."), FPL("txt") }, FPL("foo..txt") }, in TEST_F()
949 { { FPL("foo"), FPL(".txt") }, FPL("foo.txt") }, in TEST_F()
950 { { FPL("foo.baz.dll"), FPL("txt") }, FPL("foo.baz.dll.txt") }, in TEST_F()
951 { { FPL("foo.baz.dll"), FPL(".txt") }, FPL("foo.baz.dll.txt") }, in TEST_F()
952 { { FPL("foo.dll"), FPL("") }, FPL("foo.dll") }, in TEST_F()
953 { { FPL("foo.dll"), FPL(".") }, FPL("foo.dll") }, in TEST_F()
954 { { FPL("foo"), FPL("") }, FPL("foo") }, in TEST_F()
955 { { FPL("foo"), FPL(".") }, FPL("foo") }, in TEST_F()
956 { { FPL("foo.baz.dll"), FPL("") }, FPL("foo.baz.dll") }, in TEST_F()
957 { { FPL("foo.baz.dll"), FPL(".") }, FPL("foo.baz.dll") }, in TEST_F()
959 { { FPL("C:\\foo.bar\\foo"), FPL("baz") }, FPL("C:\\foo.bar\\foo.baz") }, in TEST_F()
960 { { FPL("C:\\foo.bar\\..\\\\"), FPL("baz") }, FPL("") }, in TEST_F()
962 { { FPL("/foo.bar/foo"), FPL("baz") }, FPL("/foo.bar/foo.baz") }, in TEST_F()
963 { { FPL("/foo.bar/..////"), FPL("baz") }, FPL("") }, in TEST_F()
975 { { FPL("foo"), FPL("") }, true}, in TEST_F()
976 { { FPL("foo"), FPL(".") }, false}, in TEST_F()
977 { { FPL("foo."), FPL("") }, false}, in TEST_F()
978 { { FPL("foo."), FPL(".") }, true}, in TEST_F()
979 { { FPL("foo.txt"), FPL(".dll") }, false}, in TEST_F()
980 { { FPL("foo.txt"), FPL(".txt") }, true}, in TEST_F()
981 { { FPL("foo.txt.dll"), FPL(".txt") }, false}, in TEST_F()
982 { { FPL("foo.txt.dll"), FPL(".dll") }, true}, in TEST_F()
983 { { FPL("foo.TXT"), FPL(".txt") }, true}, in TEST_F()
984 { { FPL("foo.txt"), FPL(".TXT") }, true}, in TEST_F()
985 { { FPL("foo.tXt"), FPL(".txt") }, true}, in TEST_F()
986 { { FPL("foo.txt"), FPL(".tXt") }, true}, in TEST_F()
987 { { FPL("foo.tXt"), FPL(".TXT") }, true}, in TEST_F()
988 { { FPL("foo.tXt"), FPL(".tXt") }, true}, in TEST_F()
990 { { FPL("c:/foo.txt.dll"), FPL(".txt") }, false}, in TEST_F()
991 { { FPL("c:/foo.txt"), FPL(".txt") }, true}, in TEST_F()
994 { { FPL("c:\\bar\\foo.txt.dll"), FPL(".txt") }, false}, in TEST_F()
995 { { FPL("c:\\bar\\foo.txt"), FPL(".txt") }, true}, in TEST_F()
997 { { FPL("/bar/foo.txt.dll"), FPL(".txt") }, false}, in TEST_F()
998 { { FPL("/bar/foo.txt"), FPL(".txt") }, true}, in TEST_F()
1001 { { FPL("foo.\u00E4\u00F6\u00FC"), FPL(".\u00E4\u00F6\u00FC") }, true}, in TEST_F()
1002 { { FPL("foo.\u00C4\u00D6\u00DC"), FPL(".\u00E4\u00F6\u00FC") }, true}, in TEST_F()
1004 { { FPL("foo.\u0109"), FPL(".\u0109") }, true}, in TEST_F()
1005 { { FPL("foo.\u0108"), FPL(".\u0109") }, true}, in TEST_F()
1020 { { FPL("foo"), FPL("foo") }, 0}, in TEST_F()
1021 { { FPL("FOO"), FPL("foo") }, 0}, in TEST_F()
1022 { { FPL("foo.ext"), FPL("foo.ext") }, 0}, in TEST_F()
1023 { { FPL("FOO.EXT"), FPL("foo.ext") }, 0}, in TEST_F()
1024 { { FPL("Foo.Ext"), FPL("foo.ext") }, 0}, in TEST_F()
1025 { { FPL("foO"), FPL("foo") }, 0}, in TEST_F()
1026 { { FPL("foo"), FPL("foO") }, 0}, in TEST_F()
1027 { { FPL("fOo"), FPL("foo") }, 0}, in TEST_F()
1028 { { FPL("foo"), FPL("fOo") }, 0}, in TEST_F()
1029 { { FPL("bar"), FPL("foo") }, -1}, in TEST_F()
1030 { { FPL("foo"), FPL("bar") }, 1}, in TEST_F()
1031 { { FPL("BAR"), FPL("foo") }, -1}, in TEST_F()
1032 { { FPL("FOO"), FPL("bar") }, 1}, in TEST_F()
1033 { { FPL("bar"), FPL("FOO") }, -1}, in TEST_F()
1034 { { FPL("foo"), FPL("BAR") }, 1}, in TEST_F()
1035 { { FPL("BAR"), FPL("FOO") }, -1}, in TEST_F()
1036 { { FPL("FOO"), FPL("BAR") }, 1}, in TEST_F()
1131 { FPL("foo.txt"), "foo.txt" }, in TEST_F()
1194 { FPL("foo/bar"), FPL("foo\\bar") }, in TEST_F()
1195 { FPL("foo/bar\\betz"), FPL("foo\\bar\\betz") }, in TEST_F()
1196 { FPL("foo\\bar"), FPL("foo\\bar") }, in TEST_F()
1197 { FPL("foo\\bar/betz"), FPL("foo\\bar\\betz") }, in TEST_F()
1198 { FPL("foo"), FPL("foo") }, in TEST_F()
1201 { FPL("foo\\"), FPL("foo\\") }, in TEST_F()
1202 { FPL("foo/"), FPL("foo\\") }, in TEST_F()
1203 { FPL("foo/bar\\"), FPL("foo\\bar\\") }, in TEST_F()
1204 { FPL("foo\\bar/"), FPL("foo\\bar\\") }, in TEST_F()
1205 { FPL("foo/bar/"), FPL("foo\\bar\\") }, in TEST_F()
1206 { FPL("foo\\bar\\"), FPL("foo\\bar\\") }, in TEST_F()
1207 { FPL("\\foo/bar"), FPL("\\foo\\bar") }, in TEST_F()
1208 { FPL("/foo\\bar"), FPL("\\foo\\bar") }, in TEST_F()
1209 { FPL("c:/foo/bar/"), FPL("c:\\foo\\bar\\") }, in TEST_F()
1210 { FPL("/foo/bar/"), FPL("\\foo\\bar\\") }, in TEST_F()
1211 { FPL("\\foo\\bar\\"), FPL("\\foo\\bar\\") }, in TEST_F()
1212 { FPL("c:\\foo/bar"), FPL("c:\\foo\\bar") }, in TEST_F()
1213 { FPL("//foo\\bar\\"), FPL("\\\\foo\\bar\\") }, in TEST_F()
1214 { FPL("\\\\foo\\bar\\"), FPL("\\\\foo\\bar\\") }, in TEST_F()
1215 { FPL("//foo\\bar\\"), FPL("\\\\foo\\bar\\") }, in TEST_F()
1217 { FPL("foo\\\\bar"), FPL("foo\\\\bar") }, in TEST_F()
1218 { FPL("foo//bar"), FPL("foo\\\\bar") }, in TEST_F()
1219 { FPL("foo/\\bar"), FPL("foo\\\\bar") }, in TEST_F()
1220 { FPL("foo\\/bar"), FPL("foo\\\\bar") }, in TEST_F()
1221 { FPL("///foo\\\\bar"), FPL("\\\\\\foo\\\\bar") }, in TEST_F()
1222 { FPL("foo//bar///"), FPL("foo\\\\bar\\\\\\") }, in TEST_F()
1223 { FPL("foo/\\bar/\\"), FPL("foo\\\\bar\\\\") }, in TEST_F()
1224 { FPL("/\\foo\\/bar"), FPL("\\\\foo\\\\bar") }, in TEST_F()
1239 { FPL("foo/"), true }, in TEST_F()
1241 { FPL("/foo/bar"), false }, in TEST_F()
1253 { FPL("foo"), FPL("foo/") }, in TEST_F()
1254 { FPL("foo/"), FPL("foo/") } in TEST_F()
1266 { FPL("content://foo.bar"), true }, in TEST_F()
1267 { FPL("content://foo.bar/"), true }, in TEST_F()
1268 { FPL("content://foo/bar"), true }, in TEST_F()
1269 { FPL("CoNTenT://foo.bar"), true }, in TEST_F()
1271 { FPL("content:///foo.bar"), true }, in TEST_F()
1272 { FPL("content://3foo/bar"), true }, in TEST_F()
1275 { FPL("foo.bar"), false }, in TEST_F()
1276 { FPL("content:foo.bar"), false }, in TEST_F()
1277 { FPL("content:/foo.ba"), false }, in TEST_F()
1278 { FPL("content:/dir/foo.bar"), false }, in TEST_F()
1279 { FPL("content: //foo.bar"), false }, in TEST_F()
1295 FilePath fp(FPL("foo")); in TEST_F()
1297 EXPECT_EQ("foo", ss.str()); in TEST_F()