Searched refs:test_server (Results 1 - 25 of 158) sorted by relevance

1234567

/external/chromium_org/google_apis/gaia/
H A Dfake_gaia.h22 namespace test_server { namespace in namespace:net
96 scoped_ptr<net::test_server::HttpResponse> HandleRequest(
97 const net::test_server::HttpRequest& request);
119 const net::test_server::HttpRequest& request,
120 net::test_server::BasicHttpResponse* http_response);
128 net::test_server::BasicHttpResponse* http_response);
131 const net::test_server::HttpRequest& request,
132 net::test_server::BasicHttpResponse* http_response)>
138 const net::test_server::HttpRequest& request,
139 net::test_server
[all...]
/external/chromium_org/content/browser/
H A Dwebkit_browsertest.cc26 ASSERT_TRUE(test_server()->Start());
28 GURL url = test_server()->GetURL(kAsyncScriptThatAbortsOnEndPage);
49 ASSERT_TRUE(test_server()->Start());
51 GURL url = test_server()->GetURL(kXsltBadImportPage);
71 ASSERT_TRUE(test_server()->Start());
72 GURL url = test_server()->GetURL(kPrerenderNoCrashPage);
/external/chromium_org/chrome/browser/
H A Drepost_form_warning_browsertest.cc24 ASSERT_TRUE(test_server()->Start());
28 browser(), test_server()->GetURL("files/form.html"));
46 ui_test_utils::NavigateToURL(browser(), test_server()->GetURL("bar"));
54 ASSERT_TRUE(test_server()->Start());
58 browser(), test_server()->GetURL("files/form.html"));
76 test_server()->GetURL("auth-basic"), content::Referrer(), CURRENT_TAB,
88 test_server()->GetURL("bar"), content::Referrer(), CURRENT_TAB,
H A Ddo_not_track_browsertest.cc21 ASSERT_TRUE(test_server()->Start());
26 GURL url = test_server()->GetURL("echoheader?DNT");
40 ASSERT_TRUE(test_server()->Start());
45 GURL final_url = test_server()->GetURL("echoheader?DNT");
46 GURL url = test_server()->GetURL(
H A Dchrome_switches_browsertest.cc20 ASSERT_TRUE(test_server()->Start());
24 "MAP * " + test_server()->host_port_pair().ToString());
37 GURL local_url = test_server()->GetURL("files/empty.html");
H A Dchrome_security_exploit_browsertest.cc34 ASSERT_TRUE(test_server()->Start());
46 "MAP * " + test_server()->host_port_pair().ToString() +
/external/chromium_org/chrome/browser/extensions/
H A Dsubscribe_page_action_browsertest.cc129 ASSERT_TRUE(test_server()->Start());
137 GURL feed_url = test_server()->GetURL(kFeedPageMultiRel);
145 ASSERT_TRUE(test_server()->Start());
152 NavigateToFeedAndValidate(test_server(), kValidFeed1, browser(), id, true,
160 ASSERT_TRUE(test_server()->Start());
167 NavigateToFeedAndValidate(test_server(), kValidFeed2, browser(), id, true,
175 ASSERT_TRUE(test_server()->Start());
182 NavigateToFeedAndValidate(test_server(), kValidFeed3, browser(), id, true,
190 ASSERT_TRUE(test_server()->Start());
197 NavigateToFeedAndValidate(test_server(), kValidFeed
[all...]
H A Dextension_resource_request_policy_apitest.cc38 ASSERT_TRUE(test_server()->Start());
46 test_server()->GetURL(
70 test_server()->GetURL(
158 ASSERT_TRUE(test_server()->Start());
164 test_server()->GetURL(
175 test_server()->GetURL(
187 test_server()->GetURL(
199 test_server()->GetURL(
210 test_server()->GetURL(
221 test_server()
[all...]
H A Dextension_apitest.cc37 scoped_ptr<net::test_server::HttpResponse> HandleServerRedirectRequest(
38 const net::test_server::HttpRequest& request) {
40 return scoped_ptr<net::test_server::HttpResponse>();
46 scoped_ptr<net::test_server::BasicHttpResponse> http_response(
47 new net::test_server::BasicHttpResponse);
50 return http_response.PassAs<net::test_server::HttpResponse>();
53 scoped_ptr<net::test_server::HttpResponse> HandleEchoHeaderRequest(
54 const net::test_server::HttpRequest& request) {
56 return scoped_ptr<net::test_server::HttpResponse>();
68 scoped_ptr<net::test_server
[all...]
H A Dpage_action_browsertest.cc35 ASSERT_TRUE(test_server()->Start());
47 GURL feed_url = test_server()->GetURL(kFeedPage);
55 ASSERT_TRUE(test_server()->Start());
63 GURL feed_url = test_server()->GetURL(kFeedPage);
69 GURL no_feed = test_server()->GetURL(kNoFeedPage);
77 ASSERT_TRUE(test_server()->Start());
85 GURL feed_url = test_server()->GetURL(kHashPageA);
90 feed_url = test_server()->GetURL(kHashPageAHash);
95 feed_url = test_server()->GetURL(kHashPageB);
102 ASSERT_TRUE(test_server()
[all...]
/external/chromium_org/content/browser/web_contents/
H A Dopened_by_dom_browsertest.cc86 ASSERT_TRUE(test_server()->Start());
90 GURL url1 = test_server()->GetURL("files/site_isolation/blank.html?1");
91 GURL url2 = test_server()->GetURL("files/site_isolation/blank.html?2");
103 ASSERT_TRUE(test_server()->Start());
105 GURL url1 = test_server()->GetURL("files/site_isolation/blank.html?1");
106 GURL url2 = test_server()->GetURL("files/site_isolation/blank.html?2");
107 GURL url3 = test_server()->GetURL("files/site_isolation/blank.html?3");
120 ASSERT_TRUE(test_server()->Start());
122 GURL url1 = test_server()->GetURL("files/site_isolation/blank.html?1");
124 GURL url2 = test_server()
[all...]
/external/chromium_org/content/browser/download/
H A Dsave_package_browsertest.cc37 ASSERT_TRUE(test_server()->Start());
38 GURL url = test_server()->GetURL(kTestFile);
45 ASSERT_TRUE(test_server()->Stop());
51 ASSERT_TRUE(test_server()->Start());
52 GURL url = test_server()->GetURL(kTestFile);
60 ASSERT_TRUE(test_server()->Stop());
/external/chromium_org/content/public/test/
H A Dbrowser_test_base.h20 namespace test_server { namespace in namespace:net
88 // TODO(phajdan.jr): Remove test_server accessor (http://crbug.com/96594).
89 const net::SpawnedTestServer* test_server() const { function in class:content::BrowserTestBase
92 net::SpawnedTestServer* test_server() { return test_server_.get(); } function in class:content::BrowserTestBase
95 const net::test_server::EmbeddedTestServer* embedded_test_server() const {
98 net::test_server::EmbeddedTestServer* embedded_test_server() {
140 scoped_ptr<net::test_server::EmbeddedTestServer> embedded_test_server_;
/external/chromium_org/chrome/browser/history/
H A Dredirect_browsertest.cc73 ASSERT_TRUE(test_server()->Start());
74 GURL final_url = test_server()->GetURL(std::string());
75 GURL first_url = test_server()->GetURL(
88 ASSERT_TRUE(test_server()->Start());
90 GURL final_url = test_server()->GetURL(std::string());
91 GURL first_url = test_server()->GetURL(
118 ASSERT_TRUE(test_server()->Start());
122 GURL final_url = test_server()->GetURL(std::string());
184 ASSERT_TRUE(test_server()->Start());
186 GURL final_url = test_server()
[all...]
/external/chromium_org/google_apis/drive/
H A Dgdata_wapi_requests_unittest.cc49 scoped_ptr<net::test_server::HttpResponse> HandleResourceFeedRequest(
50 const net::test_server::HttpRequest& request) {
59 return scoped_ptr<net::test_server::HttpResponse>();
66 scoped_ptr<net::test_server::BasicHttpResponse> result(
69 return result.PassAs<net::test_server::HttpResponse>();
73 if (request.method == net::test_server::METHOD_PUT &&
75 scoped_ptr<net::test_server::BasicHttpResponse> result(
78 return result.PassAs<net::test_server::HttpResponse>();
82 return scoped_ptr<net::test_server::HttpResponse>();
86 net::test_server
[all...]
H A Dbase_requests_unittest.cc74 scoped_ptr<net::test_server::HttpResponse> HandleRequest(
75 const net::test_server::HttpRequest& request) {
76 scoped_ptr<net::test_server::BasicHttpResponse> response(
77 new net::test_server::BasicHttpResponse);
81 return response.PassAs<net::test_server::HttpResponse>();
87 net::test_server::EmbeddedTestServer test_server_;
H A Ddrive_api_requests_unittest.cc115 net::test_server::EmbeddedTestServer test_server_;
141 net::test_server::HttpRequest http_request_;
153 scoped_ptr<net::test_server::HttpResponse> HandleChildrenDeleteRequest(
154 const net::test_server::HttpRequest& request) {
155 if (request.method != net::test_server::METHOD_DELETE ||
159 return scoped_ptr<net::test_server::HttpResponse>();
165 scoped_ptr<net::test_server::BasicHttpResponse> http_response(
166 new net::test_server::BasicHttpResponse);
168 return http_response.PassAs<net::test_server::HttpResponse>();
175 scoped_ptr<net::test_server
[all...]
/external/chromium_org/chrome/browser/chromeos/app_mode/
H A Dfake_cws.h20 void Init(net::test_server::EmbeddedTestServer* embedded_test_server);
31 net::test_server::EmbeddedTestServer* embedded_test_server);
34 net::test_server::EmbeddedTestServer* embedded_test_server);
45 scoped_ptr<net::test_server::HttpResponse> HandleRequest(
46 const net::test_server::HttpRequest& request);
/external/chromium_org/chrome/browser/net/
H A Dcookie_policy_browsertest.cc33 ASSERT_TRUE(test_server()->Start());
38 GURL url(test_server()->GetURL("set-cookie?cookie1"));
53 ASSERT_TRUE(test_server()->Start());
58 GURL url(test_server()->GetURL("server-redirect?"));
59 GURL redirected_url(test_server()->GetURL("set-cookie?cookie2"));
/external/chromium_org/sync/tools/testserver/
H A Drun_sync_testserver.cc26 scoped_ptr<syncer::LocalSyncTestServer> test_server(
28 if (!test_server->SetPythonPath()) {
34 if (!test_server->GetTestScriptPath(sync_test_script_name,
108 scoped_ptr<syncer::LocalSyncTestServer> test_server(
110 if (!test_server->Start()) {
116 test_server->host_port_pair().ToString().c_str());
/external/chromium_org/content/browser/frame_host/
H A Dframe_tree_browsertest.cc36 ASSERT_TRUE(test_server()->Start());
38 GURL base_url = test_server()->GetURL("files/site_isolation/");
71 ASSERT_TRUE(test_server()->Start());
73 test_server()->GetURL("files/frame_tree/top.html"));
94 NavigateToURL(shell(), test_server()->GetURL("files/title1.html"));
104 ASSERT_TRUE(test_server()->Start());
106 test_server()->GetURL("files/frame_tree/top.html"));
132 GURL url(test_server()->GetURL("files/title1.html"));
146 ASSERT_TRUE(test_server()->Start());
148 GURL base_url = test_server()
[all...]
/external/chromium_org/net/url_request/
H A Durl_fetcher_impl_unittest.cc886 SpawnedTestServer test_server(SpawnedTestServer::TYPE_HTTP,
889 ASSERT_TRUE(test_server.Start());
894 CreateFetcher(test_server.GetURL("defaultresponse"));
900 SpawnedTestServer test_server(SpawnedTestServer::TYPE_HTTP,
903 ASSERT_TRUE(test_server.Start());
916 test_server.GetURL("defaultresponse")));
929 SpawnedTestServer test_server(SpawnedTestServer::TYPE_HTTP,
932 ASSERT_TRUE(test_server.Start());
935 CreateFetcher(test_server.GetURL("defaultresponse"));
1052 SpawnedTestServer test_server(SpawnedTestServe
[all...]
/external/chromium_org/net/test/embedded_test_server/
H A Dhttp_response_unittest.cc10 namespace test_server { namespace in namespace:net
30 } // namespace test_server
/external/chromium_org/net/tools/testserver/
H A Drun_testserver.cc98 scoped_ptr<net::SpawnedTestServer> test_server; local
100 test_server.reset(
103 test_server.reset(new net::SpawnedTestServer(
109 if (!test_server->Start()) {
114 if (!base::DirectoryExists(test_server->document_root())) {
117 test_server->document_root().LossyDisplayName()).c_str());
122 test_server->host_port_pair().ToString().c_str());
/external/chromium_org/chrome/browser/safe_browsing/
H A Dtwo_phase_uploader_unittest.cc75 LocalTwoPhaseTestServer test_server; local
76 ASSERT_TRUE(test_server.Start());
81 test_server.GetURL("start"),
101 LocalTwoPhaseTestServer test_server; local
102 ASSERT_TRUE(test_server.Start());
107 test_server.GetURL("start?p1code=500"),
123 LocalTwoPhaseTestServer test_server; local
124 ASSERT_TRUE(test_server.Start());
129 test_server.GetURL("start?p2code=500"),
149 LocalTwoPhaseTestServer test_server; local
171 LocalTwoPhaseTestServer test_server; local
[all...]

Completed in 750 milliseconds

1234567