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

Unified Diff: content/test/content_browser_test.cc

Issue 11094040: BrowserTestBase::CreateTestServer should accept FilePath (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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: content/test/content_browser_test.cc
diff --git a/content/test/content_browser_test.cc b/content/test/content_browser_test.cc
index 7173515261e24711953489d542228a26e8e0ccfe..5ff3f65fa5a83d0931cb75b993257d8a6b46a28f 100644
--- a/content/test/content_browser_test.cc
+++ b/content/test/content_browser_test.cc
@@ -41,7 +41,9 @@ ContentBrowserTest::ContentBrowserTest() {
FILE_PATH_LITERAL("Content Shell.app/Contents/MacOS/Content Shell"));
CHECK(PathService::Override(base::FILE_EXE, content_shell_path));
#endif
- CreateTestServer("content/test/data");
+ CreateTestServer(FilePath(FILE_PATH_LITERAL("content"))
+ .Append(FILE_PATH_LITERAL("test"))
+ .Append(FILE_PATH_LITERAL("data")));
Ryan Sleevi 2012/10/10 17:38:40 You can just use FILE_PATH_LITERAL("content/test/d
Takashi Toyoshima 2012/10/11 03:55:37 Done.
}
ContentBrowserTest::~ContentBrowserTest() {
« chrome/test/base/in_process_browser_test.cc ('K') | « content/public/test/browser_test_base.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698