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

Issue 10412015: aChange all asyncTest/callbackDone style tests to use the new expectAsync/ (Closed)

Created:
8 years, 7 months ago by gram
Modified:
8 years, 7 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Change asyncTest/callbackDone style tests to use the new expectAsync/ guardAsync form, and fix a couple of issues in the unit test library related to these. Note: this CL covers the changes in the tests directory. There are a few changes in utils and samples; these will de done in a separate CL. Committed: https://code.google.com/p/dart/source/detail?r=7877

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 36

Patch Set 4 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+460 lines, -413 lines) Patch
M lib/unittest/unittest.dart View 1 2 3 3 chunks +25 lines, -16 lines 0 comments Download
M tests/benchmark_smoke/benchmark_smoke_test.dart View 1 2 chunks +2 lines, -3 lines 0 comments Download
M tests/dom/async_window_test.dart View 1 2 3 1 chunk +6 lines, -6 lines 1 comment Download
M tests/dom/dom_isolates_test.dart View 1 1 chunk +14 lines, -14 lines 0 comments Download
M tests/dom/indexeddb_1_test.dart View 1 9 chunks +39 lines, -28 lines 0 comments Download
M tests/dom/indexeddb_2_test.dart View 1 5 chunks +19 lines, -15 lines 0 comments Download
M tests/dom/indexeddb_3_test.dart View 1 2 3 6 chunks +46 lines, -44 lines 0 comments Download
M tests/dom/indexeddb_4_test.dart View 1 2 3 6 chunks +33 lines, -28 lines 0 comments Download
M tests/dom/inner_frame_test.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
M tests/dom/isolates_test.dart View 1 2 3 1 chunk +10 lines, -12 lines 0 comments Download
M tests/dom/request_animation_frame_test.dart View 1 2 3 1 chunk +7 lines, -7 lines 0 comments Download
M tests/dom/window_open_test.dart View 1 2 chunks +4 lines, -4 lines 0 comments Download
M tests/dom/xhr_test.dart View 1 1 chunk +3 lines, -4 lines 0 comments Download
M tests/html/async_window_test.dart View 1 2 3 1 chunk +6 lines, -6 lines 0 comments Download
M tests/html/documentfragment_test.dart View 1 2 chunks +6 lines, -8 lines 0 comments Download
M tests/html/dom_isolates_test.dart View 1 1 chunk +16 lines, -14 lines 0 comments Download
M tests/html/element_test.dart View 1 3 chunks +6 lines, -8 lines 0 comments Download
M tests/html/indexeddb_1_test.dart View 1 9 chunks +40 lines, -30 lines 0 comments Download
M tests/html/indexeddb_2_test.dart View 1 2 3 5 chunks +19 lines, -13 lines 0 comments Download
M tests/html/indexeddb_3_test.dart View 1 2 3 6 chunks +46 lines, -44 lines 0 comments Download
M tests/html/indexeddb_4_test.dart View 1 2 3 5 chunks +47 lines, -42 lines 0 comments Download
M tests/html/inner_frame_test.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
M tests/html/isolates_test.dart View 1 2 3 1 chunk +18 lines, -12 lines 0 comments Download
M tests/html/measurement_test.dart View 1 1 chunk +6 lines, -8 lines 0 comments Download
M tests/html/request_animation_frame_test.dart View 1 1 chunk +5 lines, -6 lines 0 comments Download
M tests/html/window_open_test.dart View 1 2 chunks +6 lines, -4 lines 0 comments Download
M tests/html/xhr_test.dart View 1 1 chunk +6 lines, -8 lines 0 comments Download
M tests/html/xmldocument_test.dart View 1 2 chunks +9 lines, -12 lines 0 comments Download
M tests/html/xmlelement_test.dart View 1 1 chunk +9 lines, -9 lines 0 comments Download
M tests/isolate/v2_compute_this_script_browser_test.dart View 1 1 chunk +3 lines, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
gram
8 years, 7 months ago (2012-05-21 21:44:18 UTC) #1
Siggi Cherem (dart-lang)
https://chromiumcodereview.appspot.com/10412015/diff/5001/lib/unittest/unittest.dart File lib/unittest/unittest.dart (right): https://chromiumcodereview.appspot.com/10412015/diff/5001/lib/unittest/unittest.dart#newcode414 lib/unittest/unittest.dart:414: // that is recursively invoked in the case of ...
8 years, 7 months ago (2012-05-21 22:20:47 UTC) #2
gram
https://chromiumcodereview.appspot.com/10412015/diff/5001/lib/unittest/unittest.dart File lib/unittest/unittest.dart (right): https://chromiumcodereview.appspot.com/10412015/diff/5001/lib/unittest/unittest.dart#newcode414 lib/unittest/unittest.dart:414: // that is recursively invoked in the case of ...
8 years, 7 months ago (2012-05-22 17:36:36 UTC) #3
Siggi Cherem (dart-lang)
8 years, 7 months ago (2012-05-22 19:50:15 UTC) #4
lgtm!... after addressing the comment below :-)

https://chromiumcodereview.appspot.com/10412015/diff/3036/tests/dom/async_win...
File tests/dom/async_window_test.dart (right):

https://chromiumcodereview.appspot.com/10412015/diff/3036/tests/dom/async_win...
tests/dom/async_window_test.dart:26: }, 3), 10);
style: add 'count: ' in front of 3 (since this is an optional argument, we
specify it with it's name)

Here and elsewhere in the CL

Powered by Google App Engine
This is Rietveld 408576698