/external/chromium/chrome/common/net/ |
D | url_fetcher_unittest.cc | 515 net::TestServer test_server(net::TestServer::TYPE_HTTP, FilePath(kDocRoot)); in TEST_F() local 516 ASSERT_TRUE(test_server.Start()); in TEST_F() 521 CreateFetcher(test_server.GetURL("defaultresponse")); in TEST_F() 532 net::TestServer test_server(net::TestServer::TYPE_HTTP, FilePath(kDocRoot)); local 533 ASSERT_TRUE(test_server.Start()); 543 test_server.GetURL("defaultresponse"))); 554 net::TestServer test_server(net::TestServer::TYPE_HTTP, FilePath(kDocRoot)); local 555 ASSERT_TRUE(test_server.Start()); 557 CreateFetcher(test_server.GetURL("echo")); 562 net::TestServer test_server(net::TestServer::TYPE_HTTP, local [all …]
|
/external/chromium/net/socket/ |
D | ssl_client_socket_unittest.cc | 67 net::TestServer test_server(net::TestServer::TYPE_HTTPS, FilePath()); in TEST_F() local 68 ASSERT_TRUE(test_server.Start()); in TEST_F() 71 ASSERT_TRUE(test_server.GetAddressList(&addr)); in TEST_F() 84 transport, test_server.host_port_pair(), kDefaultSSLConfig, in TEST_F() 109 net::TestServer test_server(https_options, FilePath()); in TEST_F() local 110 ASSERT_TRUE(test_server.Start()); in TEST_F() 113 ASSERT_TRUE(test_server.GetAddressList(&addr)); in TEST_F() 125 CreateSSLClientSocket(transport, test_server.host_port_pair(), in TEST_F() 152 net::TestServer test_server(https_options, FilePath()); in TEST_F() local 153 ASSERT_TRUE(test_server.Start()); in TEST_F() [all …]
|
/external/chromium/chrome/browser/ |
D | repost_form_warning_uitest.cc | 31 net::TestServer test_server(net::TestServer::TYPE_HTTP, FilePath(kDocRoot)); in TEST_F() local 32 ASSERT_TRUE(test_server.Start()); in TEST_F() 41 ASSERT_TRUE(tab->NavigateToURL(test_server.GetURL("files/form.html"))); in TEST_F() 51 ASSERT_TRUE(tab->NavigateToURL(test_server.GetURL("bar"))); in TEST_F() 62 net::TestServer test_server(net::TestServer::TYPE_HTTP, FilePath(kDocRoot)); in TEST_F() local 63 ASSERT_TRUE(test_server.Start()); in TEST_F() 72 ASSERT_TRUE(tab->NavigateToURL(test_server.GetURL("files/form.html"))); in TEST_F() 82 ASSERT_TRUE(tab->NavigateToURL(test_server.GetURL("auth-basic"))); in TEST_F() 88 ASSERT_TRUE(tab->NavigateToURL(test_server.GetURL("bar"))); in TEST_F()
|
D | collected_cookies_uitest.cc | 30 net::TestServer test_server(net::TestServer::TYPE_HTTP, FilePath(kDocRoot)); in TEST_F() local 31 ASSERT_TRUE(test_server.Start()); in TEST_F() 44 ASSERT_TRUE(tab->NavigateToURL(test_server.GetURL("files/cookie1.html"))); in TEST_F() 58 net::TestServer test_server(net::TestServer::TYPE_HTTP, FilePath(kDocRoot)); in TEST_F() local 59 ASSERT_TRUE(test_server.Start()); in TEST_F() 72 ASSERT_TRUE(tab->NavigateToURL(test_server.GetURL("files/cookie1.html"))); in TEST_F() 78 ASSERT_TRUE(tab->NavigateToURL(test_server.GetURL("files/cookie2.html"))); in TEST_F()
|
D | browser_focus_uitest.cc | 206 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 209 GURL url = test_server()->GetURL(kSimplePage); in IN_PROC_BROWSER_TEST_F() 271 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 274 GURL url = test_server()->GetURL(kSimplePage); in IN_PROC_BROWSER_TEST_F() 339 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 342 GURL url = test_server()->GetURL(kSimplePage); in IN_PROC_BROWSER_TEST_F() 379 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 410 GURL steal_focus_url = test_server()->GetURL(kStealFocusPage); in IN_PROC_BROWSER_TEST_F() 427 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 430 GURL url = test_server()->GetURL(kStealFocusPage); in IN_PROC_BROWSER_TEST_F() [all …]
|
D | browser_browsertest.cc | 344 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 345 GURL http_url(test_server()->GetURL("")); in IN_PROC_BROWSER_TEST_F() 354 net::TestServer test_server(net::TestServer::TYPE_HTTPS, FilePath(kDocRoot)); in IN_PROC_BROWSER_TEST_F() local 355 ASSERT_TRUE(test_server.Start()); in IN_PROC_BROWSER_TEST_F() 356 GURL https_url(test_server.GetURL("/")); in IN_PROC_BROWSER_TEST_F() 365 net::TestServer test_server(net::TestServer::TYPE_FTP, FilePath(kDocRoot)); in IN_PROC_BROWSER_TEST_F() local 366 ASSERT_TRUE(test_server.Start()); in IN_PROC_BROWSER_TEST_F() 367 GURL ftp_url(test_server.GetURL("")); in IN_PROC_BROWSER_TEST_F() 397 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 398 GURL http_url(test_server()->GetURL("")); in IN_PROC_BROWSER_TEST_F() [all …]
|
D | browser_keyevents_browsertest.cc | 349 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 352 GURL url = test_server()->GetURL(kTestingPage); in IN_PROC_BROWSER_TEST_F() 434 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 437 GURL url = test_server()->GetURL(kTestingPage); in IN_PROC_BROWSER_TEST_F() 479 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 482 GURL url = test_server()->GetURL(kTestingPage); in IN_PROC_BROWSER_TEST_F() 575 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 578 GURL url = test_server()->GetURL(kTestingPage); in IN_PROC_BROWSER_TEST_F() 641 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 644 GURL url = test_server()->GetURL(kTestingPage); in IN_PROC_BROWSER_TEST_F() [all …]
|
/external/chromium/chrome/browser/ui/find_bar/ |
D | find_bar_host_browsertest.cc | 133 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 136 GURL url = test_server()->GetURL(kFramePage); in IN_PROC_BROWSER_TEST_F() 227 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 230 GURL url = test_server()->GetURL(kEndState); in IN_PROC_BROWSER_TEST_F() 279 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 282 GURL url = test_server()->GetURL(kFrameData); in IN_PROC_BROWSER_TEST_F() 318 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 321 GURL url = test_server()->GetURL(kSelectChangesOrdinal); in IN_PROC_BROWSER_TEST_F() 355 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 358 GURL url = test_server()->GetURL(kFramePage); in IN_PROC_BROWSER_TEST_F() [all …]
|
/external/chromium/chrome/browser/extensions/ |
D | extension_browsertests_misc.cc | 131 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 145 GURL feed_url = test_server()->GetURL(kFeedPage); in IN_PROC_BROWSER_TEST_F() 151 GURL no_feed = test_server()->GetURL(kNoFeedPage); in IN_PROC_BROWSER_TEST_F() 159 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 167 GURL feed_url = test_server()->GetURL(kHashPageA); in IN_PROC_BROWSER_TEST_F() 172 feed_url = test_server()->GetURL(kHashPageAHash); in IN_PROC_BROWSER_TEST_F() 177 feed_url = test_server()->GetURL(kHashPageB); in IN_PROC_BROWSER_TEST_F() 184 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 190 GURL feed_url = test_server()->GetURL(kFeedPage); in IN_PROC_BROWSER_TEST_F() 260 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() [all …]
|
D | extension_incognito_apitest.cc | 30 test_server()->GetURL("files/extensions/test_file.html")); in IN_PROC_BROWSER_TEST_F() 68 test_server()->GetURL("files/extensions/test_file.html")); in IN_PROC_BROWSER_TEST_F() 104 test_server()->GetURL("files/extensions/test_file.html")); in IN_PROC_BROWSER_TEST_F() 130 test_server()->GetURL("files/extensions/test_file.html")); in IN_PROC_BROWSER_TEST_F() 158 test_server()->GetURL("files/extensions/test_file.html")); in IN_PROC_BROWSER_TEST_F() 179 test_server()->GetURL("files/extensions/test_file.html")); in IN_PROC_BROWSER_TEST_F()
|
D | app_background_page_apitest.cc | 66 test_server()->host_port_pair().port()); in IN_PROC_BROWSER_TEST_F() 92 test_server()->host_port_pair().port()); in IN_PROC_BROWSER_TEST_F() 120 test_server()->host_port_pair().port(), in IN_PROC_BROWSER_TEST_F() 121 test_server()->host_port_pair().port()); in IN_PROC_BROWSER_TEST_F()
|
D | all_urls_apitest.cc | 73 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 74 GURL page_url = test_server()->GetURL(kAllUrlsTarget); in IN_PROC_BROWSER_TEST_F() 100 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 101 GURL page_url = test_server()->GetURL(kAllUrlsTarget); in IN_PROC_BROWSER_TEST_F()
|
D | isolated_app_apitest.cc | 48 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 55 GURL base_url = test_server()->GetURL( in IN_PROC_BROWSER_TEST_F() 109 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 116 GURL base_url = test_server()->GetURL( in IN_PROC_BROWSER_TEST_F()
|
/external/chromium/chrome/browser/ssl/ |
D | ssl_browser_tests.cc | 201 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 204 test_server()->GetURL("files/ssl/google.html")); in IN_PROC_BROWSER_TEST_F() 214 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 224 browser(), test_server()->GetURL(replacement_path)); in IN_PROC_BROWSER_TEST_F() 269 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 308 test_server()->GetURL("files/ssl/google.html")); in IN_PROC_BROWSER_TEST_F() 314 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 319 test_server()->GetURL("files/ssl/google.html")); in IN_PROC_BROWSER_TEST_F() 341 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 346 test_server()->GetURL("files/ssl/google.html")); in IN_PROC_BROWSER_TEST_F() [all …]
|
/external/chromium/chrome/browser/instant/ |
D | instant_browsertest.cc | 62 test_server()->host_port_pair().host().c_str(), in SetupInstantProvider() 63 test_server()->host_port_pair().port(), in SetupInstantProvider() 314 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 340 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 352 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 364 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 378 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 392 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 404 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 416 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() [all …]
|
/external/chromium/chrome/browser/notifications/ |
D | notifications_interactive_uitest.cc | 21 net::TestServer test_server(net::TestServer::TYPE_HTTP, in TEST_F() local 23 ASSERT_TRUE(test_server.Start()); in TEST_F() 30 tab->NavigateToURL(test_server.GetURL( in TEST_F() 48 net::TestServer test_server(net::TestServer::TYPE_HTTP, in TEST_F() local 50 ASSERT_TRUE(test_server.Start()); in TEST_F() 60 tab->NavigateToURL(test_server.GetURL( in TEST_F()
|
/external/chromium/chrome/browser/printing/ |
D | printing_layout_uitest.cc | 290 net::TestServer test_server(net::TestServer::TYPE_HTTP, FilePath(kDocRoot)); in TEST_F() local 291 ASSERT_TRUE(test_server.Start()); in TEST_F() 293 NavigateToURL(test_server.GetURL("files/printing/test1.html")); in TEST_F() 319 net::TestServer test_server(net::TestServer::TYPE_HTTP, FilePath(kDocRoot)); in TEST_F() local 320 ASSERT_TRUE(test_server.Start()); in TEST_F() 329 NavigateToURL(test_server.GetURL(test.source)); in TEST_F() 369 net::TestServer test_server(net::TestServer::TYPE_HTTP, FilePath(kDocRoot)); in TEST_F() local 370 ASSERT_TRUE(test_server.Start()); in TEST_F() 376 GURL url = test_server.GetURL("files/printing/popup_delayed_print.htm"); in TEST_F() 387 url = test_server.GetURL("files/printing/test1.html"); in TEST_F() [all …]
|
/external/chromium/chrome/browser/ui/login/ |
D | login_prompt_browsertest.cc | 186 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 188 GURL test_page = test_server()->GetURL(kPrefetchAuthPage); in IN_PROC_BROWSER_TEST_F() 217 EXPECT_TRUE(test_server()->Stop()); in IN_PROC_BROWSER_TEST_F() 226 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 227 GURL test_page = test_server()->GetURL(kMultiRealmTestPage); in IN_PROC_BROWSER_TEST_F() 271 EXPECT_TRUE(test_server()->Stop()); in IN_PROC_BROWSER_TEST_F() 284 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 285 GURL test_page = test_server()->GetURL(kMultiRealmTestPage); in IN_PROC_BROWSER_TEST_F() 329 EXPECT_TRUE(test_server()->Stop()); in IN_PROC_BROWSER_TEST_F() 337 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() [all …]
|
/external/chromium/net/tools/testserver/ |
D | run_testserver.cc | 60 net::TestServer test_server(server_type, doc_root); in main() local 61 if (!test_server.Start()) { in main() 66 if (!file_util::DirectoryExists(test_server.document_root())) { in main() 68 UTF16ToUTF8(test_server.document_root().LossyDisplayName()).c_str()); in main() 73 test_server.host_port_pair().ToString().c_str()); in main()
|
/external/chromium/chrome/browser/safe_browsing/ |
D | safe_browsing_blocking_page_test.cc | 239 ASSERT_TRUE(test_server()->Start()); in SetUpInProcessBrowserTestFixture() 359 GURL load_url = test_server()->GetURL( in MalwareRedirectCancelAndProceed() 409 GURL url = test_server()->GetURL(kEmptyPage); in IN_PROC_BROWSER_TEST_F() 421 GURL url = test_server()->GetURL(kEmptyPage); in IN_PROC_BROWSER_TEST_F() 432 GURL url = test_server()->GetURL(kEmptyPage); in IN_PROC_BROWSER_TEST_F() 444 GURL url = test_server()->GetURL(kEmptyPage); in IN_PROC_BROWSER_TEST_F() 456 GURL url = test_server()->GetURL(kEmptyPage); in IN_PROC_BROWSER_TEST_F() 471 GURL url = test_server()->GetURL(kEmptyPage); in IN_PROC_BROWSER_TEST_F() 486 GURL url = test_server()->GetURL(kMalwarePage); in IN_PROC_BROWSER_TEST_F() 487 GURL iframe_url = test_server()->GetURL(kMalwareIframe); in IN_PROC_BROWSER_TEST_F() [all …]
|
/external/chromium/chrome/browser/ui/views/ |
D | find_bar_host_interactive_uitest.cc | 51 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 54 GURL url = test_server()->GetURL(kSimplePage); in IN_PROC_BROWSER_TEST_F() 86 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 88 GURL url = test_server()->GetURL("title1.html"); in IN_PROC_BROWSER_TEST_F() 130 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 133 GURL url = test_server()->GetURL(kSimplePage); in IN_PROC_BROWSER_TEST_F() 188 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 197 GURL url = test_server()->GetURL(kSimplePage); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium/chrome/browser/net/ |
D | cookie_policy_browsertest.cc | 71 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 76 GURL url(test_server()->GetURL("set-cookie?cookie1")); in IN_PROC_BROWSER_TEST_F() 91 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 96 GURL url(test_server()->GetURL("server-redirect?")); in IN_PROC_BROWSER_TEST_F() 97 GURL redirected_url(test_server()->GetURL("set-cookie?cookie2")); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium/chrome/browser/history/ |
D | multipart_uitest.cc | 26 net::TestServer test_server(net::TestServer::TYPE_HTTP, in TEST_F() local 28 ASSERT_TRUE(test_server.Start()); in TEST_F() 34 NavigateToURL(test_server.GetURL("multipart")); in TEST_F() 51 test_server.host_port_pair().HostForURL() + ":%/multipart'"); in TEST_F()
|
/external/chromium/chrome/browser/ui/gtk/bookmarks/ |
D | bookmark_bar_gtk_interactive_uitest.cc | 31 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F() 38 GURL url = test_server()->GetURL(kSimplePage); in IN_PROC_BROWSER_TEST_F() 56 ASSERT_TRUE(test_server()->Start()); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium/net/url_request/ |
D | url_request_unittest.cc | 480 TestServer test_server(TestServer::TYPE_HTTPS, in TEST_F() local 482 ASSERT_TRUE(test_server.Start()); in TEST_F() 486 TestURLRequest r(test_server.GetURL(""), &d); in TEST_F() 497 EXPECT_EQ(test_server.host_port_pair().host(), in TEST_F() 499 EXPECT_EQ(test_server.host_port_pair().port(), in TEST_F() 507 TestServer test_server(https_options, in TEST_F() local 509 ASSERT_TRUE(test_server.Start()); in TEST_F() 516 TestURLRequest r(test_server.GetURL(""), &d); in TEST_F() 539 TestServer test_server(https_options, in TEST_F() local 541 ASSERT_TRUE(test_server.Start()); in TEST_F() [all …]
|