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

Issue 2745293005: Moving mojo/validation test into LayoutTests (Closed)

Created:
3 years, 9 months ago by damargulis
Modified:
3 years, 7 months ago
CC:
Aaron Boodman, abarth-chromium, blink-reviews, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Moving mojo/validation test into LayoutTests part of the move started in Issue 2744763002 This moves the validation test BUG=647036

Patch Set 1 #

Total comments: 2

Patch Set 2 : finished validation tests including file fetching #

Patch Set 3 : remove old data files #

Total comments: 1

Patch Set 4 : put back old data files #

Total comments: 5

Patch Set 5 : Added BUILD action to generate data files list #

Total comments: 1

Patch Set 6 : fetch from gen directory #

Patch Set 7 : remove extra old dependency #

Total comments: 1

Patch Set 8 : set up dependency #

Patch Set 9 : . #

Patch Set 10 : set upstream #

Patch Set 11 : set upstream #

Patch Set 12 : fix merge mistakes #

Patch Set 13 : fetch from new location #

Total comments: 3

Patch Set 14 : fix nits #

Total comments: 1

Patch Set 15 : generate copies of data files #

Total comments: 9

Patch Set 16 : . #

Patch Set 17 : copy full folder #

Total comments: 1

Patch Set 18 : improve python script #

Patch Set 19 : added sources to script action #

Total comments: 4

Patch Set 20 : nits #

Patch Set 21 : . #

Total comments: 1

Patch Set 22 : nit #

Patch Set 23 : . #

Total comments: 1

Patch Set 24 : move into layout_test_data #

Patch Set 25 : rebase #

Patch Set 26 : . #

Patch Set 27 : . #

Patch Set 28 : windows fix #

Patch Set 29 : cleanup #

Patch Set 30 : rebase #

Patch Set 31 : . #

Patch Set 32 : test revert #

Patch Set 33 : rebase #

Patch Set 34 : re-windows fix #

Patch Set 35 : experiment #

Patch Set 36 : . #

Patch Set 37 : test #

Patch Set 38 : test #

Patch Set 39 : test #

Patch Set 40 : test #

Patch Set 41 : test #

Patch Set 42 : test response #

Patch Set 43 : test file placement #

Patch Set 44 : test file contents #

