Lines Matching defs:last_opened_profiles
588 std::vector<Profile*> last_opened_profiles =
590 ASSERT_EQ(0U, last_opened_profiles.size());
597 last_opened_profiles = profile_manager->GetLastOpenedProfiles();
598 ASSERT_EQ(1U, last_opened_profiles.size());
599 EXPECT_EQ(profile1, last_opened_profiles[0]);
606 last_opened_profiles = profile_manager->GetLastOpenedProfiles();
607 ASSERT_EQ(2U, last_opened_profiles.size());
608 EXPECT_EQ(profile1, last_opened_profiles[0]);
609 EXPECT_EQ(profile2, last_opened_profiles[1]);
614 last_opened_profiles = profile_manager->GetLastOpenedProfiles();
615 ASSERT_EQ(2U, last_opened_profiles.size());
616 EXPECT_EQ(profile1, last_opened_profiles[0]);
617 EXPECT_EQ(profile2, last_opened_profiles[1]);
621 last_opened_profiles = profile_manager->GetLastOpenedProfiles();
622 ASSERT_EQ(2U, last_opened_profiles.size());
623 EXPECT_EQ(profile1, last_opened_profiles[0]);
624 EXPECT_EQ(profile2, last_opened_profiles[1]);
627 last_opened_profiles = profile_manager->GetLastOpenedProfiles();
628 ASSERT_EQ(1U, last_opened_profiles.size());
629 EXPECT_EQ(profile2, last_opened_profiles[0]);
632 last_opened_profiles = profile_manager->GetLastOpenedProfiles();
633 ASSERT_EQ(0U, last_opened_profiles.size());
664 std::vector<Profile*> last_opened_profiles =
666 ASSERT_EQ(2U, last_opened_profiles.size());
667 EXPECT_EQ(profile1, last_opened_profiles[0]);
668 EXPECT_EQ(profile2, last_opened_profiles[1]);
681 last_opened_profiles = profile_manager->GetLastOpenedProfiles();
682 ASSERT_EQ(2U, last_opened_profiles.size());
683 EXPECT_EQ(profile1, last_opened_profiles[0]);
684 EXPECT_EQ(profile2, last_opened_profiles[1]);
707 std::vector<Profile*> last_opened_profiles =
709 ASSERT_EQ(0U, last_opened_profiles.size());
716 last_opened_profiles = profile_manager->GetLastOpenedProfiles();
717 ASSERT_EQ(1U, last_opened_profiles.size());
718 EXPECT_EQ(profile1, last_opened_profiles[0]);
726 last_opened_profiles = profile_manager->GetLastOpenedProfiles();
727 ASSERT_EQ(1U, last_opened_profiles.size());
728 EXPECT_EQ(profile1, last_opened_profiles[0]);
733 last_opened_profiles = profile_manager->GetLastOpenedProfiles();
734 ASSERT_EQ(1U, last_opened_profiles.size());
735 EXPECT_EQ(profile1, last_opened_profiles[0]);
739 last_opened_profiles = profile_manager->GetLastOpenedProfiles();
740 ASSERT_EQ(1U, last_opened_profiles.size());
741 EXPECT_EQ(profile1, last_opened_profiles[0]);
744 last_opened_profiles = profile_manager->GetLastOpenedProfiles();
745 ASSERT_EQ(1U, last_opened_profiles.size());
746 EXPECT_EQ(profile1, last_opened_profiles[0]);
749 last_opened_profiles = profile_manager->GetLastOpenedProfiles();
750 ASSERT_EQ(0U, last_opened_profiles.size());
830 std::vector<Profile*> last_opened_profiles =
832 last_opened_profiles.size());
833 EXPECT_EQ(normal_profile, last_opened_profiles[0]);
834 EXPECT_EQ(ephemeral_profile2, last_opened_profiles[1]);
849 last_opened_profiles = profile_manager->GetLastOpenedProfiles();
850 ASSERT_EQ(1U, last_opened_profiles.size());
851 EXPECT_EQ(normal_profile, last_opened_profiles[0]);