/external/chromium_org/content/public/test/ |
browser_test_base.h | 20 namespace test_server { namespace in namespace:net 77 // TODO(phajdan.jr): Remove test_server accessor (http://crbug.com/96594). 78 const net::SpawnedTestServer* test_server() const { function in class:content::BrowserTestBase 81 net::SpawnedTestServer* test_server() { return test_server_.get(); } function in class:content::BrowserTestBase 84 const net::test_server::EmbeddedTestServer* embedded_test_server() const { 87 net::test_server::EmbeddedTestServer* embedded_test_server() { 127 scoped_ptr<net::test_server::EmbeddedTestServer> embedded_test_server_;
|
/external/chromium/chrome/browser/ |
repost_form_warning_uitest.cc | 13 #include "net/test/test_server.h" 31 net::TestServer test_server(net::TestServer::TYPE_HTTP, FilePath(kDocRoot)); 32 ASSERT_TRUE(test_server.Start()); 41 ASSERT_TRUE(tab->NavigateToURL(test_server.GetURL("files/form.html"))); 51 ASSERT_TRUE(tab->NavigateToURL(test_server.GetURL("bar"))); 62 net::TestServer test_server(net::TestServer::TYPE_HTTP, FilePath(kDocRoot)); 63 ASSERT_TRUE(test_server.Start()); 72 ASSERT_TRUE(tab->NavigateToURL(test_server.GetURL("files/form.html"))); 82 ASSERT_TRUE(tab->NavigateToURL(test_server.GetURL("auth-basic"))); 88 ASSERT_TRUE(tab->NavigateToURL(test_server.GetURL("bar"))) [all...] |
collected_cookies_uitest.cc | 13 #include "net/test/test_server.h" 30 net::TestServer test_server(net::TestServer::TYPE_HTTP, FilePath(kDocRoot)); 31 ASSERT_TRUE(test_server.Start()); 44 ASSERT_TRUE(tab->NavigateToURL(test_server.GetURL("files/cookie1.html"))); 58 net::TestServer test_server(net::TestServer::TYPE_HTTP, FilePath(kDocRoot)); 59 ASSERT_TRUE(test_server.Start()); 72 ASSERT_TRUE(tab->NavigateToURL(test_server.GetURL("files/cookie1.html"))); 78 ASSERT_TRUE(tab->NavigateToURL(test_server.GetURL("files/cookie2.html")));
|
/external/chromium/chrome/browser/extensions/ |
stubs_apitest.cc | 9 #include "net/test/test_server.h" 19 ASSERT_TRUE(test_server()->Start()); 25 GURL url(test_server()->GetURL("file/extensions/test_file.html"));
|
/external/chromium_org/content/browser/ |
webkit_browsertest.cc | 26 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); 86 ASSERT_TRUE(test_server()->Start()); 87 GURL url = test_server()->GetURL(kErrorBodyNoCrash);
|
security_exploit_browsertest.cc | 26 ASSERT_TRUE(test_server()->Start()); 33 "MAP * " + test_server()->host_port_pair().ToString() +
|
/external/chromium_org/chrome/browser/ |
repost_form_warning_browsertest.cc | 26 ASSERT_TRUE(test_server()->Start()); 30 browser(), test_server()->GetURL("files/form.html")); 48 ui_test_utils::NavigateToURL(browser(), test_server()->GetURL("bar")); 56 ASSERT_TRUE(test_server()->Start()); 60 browser(), test_server()->GetURL("files/form.html")); 78 test_server()->GetURL("auth-basic"), content::Referrer(), CURRENT_TAB, 90 test_server()->GetURL("bar"), content::Referrer(), CURRENT_TAB,
|
do_not_track_browsertest.cc | 21 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(
|
chrome_switches_browsertest.cc | 20 ASSERT_TRUE(test_server()->Start()); 24 "MAP * " + test_server()->host_port_pair().ToString()); 37 GURL local_url = test_server()->GetURL("files/empty.html");
|
/external/chromium_org/chrome/browser/extensions/ |
subscribe_page_action_browsertest.cc | 138 ASSERT_TRUE(test_server()->Start()); 146 GURL feed_url = test_server()->GetURL(kFeedPageMultiRel); 153 ASSERT_TRUE(test_server()->Start()); 160 NavigateToFeedAndValidate(test_server(), kValidFeed1, browser(), id, true, 168 ASSERT_TRUE(test_server()->Start()); 175 NavigateToFeedAndValidate(test_server(), kValidFeed2, browser(), id, true, 183 ASSERT_TRUE(test_server()->Start()); 190 NavigateToFeedAndValidate(test_server(), kValidFeed3, browser(), id, true, 198 ASSERT_TRUE(test_server()->Start()); 205 NavigateToFeedAndValidate(test_server(), kValidFeed4, browser(), id, true [all...] |
/external/chromium/chrome/browser/notifications/ |
notifications_interactive_uitest.cc | 9 #include "net/test/test_server.h" 21 net::TestServer test_server(net::TestServer::TYPE_HTTP, 23 ASSERT_TRUE(test_server.Start()); 30 tab->NavigateToURL(test_server.GetURL( 48 net::TestServer test_server(net::TestServer::TYPE_HTTP, 50 ASSERT_TRUE(test_server.Start()); 60 tab->NavigateToURL(test_server.GetURL(
|
/external/chromium_org/content/browser/download/ |
save_package_browsertest.cc | 37 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/net/tools/testserver/ |
run_testserver.cc | 13 #include "net/test/test_server.h" 60 net::TestServer test_server(server_type, doc_root); 61 if (!test_server.Start()) { 66 if (!file_util::DirectoryExists(test_server.document_root())) { 68 UTF16ToUTF8(test_server.document_root().LossyDisplayName()).c_str()); 73 test_server.host_port_pair().ToString().c_str());
|
/external/chromium_org/chrome/browser/net/ |
cookie_policy_browsertest.cc | 33 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/chrome_frame/test/ |
test_with_web_server.h | 18 #include "chrome_frame/test/test_server.h" 79 class MockWebServer : public test_server::HTTPTestServer { 82 : test_server::HTTPTestServer(port, address, root_dir), listener_(NULL) {} 84 // Overriden from test_server::HTTPTestServer. 85 MOCK_METHOD3(Get, void(test_server::ConfigurableConnection* connection, 87 const test_server::Request& r)); 88 MOCK_METHOD3(Post, void(test_server::ConfigurableConnection* connection, 90 const test_server::Request& r)); 132 void SendResponseHelper(test_server::ConfigurableConnection* connection, 134 const test_server::Request& request [all...] |
/external/chromium_org/chrome/browser/ui/webui/ |
inspect_ui_browsertest.cc | 34 ASSERT_TRUE(test_server()->Start()); 35 GURL url = test_server()->GetURL(kSharedWorkerTestPage); 60 ASSERT_TRUE(test_server()->Start());
|
/external/chromium_org/sync/tools/testserver/ |
run_sync_testserver.cc | 26 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/chrome/browser/history/ |
multipart_browsertest.cc | 37 ASSERT_TRUE(test_server()->Start()); 40 ui_test_utils::NavigateToURL(browser(), test_server()->GetURL("multipart"));
|
redirect_browsertest.cc | 75 ASSERT_TRUE(test_server()->Start()); 76 GURL final_url = test_server()->GetURL(std::string()); 77 GURL first_url = test_server()->GetURL( 90 ASSERT_TRUE(test_server()->Start()); 92 GURL final_url = test_server()->GetURL(std::string()); 93 GURL first_url = test_server()->GetURL( 120 ASSERT_TRUE(test_server()->Start()); 124 GURL final_url = test_server()->GetURL(std::string()); 186 ASSERT_TRUE(test_server()->Start()); 188 GURL final_url = test_server()->GetURL(std::string()) [all...] |
/external/chromium_org/net/url_request/ |
url_fetcher_impl_unittest.cc | 889 SpawnedTestServer test_server(SpawnedTestServer::TYPE_HTTP, 892 ASSERT_TRUE(test_server.Start()); 897 CreateFetcher(test_server.GetURL("defaultresponse")); 903 SpawnedTestServer test_server(SpawnedTestServer::TYPE_HTTP, 906 ASSERT_TRUE(test_server.Start()); 919 test_server.GetURL("defaultresponse"))); 932 SpawnedTestServer test_server(SpawnedTestServer::TYPE_HTTP, 935 ASSERT_TRUE(test_server.Start()); 938 CreateFetcher(test_server.GetURL("defaultresponse")); [all...] |
/external/chromium/chrome/browser/history/ |
multipart_uitest.cc | 12 #include "net/test/test_server.h" 26 net::TestServer test_server(net::TestServer::TYPE_HTTP, 28 ASSERT_TRUE(test_server.Start()); 34 NavigateToURL(test_server.GetURL("multipart")); 51 test_server.host_port_pair().HostForURL() + ":%/multipart'");
|
/external/chromium_org/chrome/browser/prerender/ |
prefetch_browsertest.cc | 52 ASSERT_TRUE(test_server()->Start()); 53 GURL url = test_server()->GetURL(kPrefetchPage); 65 ASSERT_TRUE(test_server()->Start()); 66 GURL url = test_server()->GetURL(kPrefetchPage);
|
/external/chromium_org/net/test/embedded_test_server/ |
http_response_unittest.cc | 10 namespace test_server { namespace in namespace:net 30 } // namespace test_server
|
/external/chromium_org/net/tools/testserver/ |
run_testserver.cc | 98 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())) { 116 UTF16ToUTF8(test_server->document_root().LossyDisplayName()).c_str()); 121 test_server->host_port_pair().ToString().c_str());
|
/external/chromium/chrome/browser/net/ |
cookie_policy_browsertest.cc | 14 #include "net/test/test_server.h" 71 ASSERT_TRUE(test_server()->Start()); 76 GURL url(test_server()->GetURL("set-cookie?cookie1")); 91 ASSERT_TRUE(test_server()->Start()); 96 GURL url(test_server()->GetURL("server-redirect?")); 97 GURL redirected_url(test_server()->GetURL("set-cookie?cookie2"));
|