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

Side by Side Diff: lib/src/util/isolate_wrapper.dart

Issue 1053443002: Rename the package to "test". (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 5 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
« no previous file with comments | « lib/src/util/io.dart ('k') | lib/src/util/multi_channel.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) 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 unittest.util.isolate_wrapper; 5 library test.util.isolate_wrapper;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:isolate'; 8 import 'dart:isolate';
9 9
10 import 'io.dart'; 10 import 'io.dart';
11 11
12 // TODO(nweiz): Get rid of this when issue 6610 is fixed. 12 // TODO(nweiz): Get rid of this when issue 6610 is fixed.
13 /// This is a wrapper around an [Isolate] that supports a callback that will 13 /// This is a wrapper around an [Isolate] that supports a callback that will
14 /// fire when [Isolate.exit] is called. 14 /// fire when [Isolate.exit] is called.
15 /// 15 ///
(...skipping 23 matching lines...) Expand all
39 void resume(Capability resumeCapability) => _inner.resume(resumeCapability); 39 void resume(Capability resumeCapability) => _inner.resume(resumeCapability);
40 void setErrorsFatal(bool errorsAreFatal) => 40 void setErrorsFatal(bool errorsAreFatal) =>
41 _inner.setErrorsFatal(errorsAreFatal); 41 _inner.setErrorsFatal(errorsAreFatal);
42 String toString() => _inner.toString(); 42 String toString() => _inner.toString();
43 43
44 void kill([int priority=Isolate.BEFORE_NEXT_EVENT]) { 44 void kill([int priority=Isolate.BEFORE_NEXT_EVENT]) {
45 if (supportsIsolateKill) _inner.kill(priority); 45 if (supportsIsolateKill) _inner.kill(priority);
46 _onExit(); 46 _onExit();
47 } 47 }
48 } 48 }
OLDNEW
« no previous file with comments | « lib/src/util/io.dart ('k') | lib/src/util/multi_channel.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698