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

Issue 1677063003: More tests for async* functions (Closed)

Created:
4 years, 10 months ago by floitsch
Modified:
4 years, 10 months ago
Reviewers:
hausner
CC:
reviews_dartlang.org, Lasse Reichstein Nielsen, hausner
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

More tests for async* functions. An async* stream may only be canceled at yield-points. R=hausner@google.com Committed: https://github.com/dart-lang/sdk/commit/310385aeb2b007774cf90dd6e965dfd2861f915a

Patch Set 1 #

Patch Set 2 : Add another test. #

Total comments: 7

Patch Set 3 : Cancel only at yield points #

Patch Set 4 : Update status file. #

Total comments: 2

Patch Set 5 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -1 line) Patch
M sdk/lib/_internal/js_runtime/lib/async_patch.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
A tests/language/async_star_no_cancel2_test.dart View 1 2 3 4 1 chunk +59 lines, -0 lines 0 comments Download
A tests/language/async_star_no_cancel_test.dart View 1 2 3 4 1 chunk +49 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
floitsch
4 years, 10 months ago (2016-02-08 17:30:36 UTC) #3
Lasse Reichstein Nielsen
https://codereview.chromium.org/1677063003/diff/20001/sdk/lib/_internal/js_runtime/lib/async_patch.dart File sdk/lib/_internal/js_runtime/lib/async_patch.dart (right): https://codereview.chromium.org/1677063003/diff/20001/sdk/lib/_internal/js_runtime/lib/async_patch.dart#newcode264 sdk/lib/_internal/js_runtime/lib/async_patch.dart:264: /// completes. That's not correct. Canceled async* functions must ...
4 years, 10 months ago (2016-02-08 17:44:24 UTC) #5
Lasse Reichstein Nielsen
https://codereview.chromium.org/1677063003/diff/20001/sdk/lib/_internal/js_runtime/lib/async_patch.dart File sdk/lib/_internal/js_runtime/lib/async_patch.dart (right): https://codereview.chromium.org/1677063003/diff/20001/sdk/lib/_internal/js_runtime/lib/async_patch.dart#newcode264 sdk/lib/_internal/js_runtime/lib/async_patch.dart:264: /// completes. (or maybe I'm not understanding exactly what ...
4 years, 10 months ago (2016-02-08 20:54:44 UTC) #6
Lasse Reichstein Nielsen
https://codereview.chromium.org/1677063003/diff/20001/tests/language/async_star_cancels_after_await_test.dart File tests/language/async_star_cancels_after_await_test.dart (right): https://codereview.chromium.org/1677063003/diff/20001/tests/language/async_star_cancels_after_await_test.dart#newcode27 tests/language/async_star_cancels_after_await_test.dart:27: counter++; should there be a yield here? https://codereview.chromium.org/1677063003/diff/20001/tests/language/async_star_no_cancel_test.dart File ...
4 years, 10 months ago (2016-02-08 21:04:35 UTC) #7
floitsch
https://codereview.chromium.org/1677063003/diff/20001/sdk/lib/_internal/js_runtime/lib/async_patch.dart File sdk/lib/_internal/js_runtime/lib/async_patch.dart (right): https://codereview.chromium.org/1677063003/diff/20001/sdk/lib/_internal/js_runtime/lib/async_patch.dart#newcode264 sdk/lib/_internal/js_runtime/lib/async_patch.dart:264: /// completes. On 2016/02/08 17:44:24, Lasse Reichstein Nielsen wrote: ...
4 years, 10 months ago (2016-02-09 16:56:34 UTC) #9
floitsch
4 years, 10 months ago (2016-02-09 18:48:04 UTC) #11
floitsch
ping. (@Matthias I made you the main reviewer).
4 years, 10 months ago (2016-02-10 20:43:04 UTC) #12
hausner
Ah, didn't realize I was the main reviewer. LGTM w/comments. It would also be nice ...
4 years, 10 months ago (2016-02-10 21:13:17 UTC) #13
floitsch
Added more descriptive comments in the main-methods. https://chromiumcodereview.appspot.com/1677063003/diff/60001/tests/language/async_star_no_cancel_test.dart File tests/language/async_star_no_cancel_test.dart (right): https://chromiumcodereview.appspot.com/1677063003/diff/60001/tests/language/async_star_no_cancel_test.dart#newcode40 tests/language/async_star_no_cancel_test.dart:40: subscription.cancel().then((_) => ...
4 years, 10 months ago (2016-02-11 13:53:26 UTC) #14
floitsch
Committed patchset #5 (id:80001) manually as 310385aeb2b007774cf90dd6e965dfd2861f915a (presubmit successful).
4 years, 10 months ago (2016-02-11 13:53:50 UTC) #16
hausner
4 years, 10 months ago (2016-02-11 16:49:15 UTC) #17
Message was sent while issue was closed.
Nice, thank you.

Powered by Google App Engine
This is Rietveld 408576698