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

Issue 1128843007: Add tests for third_party/closure_compiler/compile.py (Closed)

Created:
5 years, 7 months ago by Theresa
Modified:
5 years, 7 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews, vitalyp+closure_chromium.org, jlklein+watch-closure_chromium.org, dbeam+watch-closure_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add tests for third_party/closure_compiler/compile.py Add basic tests for compile.py: valid JS compiles and produces expected output files; invalid JS does not produce output files; multiple JS files compile; output wrapper compiles. BUG=486100 Committed: https://crrev.com/2cbf34d4a44319dcbfb22f42ad5b300ff20802ac Cr-Commit-Position: refs/heads/master@{#330771}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Merge tests into compiler_test.py #

Total comments: 28

Patch Set 3 : Changes based on last review #

Total comments: 6

Patch Set 4 : More changes from review #

Patch Set 5 : Move out_dir creation to _run_js_check() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -253 lines) Patch
M third_party/closure_compiler/compile.py View 1 2 3 4 2 chunks +3 lines, -5 lines 0 comments Download
D third_party/closure_compiler/compiler_customization_test.py View 1 1 chunk +0 lines, -240 lines 0 comments Download
A + third_party/closure_compiler/compiler_test.py View 1 2 3 4 3 chunks +91 lines, -6 lines 0 comments Download
M third_party/closure_compiler/run_tests.py View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (2 generated)
Theresa
ptal
5 years, 7 months ago (2015-05-19 01:57:34 UTC) #2
Dan Beam
https://codereview.chromium.org/1128843007/diff/1/third_party/closure_compiler/compile_test.py File third_party/closure_compiler/compile_test.py (right): https://codereview.chromium.org/1128843007/diff/1/third_party/closure_compiler/compile_test.py#newcode16 third_party/closure_compiler/compile_test.py:16: "polymer.externs.js") can we merge this in with the customization ...
5 years, 7 months ago (2015-05-19 17:05:38 UTC) #3
Theresa
merged (and renamed) https://codereview.chromium.org/1128843007/diff/1/third_party/closure_compiler/compile_test.py File third_party/closure_compiler/compile_test.py (right): https://codereview.chromium.org/1128843007/diff/1/third_party/closure_compiler/compile_test.py#newcode16 third_party/closure_compiler/compile_test.py:16: "polymer.externs.js") On 2015/05/19 17:05:38, Dan Beam ...
5 years, 7 months ago (2015-05-19 17:48:46 UTC) #4
Dan Beam
https://codereview.chromium.org/1128843007/diff/20001/third_party/closure_compiler/compiler_test.py File third_party/closure_compiler/compiler_test.py (right): https://codereview.chromium.org/1128843007/diff/20001/third_party/closure_compiler/compiler_test.py#newcode31 third_party/closure_compiler/compiler_test.py:31: def tearDown(self): # remove all files regardless of success ...
5 years, 7 months ago (2015-05-19 18:23:33 UTC) #5
Theresa
https://codereview.chromium.org/1128843007/diff/20001/third_party/closure_compiler/compiler_test.py File third_party/closure_compiler/compiler_test.py (right): https://codereview.chromium.org/1128843007/diff/20001/third_party/closure_compiler/compiler_test.py#newcode68 third_party/closure_compiler/compiler_test.py:68: def _createOutFiles(self): On 2015/05/19 18:23:32, Dan Beam wrote: > ...
5 years, 7 months ago (2015-05-19 18:29:23 UTC) #6
Theresa
ptal https://codereview.chromium.org/1128843007/diff/20001/third_party/closure_compiler/compiler_test.py File third_party/closure_compiler/compiler_test.py (right): https://codereview.chromium.org/1128843007/diff/20001/third_party/closure_compiler/compiler_test.py#newcode31 third_party/closure_compiler/compiler_test.py:31: On 2015/05/19 18:23:33, Dan Beam wrote: > def ...
5 years, 7 months ago (2015-05-19 19:21:02 UTC) #7
Dan Beam
https://codereview.chromium.org/1128843007/diff/40001/third_party/closure_compiler/compiler_test.py File third_party/closure_compiler/compiler_test.py (right): https://codereview.chromium.org/1128843007/diff/40001/third_party/closure_compiler/compiler_test.py#newcode38 third_party/closure_compiler/compiler_test.py:38: nit: remove \n https://codereview.chromium.org/1128843007/diff/40001/third_party/closure_compiler/compiler_test.py#newcode75 third_party/closure_compiler/compiler_test.py:75: out_file = "/tmp/gen/script.js" Also ...
5 years, 7 months ago (2015-05-19 23:04:39 UTC) #8
Theresa
https://codereview.chromium.org/1128843007/diff/40001/third_party/closure_compiler/compiler_test.py File third_party/closure_compiler/compiler_test.py (right): https://codereview.chromium.org/1128843007/diff/40001/third_party/closure_compiler/compiler_test.py#newcode38 third_party/closure_compiler/compiler_test.py:38: On 2015/05/19 23:04:38, Dan Beam wrote: > nit: remove ...
5 years, 7 months ago (2015-05-20 01:54:38 UTC) #9
Dan Beam
https://codereview.chromium.org/1128843007/diff/20001/third_party/closure_compiler/compiler_test.py File third_party/closure_compiler/compiler_test.py (right): https://codereview.chromium.org/1128843007/diff/20001/third_party/closure_compiler/compiler_test.py#newcode68 third_party/closure_compiler/compiler_test.py:68: def _createOutFiles(self): On 2015/05/19 18:29:23, Theresa Wellington wrote: > ...
5 years, 7 months ago (2015-05-20 02:01:00 UTC) #10
Dan Beam
https://codereview.chromium.org/1128843007/diff/20001/third_party/closure_compiler/compiler_test.py File third_party/closure_compiler/compiler_test.py (right): https://codereview.chromium.org/1128843007/diff/20001/third_party/closure_compiler/compiler_test.py#newcode68 third_party/closure_compiler/compiler_test.py:68: def _createOutFiles(self): On 2015/05/20 02:01:00, Dan Beam wrote: > ...
5 years, 7 months ago (2015-05-20 02:05:33 UTC) #11
Theresa
https://codereview.chromium.org/1128843007/diff/20001/third_party/closure_compiler/compiler_test.py File third_party/closure_compiler/compiler_test.py (right): https://codereview.chromium.org/1128843007/diff/20001/third_party/closure_compiler/compiler_test.py#newcode68 third_party/closure_compiler/compiler_test.py:68: def _createOutFiles(self): On 2015/05/20 02:05:33, Dan Beam wrote: > ...
5 years, 7 months ago (2015-05-20 02:07:37 UTC) #12
Dan Beam
lgtm
5 years, 7 months ago (2015-05-20 17:57:46 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1128843007/80001
5 years, 7 months ago (2015-05-20 18:01:42 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 7 months ago (2015-05-20 18:11:00 UTC) #16
commit-bot: I haz the power
5 years, 7 months ago (2015-05-20 18:11:49 UTC) #17
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/2cbf34d4a44319dcbfb22f42ad5b300ff20802ac
Cr-Commit-Position: refs/heads/master@{#330771}

Powered by Google App Engine
This is Rietveld 408576698