Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(446)

Unified Diff: content/test/browser_test_utils_browsertest.cc

Issue 1411073005: Migrating tests to use EmbeddedTestServer (/content) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/test/browser_test_utils_browsertest.cc
diff --git a/content/test/browser_test_utils_browsertest.cc b/content/test/browser_test_utils_browsertest.cc
index 15f65aee3c4752f5af5ec61b6820a5f7fbe7d8ff..423f0975286551e5f2b6847e52f9f767be7626d1 100644
--- a/content/test/browser_test_utils_browsertest.cc
+++ b/content/test/browser_test_utils_browsertest.cc
@@ -55,7 +55,7 @@ IN_PROC_BROWSER_TEST_F(CrossSiteRedirectorBrowserTest,
VerifyCrossSiteRedirectURL) {
// Map all hosts to localhost and setup the EmbeddedTestServer for redirects.
host_resolver()->AddRule("*", "127.0.0.1");
- ASSERT_TRUE(embedded_test_server()->InitializeAndWaitUntilReady());
+ ASSERT_TRUE(embedded_test_server()->Start());
SetupCrossSiteRedirector(embedded_test_server());
// Navigate to http://localhost:<port>/cross-site/foo.com/title2.html and
« no previous file with comments | « content/renderer/resource_fetcher_browsertest.cc ('k') | content/test/data/cross_site_document_request.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698