Home
last modified time | relevance | path

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

/external/chromium_org/content/browser/
Dresolve_proxy_msg_helper_unittest.cc123 ASSERT_EQ(1u, resolver_->pending_requests().size()); in TEST_F()
124 EXPECT_EQ(url1, resolver_->pending_requests()[0]->url()); in TEST_F()
125 resolver_->pending_requests()[0]->results()->UseNamedProxy("result1:80"); in TEST_F()
126 resolver_->pending_requests()[0]->CompleteNow(net::OK); in TEST_F()
135 ASSERT_EQ(1u, resolver_->pending_requests().size()); in TEST_F()
136 EXPECT_EQ(url2, resolver_->pending_requests()[0]->url()); in TEST_F()
137 resolver_->pending_requests()[0]->results()->UseNamedProxy("result2:80"); in TEST_F()
138 resolver_->pending_requests()[0]->CompleteNow(net::OK); in TEST_F()
147 ASSERT_EQ(1u, resolver_->pending_requests().size()); in TEST_F()
148 EXPECT_EQ(url3, resolver_->pending_requests()[0]->url()); in TEST_F()
[all …]
/external/chromium_org/net/proxy/
Dproxy_service_unittest.cc171 EXPECT_TRUE(resolver->pending_requests().empty()); in TEST_F()
216 ASSERT_EQ(1u, resolver->pending_requests().size()); in TEST_F()
217 EXPECT_EQ(url, resolver->pending_requests()[0]->url()); in TEST_F()
220 resolver->pending_requests()[0]->results()->UseNamedProxy("foopy"); in TEST_F()
221 resolver->pending_requests()[0]->CompleteNow(OK); in TEST_F()
269 ASSERT_EQ(1u, resolver->pending_requests().size()); in TEST_F()
272 resolver->pending_requests()[0]->url()); in TEST_F()
297 ASSERT_EQ(1u, resolver->pending_requests().size()); in TEST_F()
298 EXPECT_EQ(url, resolver->pending_requests()[0]->url()); in TEST_F()
301 resolver->pending_requests()[0]->results()->UseNamedProxy("foopy:8080"); in TEST_F()
[all …]
Dmock_proxy_resolver.h88 const RequestsList& pending_requests() const { in pending_requests() function
/external/chromium_org/chrome/browser/extensions/
Dfavicon_downloader_unittest.cc68 size_t pending_requests() const { in pending_requests() function in TestFaviconDownloader
112 EXPECT_EQ(0u, downloader.pending_requests()); in TEST_F()
115 EXPECT_EQ(1u, downloader.pending_requests()); in TEST_F()
119 EXPECT_EQ(0u, downloader.pending_requests()); in TEST_F()
132 EXPECT_EQ(0u, downloader.pending_requests()); in TEST_F()
136 EXPECT_EQ(0u, downloader.pending_requests()); in TEST_F()
139 EXPECT_EQ(1u, downloader.pending_requests()); in TEST_F()
143 EXPECT_EQ(0u, downloader.pending_requests()); in TEST_F()
174 EXPECT_EQ(3u, downloader.pending_requests()); in TEST_F()
187 EXPECT_EQ(0u, downloader.pending_requests()); in TEST_F()
/external/chromium_org/content/browser/loader/
Dresource_dispatcher_host_unittest.cc1098 EXPECT_EQ(0, host_.pending_requests()); in TEST_F()
1150 EXPECT_EQ(1, host_.pending_requests()); in TEST_F()
1161 EXPECT_EQ(0, host_.pending_requests()); in TEST_F()
1201 EXPECT_EQ(2, host_.pending_requests()); in TEST_F()
1208 EXPECT_EQ(2, host_.pending_requests()); in TEST_F()
1213 EXPECT_EQ(0, host_.pending_requests()); in TEST_F()
1244 EXPECT_EQ(1, host_.pending_requests()); in TEST_F()
1256 EXPECT_EQ(1, host_.pending_requests()); in TEST_F()
1262 EXPECT_EQ(0, host_.pending_requests()); in TEST_F()
1370 EXPECT_EQ(0, host_.pending_requests()); in TEST_F()
[all …]
Dresource_dispatcher_host_impl.h138 int pending_requests() const { in pending_requests() function