/external/chromium/chrome/browser/tab_contents/ |
view_source_uitest.cc | 19 : test_server_(net::TestServer::TYPE_HTTP, 35 net::TestServer test_server_; member in class:__anon4961::ViewSourceTest 43 ASSERT_TRUE(test_server_.Start()); 50 test_server_.GetURL(kTestHtml).spec()); 67 ASSERT_TRUE(test_server_.Start()); 70 GURL url(test_server_.GetURL(kTestHtml)); 85 ASSERT_TRUE(test_server_.Start()); 87 GURL url(test_server_.GetURL(kTestHtml)); 98 ASSERT_TRUE(test_server_.Start()); 101 test_server_.GetURL(kTestHtml).spec()) [all...] |
/external/chromium_org/net/url_request/ |
url_request_context_builder_unittest.cc | 41 : test_server_( 49 LocalHttpTestServer test_server_; member in class:net::__anon11602::URLRequestContextBuilderTest 54 ASSERT_TRUE(test_server_.Start()); 59 test_server_.GetURL("echoheader?Foo"), &delegate, context.get()); 68 ASSERT_TRUE(test_server_.Start()); 74 test_server_.GetURL("echoheader?User-Agent"), &delegate, context.get());
|
url_request_unittest.cc | 2503 LocalHttpTestServer test_server_; member in class:net::URLRequestTestHTTP 5901 SpawnedTestServer test_server_; member in class:net::URLRequestTestFTP [all...] |
/external/chromium/chrome/browser/history/ |
redirect_uitest.cc | 32 : test_server_(net::TestServer::TYPE_HTTP, 37 net::TestServer test_server_; member in class:__anon4639::RedirectTest 42 ASSERT_TRUE(test_server_.Start()); 44 GURL final_url = test_server_.GetURL(std::string()); 45 GURL first_url = test_server_.GetURL( 62 ASSERT_TRUE(test_server_.Start()); 64 GURL final_url = test_server_.GetURL(std::string()); 65 GURL first_url = test_server_.GetURL( 95 ASSERT_TRUE(test_server_.Start()); 99 GURL final_url = test_server_.GetURL(std::string()) [all...] |
/external/chromium/chrome/browser/ui/login/ |
login_prompt_uitest.cc | 29 test_server_(net::TestServer::TYPE_HTTP, FilePath(kDocRoot)) { 44 net::TestServer test_server_; member in class:LoginPromptTest 62 ASSERT_TRUE(test_server_.Start()); 67 tab->NavigateToURL(test_server_.GetURL("auth-basic"))); 76 tab->NavigateToURL(test_server_.GetURL("auth-basic"))); 93 ASSERT_TRUE(test_server_.Start()); 98 tab->NavigateToURL(test_server_.GetURL("auth-digest"))); 106 tab->NavigateToURL(test_server_.GetURL("auth-digest"))); 123 ASSERT_TRUE(test_server_.Start()); 128 basic_tab->NavigateToURL(test_server_.GetURL("auth-basic"))) [all...] |
/external/chromium_org/content/public/test/ |
browser_test_base.h | 79 return test_server_.get(); 81 net::SpawnedTestServer* test_server() { return test_server_.get(); } 124 scoped_ptr<net::SpawnedTestServer> test_server_; member in class:content::BrowserTestBase
|
browser_test_base.cc | 91 test_server_.reset(NULL); 185 CHECK(!test_server_.get()); 186 test_server_.reset(new net::SpawnedTestServer(
|
/external/chromium/net/proxy/ |
proxy_script_fetcher_impl_unittest.cc | 87 : test_server_(TestServer::TYPE_HTTP, FilePath(kDocRoot)) { 95 TestServer test_server_; member in class:net::ProxyScriptFetcherImplTest 125 ASSERT_TRUE(test_server_.Start()); 131 GURL url(test_server_.GetURL("files/pac.txt")); 140 GURL url(test_server_.GetURL("files/pac.html")); 149 GURL url(test_server_.GetURL("files/pac.nsproxy")); 160 ASSERT_TRUE(test_server_.Start()); 166 GURL url(test_server_.GetURL("files/500.pac")); 175 GURL url(test_server_.GetURL("files/404.pac")); 186 ASSERT_TRUE(test_server_.Start()) [all...] |
proxy_resolver_perftest.cc | 88 test_server_(net::TestServer::TYPE_HTTP, 93 ASSERT_TRUE(test_server_.Start()); 108 test_server_.GetURL(std::string("files/") + script_name); 176 net::TestServer test_server_; member in class:PacPerfSuiteRunner
|
/external/chromium/chrome/browser/ |
session_history_uitest.cc | 19 : test_server_(net::TestServer::TYPE_HTTP, 79 net::TestServer test_server_; member in class:__anon4835::SessionHistoryTest 90 ASSERT_TRUE(test_server_.Start()); 97 test_server_.GetURL("files/session_history/bot1.html"))); 101 test_server_.GetURL("files/session_history/bot2.html"))); 105 test_server_.GetURL("files/session_history/bot3.html"))); 123 test_server_.GetURL("files/session_history/bot3.html"))); 156 ASSERT_TRUE(test_server_.Start()); 164 GURL frames(test_server_.GetURL("files/session_history/frames.html")); 221 ASSERT_TRUE(test_server_.Start()) [all...] |
/external/chromium_org/chrome/browser/google_apis/ |
base_requests_server_unittest.cc | 34 : test_server_(message_loop_.message_loop_proxy()) { 49 ASSERT_TRUE(test_server_.InitializeAndWaitUntilReady()); 50 test_server_.RegisterRequestHandler( 52 test_server_.base_url(), 62 net::test_server::EmbeddedTestServer test_server_; member in class:google_apis::BaseRequestsServerTest 85 test_server_.GetURL("/files/gdata/testfile.txt"), 119 test_server_.GetURL("/files/gdata/no-such-file.txt"),
|
/external/chromium/webkit/glue/ |
resource_fetcher_unittest.cc | 27 UnittestTestServer test_server_; member in class:__anon5805::ResourceFetcherTests 99 ASSERT_TRUE(test_server_.Start()); 103 GURL url(test_server_.GetURL("files/test_shell/index.html")); 116 url = test_server_.GetURL("files/thisfiledoesntexist.html"); 131 ASSERT_TRUE(test_server_.Start()); 152 ASSERT_TRUE(test_server_.Start()); 158 GURL url(test_server_.GetURL("slow?1")); 193 ASSERT_TRUE(test_server_.Start()); 199 GURL url(test_server_.GetURL("slow?1"));
|
mimetype_unittest.cc | 28 GURL url(test_server_.GetURL(path + mimetype)); 34 UnittestTestServer test_server_; member in class:__anon5798::MimeTypeTests 38 ASSERT_TRUE(test_server_.Start());
|
/external/chromium_org/net/proxy/ |
proxy_script_fetcher_impl_unittest.cc | 191 : test_server_(SpawnedTestServer::TYPE_HTTP, 198 SpawnedTestServer test_server_; member in class:net::ProxyScriptFetcherImplTest 229 ASSERT_TRUE(test_server_.Start()); 234 GURL url(test_server_.GetURL("files/pac.txt")); 243 GURL url(test_server_.GetURL("files/pac.html")); 252 GURL url(test_server_.GetURL("files/pac.nsproxy")); 263 ASSERT_TRUE(test_server_.Start()); 268 GURL url(test_server_.GetURL("files/500.pac")); 277 GURL url(test_server_.GetURL("files/404.pac")); 288 ASSERT_TRUE(test_server_.Start()) [all...] |
proxy_resolver_perftest.cc | 88 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/net/url_request/ |
url_request_unittest.cc | 169 : test_server_(TestServer::TYPE_HTTP, 197 URLRequest r(test_server_.GetURL("echo"), &d); 243 TestServer test_server_; member in class:net::URLRequestTestHTTP 251 ASSERT_TRUE(test_server_.Start()); 257 new TestURLRequestContext(test_server_.host_port_pair().ToString())); 275 ASSERT_TRUE(test_server_.Start()); 282 new TestURLRequestContext(test_server_.host_port_pair().ToString())); 305 ASSERT_TRUE(test_server_.Start()); 312 TestURLRequest r(test_server_.GetURL(""), &d); 314 new TestURLRequestContext(test_server_.host_port_pair().ToString())) 2458 TestServer test_server_; member in class:net::URLRequestTestFTP [all...] |
/external/chromium_org/chrome/browser/ui/app_list/search/ |
webstore_provider_browsertest.cc | 44 test_server_.reset(new EmbeddedTestServer( 47 ASSERT_TRUE(test_server_->InitializeAndWaitUntilReady()); 48 test_server_->RegisterRequestHandler( 52 switches::kAppsGalleryURL, test_server_->base_url().spec()); 62 EXPECT_TRUE(test_server_->ShutdownAndWaitUntilComplete()); 63 test_server_.reset(); 123 scoped_ptr<EmbeddedTestServer> test_server_; member in class:app_list::test::WebstoreProviderTest
|
/external/chromium/chrome/browser/net/ |
connection_tester_unittest.cc | 89 test_server_(net::TestServer::TYPE_HTTP, 103 net::TestServer test_server_; member in class:__anon4692::ConnectionTesterTest 144 ASSERT_TRUE(test_server_.Start()); 150 tester.RunAllTests(test_server_.GetURL("echoall")); 168 ASSERT_TRUE(test_server_.Start()); 175 tester->RunAllTests(test_server_.GetURL("echoall"));
|
/external/chromium_org/chrome/browser/net/ |
connection_tester_unittest.cc | 93 test_server_(net::SpawnedTestServer::TYPE_HTTP, 109 net::SpawnedTestServer test_server_; member in class:__anon7762::ConnectionTesterTest 156 ASSERT_TRUE(test_server_.Start()); 164 tester.RunAllTests(test_server_.GetURL("echoall")); 182 ASSERT_TRUE(test_server_.Start()); 191 tester->RunAllTests(test_server_.GetURL("echoall"));
|
/external/chromium_org/chrome/browser/chromeos/login/ |
oobe_browsertest.cc | 96 // TODO(glotov): mock GAIA server (test_server_) should support 154 test_server_ = new EmbeddedTestServer( 157 CHECK(test_server_->InitializeAndWaitUntilReady()); 158 test_server_->RegisterRequestHandler( 160 LOG(INFO) << "Set up http server at " << test_server_->base_url(); 162 const GURL gaia_url("http://localhost:" + test_server_->base_url().port()); 169 EXPECT_TRUE(test_server_->ShutdownAndWaitUntilComplete()); 170 delete test_server_; // Destructor wants UI thread. 174 GURL url = test_server_->GetURL(request.relative_url); 205 EmbeddedTestServer* test_server_; // cant use scoped_ptr because destructo member in class:__anon6929::OobeTest [all...] |
/external/chromium_org/chrome/browser/extensions/api/streams_private/ |
streams_private_apitest.cc | 100 test_server_.reset(new EmbeddedTestServer( 103 ASSERT_TRUE(test_server_->InitializeAndWaitUntilReady()); 104 test_server_->RegisterRequestHandler(base::Bind(&HandleRequest)); 111 EXPECT_TRUE(test_server_->ShutdownAndWaitUntilComplete()); 112 test_server_.reset(); 199 scoped_ptr<EmbeddedTestServer> test_server_; member in class:__anon7343::StreamsPrivateApiTest 218 test_server_->GetURL("/doc_path.doc")); 250 test_server_->GetURL("/text_path_attch.txt")); 287 GURL url = test_server_->GetURL("/text_path.txt");
|
/external/chromium_org/chrome/browser/chromeos/contacts/ |
gdata_contacts_service_unittest.cc | 83 test_server_.reset( 87 ASSERT_TRUE(test_server_->InitializeAndWaitUntilReady()); 88 test_server_->RegisterRequestHandler( 97 test_server_->GetURL(kGroupsFeedFilename)); 103 EXPECT_TRUE(test_server_->ShutdownAndWaitUntilComplete()); 104 test_server_.reset(); 119 test_server_->GetURL(feed_filename)); 132 scoped_ptr<net::test_server::EmbeddedTestServer> test_server_; member in class:contacts::__anon6747::GDataContactsServiceTest 136 // at a file on |test_server_|. 138 return test_server_->GetURL(GURL(original_url).path()).spec() [all...] |
/external/chromium/chrome/browser/sync/glue/ |
http_bridge_unittest.cc | 25 : test_server_(net::TestServer::TYPE_HTTP, FilePath(kDocRoot)), 79 net::TestServer test_server_; member in class:HttpBridgeTest 175 ASSERT_TRUE(test_server_.Start()); 180 GURL echo = test_server_.GetURL("echo"); 198 ASSERT_TRUE(test_server_.Start()); 202 GURL echo_header = test_server_.GetURL("echoall"); 225 ASSERT_TRUE(test_server_.Start()); 229 GURL echo_header = test_server_.GetURL("echoall"); 253 ASSERT_TRUE(test_server_.Start()); 257 GURL echo_header = test_server_.GetURL("echoall") [all...] |
/external/chromium_org/chrome/browser/policy/cloud/ |
component_cloud_policy_browsertest.cc | 103 test_server_.RegisterClient(kDMToken, kDeviceID); 104 EXPECT_TRUE(test_server_.UpdatePolicyData( 106 ASSERT_TRUE(test_server_.Start()); 108 std::string url = test_server_.GetServiceURL().spec(); 196 LocalPolicyTestServer test_server_; member in class:policy::ComponentCloudPolicyTest 220 EXPECT_TRUE(test_server_.UpdatePolicyData( 239 EXPECT_TRUE(test_server_.UpdatePolicyData(
|
/external/chromium_org/sync/internal_api/ |
http_bridge_unittest.cc | 26 : 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_.GetURL("echoall") [all...] |