Lines Matching refs:alerts
78 const auto& alerts = delegate.GetAlerts(); in TEST_F() local
79 EXPECT_EQ(0U, alerts.size()); in TEST_F()
82 EXPECT_EQ(0U, alerts.size()); // nothing fired. in TEST_F()
84 EXPECT_EQ(1U, alerts.size()); // interval fired. in TEST_F()
86 EXPECT_EQ(2U, alerts.size()); // timer fired. in TEST_F()
88 EXPECT_EQ(3U, alerts.size()); // interval fired again. in TEST_F()
90 EXPECT_EQ(3U, alerts.size()); // nothing fired. in TEST_F()
92 EXPECT_EQ(4U, alerts.size()); // interval fired again. in TEST_F()
94 EXPECT_EQ(4U, alerts.size()); // nothing fired. in TEST_F()
97 ASSERT_EQ(4U, alerts.size()); // nothing else fired. in TEST_F()
99 EXPECT_STREQ(L"interval fired", alerts[0].message.c_str()); in TEST_F()
100 EXPECT_STREQ(L"Alert", alerts[0].title.c_str()); in TEST_F()
101 EXPECT_EQ(0, alerts[0].type); in TEST_F()
102 EXPECT_EQ(0, alerts[0].icon); in TEST_F()
104 EXPECT_STREQ(L"timer fired", alerts[1].message.c_str()); in TEST_F()
105 EXPECT_STREQ(L"Alert", alerts[1].title.c_str()); in TEST_F()
106 EXPECT_EQ(0, alerts[1].type); in TEST_F()
107 EXPECT_EQ(0, alerts[1].icon); in TEST_F()
109 EXPECT_STREQ(L"interval fired", alerts[2].message.c_str()); in TEST_F()
110 EXPECT_STREQ(L"Alert", alerts[2].title.c_str()); in TEST_F()
111 EXPECT_EQ(0, alerts[2].type); in TEST_F()
112 EXPECT_EQ(0, alerts[2].icon); in TEST_F()
114 EXPECT_STREQ(L"interval fired", alerts[3].message.c_str()); in TEST_F()
115 EXPECT_STREQ(L"Alert", alerts[3].title.c_str()); in TEST_F()
116 EXPECT_EQ(0, alerts[3].type); in TEST_F()
117 EXPECT_EQ(0, alerts[3].icon); in TEST_F()
132 const auto& alerts = delegate.GetAlerts(); in TEST_F() local
133 ASSERT_EQ(1U, alerts.size()); in TEST_F()
134 EXPECT_STREQ(L"done", alerts[0].message.c_str()); in TEST_F()
156 const auto& alerts = delegate.GetAlerts(); in TEST_F() local
157 EXPECT_EQ(2U, alerts.size()); in TEST_F()
178 const auto& alerts = delegate.GetAlerts(); in TEST_F() local
179 EXPECT_EQ(2U, alerts.size()); in TEST_F()
195 const auto& alerts = delegate.GetAlerts(); in TEST_F() local
196 EXPECT_EQ(0u, alerts.size()); in TEST_F()