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

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

Issue 13470011: Fix a typo. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library async_test; 1 library async_test;
2 2
3 import '../../pkg/unittest/lib/unittest.dart'; 3 import '../../pkg/unittest/lib/unittest.dart';
4 import '../../pkg/unittest/lib/html_config.dart'; 4 import '../../pkg/unittest/lib/html_config.dart';
5 5
6 import 'dart:async'; 6 import 'dart:async';
7 import 'dart:isolate'; 7 import 'dart:isolate';
8 import 'dart:html'; 8 import 'dart:html';
9 9
10 oneshotTimerIsolate() { 10 oneshotTimerIsolate() {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 } 60 }
61 61
62 main() { 62 main() {
63 useHtmlConfiguration(); 63 useHtmlConfiguration();
64 64
65 test('one shot timer in pure isolate', () { 65 test('one shot timer in pure isolate', () {
66 expect(spawnFunction(oneshotTimerIsolate).call('START'), 66 expect(spawnFunction(oneshotTimerIsolate).call('START'),
67 completion('DONE')); 67 completion('DONE'));
68 }); 68 });
69 test('periodic timer in pure isolate', () { 69 test('periodic timer in pure isolate', () {
70 expect(spawnFunction(oneshotTimerIsolate).call('START'), 70 expect(spawnFunction(periodicTimerIsolate).call('START'),
71 completion('DONE')); 71 completion('DONE'));
72 }); 72 });
73 test('cancellation in pure isolate', () { 73 test('cancellation in pure isolate', () {
74 expect(spawnFunction(cancellingIsolate).call('START'), 74 expect(spawnFunction(cancellingIsolate).call('START'),
75 completion('DONE')); 75 completion('DONE'));
76 }); 76 });
77 } 77 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698