• Home
  • Raw
  • Download

Lines Matching refs:pending_requests

130   EXPECT_TRUE(resolver->pending_requests().empty());  in TEST()
170 ASSERT_EQ(1u, resolver->pending_requests().size()); in TEST()
171 EXPECT_EQ(url, resolver->pending_requests()[0]->url()); in TEST()
174 resolver->pending_requests()[0]->results()->UseNamedProxy("foopy"); in TEST()
175 resolver->pending_requests()[0]->CompleteNow(OK); in TEST()
218 ASSERT_EQ(1u, resolver->pending_requests().size()); in TEST()
221 resolver->pending_requests()[0]->url()); in TEST()
246 ASSERT_EQ(1u, resolver->pending_requests().size()); in TEST()
247 EXPECT_EQ(url, resolver->pending_requests()[0]->url()); in TEST()
250 resolver->pending_requests()[0]->results()->UseNamedProxy("foopy:8080"); in TEST()
251 resolver->pending_requests()[0]->CompleteNow(OK); in TEST()
304 ASSERT_EQ(1u, resolver->pending_requests().size()); in TEST()
305 EXPECT_EQ(url, resolver->pending_requests()[0]->url()); in TEST()
308 resolver->pending_requests()[0]->results()->UsePacString( in TEST()
310 resolver->pending_requests()[0]->CompleteNow(OK); in TEST()
370 ASSERT_EQ(1u, resolver->pending_requests().size()); in TEST()
371 EXPECT_EQ(url, resolver->pending_requests()[0]->url()); in TEST()
374 resolver->pending_requests()[0]->CompleteNow(ERR_FAILED); in TEST()
387 ASSERT_EQ(1u, resolver->pending_requests().size()); in TEST()
388 EXPECT_EQ(url, resolver->pending_requests()[0]->url()); in TEST()
392 resolver->pending_requests()[0]->results()->UseNamedProxy("foopy_valid:8080"); in TEST()
393 resolver->pending_requests()[0]->CompleteNow(OK); in TEST()
424 ASSERT_EQ(1u, resolver->pending_requests().size()); in TEST()
425 EXPECT_EQ(url, resolver->pending_requests()[0]->url()); in TEST()
428 resolver->pending_requests()[0]->results()->UseNamedProxy( in TEST()
430 resolver->pending_requests()[0]->CompleteNow(OK); in TEST()
450 ASSERT_EQ(1u, resolver->pending_requests().size()); in TEST()
451 EXPECT_EQ(url, resolver->pending_requests()[0]->url()); in TEST()
455 resolver->pending_requests()[0]->results()->UseNamedProxy( in TEST()
457 resolver->pending_requests()[0]->CompleteNow(OK); in TEST()
514 ASSERT_EQ(1u, resolver->pending_requests().size()); in TEST()
515 EXPECT_EQ(url, resolver->pending_requests()[0]->url()); in TEST()
518 resolver->pending_requests()[0]->results()->UsePacString( in TEST()
520 resolver->pending_requests()[0]->CompleteNow(OK); in TEST()
577 ASSERT_EQ(1u, resolver->pending_requests().size()); in TEST()
578 EXPECT_EQ(url, resolver->pending_requests()[0]->url()); in TEST()
581 resolver->pending_requests()[0]->results()->UseNamedProxy( in TEST()
583 resolver->pending_requests()[0]->CompleteNow(OK); in TEST()
603 ASSERT_EQ(1u, resolver->pending_requests().size()); in TEST()
604 EXPECT_EQ(url, resolver->pending_requests()[0]->url()); in TEST()
606 resolver->pending_requests()[0]->results()->UseNamedProxy( in TEST()
608 resolver->pending_requests()[0]->CompleteNow(OK); in TEST()
636 ASSERT_EQ(1u, resolver->pending_requests().size()); in TEST()
637 EXPECT_EQ(url, resolver->pending_requests()[0]->url()); in TEST()
639 resolver->pending_requests()[0]->results()->UseNamedProxy( in TEST()
641 resolver->pending_requests()[0]->CompleteNow(OK); in TEST()
669 ASSERT_EQ(1u, resolver->pending_requests().size()); in TEST()
670 EXPECT_EQ(url, resolver->pending_requests()[0]->url()); in TEST()
672 resolver->pending_requests()[0]->results()->UseNamedProxy( in TEST()
674 resolver->pending_requests()[0]->CompleteNow(OK); in TEST()
697 ASSERT_EQ(1u, resolver->pending_requests().size()); in TEST()
698 EXPECT_EQ(url, resolver->pending_requests()[0]->url()); in TEST()
701 resolver->pending_requests()[0]->CompleteNow(ERR_FAILED); in TEST()
718 ASSERT_EQ(1u, resolver->pending_requests().size()); in TEST()
719 EXPECT_EQ(url, resolver->pending_requests()[0]->url()); in TEST()
721 resolver->pending_requests()[0]->results()->UseNamedProxy( in TEST()
723 resolver->pending_requests()[0]->CompleteNow(OK); in TEST()
895 ASSERT_EQ(0u, resolver->pending_requests().size()); in TEST()
902 ASSERT_EQ(1u, resolver->pending_requests().size()); in TEST()
903 EXPECT_EQ(GURL("http://request1"), resolver->pending_requests()[0]->url()); in TEST()
911 ASSERT_EQ(2u, resolver->pending_requests().size()); in TEST()
912 EXPECT_EQ(GURL("http://request2"), resolver->pending_requests()[1]->url()); in TEST()
919 ASSERT_EQ(3u, resolver->pending_requests().size()); in TEST()
920 EXPECT_EQ(GURL("http://request3"), resolver->pending_requests()[2]->url()); in TEST()
925 ASSERT_EQ(2u, resolver->pending_requests().size()); in TEST()
926 EXPECT_EQ(GURL("http://request1"), resolver->pending_requests()[0]->url()); in TEST()
927 EXPECT_EQ(GURL("http://request3"), resolver->pending_requests()[1]->url()); in TEST()
931 resolver->pending_requests()[1]->results()->UseNamedProxy("request3:80"); in TEST()
932 resolver->pending_requests()[1]->CompleteNow(OK); in TEST()
934 resolver->pending_requests()[0]->results()->UseNamedProxy("request1:80"); in TEST()
935 resolver->pending_requests()[0]->CompleteNow(OK); in TEST()
988 EXPECT_TRUE(resolver->pending_requests().empty()); in TEST()
1001 ASSERT_EQ(3u, resolver->pending_requests().size()); in TEST()
1002 EXPECT_EQ(GURL("http://request1"), resolver->pending_requests()[0]->url()); in TEST()
1003 EXPECT_EQ(GURL("http://request2"), resolver->pending_requests()[1]->url()); in TEST()
1004 EXPECT_EQ(GURL("http://request3"), resolver->pending_requests()[2]->url()); in TEST()
1009 resolver->pending_requests()[2]->results()->UseNamedProxy("request3:80"); in TEST()
1010 resolver->pending_requests()[2]->CompleteNow(OK); in TEST()
1012 resolver->pending_requests()[0]->results()->UseNamedProxy("request1:80"); in TEST()
1013 resolver->pending_requests()[0]->CompleteNow(OK); in TEST()
1015 resolver->pending_requests()[0]->results()->UseNamedProxy("request2:80"); in TEST()
1016 resolver->pending_requests()[0]->CompleteNow(OK); in TEST()
1072 EXPECT_TRUE(resolver->pending_requests().empty()); in TEST()
1082 ASSERT_EQ(2u, resolver->pending_requests().size()); in TEST()
1083 EXPECT_EQ(GURL("http://request1"), resolver->pending_requests()[0]->url()); in TEST()
1084 EXPECT_EQ(GURL("http://request2"), resolver->pending_requests()[1]->url()); in TEST()
1128 EXPECT_TRUE(resolver->pending_requests().empty()); in TEST()
1145 ASSERT_EQ(1u, resolver->pending_requests().size()); in TEST()
1146 EXPECT_EQ(GURL("http://request3"), resolver->pending_requests()[0]->url()); in TEST()
1149 resolver->pending_requests()[0]->results()->UseNamedProxy("request3:80"); in TEST()
1150 resolver->pending_requests()[0]->CompleteNow(OK); in TEST()
1209 ASSERT_EQ(0u, resolver->pending_requests().size()); in TEST()
1229 ASSERT_EQ(2u, resolver->pending_requests().size()); in TEST()
1230 EXPECT_EQ(GURL("http://request1"), resolver->pending_requests()[0]->url()); in TEST()
1231 EXPECT_EQ(GURL("http://request2"), resolver->pending_requests()[1]->url()); in TEST()
1234 resolver->pending_requests()[1]->results()->UseNamedProxy("request2:80"); in TEST()
1235 resolver->pending_requests()[1]->CompleteNow(OK); in TEST()
1236 resolver->pending_requests()[0]->results()->UseNamedProxy("request1:80"); in TEST()
1237 resolver->pending_requests()[0]->CompleteNow(OK); in TEST()
1280 ASSERT_EQ(0u, resolver->pending_requests().size()); in TEST()
1305 ASSERT_EQ(2u, resolver->pending_requests().size()); in TEST()
1306 EXPECT_EQ(GURL("http://request1"), resolver->pending_requests()[0]->url()); in TEST()
1307 EXPECT_EQ(GURL("http://request2"), resolver->pending_requests()[1]->url()); in TEST()
1310 resolver->pending_requests()[1]->results()->UseNamedProxy("request2:80"); in TEST()
1311 resolver->pending_requests()[1]->CompleteNow(OK); in TEST()
1312 resolver->pending_requests()[0]->results()->UseNamedProxy("request1:80"); in TEST()
1313 resolver->pending_requests()[0]->CompleteNow(OK); in TEST()
1356 ASSERT_EQ(0u, resolver->pending_requests().size()); in TEST()
1370 ASSERT_EQ(0u, resolver->pending_requests().size()); in TEST()
1407 ASSERT_EQ(0u, resolver->pending_requests().size()); in TEST()
1418 ASSERT_EQ(1u, resolver->pending_requests().size()); in TEST()
1420 resolver->pending_requests()[0]->url()); in TEST()
1423 resolver->pending_requests()[0]->results()->UseNamedProxy("request1:80"); in TEST()
1424 resolver->pending_requests()[0]->CompleteNow(OK); in TEST()
1437 ASSERT_EQ(1u, resolver->pending_requests().size()); in TEST()
1439 resolver->pending_requests()[0]->url()); in TEST()
1442 resolver->pending_requests()[0]->results()->UseNamedProxy("request2:80"); in TEST()
1443 resolver->pending_requests()[0]->CompleteNow(OK); in TEST()
1475 ASSERT_EQ(0u, resolver->pending_requests().size()); in TEST()
1558 ASSERT_EQ(0u, resolver->pending_requests().size()); in TEST()
1566 ASSERT_EQ(1u, resolver->pending_requests().size()); in TEST()
1567 resolver->pending_requests()[0]->results()->UseNamedProxy("request1:80"); in TEST()
1568 resolver->pending_requests()[0]->CompleteNow(OK); in TEST()
1623 EXPECT_TRUE(resolver->pending_requests().empty()); in TEST()
1636 ASSERT_EQ(1u, resolver->pending_requests().size()); in TEST()
1637 EXPECT_EQ(GURL("http://request1"), resolver->pending_requests()[0]->url()); in TEST()
1640 resolver->pending_requests()[0]->results()->UseNamedProxy("request1:80"); in TEST()
1641 resolver->pending_requests()[0]->CompleteNow(OK); in TEST()
1666 EXPECT_TRUE(resolver->pending_requests().empty()); in TEST()
1678 ASSERT_EQ(1u, resolver->pending_requests().size()); in TEST()
1679 EXPECT_EQ(GURL("http://request2"), resolver->pending_requests()[0]->url()); in TEST()
1682 resolver->pending_requests()[0]->results()->UseNamedProxy("request2:80"); in TEST()
1683 resolver->pending_requests()[0]->CompleteNow(OK); in TEST()