Searched refs:test_server_ (Results 1 - 25 of 33) sorted by relevance

12

/external/chromium_org/mojo/shell/
H A Dshell_test_base.cc29 test_server_.reset(new net::test_server::EmbeddedTestServer());
30 ASSERT_TRUE(test_server_->InitializeAndWaitUntilReady());
33 test_server_->ServeFilesFromDirectory(service_dir);
56 test_server_->base_url());
H A Dshell_test_base.h63 scoped_ptr<net::test_server::EmbeddedTestServer> test_server_; member in class:mojo::shell::test::ShellTestBase
/external/chromium_org/chrome/browser/net/
H A Dconnection_tester_unittest.cc94 test_server_(net::SpawnedTestServer::TYPE_HTTP,
108 net::SpawnedTestServer test_server_; member in class:__anon4324::ConnectionTesterTest
114 ASSERT_TRUE(test_server_.Start());
122 tester.RunAllTests(test_server_.GetURL("echoall"));
140 ASSERT_TRUE(test_server_.Start());
149 tester->RunAllTests(test_server_.GetURL("echoall"));
/external/chromium_org/chrome/browser/ui/app_list/search/people/
H A Dpeople_provider_browsertest.cc169 test_server_.reset(new EmbeddedTestServer);
171 ASSERT_TRUE(test_server_->InitializeAndWaitUntilReady());
172 test_server_->RegisterRequestHandler(
182 test_server_->base_url());
187 EXPECT_TRUE(test_server_->ShutdownAndWaitUntilComplete());
188 test_server_.reset();
239 scoped_ptr<EmbeddedTestServer> test_server_; member in class:app_list::test::PeopleProviderTest
/external/chromium_org/google_apis/drive/
H A Dbase_requests_server_unittest.cc48 ASSERT_TRUE(test_server_.InitializeAndWaitUntilReady());
49 test_server_.RegisterRequestHandler(
51 test_server_.base_url(),
61 net::test_server::EmbeddedTestServer test_server_; member in class:google_apis::BaseRequestsServerTest
84 test_server_.GetURL("/files/drive/testfile.txt"),
118 test_server_.GetURL("/files/gdata/no-such-file.txt"),
H A Dbase_requests_unittest.cc69 ASSERT_TRUE(test_server_.InitializeAndWaitUntilReady());
70 test_server_.RegisterRequestHandler(
87 net::test_server::EmbeddedTestServer test_server_; member in class:google_apis::BaseRequestsTest
132 test_server_.base_url()));
H A Dgdata_wapi_requests_unittest.cc38 ASSERT_TRUE(test_server_.InitializeAndWaitUntilReady());
39 test_server_.RegisterRequestHandler(
43 GURL test_base_url = test_util::GetBaseUrlForTesting(test_server_.port());
53 const GURL absolute_url = test_server_.GetURL(request.relative_url);
86 net::test_server::EmbeddedTestServer test_server_; member in class:google_apis::__anon8337::GDataWapiRequestsTest
/external/chromium_org/net/url_request/
H A Durl_request_context_builder_unittest.cc66 : test_server_(
74 LocalHttpTestServer test_server_; member in class:net::__anon9793::URLRequestContextBuilderTest
79 ASSERT_TRUE(test_server_.Start());
84 context->CreateRequest(test_server_.GetURL("echoheader?Foo"),
96 ASSERT_TRUE(test_server_.Start());
102 context->CreateRequest(test_server_.GetURL("echoheader?User-Agent"),
H A Durl_request_unittest.cc2537 : test_server_(base::FilePath(FILE_PATH_LITERAL(
2602 test_server_.GetURL("echo"), DEFAULT_PRIORITY, &d, NULL));
2649 test_server_.GetURL("set-many-cookies?" +
2664 EXPECT_TRUE(test_server_.Stop());
2665 EXPECT_TRUE(test_server_.Start());
2671 LocalHttpTestServer test_server_; member in class:net::URLRequestTestHTTP
2679 ASSERT_TRUE(test_server_.Start());
2683 test_server_.host_port_pair().ToString(), &network_delegate);
2707 ASSERT_TRUE(test_server_.Start());
2711 test_server_
7950 SpawnedTestServer test_server_; member in class:net::URLRequestTestFTP
[all...]
/external/chromium_org/net/proxy/
H A Dproxy_script_fetcher_impl_unittest.cc199 : test_server_(SpawnedTestServer::TYPE_HTTP,
206 SpawnedTestServer test_server_; member in class:net::ProxyScriptFetcherImplTest
239 ASSERT_TRUE(test_server_.Start());
244 GURL url(test_server_.GetURL("files/pac.txt"));
253 GURL url(test_server_.GetURL("files/pac.html"));
262 GURL url(test_server_.GetURL("files/pac.nsproxy"));
273 ASSERT_TRUE(test_server_.Start());
278 GURL url(test_server_.GetURL("files/500.pac"));
287 GURL url(test_server_.GetURL("files/404.pac"));
298 ASSERT_TRUE(test_server_
[all...]
H A Dproxy_resolver_perftest.cc88 test_server_(
96 ASSERT_TRUE(test_server_.Start());
111 test_server_.GetURL(std::string("files/") + script_name);
181 net::SpawnedTestServer test_server_; member in class:PacPerfSuiteRunner
/external/chromium_org/content/public/test/
H A Dbrowser_test_base.h90 return test_server_.get();
92 net::SpawnedTestServer* test_server() { return test_server_.get(); }
137 scoped_ptr<net::SpawnedTestServer> test_server_; member in class:content::BrowserTestBase
H A Dbrowser_test_base.cc166 test_server_.reset(NULL);
314 CHECK(!test_server_.get());
315 test_server_.reset(new net::SpawnedTestServer(
/external/chromium_org/chrome/browser/extensions/
H A Dexternal_provider_impl_unittest.cc84 test_server_.reset(new EmbeddedTestServer());
92 ASSERT_TRUE(test_server_->InitializeAndWaitUntilReady());
93 test_server_->RegisterRequestHandler(
101 test_server_->GetURL(kManifestPath).spec());
119 GURL url = test_server_->GetURL(request.relative_url);
132 test_server_->GetURL(kAppPath).spec().c_str()));
152 scoped_ptr<EmbeddedTestServer> test_server_; member in class:extensions::__anon3983::ExternalProviderImplTest
/external/chromium_org/chrome/browser/extensions/api/streams_private/
H A Dstreams_private_apitest.cc139 test_server_.reset(new EmbeddedTestServer);
140 ASSERT_TRUE(test_server_->InitializeAndWaitUntilReady());
141 test_server_->RegisterRequestHandler(base::Bind(&HandleRequest));
148 EXPECT_TRUE(test_server_->ShutdownAndWaitUntilComplete());
149 test_server_.reset();
237 scoped_ptr<EmbeddedTestServer> test_server_; member in class:__anon3833::StreamsPrivateApiTest
256 test_server_->GetURL("/doc_path.doc"));
293 test_server_->GetURL("/index.html").ReplaceComponents(replacements);
298 test_server_->GetURL("/doc_path.doc"));
330 test_server_
[all...]
/external/chromium_org/chrome/browser/search/suggestions/
H A Dimage_manager_impl_browsertest.cc49 test_server_(net::SpawnedTestServer::TYPE_HTTP,
54 ASSERT_TRUE(test_server_.Start());
59 test_server_.Stop();
82 suggestion->set_thumbnail(test_server_.GetURL(kTestImagePath).spec());
116 suggestion->set_thumbnail(test_server_.GetURL(kTestImagePath).spec());
168 net::SpawnedTestServer test_server_; member in class:suggestions::ImageManagerImplBrowserTest
225 suggestion->set_thumbnail(test_server_.GetURL(kInvalidImagePath).spec());
253 suggestion->set_thumbnail(test_server_.GetURL(kInvalidImagePath).spec());
/external/chromium_org/chrome/browser/policy/cloud/
H A Dcomponent_cloud_policy_browsertest.cc120 test_server_.RegisterClient(kDMToken, kDeviceID);
121 EXPECT_TRUE(test_server_.UpdatePolicyData(
123 ASSERT_TRUE(test_server_.Start());
125 std::string url = test_server_.GetServiceURL().spec();
230 LocalPolicyTestServer test_server_; member in class:policy::ComponentCloudPolicyTest
251 EXPECT_TRUE(test_server_.UpdatePolicyData(
270 EXPECT_TRUE(test_server_.UpdatePolicyData(
H A Ddevice_management_service_browsertest.cc109 return test_server_->GetServiceURL().spec();
154 test_server_.reset();
159 test_server_.reset(
161 ASSERT_TRUE(test_server_->Start());
173 scoped_ptr<LocalPolicyTestServer> test_server_; member in class:policy::DeviceManagementServiceIntegrationTest
/external/chromium_org/chrome/browser/ui/app_list/search/webstore/
H A Dwebstore_provider_browsertest.cc104 test_server_.reset(new EmbeddedTestServer);
106 ASSERT_TRUE(test_server_->InitializeAndWaitUntilReady());
107 test_server_->RegisterRequestHandler(
111 switches::kAppsGalleryURL, test_server_->base_url().spec());
125 EXPECT_TRUE(test_server_->ShutdownAndWaitUntilComplete());
126 test_server_.reset();
217 scoped_ptr<EmbeddedTestServer> test_server_; member in class:app_list::test::WebstoreProviderTest
/external/chromium_org/chrome/browser/chromeos/policy/
H A Duser_cloud_policy_manager_chromeos_browsertest.cc65 test_server_.reset(new LocalPolicyTestServer(policy_file_path()));
66 ASSERT_TRUE(test_server_->Start());
73 test_server_->GetServiceURL().spec());
157 scoped_ptr<LocalPolicyTestServer> test_server_; member in class:policy::UserCloudPolicyManagerTest
/external/chromium_org/sync/internal_api/
H A Dhttp_bridge_unittest.cc26 : test_server_(net::SpawnedTestServer::TYPE_HTTP,
93 net::SpawnedTestServer test_server_; member in class:syncer::SyncHttpBridgeTest
213 ASSERT_TRUE(test_server_.Start());
218 GURL echo = test_server_.GetURL("echo");
236 ASSERT_TRUE(test_server_.Start());
240 GURL echo_header = test_server_.GetURL("echoall");
262 ASSERT_TRUE(test_server_.Start());
266 GURL echo_header = test_server_.GetURL("echoall");
290 ASSERT_TRUE(test_server_.Start());
294 GURL echo_header = test_server_
[all...]
/external/chromium_org/net/socket/
H A Dssl_client_socket_openssl_unittest.cc116 test_server_.reset(new SpawnedTestServer(SpawnedTestServer::TYPE_HTTPS,
119 if (!test_server_->Start()) {
124 if (!test_server_->GetAddressList(&addr_)) {
162 test_server_->host_port_pair(),
188 scoped_ptr<SpawnedTestServer> test_server_; member in class:net::__anon9535::SSLClientSocketOpenSSLClientAuthTest
/external/chromium_org/chrome/browser/
H A Dreferrer_policy_browsertest.cc41 test_server_.reset(new net::SpawnedTestServer(
45 ASSERT_TRUE(test_server_->Start());
153 : test_server_.get();
157 base::IntToString(test_server_->host_port_pair().port()) +
210 scoped_ptr<net::SpawnedTestServer> test_server_; member in class:ReferrerPolicyTest
513 ui_test_utils::NavigateToURL(browser(), test_server_->GetURL(std::string()));
586 base::IntToString(test_server_->host_port_pair().port())));
618 test_server_->GetURL("files/referrer-policy-log.html").spec(),
/external/chromium_org/components/search_engines/
H A Dtemplate_url_fetcher_unittest.cc35 ASSERT_TRUE(test_server_.InitializeAndWaitUntilReady());
39 ASSERT_TRUE(test_server_.ShutdownAndWaitUntilComplete());
74 net::test_server::EmbeddedTestServer test_server_; member in class:TemplateURLFetcherTest
100 test_server_.ServeFilesFromDirectory(
132 GURL osdd_url = test_server_.GetURL("/" + osdd_file_name);
/external/chromium_org/chrome/browser/safe_browsing/
H A Dsafe_browsing_test.cc249 return *test_server_;
266 test_server_.reset(new LocalSafeBrowsingTestServer(datafile_path));
267 ASSERT_TRUE(test_server_->Start());
268 LOG(INFO) << "server is " << test_server_->host_port_pair().ToString();
271 std::string url_prefix = test_server_->GetURL("safebrowsing").spec();
318 scoped_ptr<net::SpawnedTestServer> test_server_; member in class:SafeBrowsingServerTest

Completed in 556 milliseconds

12