Chromium Code Reviews

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

Issue 1258363003: Expose the Observatory URL when debugging. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « lib/src/runner/browser/server.dart ('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 14ad720b2edd3935977417c87ac7e93137ee630c..cc190dfd87f492aff43dfad5dd26f28700dd1c7a 100644
--- a/lib/src/runner/environment.dart
+++ b/lib/src/runner/environment.dart
@@ -9,6 +9,10 @@ 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 {
+ /// The URL of the Dart VM Observatory for this environment, or `null` if this
+ /// environment doesn't run the Dart VM or the URL couldn't be detected.
+ Uri get observatoryUrl;
+
/// Displays information indicating that the test runner is paused.
///
/// The returned future will complete when the user takes action within the
« no previous file with comments | « lib/src/runner/browser/server.dart ('k') | lib/src/runner/vm/environment.dart » ('j') | no next file with comments »

Powered by Google App Engine