• Home
  • Raw
  • Download

Lines Matching refs:alerts

662   const auto& alerts = delegate.GetAlerts();  in TEST_F()  local
663 EXPECT_EQ(0U, alerts.size()); in TEST_F()
666 EXPECT_EQ(0U, alerts.size()); // nothing fired. in TEST_F()
668 EXPECT_EQ(0U, alerts.size()); // nothing fired. in TEST_F()
670 EXPECT_EQ(0U, alerts.size()); // nothing fired. in TEST_F()
672 EXPECT_EQ(0U, alerts.size()); // nothing fired. in TEST_F()
674 EXPECT_EQ(0U, alerts.size()); // nothing fired. in TEST_F()
676 EXPECT_EQ(0U, alerts.size()); // nothing fired. in TEST_F()
678 EXPECT_EQ(0U, alerts.size()); // nothing fired. in TEST_F()
690 const auto& alerts = delegate.GetAlerts(); in TEST_F() local
691 EXPECT_EQ(0U, alerts.size()); in TEST_F()
699 ASSERT_EQ(4U, alerts.size()); in TEST_F()
700 EXPECT_STREQ(L"Will Save", alerts[0].message.c_str()); in TEST_F()
701 EXPECT_STREQ(L"Did Save", alerts[1].message.c_str()); in TEST_F()
702 EXPECT_STREQ(L"Will Print", alerts[2].message.c_str()); in TEST_F()
703 EXPECT_STREQ(L"Did Print", alerts[3].message.c_str()); in TEST_F()
714 const auto& alerts = delegate.GetAlerts(); in TEST_F() local
715 EXPECT_EQ(0U, alerts.size()); in TEST_F()
723 ASSERT_EQ(0U, alerts.size()); in TEST_F()
736 const auto& alerts = delegate.GetAlerts(); in TEST_F() local
737 EXPECT_EQ(0U, alerts.size()); in TEST_F()
740 EXPECT_EQ(0U, alerts.size()); // nothing fired. in TEST_F()
742 EXPECT_EQ(1U, alerts.size()); // interval fired. in TEST_F()
744 EXPECT_EQ(2U, alerts.size()); // timer fired. in TEST_F()
746 EXPECT_EQ(3U, alerts.size()); // interval fired again. in TEST_F()
748 EXPECT_EQ(3U, alerts.size()); // nothing fired. in TEST_F()
750 EXPECT_EQ(4U, alerts.size()); // interval fired again. in TEST_F()
752 EXPECT_EQ(4U, alerts.size()); // nothing fired. in TEST_F()
755 ASSERT_EQ(4U, alerts.size()); // nothing else fired. in TEST_F()
757 EXPECT_STREQ(L"interval fired", alerts[0].message.c_str()); in TEST_F()
758 EXPECT_STREQ(L"Alert", alerts[0].title.c_str()); in TEST_F()
759 EXPECT_EQ(0, alerts[0].type); in TEST_F()
760 EXPECT_EQ(0, alerts[0].icon); in TEST_F()
762 EXPECT_STREQ(L"timer fired", alerts[1].message.c_str()); in TEST_F()
763 EXPECT_STREQ(L"Alert", alerts[1].title.c_str()); in TEST_F()
764 EXPECT_EQ(0, alerts[1].type); in TEST_F()
765 EXPECT_EQ(0, alerts[1].icon); in TEST_F()
767 EXPECT_STREQ(L"interval fired", alerts[2].message.c_str()); in TEST_F()
768 EXPECT_STREQ(L"Alert", alerts[2].title.c_str()); in TEST_F()
769 EXPECT_EQ(0, alerts[2].type); in TEST_F()
770 EXPECT_EQ(0, alerts[2].icon); in TEST_F()
772 EXPECT_STREQ(L"interval fired", alerts[3].message.c_str()); in TEST_F()
773 EXPECT_STREQ(L"Alert", alerts[3].title.c_str()); in TEST_F()
774 EXPECT_EQ(0, alerts[3].type); in TEST_F()
775 EXPECT_EQ(0, alerts[3].icon); in TEST_F()
790 const auto& alerts = delegate.GetAlerts(); in TEST_F() local
791 ASSERT_EQ(1U, alerts.size()); in TEST_F()
792 EXPECT_STREQ(L"done", alerts[0].message.c_str()); in TEST_F()
814 const auto& alerts = delegate.GetAlerts(); in TEST_F() local
815 EXPECT_EQ(2U, alerts.size()); in TEST_F()
836 const auto& alerts = delegate.GetAlerts(); in TEST_F() local
837 EXPECT_EQ(2U, alerts.size()); in TEST_F()
853 const auto& alerts = delegate.GetAlerts(); in TEST_F() local
854 EXPECT_EQ(0u, alerts.size()); in TEST_F()
871 const auto& alerts = delegate.GetAlerts(); in TEST_F() local
872 EXPECT_EQ(0u, alerts.size()); in TEST_F()