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

Side by Side Diff: dart/tests/html/isolates_test.dart

Issue 60293003: Version 0.8.10.5 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month 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 | « dart/tests/html/html.status ('k') | dart/tests/language/div_with_power_of_two2_test.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 library IsolatesTest; 1 library IsolatesTest;
2 import '../../pkg/unittest/lib/unittest.dart'; 2 import '../../pkg/unittest/lib/unittest.dart';
3 import '../../pkg/unittest/lib/html_config.dart'; 3 import '../../pkg/unittest/lib/html_config.dart';
4 import 'dart:async';
4 import 'dart:html'; 5 import 'dart:html';
5 import 'dart:convert'; 6 import 'dart:convert';
6 import 'dart:isolate' as isolate; 7 import 'dart:isolate' as isolate;
7 8
8 String responseFor(message) => 'response for $message'; 9 String responseFor(message) => 'response for $message';
9 10
10 void isolateEntry(isolate.SendPort initialReplyTo) { 11 void isolateEntry(isolate.SendPort initialReplyTo) {
11 var port = new isolate.ReceivePort(); 12 var port = new isolate.ReceivePort();
12 initialReplyTo.send(port.sendPort); 13 initialReplyTo.send(port.sendPort);
13 14
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 guardAsync(() { 60 guardAsync(() {
60 expect(response, equals(responseFor(msg2))); 61 expect(response, equals(responseFor(msg2)));
61 callback(); 62 callback();
62 }); 63 });
63 }); 64 });
64 }); 65 });
65 }); 66 });
66 }); 67 });
67 }); 68 });
68 } 69 }
OLDNEW
« no previous file with comments | « dart/tests/html/html.status ('k') | dart/tests/language/div_with_power_of_two2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698