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

Unified Diff: lib/src/runner/vm/environment.dart

Issue 1414793015: Use the async package's CancelableOperation. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/runner/environment.dart ('k') | lib/src/util/cancelable_future.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/runner/vm/environment.dart
diff --git a/lib/src/runner/vm/environment.dart b/lib/src/runner/vm/environment.dart
index b7480ea9eb75a2e1636214f42fd1bc85ebdc9651..086c6f443b33adae2b6b87677951a51222fa7474 100644
--- a/lib/src/runner/vm/environment.dart
+++ b/lib/src/runner/vm/environment.dart
@@ -4,8 +4,9 @@
library test.runner.vm.environment;
+import 'package:async/async.dart';
+
import '../environment.dart';
-import '../../util/cancelable_future.dart';
/// The environment for test suites loaded in an isolate in this Dart VM.
class VMEnvironment implements Environment {
@@ -17,7 +18,7 @@ class VMEnvironment implements Environment {
Uri get remoteDebuggerUrl => throw new UnsupportedError(
"VMEnvironment.observatoryUrl is not supported.");
- CancelableFuture displayPause() =>
+ CancelableOperation displayPause() =>
throw new UnsupportedError(
"The VM doesn't yet support Environment.displayPause.");
}
« no previous file with comments | « lib/src/runner/environment.dart ('k') | lib/src/util/cancelable_future.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698