Lines Matching refs:OmahaEvent
437 void TestEvent(OmahaEvent* event, const string& http_response);
584 void OmahaRequestActionTest::TestEvent(OmahaEvent* event, in TestEvent()
1716 TestEvent(new OmahaEvent(OmahaEvent::kTypeUpdateDownloadStarted), in TEST_F()
1721 OmahaEvent::kTypeUpdateDownloadStarted, in TEST_F()
1722 OmahaEvent::kResultSuccess); in TEST_F()
1729 TestEvent(new OmahaEvent(OmahaEvent::kTypeDownloadComplete, in TEST_F()
1730 OmahaEvent::kResultError, in TEST_F()
1737 OmahaEvent::kTypeDownloadComplete, in TEST_F()
1738 OmahaEvent::kResultError, in TEST_F()
1755 new OmahaEvent(OmahaEvent::kTypeUpdateComplete), in TEST_F()
1849 OmahaEvent default_event; in TEST_F()
1850 EXPECT_EQ(OmahaEvent::kTypeUnknown, default_event.type); in TEST_F()
1851 EXPECT_EQ(OmahaEvent::kResultError, default_event.result); in TEST_F()
1854 OmahaEvent success_event(OmahaEvent::kTypeUpdateDownloadStarted); in TEST_F()
1855 EXPECT_EQ(OmahaEvent::kTypeUpdateDownloadStarted, success_event.type); in TEST_F()
1856 EXPECT_EQ(OmahaEvent::kResultSuccess, success_event.result); in TEST_F()
1859 OmahaEvent error_event(OmahaEvent::kTypeUpdateDownloadFinished, in TEST_F()
1860 OmahaEvent::kResultError, in TEST_F()
1862 EXPECT_EQ(OmahaEvent::kTypeUpdateDownloadFinished, error_event.type); in TEST_F()
1863 EXPECT_EQ(OmahaEvent::kResultError, error_event.result); in TEST_F()
2376 OmahaEvent::kTypeRebootedAfterUpdate))); in TEST_F()