Lines Matching refs:config2

485     ResTable_config config1, config2, request;  in TEST()  local
489 fillIn("fr", "CA", NULL, NULL, &config2); in TEST()
490 EXPECT_FALSE(config1.isLocaleBetterThan(config2, &request)); in TEST()
491 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
495 fillIn(NULL, NULL, NULL, NULL, &config2); in TEST()
496 EXPECT_FALSE(config1.isLocaleBetterThan(config2, &request)); in TEST()
497 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
501 fillIn(NULL, NULL, NULL, NULL, &config2); in TEST()
502 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
503 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
507 fillIn("de", "DE", NULL, "1901", &config2); in TEST()
508 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
509 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
513 fillIn("de", "DE", NULL, "1996", &config2); in TEST()
514 EXPECT_FALSE(config1.isLocaleBetterThan(config2, &request)); in TEST()
515 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
519 fillIn("de", "DE", NULL, NULL, &config2); in TEST()
520 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
521 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
525 fillIn("de", "DE", NULL, NULL, &config2); in TEST()
526 EXPECT_FALSE(config1.isLocaleBetterThan(config2, &request)); in TEST()
527 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
531 fillIn("fil", "US", NULL, NULL, &config2); in TEST()
532 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
533 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
537 fillIn("fil", "PH", NULL, NULL, &config2); in TEST()
538 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
539 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
543 fillIn("tl", "PH", NULL, NULL, &config2); in TEST()
544 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
545 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
549 ResTable_config config1, config2, request; in TEST() local
553 fillIn("es", "419", NULL, NULL, &config2); in TEST()
555 EXPECT_FALSE(config1.isLocaleBetterThan(config2, &request)); in TEST()
556 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
560 fillIn("es", "419", NULL, NULL, &config2); in TEST()
562 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
563 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
567 fillIn("es", NULL, NULL, NULL, &config2); in TEST()
569 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
570 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
574 fillIn("es", "ES", NULL, NULL, &config2); in TEST()
576 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
577 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
581 fillIn("es", "ES", NULL, NULL, &config2); in TEST()
583 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
584 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
588 fillIn("es", "ES", NULL, NULL, &config2); in TEST()
590 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
591 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
595 fillIn("es", NULL, NULL, NULL, &config2); in TEST()
598 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
599 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
603 fillIn("es", NULL, NULL, NULL, &config2); in TEST()
606 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
607 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
611 fillIn("es", NULL, NULL, NULL, &config2); in TEST()
614 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
615 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
619 fillIn("es", NULL, NULL, NULL, &config2); in TEST()
622 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
623 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
627 fillIn("es", "MX", NULL, NULL, &config2); in TEST()
630 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
631 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
635 fillIn("es", "MX", NULL, NULL, &config2); in TEST()
638 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
639 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
643 fillIn("es", "US", NULL, NULL, &config2); in TEST()
646 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
647 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
651 fillIn("es", "BO", NULL, NULL, &config2); in TEST()
654 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
655 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
659 fillIn("es", "BO", NULL, NULL, &config2); in TEST()
662 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
663 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
667 fillIn("es", "GQ", NULL, NULL, &config2); in TEST()
669 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
670 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
674 fillIn("es", "US", NULL, NULL, &config2); in TEST()
676 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
677 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
681 fillIn("es", "419", NULL, NULL, &config2); in TEST()
684 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
685 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
689 fillIn("en", NULL, NULL, NULL, &config2); in TEST()
691 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
692 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
696 fillIn("en", "001", NULL, NULL, &config2); in TEST()
698 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
699 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
703 fillIn("en", "001", NULL, NULL, &config2); in TEST()
705 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
706 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
710 fillIn("en", "US", NULL, NULL, &config2); in TEST()
712 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
713 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
717 fillIn("en", "GB", NULL, NULL, &config2); in TEST()
719 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
720 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
724 fillIn("en", "AU", NULL, NULL, &config2); in TEST()
726 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
727 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
731 fillIn("en", "CA", NULL, NULL, &config2); in TEST()
733 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
734 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
738 fillIn("pt", NULL, NULL, NULL, &config2); in TEST()
740 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
741 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
745 fillIn("pt", "BR", NULL, NULL, &config2); in TEST()
747 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
748 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
752 fillIn("zh", "TW", "Hant", NULL, &config2); in TEST()
754 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
755 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
759 fillIn("zh", "HK", "Hant", NULL, &config2); in TEST()
761 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
762 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
766 fillIn("ar", NULL, NULL, NULL, &config2); in TEST()
768 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
769 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
773 fillIn("ar", "015", NULL, NULL, &config2); in TEST()
775 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
776 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
780 fillIn("ar", "BH", NULL, NULL, &config2); in TEST()
782 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
783 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
787 fillIn("ar", "015", NULL, NULL, &config2); in TEST()
790 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
791 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
795 ResTable_config config1, config2, request; in TEST() local
801 fillIn("ar", NULL, NULL, NULL, &config2); in TEST()
802 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
803 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
809 fillIn("ar", NULL, NULL, NULL, &config2); in TEST()
810 EXPECT_TRUE(config2.isLocaleBetterThan(config1, &request)); in TEST()
811 EXPECT_FALSE(config1.isLocaleBetterThan(config2, &request)); in TEST()
817 ResTable_config config1, config2, request; in TEST() local
821 fillIn("en", "001", NULL, NULL, &config2); in TEST()
823 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
824 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
828 fillIn("en", "GB", NULL, NULL, &config2); in TEST()
830 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
831 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
835 fillIn("en", "001", NULL, NULL, &config2); in TEST()
837 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
838 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
842 fillIn(NULL, NULL, NULL, NULL, &config2); in TEST()
844 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
845 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
849 fillIn(NULL, NULL, NULL, NULL, &config2); in TEST()
851 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
852 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
856 fillIn("en", "PR", NULL, NULL, &config2); in TEST()
858 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
859 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()