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

Side by Side Diff: lib/src/runner/environment.dart

Issue 1685363002: Add a platform plugin infrastructure. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 4 years, 10 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/runner/debugger.dart ('k') | lib/src/runner/hack_load_vm_file_hook.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 import 'package:async/async.dart'; 5 import 'package:async/async.dart';
6 6
7 /// The abstract class of environments in which test suites are 7 /// The abstract class of environments in which test suites are
8 /// loaded—specifically, browsers and the Dart VM. 8 /// loaded—specifically, browsers and the Dart VM.
9 abstract class Environment { 9 abstract class Environment {
10 /// Whether this environment supports interactive debugging.
11 bool get supportsDebugging;
12
10 /// The URL of the Dart VM Observatory for this environment, or `null` if this 13 /// The URL of the Dart VM Observatory for this environment, or `null` if this
11 /// environment doesn't run the Dart VM or the URL couldn't be detected. 14 /// environment doesn't run the Dart VM or the URL couldn't be detected.
12 Uri get observatoryUrl; 15 Uri get observatoryUrl;
13 16
14 /// The URL of the remote debugger for this environment, or `null` if it isn't 17 /// The URL of the remote debugger for this environment, or `null` if it isn't
15 /// enabled. 18 /// enabled.
16 Uri get remoteDebuggerUrl; 19 Uri get remoteDebuggerUrl;
17 20
18 /// Displays information indicating that the test runner is paused. 21 /// Displays information indicating that the test runner is paused.
19 /// 22 ///
20 /// The returned operation will complete when the user takes action within the 23 /// The returned operation will complete when the user takes action within the
21 /// environment that should unpause the runner. If the runner is unpaused 24 /// environment that should unpause the runner. If the runner is unpaused
22 /// elsewhere, the operation should be canceled. 25 /// elsewhere, the operation should be canceled.
23 CancelableOperation displayPause(); 26 CancelableOperation displayPause();
24 } 27 }
OLDNEW
« no previous file with comments | « lib/src/runner/debugger.dart ('k') | lib/src/runner/hack_load_vm_file_hook.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698