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

Issue 16958006: Added async_helper and fixed broken asynchronous test. (Closed)

Created:
7 years, 6 months ago by kustermann
Modified:
7 years, 6 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Added async_helper and fixed broken asynchronous test. R=ahe@google.com, efortuna@google.com, floitsch@google.com Committed: https://code.google.com/p/dart/source/detail?r=24339

Patch Set 1 #

Patch Set 2 : #

Total comments: 9

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -27 lines) Patch
M pkg/intl/test/intl_message_basic_example_test.dart View 1 chunk +19 lines, -21 lines 0 comments Download
A tests/async_helper.dart View 1 2 1 chunk +54 lines, -0 lines 0 comments Download
M tests/html/indexeddb_2_test.dart View 1 chunk +5 lines, -5 lines 0 comments Download
M tests/isolate/global_error_handler2_test.dart View 2 chunks +3 lines, -0 lines 0 comments Download
M tests/isolate/global_error_handler_stream2_test.dart View 2 chunks +8 lines, -1 line 0 comments Download
M tests/isolate/illegal_msg_stream_test.dart View 2 chunks +3 lines, -0 lines 0 comments Download
M tests/isolate/illegal_msg_test.dart View 2 chunks +3 lines, -0 lines 0 comments Download
M tests/isolate/isolate2_negative_test.dart View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
kustermann
This CL will fix some of the double reporting issues we had. Turned out that ...
7 years, 6 months ago (2013-06-13 14:40:51 UTC) #1
ahe
I think we need to identify the original owners of these tests and get their ...
7 years, 6 months ago (2013-06-13 14:57:26 UTC) #2
kustermann
On 2013/06/13 14:57:26, ahe wrote: > I think we need to identify the original owners ...
7 years, 6 months ago (2013-06-13 15:04:43 UTC) #3
ahe
async_helper.dart, LGTM https://codereview.chromium.org/16958006/diff/2001/tests/async_helper.dart File tests/async_helper.dart (right): https://codereview.chromium.org/16958006/diff/2001/tests/async_helper.dart#newcode7 tests/async_helper.dart:7: // This library is used for testing ...
7 years, 6 months ago (2013-06-17 13:51:11 UTC) #4
kustermann
+floitsch for async/isolate +efortuna for indexeddb +alanknight for pkg/intl/test
7 years, 6 months ago (2013-06-20 14:42:15 UTC) #5
floitsch
LGTM. As far as I can tell all isolate tests rely on ReceivePorts to keep ...
7 years, 6 months ago (2013-06-20 14:59:35 UTC) #6
Emily Fortuna
indexeddb lgtm
7 years, 6 months ago (2013-06-20 20:58:34 UTC) #7
kustermann
Committed patchset #3 manually as r24339 (presubmit successful).
7 years, 6 months ago (2013-06-24 15:47:12 UTC) #8
Alan Knight
Sorry, I missed this when it first came through, so a belated LGTM on the ...
7 years, 6 months ago (2013-06-24 16:45:25 UTC) #9
kustermann
7 years, 6 months ago (2013-06-25 07:14:21 UTC) #10
Message was sent while issue was closed.
https://codereview.chromium.org/16958006/diff/2001/tests/async_helper.dart
File tests/async_helper.dart (right):

https://codereview.chromium.org/16958006/diff/2001/tests/async_helper.dart#ne...
tests/async_helper.dart:7: // This library is used for testing asynchronous
tests.
On 2013/06/17 13:51:11, ahe wrote:
> This should be a documentation comment and go before the the library tag.

Done.

https://codereview.chromium.org/16958006/diff/2001/tests/async_helper.dart#ne...
tests/async_helper.dart:25: void _throwError(String msg) {
On 2013/06/17 13:51:11, ahe wrote:
> This method is will create annoying stack traces.  I'd prefer if you do not
> throw in this method (return the exception instead).

Done.

https://codereview.chromium.org/16958006/diff/2001/tests/async_helper.dart#ne...
tests/async_helper.dart:54: 
On 2013/06/17 13:51:11, ahe wrote:
> Extra line at end of file.

Done.

https://codereview.chromium.org/16958006/diff/2001/tests/lib/async/run_async6...
File tests/lib/async/run_async6_test.dart (right):

https://codereview.chromium.org/16958006/diff/2001/tests/lib/async/run_async6...
tests/lib/async/run_async6_test.dart:15: runAsync(expectAsync0(() {}));
On 2013/06/20 14:59:35, floitsch wrote:
> why is this change needed?

You're right, this should not be necessary.

Powered by Google App Engine
This is Rietveld 408576698