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

Issue 563453002: run-bindings-tests should use 'core' or 'modules' as component_dir. (Closed)

Created:
6 years, 3 months ago by tasak
Modified:
6 years, 3 months ago
Reviewers:
haraken, bashi
CC:
blink-reviews
Project:
blink
Visibility:
Public.

Description

run-bindings-tests should use 'core' or 'modules' as component_dir. Before applying this patch, run-bindings-tests uses 'tests' as component_dir. So tests results had '#include "bindings/tests/.../V8Test....h". However, for testing binding modularization, need to emluate 'Source/core' and 'Source/modules'. So Source/bindings/tests/idls/core should be treated as 'core' (i.e. the tests should be treated as if they are placed under Source/core). Souce/bindings/tests/idsl/modules should be treated as 'modules'. BUG=358074 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181875

Patch Set 1 : WIP: need to update Source/bindings/tests/results. #

Patch Set 2 : #

Total comments: 7

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -57 lines) Patch
M Source/bindings/tests/results/core/V8TestCallbackInterface.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestDictionary.cpp View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterface.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterface.cpp View 1 1 chunk +4 lines, -4 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterface2.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterface3.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceConstructor2.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceDocument.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceEventConstructor.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceEventConstructor.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceEventTarget.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceNode.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceNode.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceNotScriptWrappable.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceWillBeGarbageCollected.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceWillBeGarbageCollected.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestNode.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestObject.cpp View 1 2 1 chunk +20 lines, -20 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestSpecialOperations.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestTypedefs.cpp View 1 1 chunk +3 lines, -3 lines 0 comments Download
M Source/bindings/tests/results/modules/V8TestInterface5.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/modules/V8TestInterface5.cpp View 1 1 chunk +3 lines, -3 lines 0 comments Download
M Tools/Scripts/webkitpy/bindings/main.py View 1 2 3 chunks +19 lines, -1 line 0 comments Download

Messages

Total messages: 11 (2 generated)
tasak
Would you review this CL?
6 years, 3 months ago (2014-09-10 10:48:36 UTC) #2
haraken
https://codereview.chromium.org/563453002/diff/20001/Tools/Scripts/webkitpy/bindings/main.py File Tools/Scripts/webkitpy/bindings/main.py (right): https://codereview.chromium.org/563453002/diff/20001/Tools/Scripts/webkitpy/bindings/main.py#newcode95 Tools/Scripts/webkitpy/bindings/main.py:95: COMPONENT_PATH_PATTERN = re.compile(r'/(core|modules)(/|$)') How about using re.compile(r'/(core|modules|tests)(/|$)') ?
6 years, 3 months ago (2014-09-10 11:16:50 UTC) #3
bashi
https://codereview.chromium.org/563453002/diff/20001/Tools/Scripts/webkitpy/bindings/main.py File Tools/Scripts/webkitpy/bindings/main.py (right): https://codereview.chromium.org/563453002/diff/20001/Tools/Scripts/webkitpy/bindings/main.py#newcode100 Tools/Scripts/webkitpy/bindings/main.py:100: if match: When this check fails? https://codereview.chromium.org/563453002/diff/20001/Tools/Scripts/webkitpy/bindings/main.py#newcode138 Tools/Scripts/webkitpy/bindings/main.py:138: # ...
6 years, 3 months ago (2014-09-10 11:22:54 UTC) #4
tasak
Thank you for reviewing. https://codereview.chromium.org/563453002/diff/20001/Tools/Scripts/webkitpy/bindings/main.py File Tools/Scripts/webkitpy/bindings/main.py (right): https://codereview.chromium.org/563453002/diff/20001/Tools/Scripts/webkitpy/bindings/main.py#newcode95 Tools/Scripts/webkitpy/bindings/main.py:95: COMPONENT_PATH_PATTERN = re.compile(r'/(core|modules)(/|$)') On 2014/09/10 ...
6 years, 3 months ago (2014-09-11 02:52:02 UTC) #5
tasak
https://codereview.chromium.org/563453002/diff/20001/Tools/Scripts/webkitpy/bindings/main.py File Tools/Scripts/webkitpy/bindings/main.py (right): https://codereview.chromium.org/563453002/diff/20001/Tools/Scripts/webkitpy/bindings/main.py#newcode100 Tools/Scripts/webkitpy/bindings/main.py:100: if match: On 2014/09/11 02:52:01, tasak wrote: > On ...
6 years, 3 months ago (2014-09-11 05:55:24 UTC) #6
haraken
LGTM if bashi-san is OK with it.
6 years, 3 months ago (2014-09-11 06:29:32 UTC) #7
bashi
On 2014/09/11 06:29:32, haraken wrote: > LGTM if bashi-san is OK with it. LGTM. sorry ...
6 years, 3 months ago (2014-09-11 23:49:23 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/563453002/40001
6 years, 3 months ago (2014-09-12 03:36:58 UTC) #10
commit-bot: I haz the power
6 years, 3 months ago (2014-09-12 04:38:13 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as 181875

Powered by Google App Engine
This is Rietveld 408576698