Home
last modified time | relevance | path

Searched refs:mock_delegate_ (Results 1 – 3 of 3) sorted by relevance

/system/update_engine/payload_consumer/
Dpostinstall_runner_action_unittest.cc227 testing::StrictMock<MockPostinstallRunnerActionDelegate> mock_delegate_; in TEST_F() local
228 action.set_delegate(&mock_delegate_); in TEST_F()
236 EXPECT_CALL(mock_delegate_, ProgressUpdate(0.25)); in TEST_F()
238 testing::Mock::VerifyAndClearExpectations(&mock_delegate_); in TEST_F()
352 testing::StrictMock<MockPostinstallRunnerActionDelegate> mock_delegate_; in TEST_F() local
354 EXPECT_CALL(mock_delegate_, ProgressUpdate(0)); in TEST_F()
357 EXPECT_CALL(mock_delegate_, ProgressUpdate(0.25)); in TEST_F()
358 EXPECT_CALL(mock_delegate_, ProgressUpdate(0.5)); in TEST_F()
359 EXPECT_CALL(mock_delegate_, ProgressUpdate(1.)); in TEST_F()
361 EXPECT_CALL(mock_delegate_, ProgressUpdate(1.)); in TEST_F()
[all …]
Ddelta_performer_unittest.cc102 EXPECT_CALL(mock_delegate_, ShouldCancel(_)) in SetUp()
334 MockDownloadActionDelegate mock_delegate_; member in chromeos_update_engine::DeltaPerformerTest
336 &prefs_, &fake_boot_control_, &fake_hardware_, &mock_delegate_, &install_plan_};
374 testing::Mock::VerifyAndClearExpectations(&mock_delegate_); in TEST_F()
375 EXPECT_CALL(mock_delegate_, ShouldCancel(_)) in TEST_F()
Ddelta_performer_integration_test.cc95 MockDownloadActionDelegate mock_delegate_; member
715 EXPECT_CALL(state->mock_delegate_, ShouldCancel(_)) in ApplyDeltaFile()
746 &state->mock_delegate_, in ApplyDeltaFile()
852 EXPECT_CALL(state->mock_delegate_, DownloadComplete()).Times(expected_times); in VerifyPayloadResult()