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

Side by Side Diff: test/isolaterunner_test.dart

Issue 1025293003: pkg/isolate: library renaming, removed unused method, fix creation of TimeoutException (Closed) Base URL: https://github.com/dart-lang/isolate.git@master
Patch Set: Created 5 years, 9 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
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 4
5 library dart.pkg.isolate.isolaterunner_test; 5 library dart.pkg.isolate.isolaterunner_test;
6 6
7 import "package:isolate/isolaterunner.dart"; 7 import 'dart:async' show Future;
8 import "package:unittest/unittest.dart"; 8 import 'dart:isolate' show Capability;
9 import "dart:async" show Future; 9
10 import "dart:isolate" show Capability; 10 import 'package:isolate/isolate_runner.dart';
11 import 'package:unittest/unittest.dart';
11 12
12 const MS = const Duration(milliseconds: 1); 13 const MS = const Duration(milliseconds: 1);
13 14
14 void main() { 15 void main() {
15 test("create-close", testCreateClose); 16 test("create-close", testCreateClose);
16 test("create-run-close", testCreateRunClose); 17 test("create-run-close", testCreateRunClose);
17 test("separate-isolates", testSeparateIsolates); 18 test("separate-isolates", testSeparateIsolates);
18 testIsolateFunctions(); 19 testIsolateFunctions();
19 } 20 }
20 21
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 return isolate.kill(); 106 return isolate.kill();
106 }); 107 });
107 }); 108 });
108 } 109 }
109 110
110 id(x) => x; 111 id(x) => x;
111 112
112 var _global; 113 var _global;
113 getGlobal(_) => _global; 114 getGlobal(_) => _global;
114 void setGlobal(v) => _global = v; 115 void setGlobal(v) => _global = v;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698