Lines Matching refs:server

223   virtual void IgnoreServerAborting(HttpServer* server) const {}  in IgnoreServerAborting()
295 void IgnoreServerAborting(HttpServer* server) const override { in IgnoreServerAborting()
422 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
423 ASSERT_TRUE(server->started_); in TYPED_TEST()
428 this->test_.SmallUrl(server->GetPort()))); in TYPED_TEST()
437 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
438 ASSERT_TRUE(server->started_); in TYPED_TEST()
443 this->test_.BigUrl(server->GetPort()))); in TYPED_TEST()
460 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
461 ASSERT_TRUE(server->started_); in TYPED_TEST()
466 this->test_.ErrorUrl(server->GetPort()))); in TYPED_TEST()
497 PythonHttpServer server; in TYPED_TEST() local
498 int port = server.GetPort(); in TYPED_TEST()
499 ASSERT_TRUE(server.started_); in TYPED_TEST()
557 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
558 ASSERT_TRUE(server->started_); in TYPED_TEST()
565 fetcher->BeginTransfer(this->test_.BigUrl(server->GetPort())); in TYPED_TEST()
650 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
651 this->test_.IgnoreServerAborting(server.get()); in TYPED_TEST()
652 ASSERT_TRUE(server->started_); in TYPED_TEST()
659 delegate.fetcher_->BeginTransfer(this->test_.BigUrl(server->GetPort())); in TYPED_TEST()
694 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
695 ASSERT_TRUE(server->started_); in TYPED_TEST()
700 LocalServerUrlForPath(server->GetPort(), in TYPED_TEST()
723 explicit FailureHttpFetcherTestDelegate(PythonHttpServer* server) in FailureHttpFetcherTestDelegate() argument
724 : server_(server) {} in FailureHttpFetcherTestDelegate()
782 PythonHttpServer* server = new PythonHttpServer(); in TYPED_TEST() local
783 int port = server->GetPort(); in TYPED_TEST()
784 ASSERT_TRUE(server->started_); in TYPED_TEST()
787 FailureHttpFetcherTestDelegate delegate(server); in TYPED_TEST()
819 PythonHttpServer* server = new PythonHttpServer(); in TYPED_TEST() local
820 int port = server->GetPort(); in TYPED_TEST()
821 ASSERT_TRUE(server->started_); in TYPED_TEST()
824 FailureHttpFetcherTestDelegate delegate(server); in TYPED_TEST()
875 void RedirectTest(const HttpServer* server, in RedirectTest() argument
886 LocalServerUrlForPath(server->GetPort(), url))); in RedirectTest()
903 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
904 ASSERT_TRUE(server->started_); in TYPED_TEST()
910 RedirectTest(server.get(), true, url, this->test_.NewLargeFetcher()); in TYPED_TEST()
918 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
919 ASSERT_TRUE(server->started_); in TYPED_TEST()
927 RedirectTest(server.get(), true, url, this->test_.NewLargeFetcher()); in TYPED_TEST()
934 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
935 ASSERT_TRUE(server->started_); in TYPED_TEST()
943 RedirectTest(server.get(), false, url, this->test_.NewLargeFetcher()); in TYPED_TEST()
1021 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
1022 ASSERT_TRUE(server->started_); in TYPED_TEST()
1029 this->test_.BigUrl(server->GetPort()), in TYPED_TEST()
1040 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
1041 ASSERT_TRUE(server->started_); in TYPED_TEST()
1047 this->test_.BigUrl(server->GetPort()), in TYPED_TEST()
1058 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
1059 ASSERT_TRUE(server->started_); in TYPED_TEST()
1066 this->test_.BigUrl(server->GetPort()), in TYPED_TEST()
1077 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
1078 ASSERT_TRUE(server->started_); in TYPED_TEST()
1086 this->test_.BigUrl(server->GetPort()), in TYPED_TEST()
1104 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
1105 ASSERT_TRUE(server->started_); in TYPED_TEST()
1112 LocalServerUrlForPath(server->GetPort(), in TYPED_TEST()
1127 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() local
1128 ASSERT_TRUE(server->started_); in TYPED_TEST()
1135 LocalServerUrlForPath(server->GetPort(), in TYPED_TEST()
1167 unique_ptr<HttpServer> server(fetcher_test->CreateServer()); in BlockedTransferTestHelper() local
1168 ASSERT_TRUE(server->started_); in BlockedTransferTestHelper()
1180 LocalServerUrlForPath(server->GetPort(), in BlockedTransferTestHelper()
1181 fetcher_test->SmallUrl(server->GetPort())))); in BlockedTransferTestHelper()