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

Unified Diff: lib/src/runner.dart

Issue 1257953008: Expose content shell's remote debugging URL. (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. 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 | « no previous file | lib/src/runner/browser/browser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/runner.dart
diff --git a/lib/src/runner.dart b/lib/src/runner.dart
index 0441e9ef5b8b8df619dc0a3a6b414d963c07a02e..cd0c1d5d40f89c066885d9b8a371978625b6aac4 100644
--- a/lib/src/runner.dart
+++ b/lib/src/runner.dart
@@ -234,6 +234,15 @@ class Runner {
}
}
+ if (suite.platform == TestPlatform.contentShell) {
+ var url = suite.environment.remoteDebuggerUrl;
+ if (url == null) {
+ print("${yellow}Remote debugger URL not found.$noColor");
+ } else {
+ print("Remote debugger URL: $bold$url$noColor");
+ }
+ }
+
var buffer = new StringBuffer(
"${bold}The test runner is paused.${noColor} ");
if (!suite.platform.isHeadless) {
@@ -241,6 +250,9 @@ class Runner {
if (suite.platform.isDartVM) buffer.write("or ");
} else {
buffer.write("Open ");
+ if (suite.platform == TestPlatform.contentShell) {
+ buffer.write("the remote debugger or ");
+ }
}
if (suite.platform.isDartVM) buffer.write("the Observatory ");
« no previous file with comments | « no previous file | lib/src/runner/browser/browser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698