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

Issue 8641002: Add chrome::DIR_LAYOUT_TESTS to PathService::Get (Closed)

Created:
9 years, 1 month ago by Takashi Toyoshima
Modified:
9 years, 1 month ago
CC:
chromium-reviews, Aaron Boodman, Erik does not do reviews, mihaip+watch_chromium.org, Yuta Kitamura, sky
Visibility:
Public.

Description

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 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111186

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add ASSERT_TRUE for PathService::Get #

Patch Set 3 : Define chrome::DIR_LAYOUT_TESTS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -30 lines) Patch
M chrome/browser/extensions/extension_websocket_apitest.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/common/chrome_paths.h View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/common/chrome_paths.cc View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/test/ui/ui_layout_test.cc View 1 2 2 chunks +4 lines, -27 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Takashi Toyoshima
Hi Aaron, Paweł, I'd be happy if one of you guys review this change. Basically, ...
9 years, 1 month ago (2011-11-22 13:31:21 UTC) #1
Paweł Hajdan Jr.
Why can't the two workflows be more similar? http://codereview.chromium.org/8641002/diff/1/chrome/browser/extensions/extension_websocket_apitest.cc File chrome/browser/extensions/extension_websocket_apitest.cc (right): http://codereview.chromium.org/8641002/diff/1/chrome/browser/extensions/extension_websocket_apitest.cc#newcode18 chrome/browser/extensions/extension_websocket_apitest.cc:18: PathService::Get(base::DIR_SOURCE_ROOT, ...
9 years, 1 month ago (2011-11-22 13:48:51 UTC) #2
Takashi Toyoshima
Thanks Paweł. I added ASSERT_TRUE where you mentioned and upload new change. http://codereview.chromium.org/8641002/diff/1/chrome/browser/extensions/extension_websocket_apitest.cc File chrome/browser/extensions/extension_websocket_apitest.cc ...
9 years, 1 month ago (2011-11-22 13:56:59 UTC) #3
Paweł Hajdan Jr.
Please also note my question "Why can't the two workflows be more similar?"
9 years, 1 month ago (2011-11-22 14:09:09 UTC) #4
Takashi Toyoshima
We have a discussion in chromium-dev as follows, http://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/5eed52f911918891/b98403cf1d8d06d8?show_docid=b98403cf1d8d06d8&pli=1 Do you think I should add ...
9 years, 1 month ago (2011-11-22 14:27:51 UTC) #5
Paweł Hajdan Jr.
On 2011/11/22 14:27:51, toyoshim wrote: > We have a discussion in chromium-dev as follows, > ...
9 years, 1 month ago (2011-11-22 14:50:24 UTC) #6
Takashi Toyoshima
from mobile-phone. WebKit/LayoutTests is very huge. So, usually our bots don't have it. That's why ...
9 years, 1 month ago (2011-11-22 15:09:05 UTC) #7
Takashi Toyoshima
+sky@ becuase he was a reviewer for http://codereview.chromium.org/8357029 I revised this change by adding PathService::Get(chrome::DIR_LAYOUT_TESTS, ...
9 years, 1 month ago (2011-11-22 17:26:52 UTC) #8
sky
Do we need to support both paths?
9 years, 1 month ago (2011-11-22 17:45:03 UTC) #9
Takashi Toyoshima
New git workflow doesn't have chrome/test/data/layout_tests/LayoutTests because of the reason mentioned in chromium-dev's following thread. ...
9 years, 1 month ago (2011-11-22 17:51:40 UTC) #10
Paweł Hajdan Jr.
On 2011/11/22 17:51:40, toyoshim wrote: > New git workflow doesn't have chrome/test/data/layout_tests/LayoutTests > because of ...
9 years, 1 month ago (2011-11-22 18:05:36 UTC) #11
Takashi Toyoshima
As I said, we have many continuous test bots. It could not be possible that ...
9 years, 1 month ago (2011-11-22 18:32:10 UTC) #12
sky
LGTM
9 years, 1 month ago (2011-11-22 18:47:10 UTC) #13
Takashi Toyoshima
9 years, 1 month ago (2011-11-22 18:52:43 UTC) #14
Thank you guys.
Also, I posted an email on this change.
Because this change is not the best way to resolve LayoutTests place issue.

Thanks

Powered by Google App Engine
This is Rietveld 408576698