Lines Matching refs:alerts
369 const auto& alerts = delegate.GetAlerts(); in TEST_F() local
370 EXPECT_EQ(0U, alerts.size()); in TEST_F()
373 EXPECT_EQ(0U, alerts.size()); // nothing fired. in TEST_F()
375 EXPECT_EQ(1U, alerts.size()); // interval fired. in TEST_F()
377 EXPECT_EQ(2U, alerts.size()); // timer fired. in TEST_F()
379 EXPECT_EQ(3U, alerts.size()); // interval fired again. in TEST_F()
381 EXPECT_EQ(3U, alerts.size()); // nothing fired. in TEST_F()
383 EXPECT_EQ(4U, alerts.size()); // interval fired again. in TEST_F()
385 EXPECT_EQ(4U, alerts.size()); // nothing fired. in TEST_F()
388 ASSERT_EQ(4U, alerts.size()); // nothing else fired. in TEST_F()
390 EXPECT_STREQ(L"interval fired", alerts[0].message.c_str()); in TEST_F()
391 EXPECT_STREQ(L"Alert", alerts[0].title.c_str()); in TEST_F()
392 EXPECT_EQ(0, alerts[0].type); in TEST_F()
393 EXPECT_EQ(0, alerts[0].icon); in TEST_F()
395 EXPECT_STREQ(L"timer fired", alerts[1].message.c_str()); in TEST_F()
396 EXPECT_STREQ(L"Alert", alerts[1].title.c_str()); in TEST_F()
397 EXPECT_EQ(0, alerts[1].type); in TEST_F()
398 EXPECT_EQ(0, alerts[1].icon); in TEST_F()
400 EXPECT_STREQ(L"interval fired", alerts[2].message.c_str()); in TEST_F()
401 EXPECT_STREQ(L"Alert", alerts[2].title.c_str()); in TEST_F()
402 EXPECT_EQ(0, alerts[2].type); in TEST_F()
403 EXPECT_EQ(0, alerts[2].icon); in TEST_F()
405 EXPECT_STREQ(L"interval fired", alerts[3].message.c_str()); in TEST_F()
406 EXPECT_STREQ(L"Alert", alerts[3].title.c_str()); in TEST_F()
407 EXPECT_EQ(0, alerts[3].type); in TEST_F()
408 EXPECT_EQ(0, alerts[3].icon); in TEST_F()
423 const auto& alerts = delegate.GetAlerts(); in TEST_F() local
424 ASSERT_EQ(1U, alerts.size()); in TEST_F()
425 EXPECT_STREQ(L"done", alerts[0].message.c_str()); in TEST_F()
447 const auto& alerts = delegate.GetAlerts(); in TEST_F() local
448 EXPECT_EQ(2U, alerts.size()); in TEST_F()
469 const auto& alerts = delegate.GetAlerts(); in TEST_F() local
470 EXPECT_EQ(2U, alerts.size()); in TEST_F()
486 const auto& alerts = delegate.GetAlerts(); in TEST_F() local
487 EXPECT_EQ(0u, alerts.size()); in TEST_F()
504 const auto& alerts = delegate.GetAlerts(); in TEST_F() local
505 EXPECT_EQ(0u, alerts.size()); in TEST_F()