Lines Matching refs:pending_requests
104 ASSERT_EQ(1u, resolver_->pending_requests().size());
105 EXPECT_EQ(url1, resolver_->pending_requests()[0]->url());
106 resolver_->pending_requests()[0]->results()->UseNamedProxy("result1:80");
107 resolver_->pending_requests()[0]->CompleteNow(net::OK);
116 ASSERT_EQ(1u, resolver_->pending_requests().size());
117 EXPECT_EQ(url2, resolver_->pending_requests()[0]->url());
118 resolver_->pending_requests()[0]->results()->UseNamedProxy("result2:80");
119 resolver_->pending_requests()[0]->CompleteNow(net::OK);
128 ASSERT_EQ(1u, resolver_->pending_requests().size());
129 EXPECT_EQ(url3, resolver_->pending_requests()[0]->url());
130 resolver_->pending_requests()[0]->results()->UseNamedProxy("result3:80");
131 resolver_->pending_requests()[0]->CompleteNow(net::OK);
162 ASSERT_EQ(1u, resolver_->pending_requests().size());
163 EXPECT_EQ(url1, resolver_->pending_requests()[0]->url());
165 resolver_->pending_requests()[0]->results()->UseNamedProxy("result1:80");
166 resolver_->pending_requests()[0]->CompleteNow(net::OK);
173 ASSERT_EQ(1u, resolver_->pending_requests().size());
174 EXPECT_EQ(url2, resolver_->pending_requests()[0]->url());
176 resolver_->pending_requests()[0]->results()->UseNamedProxy("result2:80");
177 resolver_->pending_requests()[0]->CompleteNow(net::OK);
184 ASSERT_EQ(1u, resolver_->pending_requests().size());
185 EXPECT_EQ(url3, resolver_->pending_requests()[0]->url());
187 resolver_->pending_requests()[0]->results()->UseNamedProxy("result3:80");
188 resolver_->pending_requests()[0]->CompleteNow(net::OK);
220 ASSERT_EQ(1u, resolver_->pending_requests().size());
221 EXPECT_EQ(url1, resolver_->pending_requests()[0]->url());
229 EXPECT_EQ(0u, resolver_->pending_requests().size());