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

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

Issue 1264043002: Display a pause screen in a paused browser. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/runner/browser/static/index.html ('k') | lib/src/runner/vm/environment.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/runner/environment.dart
diff --git a/lib/src/runner/environment.dart b/lib/src/runner/environment.dart
index 5f2b9467ef59f47f65d5307f357fa235d840d900..14ad720b2edd3935977417c87ac7e93137ee630c 100644
--- a/lib/src/runner/environment.dart
+++ b/lib/src/runner/environment.dart
@@ -4,7 +4,15 @@
library test.runner.environment;
+import '../util/cancelable_future.dart';
+
/// The abstract class of environments in which test suites are
/// loaded—specifically, browsers and the Dart VM.
abstract class Environment {
+ /// Displays information indicating that the test runner is paused.
+ ///
+ /// The returned future will complete when the user takes action within the
+ /// environment that should unpause the runner. If the runner is unpaused
+ /// elsewhere, the future should be canceled.
+ CancelableFuture displayPause();
}
« no previous file with comments | « lib/src/runner/browser/static/index.html ('k') | lib/src/runner/vm/environment.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698