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

Side by Side Diff: test/registry_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: nits 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
« no previous file with comments | « test/ports_test.dart ('k') | 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 // 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.test.registry; 5 library dart.pkg.isolate.test.registry;
6 6
7 import "package:isolate/isolaterunner.dart"; 7 import 'dart:async';
8 import "package:isolate/registry.dart"; 8 import 'dart:isolate';
9 import "dart:async";
10 import "dart:isolate";
11 9
12 import "package:unittest/unittest.dart"; 10 import 'package:isolate/isolate_runner.dart';
11 import 'package:isolate/registry.dart';
12
13 import 'package:unittest/unittest.dart';
13 14
14 const MS = const Duration(milliseconds: 1); 15 const MS = const Duration(milliseconds: 1);
15 16
16 void main() { 17 void main() {
17 testLookup(); 18 testLookup();
18 testAddLookup(); 19 testAddLookup();
19 testAddRemoveTags(); 20 testAddRemoveTags();
20 testRemove(); 21 testRemove();
21 testCrossIsolate(); 22 testCrossIsolate();
22 testTimeout(); 23 testTimeout();
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 } 530 }
530 531
531 class Element { 532 class Element {
532 final int id; 533 final int id;
533 Element(this.id); 534 Element(this.id);
534 int get hashCode => id; 535 int get hashCode => id;
535 bool operator ==(Object other) => other is Element && id == other.id; 536 bool operator ==(Object other) => other is Element && id == other.id;
536 } 537 }
537 538
538 void topLevelFunction() {} 539 void topLevelFunction() {}
OLDNEW
« no previous file with comments | « test/ports_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698