Lines Matching refs:server
213 virtual void IgnoreServerAborting(HttpServer* server) const {} in IgnoreServerAborting()
284 void IgnoreServerAborting(HttpServer* server) const override { in IgnoreServerAborting()
357 void IgnoreServerAborting(HttpServer* server) const override {} in IgnoreServerAborting()
482 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
483 ASSERT_TRUE(server->started_); in TYPED_TEST()
488 this->test_.SmallUrl(server->GetPort()))); in TYPED_TEST()
498 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
499 ASSERT_TRUE(server->started_); in TYPED_TEST()
504 StartTransfer, fetcher.get(), this->test_.BigUrl(server->GetPort()))); in TYPED_TEST()
522 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
523 ASSERT_TRUE(server->started_); in TYPED_TEST()
528 this->test_.ErrorUrl(server->GetPort()))); in TYPED_TEST()
559 PythonHttpServer server; in TYPED_TEST() local
560 int port = server.GetPort(); in TYPED_TEST()
561 ASSERT_TRUE(server.started_); in TYPED_TEST()
623 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
624 ASSERT_TRUE(server->started_); in TYPED_TEST()
631 fetcher->BeginTransfer(this->test_.BigUrl(server->GetPort())); in TYPED_TEST()
713 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
714 this->test_.IgnoreServerAborting(server.get()); in TYPED_TEST()
715 ASSERT_TRUE(server->started_); in TYPED_TEST()
721 delegate.fetcher_->BeginTransfer(this->test_.BigUrl(server->GetPort())); in TYPED_TEST()
782 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
783 ASSERT_TRUE(server->started_); in TYPED_TEST()
789 server->GetPort(), in TYPED_TEST()
812 explicit FailureHttpFetcherTestDelegate(PythonHttpServer* server) in FailureHttpFetcherTestDelegate() argument
813 : server_(server) {} in FailureHttpFetcherTestDelegate()
875 PythonHttpServer* server = new PythonHttpServer(); in TYPED_TEST() local
876 int port = server->GetPort(); in TYPED_TEST()
877 ASSERT_TRUE(server->started_); in TYPED_TEST()
880 FailureHttpFetcherTestDelegate delegate(server); in TYPED_TEST()
914 PythonHttpServer* server = new PythonHttpServer(); in TYPED_TEST() local
915 int port = server->GetPort(); in TYPED_TEST()
916 ASSERT_TRUE(server->started_); in TYPED_TEST()
919 FailureHttpFetcherTestDelegate delegate(server); in TYPED_TEST()
946 PythonHttpServer* server = new PythonHttpServer(); in TYPED_TEST() local
947 int port = server->GetPort(); in TYPED_TEST()
948 ASSERT_TRUE(server->started_); in TYPED_TEST()
951 FailureHttpFetcherTestDelegate delegate(server); in TYPED_TEST()
1020 void RedirectTest(const HttpServer* server, in RedirectTest() argument
1032 LocalServerUrlForPath(server->GetPort(), url))); in RedirectTest()
1049 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
1050 ASSERT_TRUE(server->started_); in TYPED_TEST()
1055 RedirectTest(server.get(), true, url, this->test_.NewLargeFetcher()); in TYPED_TEST()
1063 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
1064 ASSERT_TRUE(server->started_); in TYPED_TEST()
1072 RedirectTest(server.get(), true, url, this->test_.NewLargeFetcher()); in TYPED_TEST()
1079 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
1080 ASSERT_TRUE(server->started_); in TYPED_TEST()
1088 RedirectTest(server.get(), false, url, this->test_.NewLargeFetcher()); in TYPED_TEST()
1167 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
1168 ASSERT_TRUE(server->started_); in TYPED_TEST()
1175 this->test_.BigUrl(server->GetPort()), in TYPED_TEST()
1187 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
1188 ASSERT_TRUE(server->started_); in TYPED_TEST()
1195 this->test_.BigUrl(server->GetPort()), in TYPED_TEST()
1206 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
1207 ASSERT_TRUE(server->started_); in TYPED_TEST()
1213 this->test_.BigUrl(server->GetPort()), in TYPED_TEST()
1225 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
1226 ASSERT_TRUE(server->started_); in TYPED_TEST()
1233 this->test_.BigUrl(server->GetPort()), in TYPED_TEST()
1244 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
1245 ASSERT_TRUE(server->started_); in TYPED_TEST()
1253 this->test_.BigUrl(server->GetPort()), in TYPED_TEST()
1271 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
1272 ASSERT_TRUE(server->started_); in TYPED_TEST()
1280 server->GetPort(), in TYPED_TEST()
1294 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
1295 ASSERT_TRUE(server->started_); in TYPED_TEST()
1303 server->GetPort(), in TYPED_TEST()
1361 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
1362 ASSERT_TRUE(server->started_); in TYPED_TEST()
1377 StartTransfer(multi_fetcher, this->test_.BigUrl(server->GetPort())); in TYPED_TEST()
1405 unique_ptr<HttpServer> server(fetcher_test->CreateServer()); in BlockedTransferTestHelper() local
1406 ASSERT_TRUE(server->started_); in BlockedTransferTestHelper()
1420 LocalServerUrlForPath(server->GetPort(), in BlockedTransferTestHelper()
1421 fetcher_test->SmallUrl(server->GetPort())))); in BlockedTransferTestHelper()