Searched refs:mock_payload_state (Results 1 – 5 of 5) sorted by relevance
/system/update_engine/ |
D | update_attempter_unittest.cc | 149 EXPECT_CALL(*fake_system_state_.mock_payload_state(), in SetUp() 152 EXPECT_CALL(*fake_system_state_.mock_payload_state(), in SetUp() 156 EXPECT_CALL(*fake_system_state_.mock_payload_state(), in SetUp() 159 EXPECT_CALL(*fake_system_state_.mock_payload_state(), in SetUp() 348 EXPECT_CALL(*fake_system_state_.mock_payload_state(), UpdateFailed(_)) in TEST_F() 354 EXPECT_CALL(*(fake_system_state_.mock_payload_state()), GetCurrentUrl()) in TEST_F() 356 fake_system_state_.mock_payload_state()->SetResponse(response); in TEST_F() 358 EXPECT_EQ(url1, fake_system_state_.mock_payload_state()->GetCurrentUrl()); in TEST_F() 367 EXPECT_CALL(*fake_system_state_.mock_payload_state(), UpdateFailed(err)); in TEST_F()
|
D | omaha_response_handler_action_unittest.cc | 115 EXPECT_CALL(*(fake_system_state_.mock_payload_state()), GetCurrentUrl()) in DoTest() 420 EXPECT_CALL(*fake_system_state_.mock_payload_state(), in TEST_F() 424 EXPECT_CALL(*fake_system_state_.mock_payload_state(), GetP2PUrl()) in TEST_F() 426 EXPECT_CALL(*fake_system_state_.mock_payload_state(), in TEST_F()
|
D | omaha_request_action_unittest.cc | 501 MockPayloadState mock_payload_state; in TEST_F() local 502 fake_system_state_.set_payload_state(&mock_payload_state); in TEST_F() 504 EXPECT_CALL(mock_payload_state, GetRollbackVersion()) in TEST_F() 1945 MockPayloadState mock_payload_state; in P2PTest() local 1946 fake_system_state_.set_payload_state(&mock_payload_state); in P2PTest() 1947 EXPECT_CALL(mock_payload_state, P2PAttemptAllowed()) in P2PTest() 1949 EXPECT_CALL(mock_payload_state, GetUsingP2PForDownloading()) in P2PTest() 1951 EXPECT_CALL(mock_payload_state, GetUsingP2PForSharing()) in P2PTest() 1953 EXPECT_CALL(mock_payload_state, SetUsingP2PForDownloading(_)) in P2PTest() 1955 EXPECT_CALL(mock_payload_state, SetUsingP2PForSharing(_)) in P2PTest() [all …]
|
D | fake_system_state.h | 209 inline testing::NiceMock<MockPayloadState>* mock_payload_state() { in mock_payload_state() function
|
/system/update_engine/payload_consumer/ |
D | download_action_unittest.cc | 446 EXPECT_CALL(*fake_system_state_.mock_payload_state(), in StartDownload()
|