Home
last modified time | relevance | path

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

/system/update_engine/update_manager/
Dupdate_time_restrictions_monitor_unittest.cc105 testing::Mock::VerifyAndClearExpectations(&mock_delegate_); in VerifyExpectationsOnDelegate()
123 EXPECT_CALL(mock_delegate_, OnRestrictedIntervalStarts()).Times(1); in BuildMonitorAndVerify()
125 EXPECT_CALL(mock_delegate_, OnRestrictedIntervalStarts()).Times(0); in BuildMonitorAndVerify()
132 monitor_.emplace(fake_state_.device_policy_provider(), &mock_delegate_); in BuildMonitorAndVerify()
146 MockUpdateTimeRestrictionsMonitorDelegate mock_delegate_; member in chromeos_update_manager::UmUpdateTimeRestrictionsMonitorTest
170 EXPECT_CALL(mock_delegate_, OnRestrictedIntervalStarts()).Times(1); in TEST_F()
196 EXPECT_CALL(mock_delegate_, OnRestrictedIntervalStarts()).Times(0); in TEST_F()
203 EXPECT_CALL(mock_delegate_, OnRestrictedIntervalStarts()).Times(1); in TEST_F()
220 EXPECT_CALL(mock_delegate_, OnRestrictedIntervalStarts()).Times(1); in TEST_F()
231 EXPECT_CALL(mock_delegate_, OnRestrictedIntervalStarts()).Times(0); in TEST_F()
[all …]
/system/update_engine/payload_consumer/
Dpostinstall_runner_action_unittest.cc251 testing::StrictMock<MockPostinstallRunnerActionDelegate> mock_delegate_; in TEST_F() local
252 action.set_delegate(&mock_delegate_); in TEST_F()
260 EXPECT_CALL(mock_delegate_, ProgressUpdate(0.25)); in TEST_F()
262 testing::Mock::VerifyAndClearExpectations(&mock_delegate_); in TEST_F()
266 EXPECT_CALL(mock_delegate_, ProgressUpdate(0.375)); in TEST_F()
268 testing::Mock::VerifyAndClearExpectations(&mock_delegate_); in TEST_F()
455 testing::StrictMock<MockPostinstallRunnerActionDelegate> mock_delegate_; in TEST_F() local
457 EXPECT_CALL(mock_delegate_, ProgressUpdate(0)); in TEST_F()
460 EXPECT_CALL(mock_delegate_, ProgressUpdate(0.25)); in TEST_F()
461 EXPECT_CALL(mock_delegate_, ProgressUpdate(0.5)); in TEST_F()
[all …]
Ddelta_performer_unittest.cc170 EXPECT_CALL(mock_delegate_, ShouldCancel(_)) in SetUp()
440 MockDownloadActionDelegate mock_delegate_; member in chromeos_update_engine::DeltaPerformerTest
445 &mock_delegate_,
492 testing::Mock::VerifyAndClearExpectations(&mock_delegate_); in TEST_F()
493 EXPECT_CALL(mock_delegate_, ShouldCancel(_)) in TEST_F()
1155 &mock_delegate_, in TEST_F()
Ddelta_performer_integration_test.cc112 MockDownloadActionDelegate mock_delegate_; member
772 EXPECT_CALL(state->mock_delegate_, ShouldCancel(_)) in ApplyDeltaFile()
806 &state->mock_delegate_, in ApplyDeltaFile()
/system/update_engine/aosp/
Dcleanup_previous_update_action_unittest.cc74 MockCleanupPreviousUpdateActionDelegate mock_delegate_; member in chromeos_update_engine::CleanupPreviousUpdateActionTest
79 &mock_prefs_, &boot_control_, &mock_snapshot_, &mock_delegate_};