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

Unified Diff: chrome/test/base/in_process_browser_test.cc

Issue 10820007: Move all the layout tests that ran under browser_tests to run under content_browsertests. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 5 months 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: chrome/test/base/in_process_browser_test.cc
===================================================================
--- chrome/test/base/in_process_browser_test.cc (revision 148205)
+++ chrome/test/base/in_process_browser_test.cc (working copy)
@@ -78,11 +78,7 @@
chrome_path = chrome_path.Append(chrome::kBrowserProcessExecutablePath);
CHECK(PathService::Override(base::FILE_EXE, chrome_path));
#endif // defined(OS_MACOSX)
-
- test_server_.reset(new net::TestServer(
- net::TestServer::TYPE_HTTP,
- net::TestServer::kLocalhost,
- FilePath(FILE_PATH_LITERAL("chrome/test/data"))));
+ CreateTestServer("chrome/test/data");
}
InProcessBrowserTest::~InProcessBrowserTest() {
@@ -156,8 +152,6 @@
// Propagate commandline settings from test_launcher_utils.
test_launcher_utils::PrepareBrowserCommandLineForTests(command_line);
- command_line->AppendSwitch(switches::kDomAutomationController);
-
// This is a Browser test.
command_line->AppendSwitchASCII(switches::kTestType, kBrowserTestType);

Powered by Google App Engine
This is Rietveld 408576698