Unified diffs Side-by-side diffs Delta from patch set Stats (+384 lines, -651 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +1 line, -1 line 0 comments Download
M content/shell/renderer/layout_test/blink_test_runner.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/edk/js/tests/run_js_unittests.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +0 lines, -4 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +40 lines, -0 lines 0 comments Download
M mojo/public/js/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +0 lines, -3 lines 0 comments Download
D mojo/public/js/tests/validation_test_input_parser.js View 1 chunk +0 lines, -299 lines 0 comments Download
D mojo/public/js/tests/validation_unittest.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +0 lines, -343 lines 0 comments Download
A mojo/public/tools/bindings/gen_data_files_list.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 1 chunk +41 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/mojo/resources/validation_test_input_parser.js View 2 chunks +2 lines, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/mojo/validation.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 42 1 chunk +298 lines, -0 lines 0 comments Download

Messages

Total messages: 151 (105 generated)
damargulis
Hi, This is the beginning of the work to move the validation test from mojo/public/js/tests ...
3 years, 9 months ago (2017-03-14 18:55:21 UTC) #2
yzshen1
On 2017/03/14 18:55:21, damargulis wrote: > Hi, > > This is the beginning of the ...
3 years, 9 months ago (2017-03-14 19:58:58 UTC) #3
jbroman
https://codereview.chromium.org/2745293005/diff/1/third_party/WebKit/LayoutTests/mojo/validation.html File third_party/WebKit/LayoutTests/mojo/validation.html (right): https://codereview.chromium.org/2745293005/diff/1/third_party/WebKit/LayoutTests/mojo/validation.html#newcode141 third_party/WebKit/LayoutTests/mojo/validation.html:141: var sourceRoot = file.getSourceRootDirectory(); On 2017/03/14 at 18:55:21, damargulis ...
3 years, 9 months ago (2017-03-14 21:22:16 UTC) #4
damargulis
On 2017/03/14 21:22:16, jbroman wrote: > https://codereview.chromium.org/2745293005/diff/1/third_party/WebKit/LayoutTests/mojo/validation.html > File third_party/WebKit/LayoutTests/mojo/validation.html (right): > > https://codereview.chromium.org/2745293005/diff/1/third_party/WebKit/LayoutTests/mojo/validation.html#newcode141 > ...
3 years, 9 months ago (2017-03-15 00:49:36 UTC) #5
jbroman
On 2017/03/15 at 00:49:36, damargulis wrote: > On 2017/03/14 21:22:16, jbroman wrote: > > https://codereview.chromium.org/2745293005/diff/1/third_party/WebKit/LayoutTests/mojo/validation.html ...
3 years, 9 months ago (2017-03-15 14:47:46 UTC) #6
damargulis
On 2017/03/15 14:47:46, jbroman wrote: > On 2017/03/15 at 00:49:36, damargulis wrote: > > On ...
3 years, 9 months ago (2017-03-15 20:52:06 UTC) #7
jbroman
https://codereview.chromium.org/2745293005/diff/40001/mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd0_good.data File mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd0_good.data (left): https://codereview.chromium.org/2745293005/diff/40001/mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd0_good.data#oldcode1 mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd0_good.data:1: [dist4]message_header // num_bytes Don't the C++ unit tests still ...
3 years, 9 months ago (2017-03-15 20:59:07 UTC) #8
damargulis
On 2017/03/15 20:59:07, jbroman wrote: > https://codereview.chromium.org/2745293005/diff/40001/mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd0_good.data > File > mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd0_good.data > (left): > > ...
3 years, 9 months ago (2017-03-15 21:03:32 UTC) #9
damargulis
https://codereview.chromium.org/2745293005/diff/60001/third_party/WebKit/LayoutTests/mojo/validation.html File third_party/WebKit/LayoutTests/mojo/validation.html (right): https://codereview.chromium.org/2745293005/diff/60001/third_party/WebKit/LayoutTests/mojo/validation.html#newcode144 third_party/WebKit/LayoutTests/mojo/validation.html:144: resolve(xhr.responseText); I should mention here, I was not able ...
3 years, 9 months ago (2017-03-15 22:39:18 UTC) #12
yzshen1
https://codereview.chromium.org/2745293005/diff/60001/third_party/WebKit/LayoutTests/mojo/resources/data/validation/associated_conformance_mthd0_good.data File third_party/WebKit/LayoutTests/mojo/resources/data/validation/associated_conformance_mthd0_good.data (right): https://codereview.chromium.org/2745293005/diff/60001/third_party/WebKit/LayoutTests/mojo/resources/data/validation/associated_conformance_mthd0_good.data#newcode1 third_party/WebKit/LayoutTests/mojo/resources/data/validation/associated_conformance_mthd0_good.data:1: [dist4]message_header // num_bytes Are you going to duplicate the ...
3 years, 9 months ago (2017-03-16 16:40:54 UTC) #13
jbroman
https://codereview.chromium.org/2745293005/diff/60001/third_party/WebKit/LayoutTests/mojo/resources/data_files.txt File third_party/WebKit/LayoutTests/mojo/resources/data_files.txt (right): https://codereview.chromium.org/2745293005/diff/60001/third_party/WebKit/LayoutTests/mojo/resources/data_files.txt#newcode1 third_party/WebKit/LayoutTests/mojo/resources/data_files.txt:1: associated_conformance_mthd0_good.data On 2017/03/16 at 16:40:54, yzshen1 wrote: > It ...
3 years, 9 months ago (2017-03-16 19:48:04 UTC) #14
yzshen1
https://codereview.chromium.org/2745293005/diff/60001/third_party/WebKit/LayoutTests/mojo/resources/data_files.txt File third_party/WebKit/LayoutTests/mojo/resources/data_files.txt (right): https://codereview.chromium.org/2745293005/diff/60001/third_party/WebKit/LayoutTests/mojo/resources/data_files.txt#newcode1 third_party/WebKit/LayoutTests/mojo/resources/data_files.txt:1: associated_conformance_mthd0_good.data On 2017/03/16 19:48:03, jbroman wrote: > On 2017/03/16 ...
3 years, 9 months ago (2017-03-16 20:51:18 UTC) #15
yzshen1
On 2017/03/16 20:51:18, yzshen1 wrote: > https://codereview.chromium.org/2745293005/diff/60001/third_party/WebKit/LayoutTests/mojo/resources/data_files.txt > File third_party/WebKit/LayoutTests/mojo/resources/data_files.txt (right): > > https://codereview.chromium.org/2745293005/diff/60001/third_party/WebKit/LayoutTests/mojo/resources/data_files.txt#newcode1 > ...
3 years, 9 months ago (2017-03-16 20:53:08 UTC) #16
yzshen1
On 2017/03/16 20:53:08, yzshen1 wrote: > On 2017/03/16 20:51:18, yzshen1 wrote: > > > https://codereview.chromium.org/2745293005/diff/60001/third_party/WebKit/LayoutTests/mojo/resources/data_files.txt ...
3 years, 9 months ago (2017-03-16 22:08:04 UTC) #17
damargulis
https://codereview.chromium.org/2745293005/diff/80001/content/shell/renderer/layout_test/blink_test_runner.cc File content/shell/renderer/layout_test/blink_test_runner.cc (right): https://codereview.chromium.org/2745293005/diff/80001/content/shell/renderer/layout_test/blink_test_runner.cc#newcode378 content/shell/renderer/layout_test/blink_test_runner.cc:378: utf8_url.compare(0, genPrefixLen, genPrefix, genPrefixLen)) I was able to use ...
3 years, 9 months ago (2017-03-18 01:22:43 UTC) #19
yzshen1
On 2017/03/18 01:22:43, damargulis wrote: > https://codereview.chromium.org/2745293005/diff/80001/content/shell/renderer/layout_test/blink_test_runner.cc > File content/shell/renderer/layout_test/blink_test_runner.cc (right): > > https://codereview.chromium.org/2745293005/diff/80001/content/shell/renderer/layout_test/blink_test_runner.cc#newcode378 > ...
3 years, 9 months ago (2017-03-19 05:51:40 UTC) #20
damargulis
https://codereview.chromium.org/2745293005/diff/120001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/2745293005/diff/120001/BUILD.gn#newcode902 BUILD.gn:902: "//third_party/WebKit/LayoutTests/mojo:data_files", Using your patch, I was able to finish ...
3 years, 9 months ago (2017-03-21 16:56:44 UTC) #22
damargulis
On 2017/03/21 16:56:44, damargulis wrote: > https://codereview.chromium.org/2745293005/diff/120001/BUILD.gn > File BUILD.gn (right): > > https://codereview.chromium.org/2745293005/diff/120001/BUILD.gn#newcode902 > ...
3 years, 9 months ago (2017-03-21 21:52:40 UTC) #29
alokp
I just have a few nits. I will let jbroman/yzhen review the test. https://codereview.chromium.org/2745293005/diff/240001/BUILD.gn File ...
3 years, 9 months ago (2017-03-21 22:45:01 UTC) #34
yzshen1
https://codereview.chromium.org/2745293005/diff/260001/mojo/public/interfaces/bindings/tests/BUILD.gn File mojo/public/interfaces/bindings/tests/BUILD.gn (right): https://codereview.chromium.org/2745293005/diff/260001/mojo/public/interfaces/bindings/tests/BUILD.gn#newcode18 mojo/public/interfaces/bindings/tests/BUILD.gn:18: "$target_gen_dir/data_files.txt", In addition to generating this data_files.txt, does it ...
3 years, 9 months ago (2017-03-22 17:39:34 UTC) #36
damargulis
On 2017/03/22 17:39:34, yzshen1 wrote: > https://codereview.chromium.org/2745293005/diff/260001/mojo/public/interfaces/bindings/tests/BUILD.gn > File mojo/public/interfaces/bindings/tests/BUILD.gn (right): > > https://codereview.chromium.org/2745293005/diff/260001/mojo/public/interfaces/bindings/tests/BUILD.gn#newcode18 > ...
3 years, 9 months ago (2017-03-22 21:11:10 UTC) #37
Dirk Pranke
On 2017/03/22 21:11:10, damargulis wrote: > On 2017/03/22 17:39:34, yzshen1 wrote: > > > https://codereview.chromium.org/2745293005/diff/260001/mojo/public/interfaces/bindings/tests/BUILD.gn ...
3 years, 9 months ago (2017-03-23 01:00:26 UTC) #38
damargulis
On 2017/03/23 01:00:26, Dirk Pranke wrote: > On 2017/03/22 21:11:10, damargulis wrote: > > On ...
3 years, 9 months ago (2017-03-23 01:19:38 UTC) #39
yzshen1
A few more comments. https://codereview.chromium.org/2745293005/diff/280001/mojo/public/interfaces/bindings/tests/BUILD.gn File mojo/public/interfaces/bindings/tests/BUILD.gn (right): https://codereview.chromium.org/2745293005/diff/280001/mojo/public/interfaces/bindings/tests/BUILD.gn#newcode18 mojo/public/interfaces/bindings/tests/BUILD.gn:18: "$target_gen_dir/data_files.txt", please use a more ...
3 years, 9 months ago (2017-03-23 17:46:20 UTC) #40
damargulis
https://codereview.chromium.org/2745293005/diff/280001/mojo/public/interfaces/bindings/tests/BUILD.gn File mojo/public/interfaces/bindings/tests/BUILD.gn (right): https://codereview.chromium.org/2745293005/diff/280001/mojo/public/interfaces/bindings/tests/BUILD.gn#newcode19 mojo/public/interfaces/bindings/tests/BUILD.gn:19: "$target_gen_dir/data", On 2017/03/23 17:46:20, yzshen1 wrote: > I think ...
3 years, 9 months ago (2017-03-24 19:44:48 UTC) #41
damargulis
https://codereview.chromium.org/2745293005/diff/320001/mojo/public/interfaces/bindings/tests/BUILD.gn File mojo/public/interfaces/bindings/tests/BUILD.gn (right): https://codereview.chromium.org/2745293005/diff/320001/mojo/public/interfaces/bindings/tests/BUILD.gn#newcode28 mojo/public/interfaces/bindings/tests/BUILD.gn:28: sources = [ I take back all my previous ...
3 years, 9 months ago (2017-03-24 23:07:17 UTC) #42
yzshen1
LGTM Thanks! This is a nice change. :) https://codereview.chromium.org/2745293005/diff/360001/mojo/public/tools/bindings/gen_data_files_list.py File mojo/public/tools/bindings/gen_data_files_list.py (right): https://codereview.chromium.org/2745293005/diff/360001/mojo/public/tools/bindings/gen_data_files_list.py#newcode4 mojo/public/tools/bindings/gen_data_files_list.py:4: """Generates ...
3 years, 9 months ago (2017-03-27 00:29:17 UTC) #48
alokp
lgtm https://codereview.chromium.org/2745293005/diff/360001/mojo/public/interfaces/bindings/tests/BUILD.gn File mojo/public/interfaces/bindings/tests/BUILD.gn (right): https://codereview.chromium.org/2745293005/diff/360001/mojo/public/interfaces/bindings/tests/BUILD.gn#newcode11 mojo/public/interfaces/bindings/tests/BUILD.gn:11: ":validation_test_data", nit: Would it make sense to create ...
3 years, 9 months ago (2017-03-27 01:50:09 UTC) #49
jbroman
lgtm once dpranke is happy https://codereview.chromium.org/2745293005/diff/400001/mojo/public/tools/bindings/gen_data_files_list.py File mojo/public/tools/bindings/gen_data_files_list.py (right): https://codereview.chromium.org/2745293005/diff/400001/mojo/public/tools/bindings/gen_data_files_list.py#newcode32 mojo/public/tools/bindings/gen_data_files_list.py:32: with out: super-nit: might ...
3 years, 9 months ago (2017-03-27 19:01:02 UTC) #60
Dirk Pranke
apologies for the delay in getting back to this ... https://codereview.chromium.org/2745293005/diff/440001/mojo/public/interfaces/bindings/tests/BUILD.gn File mojo/public/interfaces/bindings/tests/BUILD.gn (right): https://codereview.chromium.org/2745293005/diff/440001/mojo/public/interfaces/bindings/tests/BUILD.gn#newcode43 ...
3 years, 8 months ago (2017-04-01 01:30:56 UTC) #69
yzshen1
On Mar 31, 2017 6:30 PM, <dpranke@chromium.org> wrote: apologies for the delay in getting back ...
3 years, 8 months ago (2017-04-01 03:42:12 UTC) #70
yzshen1
On Mar 31, 2017 6:30 PM, <dpranke@chromium.org> wrote: apologies for the delay in getting back ...
3 years, 8 months ago (2017-04-01 03:42:13 UTC) #71
alokp
> I have changed the zip_build script to include files in > gen/layout_test_data/. Please copy ...
3 years, 8 months ago (2017-04-01 04:33:09 UTC) #72
yzshen1
On Mar 31, 2017 9:33 PM, <alokp@chromium.org> wrote: > I have changed the zip_build script ...
3 years, 8 months ago (2017-04-01 04:40:57 UTC) #73
yzshen1
On Mar 31, 2017 9:33 PM, <alokp@chromium.org> wrote: > I have changed the zip_build script ...
3 years, 8 months ago (2017-04-01 04:40:58 UTC) #74
alokp
> I am going to only copy those necessary mojom.js files into > layout_test_data/. That ...
3 years, 8 months ago (2017-04-01 04:45:52 UTC) #75
yzshen1
On 2017/04/01 04:45:52, alokp wrote: > > I am going to only copy those necessary ...
3 years, 8 months ago (2017-04-01 05:09:10 UTC) #76
Dirk Pranke
One additional thing is that this is slightly independent of data_deps; data_deps would ensure that ...
3 years, 8 months ago (2017-04-02 21:39:02 UTC) #77
alokp
Yuzhu: Thanks for clarifying that generated JS bindings would still be generated in the usual ...
3 years, 8 months ago (2017-04-03 17:23:14 UTC) #78
damargulis
I moved all of the generated files so that they now live in /gen/layout_test_data/ This ...
3 years, 8 months ago (2017-04-03 21:44:19 UTC) #83
Dirk Pranke
On 2017/04/03 17:23:14, alokp wrote: > Yuzhu: Thanks for clarifying that generated JS bindings would ...
3 years, 8 months ago (2017-04-04 01:31:26 UTC) #84
Dirk Pranke
lgtm, also.
3 years, 8 months ago (2017-04-04 01:31:51 UTC) #85
yzshen1
On 2017/04/04 01:31:51, Dirk Pranke wrote: > lgtm, also. LGTM++ in case you are waiting ...
3 years, 8 months ago (2017-04-10 00:32:33 UTC) #86
damargulis
On 2017/04/10 00:32:33, yzshen1 wrote: > On 2017/04/04 01:31:51, Dirk Pranke wrote: > > lgtm, ...
3 years, 8 months ago (2017-04-10 23:46:55 UTC) #93
damargulis
I solved the issue on all but windows machines. I am waiting on a windows ...
3 years, 8 months ago (2017-04-11 17:04:24 UTC) #98
alokp
3 years, 7 months ago (2017-05-03 04:20:34 UTC) #151
I have taken ownership of this patch here:
https://codereview.chromium.org/2853293003/

Powered by Google App Engine
This is Rietveld 408576698