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

Issue 2568693002: Add first bindings unit test and enable testing. (Closed)

Created:
4 years ago by dglazkov
Modified:
4 years ago
CC:
blink-reviews, blink-reviews-bindings_chromium.org, chromium-reviews, Dirk Pranke
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add first bindings unit test and enable testing. Also: * Quick refactor of jinja2 context creation into a builder. * Switched Attribute/Method to dicts. * Added a bit more meat more to header template. * Added nicer parameter handling to run-bindings-tests * Added stub helper for unit tests. BUG=654129 R=bashi,yukishiino,haraken Committed: https://crrev.com/0c7a8ec99ddb52ef1e0db1423b7a774f85506bc2 Cr-Commit-Position: refs/heads/master@{#437989}

Patch Set 1 #

Patch Set 2 : Add harness code after typ roll. #

Total comments: 7

Messages

Total messages: 29 (14 generated)
dglazkov
Add harness code after typ roll.
4 years ago (2016-12-12 03:54:03 UTC) #1
dglazkov
PTAL.
4 years ago (2016-12-12 03:55:48 UTC) #5
haraken
LGTM https://codereview.chromium.org/2568693002/diff/20001/third_party/WebKit/Source/bindings/tests/results/core/WebTestInterface3.cpp File third_party/WebKit/Source/bindings/tests/results/core/WebTestInterface3.cpp (right): https://codereview.chromium.org/2568693002/diff/20001/third_party/WebKit/Source/bindings/tests/results/core/WebTestInterface3.cpp#newcode14 third_party/WebKit/Source/bindings/tests/results/core/WebTestInterface3.cpp:14: #include "WebIterator.h" These header files look strange though; ...
4 years ago (2016-12-12 04:20:08 UTC) #6
peria
https://codereview.chromium.org/2568693002/diff/20001/third_party/WebKit/Tools/Scripts/run-bindings-tests File third_party/WebKit/Tools/Scripts/run-bindings-tests (right): https://codereview.chromium.org/2568693002/diff/20001/third_party/WebKit/Tools/Scripts/run-bindings-tests#newcode43 third_party/WebKit/Tools/Scripts/run-bindings-tests:43: argument_parser = typ.ArgumentParser() optional: I prefer to put a ...
4 years ago (2016-12-12 04:43:10 UTC) #8
dglazkov
On 2016/12/12 at 04:20:08, haraken wrote: > LGTM > > https://codereview.chromium.org/2568693002/diff/20001/third_party/WebKit/Source/bindings/tests/results/core/WebTestInterface3.cpp > File third_party/WebKit/Source/bindings/tests/results/core/WebTestInterface3.cpp (right): ...
4 years ago (2016-12-12 05:01:41 UTC) #9
bashi
This CL lgtm (but I have one question). https://codereview.chromium.org/2568693002/diff/20001/third_party/WebKit/Source/bindings/scripts/code_generator_web_module.py File third_party/WebKit/Source/bindings/scripts/code_generator_web_module.py (right): https://codereview.chromium.org/2568693002/diff/20001/third_party/WebKit/Source/bindings/scripts/code_generator_web_module.py#newcode81 third_party/WebKit/Source/bindings/scripts/code_generator_web_module.py:81: return_type ...
4 years ago (2016-12-12 05:04:38 UTC) #11
dglazkov
https://codereview.chromium.org/2568693002/diff/20001/third_party/WebKit/Tools/Scripts/run-bindings-tests File third_party/WebKit/Tools/Scripts/run-bindings-tests (right): https://codereview.chromium.org/2568693002/diff/20001/third_party/WebKit/Tools/Scripts/run-bindings-tests#newcode43 third_party/WebKit/Tools/Scripts/run-bindings-tests:43: argument_parser = typ.ArgumentParser() On 2016/12/12 at 04:43:10, peria wrote: ...
4 years ago (2016-12-12 05:08:22 UTC) #13
dglazkov
On 2016/12/12 at 05:04:38, bashi wrote: > This CL lgtm (but I have one question). ...
4 years ago (2016-12-12 05:18:21 UTC) #14
dglazkov
Filed http://crbug.com/673213 and http://crbug.com/673214 as follow-ups.
4 years ago (2016-12-12 05:18:45 UTC) #15
bashi
On 2016/12/12 05:18:45, dglazkov wrote: > Filed http://crbug.com/673213 and http://crbug.com/673214 as follow-ups. Thank you! (+yukishiino@ ...
4 years ago (2016-12-12 05:20:37 UTC) #18
peria
On 2016/12/12 05:08:22, dglazkov wrote: > https://codereview.chromium.org/2568693002/diff/20001/third_party/WebKit/Tools/Scripts/run-bindings-tests > File third_party/WebKit/Tools/Scripts/run-bindings-tests (right): > > https://codereview.chromium.org/2568693002/diff/20001/third_party/WebKit/Tools/Scripts/run-bindings-tests#newcode43 > ...
4 years ago (2016-12-12 05:35:18 UTC) #21
Yuki
LGTM deferring details to bashi@.
4 years ago (2016-12-12 07:12:38 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2568693002/20001
4 years ago (2016-12-13 02:20:37 UTC) #24
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-13 02:28:32 UTC) #27
commit-bot: I haz the power
4 years ago (2016-12-13 02:31:36 UTC) #29
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0c7a8ec99ddb52ef1e0db1423b7a774f85506bc2
Cr-Commit-Position: refs/heads/master@{#437989}

Powered by Google App Engine
This is Rietveld 408576698