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

Issue 304793002: Support automatically resolving dependencies in javascript tests. (Closed)

Created:
6 years, 6 months ago by Peter Lundblad
Modified:
6 years, 6 months ago
CC:
chromium-reviews, oshima+watch_chromium.org, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, nkostylev+watch_chromium.org, yuzo+watch_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, stevenjb+watch_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkgr
Visibility:
Public.

Description

Support automatically resolving dependencies in javascript tests. BUG=371692 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275260

Patch Set 1 #

Patch Set 2 : rebase on top of Dominic's submitted test. #

Total comments: 8

Patch Set 3 : Move cvox tests to its own target: chromevox_tests. #

Patch Set 4 : Split closureModuleDeps from extraLibraries. #

Patch Set 5 : Address potential reason for trybot failures by actually adding the .gypi file that I wrote... #

Total comments: 3

Patch Set 6 : Various fixes. #

Total comments: 4

Patch Set 7 : Doc tweaks. #

Patch Set 8 : Fix misspelled filename. #

Patch Set 9 : Use new generate_deps.py, don't add closure's depswriter. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+559 lines, -1295 lines) Patch
M chrome/browser/resources/chromeos/chromevox/chromevox.gyp View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -1 line 0 comments Download
A chrome/browser/resources/chromeos/chromevox/chromevox_tests.gypi View 1 2 3 4 5 6 7 8 1 chunk +121 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/common/aria_util_test.js View 1 2 3 4 5 1 chunk +4 lines, -6 lines 0 comments Download
A chrome/browser/resources/chromeos/chromevox/tools/find_js_files.py View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/bidi_checker_web_ui_test.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/downloads_ui_browsertest.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/extensions/extension_settings_browsertest.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/identity_internals_ui_browsertest.h View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/ui/webui/inspect_ui_browsertest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/most_visited_browsertest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/options/options_browsertest.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/password_manager_internals/password_manager_internals_ui_browsertest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 4 chunks +3 lines, -5 lines 0 comments Download
M chrome/js_unittest_rules.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/test/base/js2gtest.js View 1 2 3 4 5 5 chunks +108 lines, -6 lines 0 comments Download
A + chrome/test/base/web_ui_browser_test.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
A + chrome/test/base/web_ui_browser_test.cc View 1 2 5 chunks +1 line, -240 lines 0 comments Download
A chrome/test/base/web_ui_browser_test_browsertest.cc View 1 2 1 chunk +245 lines, -0 lines 0 comments Download
D chrome/test/base/web_ui_browsertest.h View 1 2 1 chunk +0 lines, -191 lines 0 comments Download
D chrome/test/base/web_ui_browsertest.cc View 1 2 1 chunk +0 lines, -816 lines 0 comments Download
M chrome/test/data/webui/async_gen.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/webui/certificate_viewer_ui_test-inl.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/webui/chrome_send_browsertest.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/webui/history_ui_browsertest.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/webui/ntp4_browsertest.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/webui/print_preview.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/webui/test_api.js View 1 2 3 4 5 6 1 chunk +11 lines, -0 lines 0 comments Download
M tools/gypv8sh.py View 1 2 chunks +9 lines, -9 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
Peter Lundblad
@sky for chrome/test/base NOTE: If anyone has a suggestion for how to avoid the duplication ...
6 years, 6 months ago (2014-05-30 15:08:45 UTC) #1
Peter Lundblad
6 years, 6 months ago (2014-05-30 15:09:57 UTC) #2
sky
I'm not a good reviewer for chrome/test/base/js2gtest.js . Is there another owner you can find?
6 years, 6 months ago (2014-05-30 16:25:12 UTC) #3
Peter Lundblad
sky@chromium.org writes: > I'm not a good reviewer for chrome/test/base/js2gtest.js . Is there another > ...
6 years, 6 months ago (2014-05-30 16:34:13 UTC) #4
dmazzoni
https://codereview.chromium.org/304793002/diff/20001/chrome/browser/resources/chromeos/chromevox/common/aria_util_test.js File chrome/browser/resources/chromeos/chromevox/common/aria_util_test.js (right): https://codereview.chromium.org/304793002/diff/20001/chrome/browser/resources/chromeos/chromevox/common/aria_util_test.js#newcode19 chrome/browser/resources/chromeos/chromevox/common/aria_util_test.js:19: extraLibraries: [ Let's use something different like extraClosureModules or ...
6 years, 6 months ago (2014-05-30 17:03:41 UTC) #5
David Tseng
Drive-by https://codereview.chromium.org/304793002/diff/20001/chrome/browser/resources/chromeos/chromevox/common/aria_util_test.js File chrome/browser/resources/chromeos/chromevox/common/aria_util_test.js (right): https://codereview.chromium.org/304793002/diff/20001/chrome/browser/resources/chromeos/chromevox/common/aria_util_test.js#newcode22 chrome/browser/resources/chromeos/chromevox/common/aria_util_test.js:22: 'cvox.ChromeVox',] Is order important here (if not, sort). ...
6 years, 6 months ago (2014-05-30 17:08:46 UTC) #6
Peter Lundblad
dtseng@chromium.org writes: > Drive-by > > > https://codereview.chromium.org/304793002/diff/20001/chrome/browser/resources/chromeos/chromevox/common/aria_util_test.js > File > chrome/browser/resources/chromeos/chromevox/common/aria_util_test.js > (right): > ...
6 years, 6 months ago (2014-05-31 03:42:09 UTC) #7
Peter Lundblad
dmazzoni@chromium.org writes: > > https://codereview.chromium.org/304793002/diff/20001/chrome/browser/resources/chromeos/chromevox/common/aria_util_test.js > File > chrome/browser/resources/chromeos/chromevox/common/aria_util_test.js > (right): > > https://codereview.chromium.org/304793002/diff/20001/chrome/browser/resources/chromeos/chromevox/common/aria_util_test.js#newcode19 > ...
6 years, 6 months ago (2014-05-31 03:47:20 UTC) #8
dmazzoni
Moving web_ui_browser_test_browsertest.cc into its own file was definitely a good cleanup idea (besides being necessary ...
6 years, 6 months ago (2014-05-31 06:16:48 UTC) #9
Peter Lundblad
dmazzoni@chromium.org writes: > Moving web_ui_browser_test_browsertest.cc into its own file was definitely a > good cleanup ...
6 years, 6 months ago (2014-06-03 06:00:59 UTC) #10
dmazzoni
lgtm Love it. https://codereview.chromium.org/304793002/diff/100001/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (left): https://codereview.chromium.org/304793002/diff/100001/chrome/chrome_tests.gypi#oldcode1615 chrome/chrome_tests.gypi:1615: '<(accessibility_audit_js)', I don't think you want ...
6 years, 6 months ago (2014-06-03 16:16:28 UTC) #11
Peter Lundblad
dmazzoni@chromium.org writes: > lgtm > > Love it. > > > > https://codereview.chromium.org/304793002/diff/100001/chrome/chrome_tests.gypi > File ...
6 years, 6 months ago (2014-06-03 21:23:21 UTC) #12
Peter Lundblad
@jcivelli: Could you have a look at chrome/test/base? @jhawkins: Would you mind having a look ...
6 years, 6 months ago (2014-06-03 22:48:22 UTC) #13
James Hawkins
webui lgtm
6 years, 6 months ago (2014-06-03 22:53:34 UTC) #14
Peter Lundblad
@jcivelli: Friendly ping. Would you have a chance to have a look, please?
6 years, 6 months ago (2014-06-04 21:13:23 UTC) #15
jcivelli
On 2014/06/04 21:13:23, Peter Lundblad wrote: > @jcivelli: Friendly ping. Would you have a chance ...
6 years, 6 months ago (2014-06-04 23:35:20 UTC) #16
Peter Lundblad
@phajdan: Could you have a look at test/base/..., please?
6 years, 6 months ago (2014-06-04 23:57:49 UTC) #17
Peter Lundblad
jcivelli@google.com writes: > On 2014/06/04 21:13:23, Peter Lundblad wrote: > > @jcivelli: Friendly ping. Would ...
6 years, 6 months ago (2014-06-05 00:06:34 UTC) #18
Paweł Hajdan Jr.
LGTM
6 years, 6 months ago (2014-06-05 10:24:03 UTC) #19
Peter Lundblad
The CQ bit was checked by plundblad@chromium.org
6 years, 6 months ago (2014-06-05 14:57:02 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/plundblad@chromium.org/304793002/140001
6 years, 6 months ago (2014-06-05 15:00:38 UTC) #21
Peter Lundblad
The CQ bit was unchecked by plundblad@chromium.org
6 years, 6 months ago (2014-06-05 17:04:26 UTC) #22
Peter Lundblad
The CQ bit was checked by plundblad@chromium.org
6 years, 6 months ago (2014-06-05 18:08:03 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/plundblad@chromium.org/304793002/160001
6 years, 6 months ago (2014-06-05 18:09:28 UTC) #24
commit-bot: I haz the power
6 years, 6 months ago (2014-06-05 22:17:02 UTC) #25
Message was sent while issue was closed.
Change committed as 275260

Powered by Google App Engine
This is Rietveld 408576698