Home
last modified time | relevance | path

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

12

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

12