Home
last modified time | relevance | path

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

/system/update_engine/common/
Dhttp_fetcher_unittest.cc643 MockProxyResolver mock_resolver; in TYPED_TEST() local
644 unique_ptr<HttpFetcher> fetcher(this->test_.NewLargeFetcher(&mock_resolver)); in TYPED_TEST()
648 EXPECT_CALL(mock_resolver, GetProxiesForUrl("http://fake_url", _)) in TYPED_TEST()
651 testing::Mock::VerifyAndClearExpectations(&mock_resolver); in TYPED_TEST()
733 MockProxyResolver mock_resolver; in TYPED_TEST() local
734 unique_ptr<HttpFetcher> fetcher(this->test_.NewLargeFetcher(&mock_resolver)); in TYPED_TEST()
739 EXPECT_CALL(mock_resolver, GetProxiesForUrl(_, _)).WillOnce(Return(123)); in TYPED_TEST()
745 testing::Mock::VerifyAndClearExpectations(&mock_resolver); in TYPED_TEST()
747 EXPECT_CALL(mock_resolver, CancelProxyRequest(123)).WillOnce(Return(true)); in TYPED_TEST()