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

Issue 23539003: Turn on Polymer TodoMVC tests on Dart buildbots (Closed)

Created:
7 years, 3 months ago by Jennifer Messerly
Modified:
7 years, 3 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Turn on Polymer TodoMVC tests on Dart buildbots The biggest changes are to the examples, but there's a small tweak to test_suite.dart as well, so it can load the HTML files. For now, we only test the development loop (content_shell+Dart VM). I'm working on changes to enable us to test the deploy story with dart2js. R=kustermann@google.com, sigmund@google.com Committed: https://code.google.com/p/dart/source/detail?r=26943

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 2

Patch Set 3 : #

Total comments: 8

Patch Set 4 : use unittest test_controller.js #

Total comments: 4

Patch Set 5 : #

Total comments: 6

Patch Set 6 : comments #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+262 lines, -1446 lines) Patch
M pkg/observe/lib/src/microtask.dart View 1 2 3 4 5 6 3 chunks +25 lines, -18 lines 0 comments Download
M pkg/polymer/build.dart View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
M pkg/polymer/lib/boot.js View 1 chunk +5 lines, -1 line 0 comments Download
M pkg/polymer/test/run.sh View 1 2 3 4 5 6 2 chunks +3 lines, -5 lines 0 comments Download
M pkg/polymer/test/run_all.dart View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M pkg/unittest/lib/test_controller.js View 1 2 3 4 5 1 chunk +9 lines, -1 line 0 comments Download
M samples/samples.status View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
D samples/third_party/todomvc/test/expected/todomvc_listorder_test.html.txt View 1 2 3 4 5 6 1 chunk +0 lines, -302 lines 0 comments Download
D samples/third_party/todomvc/test/expected/todomvc_mainpage2_test.html.txt View 1 2 3 4 5 6 1 chunk +0 lines, -265 lines 0 comments Download
D samples/third_party/todomvc/test/expected/todomvc_mainpage_test.html.txt View 1 2 3 4 5 6 1 chunk +0 lines, -240 lines 0 comments Download
D samples/third_party/todomvc/test/expected/todomvc_markdone_test.html.txt View 1 2 3 4 5 6 1 chunk +0 lines, -311 lines 0 comments Download
A samples/third_party/todomvc/test/listorder_test.dart View 1 2 3 4 5 6 1 chunk +57 lines, -0 lines 0 comments Download
A + samples/third_party/todomvc/test/listorder_test.html View 1 2 3 4 5 6 1 chunk +5 lines, -13 lines 0 comments Download
A samples/third_party/todomvc/test/mainpage_test.dart View 1 2 3 4 5 6 1 chunk +38 lines, -0 lines 0 comments Download
A + samples/third_party/todomvc/test/mainpage_test.html View 1 2 3 4 5 6 1 chunk +5 lines, -13 lines 0 comments Download
A + samples/third_party/todomvc/test/markdone_shadow_test.dart View 1 2 3 4 5 6 1 chunk +5 lines, -10 lines 0 comments Download
A + samples/third_party/todomvc/test/markdone_shadow_test.html View 1 2 3 4 5 6 1 chunk +9 lines, -17 lines 0 comments Download
A samples/third_party/todomvc/test/markdone_test.dart View 1 2 3 4 5 6 1 chunk +73 lines, -0 lines 0 comments Download
A + samples/third_party/todomvc/test/markdone_test.html View 1 2 3 4 5 6 1 chunk +5 lines, -13 lines 0 comments Download
D samples/third_party/todomvc/test/test.dart View 1 chunk +0 lines, -13 lines 0 comments Download
D samples/third_party/todomvc/test/todomvc_listorder_test.html View 1 chunk +0 lines, -58 lines 0 comments Download
D samples/third_party/todomvc/test/todomvc_mainpage2_test.html View 1 chunk +0 lines, -33 lines 0 comments Download
D samples/third_party/todomvc/test/todomvc_mainpage_test.html View 1 chunk +0 lines, -29 lines 0 comments Download
D samples/third_party/todomvc/test/todomvc_markdone_test.html View 1 chunk +0 lines, -86 lines 0 comments Download
M samples/third_party/todomvc/web/index.html View 1 chunk +1 line, -1 line 0 comments Download
M tools/testing/dart/test_suite.dart View 1 1 chunk +18 lines, -10 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Jennifer Messerly
Hi Martin, Do you mind having a look at the test_suite.dart changes? Siggi, would you ...
7 years, 3 months ago (2013-08-28 04:46:03 UTC) #1
Siggi Cherem (dart-lang)
lgtm! https://codereview.chromium.org/23539003/diff/3001/samples/tests/samples/samples.status File samples/tests/samples/samples.status (right): https://codereview.chromium.org/23539003/diff/3001/samples/tests/samples/samples.status#newcode44 samples/tests/samples/samples.status:44: # TODO(jmesserly): this test needs to be compiled ...
7 years, 3 months ago (2013-08-28 17:42:54 UTC) #2
kustermann
I'll take a closer look tomorrow. https://codereview.chromium.org/23539003/diff/6001/pkg/polymer/lib/testing/test_controller.js File pkg/polymer/lib/testing/test_controller.js (left): https://codereview.chromium.org/23539003/diff/6001/pkg/polymer/lib/testing/test_controller.js#oldcode28 pkg/polymer/lib/testing/test_controller.js:28: } Why did ...
7 years, 3 months ago (2013-08-28 17:56:45 UTC) #3
Jennifer Messerly
https://codereview.chromium.org/23539003/diff/6001/pkg/polymer/lib/testing/test_controller.js File pkg/polymer/lib/testing/test_controller.js (left): https://codereview.chromium.org/23539003/diff/6001/pkg/polymer/lib/testing/test_controller.js#oldcode28 pkg/polymer/lib/testing/test_controller.js:28: } On 2013/08/28 17:56:45, kustermann wrote: > Why did ...
7 years, 3 months ago (2013-08-28 18:11:05 UTC) #4
Jennifer Messerly
https://codereview.chromium.org/23539003/diff/6001/samples/tests/samples/todomvc/listorder_test.html File samples/tests/samples/todomvc/listorder_test.html (right): https://codereview.chromium.org/23539003/diff/6001/samples/tests/samples/todomvc/listorder_test.html#newcode14 samples/tests/samples/todomvc/listorder_test.html:14: <script src="packages/polymer/testing/test_controller.js"></script> On 2013/08/28 17:56:45, kustermann wrote: > Does ...
7 years, 3 months ago (2013-08-28 18:13:09 UTC) #5
Siggi Cherem (dart-lang)
https://codereview.chromium.org/23539003/diff/6001/pkg/polymer/lib/testing/test_controller.js File pkg/polymer/lib/testing/test_controller.js (right): https://codereview.chromium.org/23539003/diff/6001/pkg/polymer/lib/testing/test_controller.js#newcode10 pkg/polymer/lib/testing/test_controller.js:10: * It has been modified to work with package:polymer/boot.js. ...
7 years, 3 months ago (2013-08-28 18:21:10 UTC) #6
Jennifer Messerly
Thanks guys, PTAL! @Martin -- it now uses unittest's test_controller.js. Small change there to skip ...
7 years, 3 months ago (2013-08-28 19:19:31 UTC) #7
Siggi Cherem (dart-lang)
https://codereview.chromium.org/23539003/diff/16001/pkg/observe/lib/src/microtask.dart File pkg/observe/lib/src/microtask.dart (right): https://codereview.chromium.org/23539003/diff/16001/pkg/observe/lib/src/microtask.dart#newcode33 pkg/observe/lib/src/microtask.dart:33: final startLength = _pending.length; delete (unused variable) https://codereview.chromium.org/23539003/diff/16001/pkg/unittest/lib/test_controller.js File ...
7 years, 3 months ago (2013-08-28 19:46:51 UTC) #8
Jennifer Messerly
https://codereview.chromium.org/23539003/diff/16001/pkg/observe/lib/src/microtask.dart File pkg/observe/lib/src/microtask.dart (right): https://codereview.chromium.org/23539003/diff/16001/pkg/observe/lib/src/microtask.dart#newcode33 pkg/observe/lib/src/microtask.dart:33: final startLength = _pending.length; On 2013/08/28 19:46:51, Siggi Cherem ...
7 years, 3 months ago (2013-08-28 19:56:04 UTC) #9
Siggi Cherem (dart-lang)
lgtm
7 years, 3 months ago (2013-08-28 21:13:59 UTC) #10
kustermann
lgtm Here are a few notes, would be nice if you could comment on them ...
7 years, 3 months ago (2013-08-30 15:34:42 UTC) #11
Siggi Cherem (dart-lang)
Hi Martin, Good questions. I wrote a couple answers to some of your questions below ...
7 years, 3 months ago (2013-08-30 16:34:31 UTC) #12
Jennifer Messerly
I think Siggi addressed most of the comments, thanks! I just want to reiterate -- ...
7 years, 3 months ago (2013-08-30 18:07:36 UTC) #13
Jennifer Messerly
7 years, 3 months ago (2013-08-30 21:09:17 UTC) #14
Message was sent while issue was closed.
Committed patchset #7 manually as r26943 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698