From 967c43ce2e52c96fb6f3a5c878d2973c7bcf2fc1 Mon Sep 17 00:00:00 2001 From: "toyoshim@chromium.org" Date: Tue, 22 Nov 2011 18:54:54 +0000 Subject: ui_tests and browser_tests use layout test data. They are stored in chrome/test/data/layout_tests/LayoutTests in svn or old git workflow. and in third_party/WebKit/LayoutTests in new git workflow. This change adds new query key chrome::DIR_LAYOUT_TESTS to PathService::Get(). Using this interface, each test easily get suitable path for their layout tests. BUG=105104 TEST=browser_tests; ui_tests Review URL: http://codereview.chromium.org/8641002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111186 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/chrome_paths.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'chrome/common/chrome_paths.h') diff --git a/chrome/common/chrome_paths.h b/chrome/common/chrome_paths.h index 4eeeaef..c6edfb3 100644 --- a/chrome/common/chrome_paths.h +++ b/chrome/common/chrome_paths.h @@ -100,6 +100,14 @@ enum { DIR_GEN_TEST_DATA, // Directory where generated test data resides. DIR_TEST_DATA, // Directory where unit test data resides. DIR_TEST_TOOLS, // Directory where unit test tools reside. + DIR_LAYOUT_TESTS, // Returns the LayoutTests path for layout + // tests. For the current git workflow, it + // returns + // third_party/WebKit/LayoutTests + // On svn workflow (including build machines) + // and older git workflow, it returns + // chrome/test/data/layout_tests/LayoutTests + // See, http://crbug.com/105104. PATH_END }; -- cgit v1.1