Lines Matching refs:test_

344   T test_;  member in chromeos_update_engine::HttpFetcherTest
419 unique_ptr<HttpFetcher> fetcher(this->test_.NewSmallFetcher()); in TYPED_TEST()
422 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST()
428 this->test_.SmallUrl(server->GetPort()))); in TYPED_TEST()
434 unique_ptr<HttpFetcher> fetcher(this->test_.NewLargeFetcher()); in TYPED_TEST()
437 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST()
443 this->test_.BigUrl(server->GetPort()))); in TYPED_TEST()
450 if (this->test_.IsMock() || this->test_.IsMulti()) in TYPED_TEST()
457 unique_ptr<HttpFetcher> fetcher(this->test_.NewSmallFetcher()); in TYPED_TEST()
460 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST()
466 this->test_.ErrorUrl(server->GetPort()))); in TYPED_TEST()
480 if (this->test_.IsMock()) in TYPED_TEST()
484 unique_ptr<HttpFetcher> fetcher(this->test_.NewSmallFetcher()); in TYPED_TEST()
552 unique_ptr<HttpFetcher> fetcher(this->test_.NewLargeFetcher()); in TYPED_TEST()
557 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST()
565 fetcher->BeginTransfer(this->test_.BigUrl(server->GetPort())); in TYPED_TEST()
574 if (this->test_.IsMock()) in TYPED_TEST()
577 unique_ptr<HttpFetcher> fetcher(this->test_.NewLargeFetcher(&mock_resolver)); in TYPED_TEST()
645 delegate.fetcher_.reset(this->test_.NewLargeFetcher()); in TYPED_TEST()
650 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST()
651 this->test_.IgnoreServerAborting(server.get()); in TYPED_TEST()
659 delegate.fetcher_->BeginTransfer(this->test_.BigUrl(server->GetPort())); in TYPED_TEST()
687 if (this->test_.IsMock()) in TYPED_TEST()
691 unique_ptr<HttpFetcher> fetcher(this->test_.NewSmallFetcher()); in TYPED_TEST()
694 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST()
759 if (this->test_.IsMock()) in TYPED_TEST()
763 unique_ptr<HttpFetcher> fetcher(this->test_.NewSmallFetcher()); in TYPED_TEST()
779 if (this->test_.IsMock()) in TYPED_TEST()
788 unique_ptr<HttpFetcher> fetcher(this->test_.NewSmallFetcher()); in TYPED_TEST()
816 if (this->test_.IsMock()) in TYPED_TEST()
825 unique_ptr<HttpFetcher> fetcher(this->test_.NewSmallFetcher()); in TYPED_TEST()
900 if (this->test_.IsMock()) in TYPED_TEST()
903 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST()
910 RedirectTest(server.get(), true, url, this->test_.NewLargeFetcher()); in TYPED_TEST()
915 if (this->test_.IsMock()) in TYPED_TEST()
918 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST()
927 RedirectTest(server.get(), true, url, this->test_.NewLargeFetcher()); in TYPED_TEST()
931 if (this->test_.IsMock()) in TYPED_TEST()
934 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST()
943 RedirectTest(server.get(), false, url, this->test_.NewLargeFetcher()); in TYPED_TEST()
1018 if (!this->test_.IsMulti()) in TYPED_TEST()
1021 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST()
1027 MultiTest(this->test_.NewLargeFetcher(), in TYPED_TEST()
1028 this->test_.fake_hardware(), in TYPED_TEST()
1029 this->test_.BigUrl(server->GetPort()), in TYPED_TEST()
1037 if (!this->test_.IsMulti()) in TYPED_TEST()
1040 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST()
1045 MultiTest(this->test_.NewLargeFetcher(), in TYPED_TEST()
1046 this->test_.fake_hardware(), in TYPED_TEST()
1047 this->test_.BigUrl(server->GetPort()), in TYPED_TEST()
1055 if (!this->test_.IsMulti()) in TYPED_TEST()
1058 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST()
1064 MultiTest(this->test_.NewLargeFetcher(), in TYPED_TEST()
1065 this->test_.fake_hardware(), in TYPED_TEST()
1066 this->test_.BigUrl(server->GetPort()), in TYPED_TEST()
1074 if (!this->test_.IsMulti()) in TYPED_TEST()
1077 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST()
1084 MultiTest(this->test_.NewLargeFetcher(), in TYPED_TEST()
1085 this->test_.fake_hardware(), in TYPED_TEST()
1086 this->test_.BigUrl(server->GetPort()), in TYPED_TEST()
1101 if (!this->test_.IsMulti()) in TYPED_TEST()
1104 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST()
1110 MultiTest(this->test_.NewLargeFetcher(3), in TYPED_TEST()
1111 this->test_.fake_hardware(), in TYPED_TEST()
1124 if (!this->test_.IsMulti()) in TYPED_TEST()
1127 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST()
1133 MultiTest(this->test_.NewLargeFetcher(2), in TYPED_TEST()
1134 this->test_.fake_hardware(), in TYPED_TEST()
1187 BlockedTransferTestHelper(&this->test_, false); in TYPED_TEST()
1191 BlockedTransferTestHelper(&this->test_, true); in TYPED_TEST()