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

Side by Side Diff: tests/isolate/typed_message_test.dart

Issue 1133983002: Move isolate tests to lib/isolate. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix merge Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/isolate/timer_isolate_test.dart ('k') | tests/language/deferred_in_isolate_app.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 // Dart test program for testing isolate communication with 4 // Dart test program for testing isolate communication with
5 // typed objects. 5 // typed objects.
6 // VMOptions=--checked 6 // VMOptions=--checked
7 7
8 library TypedMessageTest; 8 library TypedMessageTest;
9 import "dart:async"; 9 import "dart:async";
10 import "package:expect/expect.dart"; 10 import "package:expect/expect.dart";
(...skipping 30 matching lines...) Expand all
41 iterator.moveNext().then((b) { 41 iterator.moveNext().then((b) {
42 SendPort sendPort = iterator.current; 42 SendPort sendPort = iterator.current;
43 sendPort.send(msg); 43 sendPort.send(msg);
44 return iterator.moveNext(); 44 return iterator.moveNext();
45 }).then((b) { 45 }).then((b) {
46 Expect.equals(1, iterator.current); 46 Expect.equals(1, iterator.current);
47 receivePort.close(); 47 receivePort.close();
48 asyncEnd(); 48 asyncEnd();
49 }); 49 });
50 } 50 }
OLDNEW
« no previous file with comments | « tests/isolate/timer_isolate_test.dart ('k') | tests/language/deferred_in_isolate_app.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698