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

Issue 8333013: Allow generator javascript test files to go anywhere in the source tree (Closed)

Created:
9 years, 2 months ago by Sheridan Rawlins
Modified:
9 years, 2 months ago
CC:
chromium-reviews, Paweł Hajdan Jr., mmenke, flackr, rkc
Visibility:
Public.

Description

Allow generator javascript test files to go anywhere in the source tree - Allow javascript files anywhere in the source tree - specifically in the same directory as the implementation files. - Copy the files to '<(PRODUCT_DIR)/test_data/...' so that cros can copy these where they need to go for cross-platform testing using 'ebuild' R=jhawkins@chromium.org BUG=90907, 89337 TEST=browser_tests --gtest_filter=OptionsWebUITest.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106833

Patch Set 1 #

Patch Set 2 : Added moved but not added file. #

Patch Set 3 : roll to latest version of gyp. #

Patch Set 4 : Put msvs gyp vars in for win. #

Patch Set 5 : rebase #

Patch Set 6 : Copy javascript files to '<(PRODUCT_DIR)/test_data' with source path so they can go in tree. #

Patch Set 7 : Moved chrome/test/data/options.js -> chrome/browser/ui/webui/options/options_browsertest.js #

Patch Set 8 : Fix test_data FILE_PATH_LITERAL. #

Patch Set 9 : Fix escaping from windows file paths. #

Total comments: 4

Patch Set 10 : Address Nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -138 lines) Patch
M chrome/browser/ui/webui/javascript2webui.js View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
A + chrome/browser/ui/webui/options/options_browsertest.js View 1 2 3 4 5 6 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/browser/ui/webui/web_ui_browsertest.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/web_ui_browsertest.cc View 1 2 3 4 5 2 chunks +11 lines, -3 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 5 chunks +11 lines, -4 lines 0 comments Download
M chrome/common/chrome_paths.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_paths.cc View 1 2 3 4 5 6 7 8 9 3 chunks +10 lines, -3 lines 0 comments Download
D chrome/test/data/webui/options.js View 1 chunk +0 lines, -121 lines 0 comments Download
M tools/gypv8sh.py View 1 2 3 4 5 6 7 8 9 2 chunks +12 lines, -7 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Sheridan Rawlins
9 years, 2 months ago (2011-10-18 07:15:38 UTC) #1
James Hawkins
Hmm, is this a step towards moving the test js files into the *actual* options ...
9 years, 2 months ago (2011-10-18 17:54:02 UTC) #2
Sheridan Rawlins
On 2011/10/18 17:54:02, James Hawkins wrote: > Hmm, is this a step towards moving the ...
9 years, 2 months ago (2011-10-18 19:04:59 UTC) #3
James Hawkins
lgtm
9 years, 2 months ago (2011-10-18 19:06:31 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scr@chromium.org/8333013/2001
9 years, 2 months ago (2011-10-18 19:23:33 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scr@chromium.org/8333013/2001
9 years, 2 months ago (2011-10-18 19:25:21 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scr@chromium.org/8333013/10014
9 years, 2 months ago (2011-10-19 07:15:37 UTC) #7
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
9 years, 2 months ago (2011-10-19 08:42:33 UTC) #8
Sheridan Rawlins
James, I took this the rest of the way and moved options.js over to chrome/browser/ui/webui/options/options.js ...
9 years, 2 months ago (2011-10-21 04:13:43 UTC) #9
James Hawkins
On 2011/10/21 04:13:43, Sheridan Rawlins wrote: > James, I took this the rest of the ...
9 years, 2 months ago (2011-10-21 20:48:13 UTC) #10
Sheridan Rawlins
On 2011/10/21 20:48:13, James Hawkins wrote: > On 2011/10/21 04:13:43, Sheridan Rawlins wrote: > > ...
9 years, 2 months ago (2011-10-21 21:18:15 UTC) #11
James Hawkins
On 2011/10/21 21:18:15, Sheridan Rawlins wrote: > On 2011/10/21 20:48:13, James Hawkins wrote: > > ...
9 years, 2 months ago (2011-10-21 23:32:11 UTC) #12
James Hawkins
LGTM with nits. http://codereview.chromium.org/8333013/diff/13009/chrome/common/chrome_paths.cc File chrome/common/chrome_paths.cc (right): http://codereview.chromium.org/8333013/diff/13009/chrome/common/chrome_paths.cc#newcode287 chrome/common/chrome_paths.cc:287: if (!file_util::PathExists(cur)) // we don't want ...
9 years, 2 months ago (2011-10-21 23:35:49 UTC) #13
Sheridan Rawlins
http://codereview.chromium.org/8333013/diff/13009/chrome/common/chrome_paths.cc File chrome/common/chrome_paths.cc (right): http://codereview.chromium.org/8333013/diff/13009/chrome/common/chrome_paths.cc#newcode287 chrome/common/chrome_paths.cc:287: if (!file_util::PathExists(cur)) // we don't want to create this ...
9 years, 2 months ago (2011-10-22 00:09:11 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scr@chromium.org/8333013/19003
9 years, 2 months ago (2011-10-22 00:09:25 UTC) #15
commit-bot: I haz the power
9 years, 2 months ago (2011-10-22 01:46:06 UTC) #16
Change committed as 106833

Powered by Google App Engine
This is Rietveld 408576698